Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Sep 2007 08:25:00 +0200
From:      Raaf <raaf@zen.mooo.com>
To:        freebsd-usb@freebsd.org
Cc:        olli@lurza.secnetix.de
Subject:   Re: uscanner: HP ScanJet 4300C
Message-ID:  <46F606BC.9000906@zen.mooo.com>
In-Reply-To: <46F5FD50.7050501@zen.mooo.com>
References:  <46F5FD50.7050501@zen.mooo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Raaf wrote:
> Oliver Fromme wrote:
>> Hi,
>>
>> I have bought a HP ScanJet 4300C, specifically because
>> this very scanner is listed in FreeBSD's uscanner(4)
>> manpage and in SANE's list of supported USB scanners.
>>
>> However, this is all I get:
>>
>> uscanner0: <vendor 0x03f0 product 0x0305, class 0/0, rev 1.00/0.00, 
>> addr 2> on uhub0
>> uscanner0: setting config no failed
>> device_attach: uscanner0 attach returned 6
>> uhub0: port 4, set config at addr 2 failed
>> uhub0: device problem (TIMEOUT), disabling port 4
>>
>> That's on 7-current, but it fails the same way on 6-stable.
>> I also tried on two different machines with different USB
>> chipsets, and different ports ...  No change.
>>
> 
> 
> Most USB devices only have one configuration. You could
> try commenting out the call to usbd_set_config_no() and
> the related error checking code in the attach routine of
> uscanner.

Forget about this, apparently a call to usbd_set_config_index
is required to allocate the interfaces.

> 
> If that doesn't work or you want to investigate further,
> adding:
> 
> options  USB_DEBUG
> 
> to your kernel configuration file will give you some
> more useful debugging messages. You can control the
> verbosity level with the hw.usb.debug sysctl.
> 
> Raaf
> 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46F606BC.9000906>