LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-04-2005, 04:03 PM   #1
Ateo
Member
 
Registered: Sep 2004
Location: Long Beach, CA
Distribution: FreeBSD,Ubuntu,Gentoo,MacOS
Posts: 139

Rep: Reputation: 15
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.
 
Old 03-04-2005, 08:02 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RULE for debian? gunnix Debian 3 12-06-2005 02:23 PM
udev 058- anyone have more alsa issues? abrouwers Slackware 5 07-22-2005 06:02 PM
Udev usb issues exvor Linux - Software 1 06-25-2005 10:27 AM
udev + sw raid issues Barx Slackware 0 10-15-2004 06:36 AM
60 Second rule? therion12 LQ Suggestions & Feedback 6 03-20-2002 12:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration