Dear all,
context: PEARL Display at Dockstar on Debian Wheezy
I have problems with udev while connecting the PEARL display to a dockstar. The problem is not lcd4linux, that works and the display is immediately in hack-mode after connecting via usb. So a "/usr/local/bin/lcd4linux" on the commandline works out of the box.
The 70-dpf.rules in /etc/udev/rules.d that was written should not be a problem too, because the same config works on another computer (notebook, same OS, same display, same config of lcd4linux):
Now for lsusb:
That seems to be ok too. Now for udev (debug mode /var/log/syslog):
It seems the written 70-..rules was not used.
What's wrong and how to fix it?
Any package missing?
here the error while disconnecting the display:
thanks,
best
lcg
context: PEARL Display at Dockstar on Debian Wheezy
I have problems with udev while connecting the PEARL display to a dockstar. The problem is not lcd4linux, that works and the display is immediately in hack-mode after connecting via usb. So a "/usr/local/bin/lcd4linux" on the commandline works out of the box.
The 70-dpf.rules in /etc/udev/rules.d that was written should not be a problem too, because the same config works on another computer (notebook, same OS, same display, same config of lcd4linux):
SUBSYSTEM=="usb", ACTION=="add", ENV{ID_MODEL_ID}=="0102", ENV{ID_VENDOR_ID}=="1908", RUN+="/usr/local/bin/lcd4linux" SUBSYSTEM=="usb", ACTION=="remove", ENV{ID_MODEL_ID}=="0102", ENV{ID_VENDOR_ID}=="1908", RUN+="/usr/bin/killall lcd4linux"
Now for lsusb:
lsusb -v Bus 001 Device 004: ID 1908:0102 GEMBIRD Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 255 Vendor Specific Class bDeviceSubClass 255 Vendor Specific Subclass bDeviceProtocol 255 Vendor Specific Protocol bMaxPacketSize0 8 idVendor 0x1908 GEMBIRD idProduct 0x0102 bcdDevice 2.00 iManufacturer 2 hackfin iProduct 3 USB-Display iSerial 1 0.1 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 200mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 4 libusb Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Device Status: 0x1a68 (Bus Powered) Debug Mode
That seems to be ok too. Now for udev (debug mode /var/log/syslog):
Jul 1 16:35:20 seadock kernel: [ 1809.696161] usb 1-1.4: new full-speed USB device number 9 using orion-ehci Jul 1 16:35:21 seadock kernel: [ 1809.825768] usb 1-1.4: New USB device found, idVendor=1908, idProduct=0102 Jul 1 16:35:21 seadock udevd[8645]: seq 636 queued, 'add' 'usb' Jul 1 16:35:21 seadock udevd[8645]: passed 319 bytes to netlink monitor 0xba2320 Jul 1 16:35:21 seadock udevd[8664]: seq 636 running Jul 1 16:35:21 seadock udevd[8664]: device 0xba3b58 has devpath '/devices/platform/orion-ehci.0/usb1/1-1/1-1.4' Jul 1 16:35:21 seadock udevd[8664]: no db file to read /run/udev/data/c189:8: No such file or directory Jul 1 16:35:21 seadock udevd[8664]: IMPORT builtin 'usb_id' /lib/udev/rules.d/91-permissions.rules:30 Jul 1 16:35:21 seadock udevd[8664]: ID_VENDOR=hackfin Jul 1 16:35:21 seadock udevd[8664]: ID_VENDOR_ENC=hackfin Jul 1 16:35:21 seadock udevd[8664]: ID_VENDOR_ID=1908 Jul 1 16:35:21 seadock udevd[8664]: ID_MODEL=USB-Display Jul 1 16:35:21 seadock udevd[8664]: ID_MODEL_ENC=USB-Display Jul 1 16:35:21 seadock udevd[8664]: ID_MODEL_ID=0102 Jul 1 16:35:21 seadock udevd[8664]: ID_REVISION=0200 Jul 1 16:35:21 seadock udevd[8664]: ID_SERIAL=hackfin_USB-Display_0.1 Jul 1 16:35:21 seadock udevd[8664]: ID_SERIAL_SHORT=0.1 Jul 1 16:35:21 seadock udevd[8664]: ID_BUS=usb Jul 1 16:35:21 seadock udevd[8664]: ID_USB_INTERFACES=:ff0000: Jul 1 16:35:21 seadock udevd[8664]: MODE 0664 /lib/udev/rules.d/91-permissions.rules:36 Jul 1 16:35:21 seadock udevd[8664]: no node name set, will use kernel supplied name 'bus/usb/001/009' Jul 1 16:35:21 seadock udevd[8664]: creating device node '/dev/bus/usb/001/009', devnum=189:8, mode=01664, uid=0, gid=0 Jul 1 16:35:21 seadock udevd[8664]: preserve file '/dev/bus/usb/001/009', because it has correct dev_t Jul 1 16:35:21 seadock udevd[8664]: set permissions /dev/bus/usb/001/009, 021664, uid=0, gid=0 Jul 1 16:35:21 seadock udevd[8664]: creating symlink '/dev/char/189:8' to '../bus/usb/001/009' Jul 1 16:35:21 seadock udevd[8645]: seq 637 queued, 'add' 'usb' Jul 1 16:35:21 seadock udevd[8664]: created db file '/run/udev/data/c189:8' for '/devices/platform/orion-ehci.0/usb1/1-1/1-1.4' Jul 1 16:35:21 seadock udevd[8664]: passed -1 bytes to netlink monitor 0xba3a00 Jul 1 16:35:21 seadock udevd[8664]: seq 636 processed with 0 Jul 1 16:35:21 seadock udevd[8645]: seq 636 done with 0 Jul 1 16:35:21 seadock udevd[8645]: passed 341 bytes to netlink monitor 0xba2320 Jul 1 16:35:21 seadock udevd[8664]: seq 637 running Jul 1 16:35:21 seadock udevd[8664]: device 0xbaa7b0 has devpath '/devices/platform/orion-ehci.0/usb1/1-1/1-1.4/1-1.4:1.0' Jul 1 16:35:21 seadock udevd[8664]: no db file to read /run/udev/data/+usb:1-1.4:1.0: No such file or directory Jul 1 16:35:21 seadock udevd[8664]: RUN '/sbin/modprobe -b $env{MODALIAS}' /lib/udev/rules.d/80-drivers.rules:7 Jul 1 16:35:21 seadock kernel: [ 1809.832698] usb 1-1.4: New USB device strings: Mfr=2, Product=3, SerialNumber=1 Jul 1 16:35:21 seadock kernel: [ 1809.840069] usb 1-1.4: Product: USB-Display Jul 1 16:35:21 seadock kernel: [ 1809.844272] usb 1-1.4: Manufacturer: hackfin Jul 1 16:35:21 seadock kernel: [ 1809.848574] usb 1-1.4: SerialNumber: 0.1 Jul 1 16:35:21 seadock udevd[8888]: starting '/sbin/modprobe -b usb:v1908p0102d0200dcFFdscFFdpFFicFFisc00ip00' Jul 1 16:35:21 seadock udevd[8664]: '/sbin/modprobe -b usb:v1908p0102d0200dcFFdscFFdpFFicFFisc00ip00'(err) 'FATAL: Module usb:v1908p0102d0200dcFFdscFFdpFFicFFisc00ip00 not found.' Jul 1 16:35:21 seadock udevd[8664]: '/sbin/modprobe -b usb:v1908p0102d0200dcFFdscFFdpFFicFFisc00ip00' [8888] exit with return code 1 Jul 1 16:35:21 seadock udevd[8664]: passed -1 bytes to netlink monitor 0xba3a00 Jul 1 16:35:21 seadock udevd[8664]: seq 637 processed with 0 Jul 1 16:35:21 seadock udevd[8645]: seq 637 done with 0
It seems the written 70-..rules was not used.
What's wrong and how to fix it?
Any package missing?
here the error while disconnecting the display:
Jul 1 16:40:21 seadock kernel: [ 2110.520891] usb 1-1.4: USB disconnect, device number 9 Jul 1 16:40:21 seadock udevd[8645]: seq 638 queued, 'remove' 'usb' Jul 1 16:40:21 seadock udevd[8645]: passed 344 bytes to netlink monitor 0xba2320 Jul 1 16:40:21 seadock udevd[8664]: seq 638 running Jul 1 16:40:21 seadock udevd[8664]: no db file to read /run/udev/data/+usb:1-1.4:1.0: No such file or directory Jul 1 16:40:21 seadock udevd[8664]: passed -1 bytes to netlink monitor 0xba3a00 Jul 1 16:40:21 seadock udevd[8664]: seq 638 processed with 0 Jul 1 16:40:21 seadock udevd[8645]: seq 638 done with 0 Jul 1 16:40:21 seadock udevd[8645]: seq 639 queued, 'remove' 'usb' Jul 1 16:40:21 seadock udevd[8645]: passed 322 bytes to netlink monitor 0xba2320 Jul 1 16:40:21 seadock udevd[8664]: seq 639 running Jul 1 16:40:21 seadock udevd[8664]: device 0xbaa7b0 filled with db file data Jul 1 16:40:21 seadock udevd[8664]: RUN '/usr/bin/killall lcd4linux' /etc/udev/rules.d/70-dpf.rules:14 Jul 1 16:40:21 seadock udevd[8664]: device node '/dev/bus/usb/001/009' not found Jul 1 16:40:21 seadock udevd[8664]: removing device node '/dev/bus/usb/001/009' Jul 1 16:40:21 seadock udevd[8998]: starting '/usr/bin/killall lcd4linux' Jul 1 16:40:21 seadock udevd[8664]: '/usr/bin/killall lcd4linux'(err) 'lcd4linux: no process found' Jul 1 16:40:21 seadock udevd[8664]: '/usr/bin/killall lcd4linux' [8998] exit with return code 1 Jul 1 16:40:21 seadock udevd[8664]: passed -1 bytes to netlink monitor 0xba3a00 Jul 1 16:40:21 seadock udevd[8664]: seq 639 processed with 0 Jul 1 16:40:21 seadock udevd[8645]: seq 639 done with 0
thanks,
best
lcg