All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] [ANNOUNCE] ALSA Bluetooth Headset Driver
@ 2003-09-15  0:21 jp-www
  2003-09-15 14:30 ` James Courtier-Dutton
  2003-09-26  8:51 ` Sjoerd Simons
  0 siblings, 2 replies; 6+ messages in thread
From: jp-www @ 2003-09-15  0:21 UTC (permalink / raw)
  To: bluez-devel

Hi,

Having recently got a Bluetooth headset (HBH-60), I've put together a
preliminary ALSA driver which works with bluez.

	http://www.dcs.gla.ac.uk/~jp/snd-bluez-sco/

I'd appreciate any feedback on this. The code is a bit messy at the
moment, but I've had fairly good results with it.

No changes to bluez are required at the moment -- all the work is done
through the SCO socket interface. Better performance could likely be
obtained with a slightly different interface.

This is a work-in-progress -- no guarantees that it will work!


An excerpt from the small README file:

ALSA Bluetooth Headset Driver
=============================

This is a preliminary driver for Bluetooth headsets. It has only been
tested with the following configurations:

    USB Bluetooth adapter (Bluecore02 and 01b)
    usb-ohci, usb-uhci and uhci driver (on a desktop and laptop)
    kernel 2.4.20 single processor (there may be race conditions)
    alsa-0.9.6
    HBH-60 Bluetooth headset
    recent bluez, hci_usb with my extra patches for SCO support (hciusb-isoc.patch)

Only 8-bit (8000hz) mode is supported at the moment. You must configure
your hci device with 'hciconfig hci0 voice 0x0040'.

The speaker and microphone volume levels are presented as ALSA mixer
controls. The HBH-60 only supports speaker volume, so I haven't managed
to test the microphone support.

The ALSA device doesn't produce or consume any audio data when the headset
isn't connected via the bluezsco control program -- this will cause apps
to time out after a few seconds.

Pressing the headset button while connected will disconnect. Pressing the
headset button while disconnected (assuming the headset decides to connect
to your PC rather than your phone) will not work, since the control
program doesn't (yet) act as a server.

Please get in touch if you manage to get it to work or have any questions.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-09-26  9:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-15  0:21 [Bluez-devel] [ANNOUNCE] ALSA Bluetooth Headset Driver jp-www
2003-09-15 14:30 ` James Courtier-Dutton
2003-09-15 14:51   ` jp-www
2003-09-26  8:51 ` Sjoerd Simons
2003-09-26  8:59   ` Jonathan Paisley
2003-09-26  9:59     ` Sjoerd Simons

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.