From: tasos <ta...@ya...> - 2006-08-29 06:33:14
|
Sorry michael but i didn't receive any email :( ok, some info: ------------------------------------------------ Initializing USB Mass Storage driver... hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x101 usb 1-2: new full speed USB device using uhci_hcd and address 2 usb 1-2: ep0 maxpacket = 8 usb 1-2: default language 0x0409 usb 1-2: new device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-2: Product: Crystalfontz CFA-635 USB LCD usb 1-2: Manufacturer: Crystalfontz usb 1-2: SerialNumber: CF001591 usb 1-2: uevent usb 1-2: configuration #1 chosen from 1 choice usb 1-2: adding 1-2:1.0 (config #1, interface 0) usb 1-2:1.0: uevent drivers/usb/core/inode.c: creating file '002' hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0004 usbcore: registered new driver usb-storage USB Mass Storage support registered. ------------------------------------------------ *** ------------------------------------------------ root@devel02:/sys/class/usb# ls /dev/tolcdmoy2 -al lrwxrwxrwx 1 root root 9 2006-08-29 15:19 /dev/tolcdmoy2 -> usbdev1.2 root@devel02:/sys/class/usb# ls /dev/usbdev1.2 -al crw-rw---- 1 root root 189, 1 2006-08-29 15:19 /dev/usbdev1.2 root@devel02:/sys/class/usb# ------------------------------------------------ *** ------------------------------------------------ root@devel02:/sys/class/usb# udevtest /bus/usb/devices/1-2:1.0/ main: looking at device '/devices/pci0000:00/0000:00:07.2/usb1/1-2/1-2:1.0' from subsystem 'usb' main: run: 'socket:/org/kernel/udev/monitor' root@devel02:/sys/class/usb# ------------------------------------------------ *** ------------------------------------------------ root@devel02:~# lcd4linux -Fvvq Version 0.10.1-CVS starting [KVV] Using station 89 [KVV] Using default port 80 [KVV] Using default refresh interval of 60 seconds [KVV] Default abbreviation setting: off lcd4linux.c: initializing driver Crystalfontz Crystalfontz: $Revision: 1.45 $ Crystalfontz: using model '635' Crystalfontz: using port '/dev/tolcdmoy2' at 115200 baud Crystalfontz: tcgetattr(/dev/tolcdmoy2) failed: Inappropriate ioctl for device root@devel02:~# ------------------------------------------------ The udev rules works just fine. BUS=="usb", SYSFS{product}=="Crystalfontz CFA-635 USB LCD", NAME="%k", SYMLINK+="tolcdmoy%n" and this is my rule.a simple one... Thank you in advance!(really) --- Michael Reinelt <re...@eu...> wrote: > Hi there, > > didn't you get my mail? > > Hi there, > > > > Hello ppl.I'm using udev and have created a rule > to > > > all my devices go to /dev/mylcd/1 2 3 4 etc... > > > So my problem is that i get. > > > ----------------------------- > > > Crystalfontz: tcgetattr(/dev/talcdmou/usbdev3.2) > > > failed: Inappropriate ioctl for device > > I think the device major/minor number is wrong. > > can you post your rule and a 'ls -l > /dev/talcdmou/usbdev3.2' ? > > As I don't own a 635, I cannot tell which device > should work, but there > are 635-users on the list... > > > bye, Michael > > -- > Michael Reinelt <re...@eu...> > http://home.pages.at/reinelt > GPG-Key 0xDF13BA50 > ICQ #288386781 > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |