From: Marcel Holtmann <marcel@holtmann.org>
To: Mitch <mitch@0bits.com>
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] NEC usb bluetooth support
Date: Tue, 16 Dec 2003 20:40:00 +0100 [thread overview]
Message-ID: <1071603600.27570.30.camel@pegasus> (raw)
In-Reply-To: <3FDF5C36.7080605@0bits.com>
Hi Mitch,
> Yup i do have an entry (see below), and i've managed to get it to load, but by
> hacking the hci_usb.c to remove the lines
>
> /* Check number of endpoints */
> if (intf->altsetting[0].desc.bNumEndpoints < 3)
> return -EIO;
>
> It looks like since there's multiple interface descriptors for the device (see
> attachment), and bNumEndpoints is only equal to 3 in one of them, then the test
> fails and returns EIO. I don't know if this check should be removed altogether since
> we subsequently iterate thru all the interfaces to get the endpoints.
>
> hciconfig shows me 2 interfaces - is this correct ?
this is wrong. The second interface on the USB layer is for the SCO
audio support and in normal cases correct recognized by the driver. This
is why the above check is in the code. If you not have three endpoints
on the first interface it is not a USB Bluetooth device. Please check
your device with 2.4.23.
Regards
Marcel
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next prev parent reply other threads:[~2003-12-16 19:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-16 19:25 [Bluez-users] NEC usb bluetooth support Mitch
2003-12-16 19:40 ` Marcel Holtmann [this message]
[not found] <3FE0E092.9060002@0Bits.COM>
2003-12-18 9:32 ` Marcel Holtmann
-- strict thread matches above, loose matches on Subject: below --
2003-12-17 10:03 Mitch
2003-12-17 22:07 ` Marcel Holtmann
2003-12-16 15:44 Mitch
2003-12-16 19:06 ` Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1071603600.27570.30.camel@pegasus \
--to=marcel@holtmann.org \
--cc=bluez-users@lists.sourceforge.net \
--cc=mitch@0bits.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox