From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] ISSC USB dongle patch
Date: Mon, 27 Jun 2005 13:14:08 +0200 [thread overview]
Message-ID: <1119870848.15397.21.camel@pegasus> (raw)
In-Reply-To: <009401c57b06$7afe3ef0$0132a8c0@AL>
Hi Al,
> I have an ISSC USB dongle and search the last year's archive to find
> the patch to
> make it work with BlueZ.
>
> I just wonder how it works. What's black_ids[] for and the purpose of
> adding .driver_info = HCI_RESET?
>
> struct usb_device_id bluetooth_ids[]
> struct usb_device_id ignore_ids[] or black_ids[]
in the hci_usb driver from the 2.6.12 kernel we have bluetooth_ids and
blacklist_ids structures. The bluetooth_ids is the MODULE_DEVICE_TABLE
which is used for automatic module loading. It includes the generic
Bluetooth USB class and some weird devices where the class descriptor is
broken. With the blacklist_ids we define needed hacks and workarounds
for dongles that not fully comply to the Bluetooth HCI specification.
One of these workaround (aka quirks) is HCI_RESET. It means that we have
to send an HCI_Reset command first, before continuing with the normal
initialization sequence. In general a HCI_Reset is not needed, because
the device should be in a sane state after the USB plugin.
The case I needed to add the HCI_Reset to the ISSC dongle was that the
inquiry is not working when you don't send it.
Regards
Marcel
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
prev parent reply other threads:[~2005-06-27 11:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-27 10:53 [Bluez-users] ISSC USB dongle patch Al Chane
2005-06-27 11:14 ` Marcel Holtmann [this message]
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=1119870848.15397.21.camel@pegasus \
--to=marcel@holtmann.org \
--cc=bluez-users@lists.sourceforge.net \
/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