Ok, I've been at it a bit again,...
Gregory, nice to know you're on my side; I was already thinking why you got that link so quickly to say it wasn't supported,... guess you had been looking for it too.. (btw I have to wonder if all this is worth it, 8-bit color and 600dpi seems to be the limit)
I'm sorry if this post gets long, but I don't want to omit anything that might give a hint as to what could be a remedy for this situation.
here we go (I'm posting the whole result for comparison reasons) :
[root@zurich robert]# rmmod scanner
[root@zurich robert]# SANE_CONFIG_DIR=/etc/sane.d SANE_DEBUG_HP4200=128 SANE_DEBUG_SANEI_USB=128 SANE_DEBUG_DLL=128 scanimage -d hp4200:/proc/bus/usb/001/003
[sanei_debug] Setting debug level of dll to 128.
[dll] sane_init: SANE dll backend version 1.0.8 from sane-backends 1.0.11
[dll] add_backend: adding backend `hp4200'
[dll] load: searching backend `hp4200' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-hp4200.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-hp4200.so.1'
[dll] init: initializing backend `hp4200'
[sanei_debug] Setting debug level of hp4200 to 128.
[hp4200] sane_hp4200_init
[sanei_debug] Setting debug level of sanei_usb to 128.
[sanei_usb] sanei_usb_init: found kernel scanner device (0x03f0/0x0105) at /dev/usb/scanner0
usb_set_debug: Setting debugging level to 255 (on)
usb_find_busses: Skipping non bus directory devices
usb_find_busses: Skipping non bus directory drivers
usb_find_busses: Found 005
usb_find_busses: Found 004
usb_find_busses: Found 003
usb_find_busses: Found 002
usb_find_busses: Found 001
usb_find_devices_on_bus: Found 001 on 001
usb_find_devices_on_bus: Found 002 on 001
skipped 1 class/vendor specific interface descriptors
usb_find_devices_on_bus: Found 003 on 001
usb_find_devices_on_bus: Found 001 on 002
usb_find_devices_on_bus: Found 001 on 003
usb_find_devices_on_bus: Found 002 on 003
skipped 4 class/vendor specific interface descriptors
skipped 2 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 2 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 2 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 2 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
usb_find_devices_on_bus: Found 001 on 004
usb_find_devices_on_bus: Found 001 on 005
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: device 0x046d/0xc506 doesn't look like a scanner (0/3)
[sanei_usb] sanei_usb_init: found libusb device (0x03f0/0x0105) at libusb:001:003
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: found libusb device (0x0471/0x0312) at libusb:003:002
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: found 3 devices
[hp4200] sane_hp4200_init: configuration file not found, defaulting to /dev/usbscanner.
[hp4200] add_device(/dev/usbscanner)
[hp4200] find_device
[hp4200] add_device: open(/dev/usbscanner) failed: No such file or directory
[hp4200] sane_hp4200_init: failed to add device "/dev/usbscanner"
[dll] init: backend `hp4200' is version 1.0.0
[hp4200] sane_hp4200_open (/proc/bus/usb/001/003, 0xbffff074)
[hp4200] find_device
[hp4200] add_device(/proc/bus/usb/001/003)
[hp4200] find_device
[sanei_usb] kernel_get_vendor_product: ioctl (vendor) of device 0 failed: Invalid argument
[sanei_usb] sanei_usb_get_vendor_product: ioctl (product) of device 0 failed: Invalid argument
[sanei_usb] sanei_usb_get_vendor_product: device 5: Your OS doesn't seem to support detection of vendor+product ids
[hp4200] : sanei_usb_get_vendor_product failed
scanimage: open of device hp4200:/proc/bus/usb/001/003 failed: Operation not supported
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `hp4200's exit function
[hp4200] sane_hp4200_exit
[hp4200] sane_hp4200_close (0x80625f8)
[dll] sane_exit: finished
Ok, so wrong syntax or so.
Then I thought: let's try it the right way:
[root@zurich robert]# SANE_CONFIG_DIR=/etc/sane.d SANE_DEBUG_HP4200=128 SANE_DEBUG_SANEI_USB=128 SANE_DEBUG_DLL=128 scanimage -L
[sanei_debug] Setting debug level of dll to 128.
[dll] sane_init: SANE dll backend version 1.0.8 from sane-backends 1.0.11
[dll] add_backend: adding backend `hp4200'
[dll] load: searching backend `hp4200' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-hp4200.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-hp4200.so.1'
[dll] init: initializing backend `hp4200'
[sanei_debug] Setting debug level of hp4200 to 128.
[hp4200] sane_hp4200_init
[sanei_debug] Setting debug level of sanei_usb to 128.
usb_set_debug: Setting debugging level to 255 (on)
usb_find_busses: Skipping non bus directory devices
usb_find_busses: Skipping non bus directory drivers
usb_find_busses: Found 005
usb_find_busses: Found 004
usb_find_busses: Found 003
usb_find_busses: Found 002
usb_find_busses: Found 001
usb_find_devices_on_bus: Found 001 on 001
usb_find_devices_on_bus: Found 002 on 001
skipped 1 class/vendor specific interface descriptors
usb_find_devices_on_bus: Found 003 on 001
usb_find_devices_on_bus: Found 001 on 002
usb_find_devices_on_bus: Found 001 on 003
usb_find_devices_on_bus: Found 002 on 003
skipped 4 class/vendor specific interface descriptors
skipped 2 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 2 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 2 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 2 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
usb_find_devices_on_bus: Found 001 on 004
usb_find_devices_on_bus: Found 001 on 005
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: device 0x046d/0xc506 doesn't look like a scanner (0/3)
[sanei_usb] sanei_usb_init: found libusb device (0x03f0/0x0105) at libusb:001:003
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: found libusb device (0x0471/0x0312) at libusb:003:002
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: found 2 devices
[hp4200] sane_hp4200_init: configuration file not found, defaulting to /dev/usbscanner.
[hp4200] add_device(/dev/usbscanner)
[hp4200] find_device
[hp4200] add_device: open(/dev/usbscanner) failed: No such file or directory
[hp4200] sane_hp4200_init: failed to add device "/dev/usbscanner"
[dll] init: backend `hp4200' is version 1.0.0
[hp4200] sane_hp4200_get_devices (0xbffff0a8, 0)
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `hp4200's exit function
[hp4200] sane_hp4200_exit
[dll] sane_exit: finished
Hmm, did I read that correctly that it found a device but couldn't connect to it since /dev/usbscanner doesn't exist? (Which is the default since I commented out the line /dev/usb/scanner0 from /etc/sane.d/hp4200.conf )
Let's try again:
[root@zurich robert]# ln -s /dev/usb/scanner0 /dev/usbscanner
[root@zurich robert]# SANE_CONFIG_DIR=/etc/sane.d SANE_DEBUG_HP4200=128 SANE_DEBUG_SANEI_USB=128 SANE_DEBUG_DLL=128 scanimage -L
[sanei_debug] Setting debug level of dll to 128.
[dll] sane_init: SANE dll backend version 1.0.8 from sane-backends 1.0.11
[dll] add_backend: adding backend `hp4200'
[dll] load: searching backend `hp4200' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-hp4200.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-hp4200.so.1'
[dll] init: initializing backend `hp4200'
[sanei_debug] Setting debug level of hp4200 to 128.
[hp4200] sane_hp4200_init
[sanei_debug] Setting debug level of sanei_usb to 128.
[sanei_usb] sanei_usb_init: found kernel scanner device (0x03f0/0x0105) at /dev/usbscanner
[sanei_usb] sanei_usb_init: found kernel scanner device (0x03f0/0x0105) at /dev/usb/scanner0
usb_set_debug: Setting debugging level to 255 (on)
usb_find_busses: Skipping non bus directory devices
usb_find_busses: Skipping non bus directory drivers
usb_find_busses: Found 005
usb_find_busses: Found 004
usb_find_busses: Found 003
usb_find_busses: Found 002
usb_find_busses: Found 001
usb_find_devices_on_bus: Found 001 on 001
usb_find_devices_on_bus: Found 002 on 001
skipped 1 class/vendor specific interface descriptors
usb_find_devices_on_bus: Found 003 on 001
usb_find_devices_on_bus: Found 001 on 002
usb_find_devices_on_bus: Found 001 on 003
usb_find_devices_on_bus: Found 002 on 003
skipped 4 class/vendor specific interface descriptors
skipped 2 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 2 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 2 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 2 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
usb_find_devices_on_bus: Found 001 on 004
usb_find_devices_on_bus: Found 001 on 005
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: device 0x046d/0xc506 doesn't look like a scanner (0/3)
[sanei_usb] sanei_usb_init: found libusb device (0x03f0/0x0105) at libusb:001:003
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: found libusb device (0x0471/0x0312) at libusb:003:002
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: found 4 devices
[hp4200] sane_hp4200_init: configuration file not found, defaulting to /dev/usbscanner.
[hp4200] add_device(/dev/usbscanner)
[hp4200] find_device
[dll] init: backend `hp4200' is version 1.0.0
[hp4200] sane_hp4200_get_devices (0xbffff0a8, 0)
device `hp4200:/dev/usbscanner' is a Hewlett-Packard HP-4200 flatbed scanner
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `hp4200's exit function
[hp4200] sane_hp4200_exit
[dll] sane_exit: finished
Hello!
It said my scanners name! ;)
Unfortunately, at this point when I try (as user or as root):
xsane -d hp4200:/dev/usbscanner
I get a popup:
Failed to open device 'hp4200:/dev/usbscanner':
Operation not supported
So then I put the path /dev/usb/scanner0 back into the hp4200.conf file and removed /dev/usbscanner (the link) but it still didn't see it, it really wants it at /dev/usbscanner:
[root@zurich robert]# SANE_CONFIG_DIR=/etc/sane.d SANE_DEBUG_HP4200=128 SANE_DEBUG_SANEI_USB=128 SANE_DEBUG_DLL=128 scanimage -L
[sanei_debug] Setting debug level of dll to 128.
[dll] sane_init: SANE dll backend version 1.0.8 from sane-backends 1.0.11
[dll] add_backend: adding backend `hp4200'
[dll] load: searching backend `hp4200' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/libsane-hp4200.so.1'
[dll] load: dlopen()ing `/usr/lib/sane/libsane-hp4200.so.1'
[dll] init: initializing backend `hp4200'
[sanei_debug] Setting debug level of hp4200 to 128.
[hp4200] sane_hp4200_init
[sanei_debug] Setting debug level of sanei_usb to 128.
[sanei_usb] sanei_usb_init: found kernel scanner device (0x03f0/0x0105) at /dev/usb/scanner0
usb_set_debug: Setting debugging level to 255 (on)
usb_find_busses: Skipping non bus directory devices
usb_find_busses: Skipping non bus directory drivers
usb_find_busses: Found 005
usb_find_busses: Found 004
usb_find_busses: Found 003
usb_find_busses: Found 002
usb_find_busses: Found 001
usb_find_devices_on_bus: Found 001 on 001
usb_find_devices_on_bus: Found 002 on 001
skipped 1 class/vendor specific interface descriptors
usb_find_devices_on_bus: Found 003 on 001
usb_find_devices_on_bus: Found 001 on 002
usb_find_devices_on_bus: Found 001 on 003
usb_find_devices_on_bus: Found 002 on 003
skipped 4 class/vendor specific interface descriptors
skipped 2 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 2 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 2 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 2 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
usb_find_devices_on_bus: Found 001 on 004
usb_find_devices_on_bus: Found 001 on 005
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: device 0x046d/0xc506 doesn't look like a scanner (0/3)
[sanei_usb] sanei_usb_init: found libusb device (0x03f0/0x0105) at libusb:001:003
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: found libusb device (0x0471/0x0312) at libusb:003:002
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: device 0x0000/0x0000 looks like a root hub
[sanei_usb] sanei_usb_init: found 3 devices
[hp4200] sane_hp4200_init: configuration file not found, defaulting to /dev/usbscanner.
[hp4200] add_device(/dev/usbscanner)
[hp4200] find_device
[hp4200] add_device: open(/dev/usbscanner) failed: No such file or directory
[hp4200] sane_hp4200_init: failed to add device "/dev/usbscanner"
[dll] init: backend `hp4200' is version 1.0.0
[hp4200] sane_hp4200_get_devices (0xbffff0a8, 0)
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `hp4200's exit function
[hp4200] sane_hp4200_exit
[dll] sane_exit: finished
Ok, no problem:
[root@zurich robert]# mknod /dev/usbscanner c 180 48
made sure that running the scanimage -L would see the scanner again.
I also did a chmod 777 /dev/usbscanner since it didn't have the same permissions as /dev/usb/scanner0 ... but the result is still the same: operation not supported...
BTW the mknod wasn't too bad at all:
[root@zurich robert]# sane-find-scanner
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x03f0, product=0x0105) at /dev/usb/scanner0
found USB scanner (vendor=0x03f0, product=0x0105) at /dev/usbscanner
found USB scanner (vendor=0x03f0, product=0x0105) at libusb:001:003
found USB scanner (vendor=0x0471, product=0x0312) at libusb:003:002
# A USB device was detected. This program can't be sure if it's really
# a scanner. If it is your scanner, it may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# Scanners connected to the parallel port or other proprietary ports can't be
# detected by this program.
[root@zurich robert]# scanimage -L
device `hp4200:/dev/usbscanner' is a Hewlett-Packard HP-4200 flatbed scanner
[root@zurich robert]#
But it keeps saying operation not supported...
:(
So what else is there to try?