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