LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Issues with adding a udev rule... (http://www.linuxquestions.org/questions/linux-general-1/issues-with-adding-a-udev-rule-297730/)

Ateo 03-04-2005 04: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:
Code:

# 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:
Code:

# 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:
Code:

# 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 08: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 12:54 AM.