Szeretnek egy Mustek 600 szunetmentes tapegyseget USB porton monitorozni
(=azaz egy programmal kikapcsolni a gepet, ha merul az aksi) grafikus
felulet nelkul. A CD-n hozza adott software egy kb 10MByte-os Java
alkalmazas.
Op. rendszer: Ubuntu 5.1 (breezy) grafikus felulet nelkul
Ha bedugom a kabelt, a dmesg azt mondja:
[4376948.126000] usb 2-2: new low speed USB device using uhci_hcd and
address 3
[4376948.289000] input: USB HID v1.00 Gamepad [Cypress Semiconductor USB to
Serial] on usb-0000:00:10.1-2
cat /proc/bus/usb/devices
(reszlet)
T: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 3 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0665 ProdID=5161 Rev= 0.01
S: Manufacturer=Cypress Semiconductor
S: Product=USB to Serial
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=32ms
ls -l /dev/input (kihuzott usb kabelnel)
total 0
crw-rw---- 1 root root 13, 64 2006-03-21 14:34 event0
crw-rw---- 1 root root 13, 66 2006-03-21 14:34 event2
crw-rw---- 1 root root 13, 63 2006-03-21 14:34 mice
ls -l /dev/input (bedugott usb kabelnel)
total 0
crw-rw---- 1 root root 13, 64 2006-03-21 14:34 event0
crw-rw---- 1 root root 13, 65 2006-03-22 14:01 event1
crw-rw---- 1 root root 13, 66 2006-03-21 14:34 event2
crw-rw---- 1 root root 13, 63 2006-03-21 14:34 mice
Mit tegyek?
Udvozlettel:
Lakatos Istvan
_________________________________________________
linux lista - [email protected]
http://mlf2.linux.rulez.org/mailman/listinfo/linux