Le Sun, Nov 10, 2002, � 12:11:12PM +0100, Cyrille Chepelov a �crit:
> info("probe_scanner: ep_cnt=%u
>endpoint={len=%u,dtype=%02x,ep_addr=%02x,attr=%02x,packsize=%04x,interv=%02x}",
> ep_cnt,endpoint[ep_cnt].bLength, endpoint[ep_cnt].bDescriptorType,
> endpoint[ep_cnt].bEndpointAddress, endpoint[ep_cnt].bmAttributes,
> endpoint[ep_cnt].wMaxPacketSize, endpoint[ep_cnt].bInterval);
> Nov 10 12:06:58 muscat kernel: drivers/usb/image/scanner.c: probe_scanner:
>have_bulk_in=1 have_bulk_out=0 have_intr=0Nov 10 12:06:58 muscat kernel:
>drivers/usb/image/scanner.c: probe_scanner: ep_cnt=1
>endpoint={len=0,dtype=00,ep_addr=00,attr=00,packsize=0000,interv=00}
Looking again at the problem, it looks like probe_scanner() gets handed an
intf->altsetting->endpoint arrawy where
(intf->altsetting->desc.bNumEndpoints -1) endpoints have actually been
copied. On the other hand, lsusb seems to see the complete picture.
Hotplug loaded all three [ehu]hci-hcd.o modules; UHCI is the one being used
(I can't unload to try an alternative one, if such thing still exists; I get
an immediate panic). lspci output follows.
-- Cyrille
--
30-10 !
00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 02)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 22)
00:07.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 10)
00:07.2 USB Controller: VIA Technologies, Inc. USB (rev 10)
00:07.3 USB Controller: VIA Technologies, Inc. USB (rev 10)
00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 30)
00:08.0 VGA compatible controller: Matrox Graphics, Inc. MGA 2164W [Millennium II]
00:09.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 08)
00:0d.0 SCSI storage controller: LSI Logic / Symbios Logic (formerly NCR) 53c810 (rev
12)
00:0f.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 24)
00:11.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 24)