-   Linux - General (
-   -   Issues with adding a udev rule... (

Ateo 03-04-2005 05:03 PM

Issues with adding a udev rule...
I'm trying to add a udev rule for my scanner. However, while my scanner doesn't seem to be listed in /dev, it still does exist. This is the mystery.

dmesg claims to assign an address:

# dmesg
usb 3-2: USB disconnect, address 7
ohci_hcd 0000:00:02.1: wakeup
usb 3-2: new full speed USB device using ohci_hcd and address 8

Sane sees my scanner:

# sane-find-scanner
found USB scanner (vendor=0x04a9 [Canon], product=0x220e [CanoScan], chip=LM9832/3) at libusb:003:008

And of course, scanimage query claims scanner exists:

# scanimage -L
device `plustek:libusb:003:008' is a Canon N1240U/LiDE30 USB flatbed scanner

Yet, no sgX device exists as should be. So, my udevinfo queries are rendered useless, or so it seems.

My question is, how do I go about figuring out what device my scanner is at this point?

Thanks for any help.

bigrigdriver 03-04-2005 09:02 PM

Try using the command hwinfo > hwfile.txt. Hwinfo will probe the hardware you have (or that it can find) and list a lot of information about each device, including a line like DEVICE FILE /dev/ttyS0 (for my modem). If the scanner is found, hwinfo will tell you the device file to use.
I added > hwfile.txt to redirect output to a text file to study at your leisure.

All times are GMT -5. The time now is 09:51 AM.