Thread Frage zu #monitor (4 answers)
Opened by findel64 at 2010-08-26 09:44

Gast findel64
 2010-08-26 11:17
#140963 #140963
Danke !
es handelt sich um den Anschluss eines RS232 Gerätes an USB.
hier mal den ganzen Text vom Autor:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Edit the file

sudo gedit /usr/local/etc/usbttyd.conf

verify that you have uncommented the monitor lines like this:


# Note: These devices are dynamic, i.e. they will not exist
# until a device is connected.

#monitor /dev/ttyUSB0
#monitor /dev/ttyUSB1
#monitor /dev/ttyUSB2
#monitor /dev/ttyUSB3
#monitor /dev/ttyUSB4
#monitor /dev/ttyUSB5

and then delete the # in front of /ttyUSB0 or all the USB adapters in case you get assigned another value...

monitor /dev/ttyUSB0
monitor /dev/ttyUSB1
monitor /dev/ttyUSB2
monitor /dev/ttyUSB3
#monitor /dev/ttyUSB4
#monitor /dev/ttyUSB5

once you do that, save the /usr/local/etc/usbttyd.conf

then via cli run:
xxxxx@yyyy:~$ usbttyd.pl
Watching devices /dev/ttyS0,/dev/ttyS1,/dev/ttyUSB0,/dev/ttyUSB1,/dev/ttyUSB2,/dev/ttyUSB3,/dev/ttyUSB4,/dev/ttyUSB5
for possible devices: wheel

It should discover the wheel.

Let's start there.

Last edited: 2010-08-26 11:22:21 +0200 (CEST)

View full thread Frage zu #monitor