Thanks for trying to help. I've not been able to get near the PC for a few days to look at the problem again. Going through your message: On Saturday 17 March 2001 02:39, you wrote:
I did it !!! I got my HP Scanjet 4100C USB scanner running !!
Way to go!
Stats: SuSE 7.1 kernel: 2.4.0-4GB (not sure if USB works with kernel 2.2.18)
In theory, I think it should...(but it would be kind of someone to tell me if I'm just wasting my time here).
Make sure you have "sane-1.0.4-3" & "xsane-0.70-0" installed. They were on the SuSE 7.1 CD's.
Yes they are both installed.
Look at: /usr/src/linux-2.4.0.SuSE/Documentation/usb/scanner-hp-sane.txt for instructions. Basically a "lsmod" shows:
Module Size Used by scanner 5952 0 (unused) hid 11744 0 (unused) usb-uhci 21712 0 (unused) usbcore 46480 1 [scanner hid usb-uhci]
Those modules are all installed (but different sizes to yours).
Then edit "/etc/sane.d/hp.conf". It should look like: /dev/usbscanner option connect-device
I've copied your hp.conf file (I was originally missing the line "option connect-device"). BTW: is there anything special about your /dev/usbscanner? Does it link in any way to /dev/usb/scanner0? Do you know what the point of this doubling up might be?
Then, as root, do: "xsane -s" Ta Da !!! It came up !!!
Not here it doesn't :-(
I had to do a "chmod 666 /dev/usbscanner" to get "normal users" to be able to run xsane.
Now I have to figure out how to use xsane. But the scanner now works. Only need "xsane -s" the first time. Just "xsane" after that.
Hope thsi helps... -=[cwa]=- -- Christopher W. Aiken Scenery Hill, Pa, USA chris at cwaiken dot com www.cwaiken.com SuSE 7.1 Professional Linux
In USBView, it takes a while but I can eventually see a device "usbscanner" and the details correspond with the 4100C. However, when I try "scanimage --list-devices" I get nothing (not even the two dummy devices that the SANE documentation talks about. When I try to be more explicit with "scanimage --device-name hp:/dev/usbscanner" it throws up a segmentation fault message. Perhaps I'll just end up going over to 2.4.0 Thanks again, if you can give me any more clues I'll be grateful. Martin Drake Luxembourg
On Wed, 21 Mar 2001, Martin Drake wrote: ->Thanks for trying to help. I've not been able to get near the PC for a few ->days to look at the problem again. -> ->Going through your message: -> ->On Saturday 17 March 2001 02:39, you wrote: -> ->> I did it !!! I got my HP Scanjet 4100C USB scanner running !! -> ->Way to go! <SNIP> ->BTW: is there anything special about your /dev/usbscanner? Does it link in ->any way to /dev/usb/scanner0? Do you know what the point of this doubling up ->might be? Nothing special: # ls -l /dev/usbscanner crw-rw-rw- 1 root root 180, 48 Jan 19 03:36 /dev/usbscanner scanimage produces: # scanimage --list-devices device `hp:/dev/usbscanner' is a Hewlett-Packard MODELx flatbed scanner usbview (i.e. /proc/bus/usb/devices): # cat /proc/bus/usb/devices T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 11/900 us ( 1%), #Int= 1, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=9000 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=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=03f0 ProdID=0101 Rev= 1.00 S: SerialNumber=00MY88S538Q9 C:* #Ifs= 1 Cfg#= 1 Atr=60 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=usbscanner E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 16 Ivl= 0ms E: Ad=83(I) Atr=03(Int.) MxPS= 1 Ivl=250ms # cat /proc/bus/usb/drivers usbdevfs hub hid 48- 63: usbscanner -- Christopher W. Aiken Scenery Hill, Pa, USA chris at cwaiken dot com www.cwaiken.com SuSE 7.1 Professional Linux
participants (2)
-
Christopher W. Aiken
-
Martin Drake