uscanner: HP ScanJet 4300C
Oliver Fromme
olli at lurza.secnetix.de
Fri Sep 28 09:07:17 PDT 2007
Oliver Fromme wrote:
> 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've now compiled a kernel with USB_DEBUG, and I also added
a few lines of debugging printfs myself. This is what I get:
uscanner1: <vendor 0x03f0 product 0x0305, class 0/0, rev 1.00/0.00, addr 2> on uhub0
usbd_set_config_no: 1
usbd_get_config_desc: confidx=0
usbd_get_desc: type=2, index=0, len=9
usbd_alloc_xfer() = 0xc3b05200
usbd_transfer: xfer=0xc3b05200, flags=2, pipe=0xc3fda380, running=0
usbd_dump_queue: pipe=0xc3fda380
usb_insert_transfer: pipe=0xc3fda380 running=0 timeout=5000
usb_add_task: task=0xc3b05378
usb_task_thread: woke up task=0xc3b05378
usb_schedsoftintr: polling=0
usb_transfer_complete: pipe=0xc3fda380 xfer=0xc3b05200 status=15 actlen=0
usb_transfer_complete: repeat=0 new head=0
usbd_start_next: pipe=0xc3fda380, xfer=0
usbd_free_xfer: 0xc3b05200
usbd_get_config_desc: usbd_get_desc() --> usbd_status 15
usbd_set_config_no: index 0 --> usbd_status 15
uscanner1: setting config no failed [usbd_status=15]
device_attach: uscanner1 attach returned 6
usbd_status 15 is USBD_TIMEOUT.
I wanted to run udesc_dump, so I compiled a kernel without
uscanner so the device would attach to ugen. However, I get
this (after a few seconds):
uhub_explore: usb_new_device failed, error=TIMEOUT
uhub0: device problem (TIMEOUT), disabling port 2
So I get a timeout again. The problem doesn't seem to be
uscanner-related, but more low-level.
Any ideas how to proceed?
Best regards
Oliver
PS: I'm pretty sure the scanner is not defective. Also,
the USB controller is fine; a flash stick plugged into the
same port is working perfectly fine.
--
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart
FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd
"UNIX was not designed to stop you from doing stupid things,
because that would also stop you from doing clever things."
-- Doug Gwyn
More information about the freebsd-usb
mailing list