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 - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-14-2004, 08:47 AM   #1
psweetma
LQ Newbie
 
Registered: Mar 2003
Distribution: Redhat 8.x
Posts: 12

Rep: Reputation: 0
Unhappy USB scanner not in /proc/bus/usb/devices


Hi, I'd like to get my USB scanner working in Redhat 9 (Kernel 2.4.20), but I can't get it listed in /proc/bus/usb/devices. My USB FlashDrive is working so I think my USB system is fundamentally ok. The scanner is detected fine by windows too. What steps have I missed out?

I have tried issing the command '/sbin/modprobe scanner'. I don't know if I need to do this, but it does not error and gives the following in /var/logs/messages:

Feb 14 14:24:22 Tarfax kernel: scanner.c: 0.4.9:USB Scanner Driver

I have tried unplugging the USB cable from the scanner and reconnecting too.


My /proc/bus/usb/devices looks like:

T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=1
2 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfg
s= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=d800
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00
Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=1
2 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfg
s= 1
P: Vendor=0c76 ProdID=0007 Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50
Driver=usb-storage
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=1
2 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfg
s= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=d400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00
Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms



Any help appreciated,
Paul
 
Old 02-25-2004, 11:45 AM   #2
uwejs
LQ Newbie
 
Registered: Feb 2004
Location: Hannover, Germany
Distribution: debian
Posts: 7

Rep: Reputation: 0
Hi,

what type (model, vendor) of scanner is it?

uwejs
 
Old 02-25-2004, 02:25 PM   #3
psweetma
LQ Newbie
 
Registered: Mar 2003
Distribution: Redhat 8.x
Posts: 12

Original Poster
Rep: Reputation: 0
It's an Epson Stylus CX3200 - a model readily supported, I understand.
 
Old 02-25-2004, 04:05 PM   #4
Phorem
Member
 
Registered: Nov 2003
Location: Toronto, Canada
Distribution: Gentoo AMD64
Posts: 374

Rep: Reputation: 30
Taken right from the linuxprinting.org page..............


To be able to scan you need either kernel 2.4.21 or newer or you do a small change in the "scanner.o" module of older kernels. See this posting on the linux-usb-devel mailing list and the thread "Epson Stylus cx3200 MFP" on the Epson Forum.

You have to remove the following from the drivers/usb/scanner.c file in the kernel source:

if (dev->config[0].bNumInterfaces != 1) {
info("probe_scanner: Only one device interface is supported.");
return NULL;
}

Then you have to recompile, install, and reload the "scanner.o" kernel module (the commands have to be executed as "root", we assume that the kernel source code is in the /usr/src/linux directory):

cd /usr/src/linux
make modules
cp drivers/usb/scanner.o /lib/modules/<Linux version>/kernel/drivers/usb/
rmmod scanner
modprobe scanner vendor=0x04b8 product=0x0802

After having done so you can configure SANE to use the CX3200 with the "epson" scanner driver, it is compatible to the Epson Perfection 1200U.

Copying should just work with the front panel of the device.


Edit*** Here is the link http://www.linuxprinting.org/show_pr...-Stylus_CX3200

Cheers.

Last edited by Phorem; 02-25-2004 at 04:06 PM.
 
Old 02-25-2004, 04:47 PM   #5
psweetma
LQ Newbie
 
Registered: Mar 2003
Distribution: Redhat 8.x
Posts: 12

Original Poster
Rep: Reputation: 0
Great, thank you very much, I'll give it the module recompilation a crack.

I'd given up on my original post, my fault for not putting the device details I suppose.

I'll post back here when I've tried the recompilation fix.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where is /proc/bus/usb/devices???? mrchaos Linux - Software 4 12-04-2005 10:26 PM
MDK 10.2: No USB at all (/proc/bus/usb/devices missing) shrodi Mandriva 5 07-01-2005 11:28 AM
No USB at all (/proc/bus/usb/devices missing) shrodi Linux - Hardware 1 05-26-2005 04:07 AM
question on /proc/bus/usb/devices file ryan_a_hH Linux - Hardware 2 01-21-2005 01:49 PM
/proc/bus/usb/devices missing shellcode Linux - General 11 02-24-2004 10:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04: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