[sane-devel] messed up HP6350 USB Scanje config?

Henning Meier-Geinitz henning@meier-geinitz.de
Thu, 5 Jun 2003 22:39:48 +0200


Hi,

On Fri, Jun 06, 2003 at 02:29:41AM -0400, Reid Vail wrote:
> Hello Henning -

I'mm cc'ing to the list as I'm not really an hp expert.

> I issues the command you suggested, and everything looks Ok until it tries to 
> open the libusb.  I'm not sure I looked in the right place for the libusb 
> libraries, but I captured the permissions of what I found.  I changed the 
> libusb.a file with a chmod 666, but didn't see any improvement.   

Changing the permissions of the library doesn't work. YOu must change
the permissions of the device files as explained in man sane-usb
(section libusb). The manpage is also on the SANE website:
http://panda.mostang.com/sane/man/sane-usb.5.html

> [hp] hp_read_config: attach usb 0x03f0 0x0601
> [hp] hp_attach_matching_devices: usb attach matching "usb 0x03f0 0x0601"
> [hp] hp_attach: "libusb:001:002"
> [hp] sanei_hp_device_info_get: searching libusb:001:002
> [hp] sanei_hp_device_info_get: check libusb:001:002
> [hp] hp_get_dev: New device libusb:001:002, connect-usb, scsi-request=0
> [hp] sanei_hp_device_new: libusb:001:002
> [hp] sanei_hp_device_info_get: searching libusb:001:002
> [hp] sanei_hp_device_info_get: check libusb:001:002
> [hp] hp_nonscsi_open: open usb with "libusb:001:002"
> [hp] hp_nonscsi_open: open device libusb:001:002 failed
> [hp] nonscsi_new: open failed (Access to resource has been denied)

Did you try as root? That's most probably a permission issue.

Bye,
  Henning