Subject: Re: kern/34070: btconfig: SIOCSBTFLAGS: Resource temporarily
To: None <gnats-bugs@NetBSD.org>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: netbsd-bugs
Date: 11/17/2006 19:20:29
This is a multipart MIME message.
--==_Exmh_13776008535290
Content-Type: text/plain; charset=us-ascii
With the appended patch the ubt initializes for me, even if usb2/ehci
is used by the host controller.
The "16" happens to be the "wMaxPacketSize" in the endpoint descriptor;
I'm not sure yet whether it should be the driver's duty to check that
or the framework should care.
I'm also not sure whether the builtin Dell hub is somehow limited or
the translation problems are to be expected under the timing/size conditions
imposed by the ubt driver.
best regards
Matthias
--==_Exmh_13776008535290
Content-Type: text/plain ; name="btilen.txt"; charset=us-ascii
Content-Description: btilen.txt
Content-Disposition: attachment; filename="btilen.txt"
Index: ubt.c
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/ubt.c,v
retrieving revision 1.19
diff -u -p -r1.19 ubt.c
--- ubt.c 12 Oct 2006 01:31:59 -0000 1.19
+++ ubt.c 17 Nov 2006 18:08:44 -0000
@@ -832,7 +832,7 @@ ubt_enable(struct hci_unit *unit)
&sc->sc_evt_pipe,
sc,
sc->sc_evt_buf,
- UBT_BUFSIZ_EVENT,
+ 16 /*UBT_BUFSIZ_EVENT*/,
ubt_recv_event,
UBT_EVENT_INTERVAL);
if (err != USBD_NORMAL_COMPLETION) {
--==_Exmh_13776008535290--