public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] snd-bt-sco
@ 2004-12-09 17:34 Michael Zanetti
  2004-12-09 21:28 ` Marcel Holtmann
  2004-12-09 22:35 ` Brad Midgley
  0 siblings, 2 replies; 9+ messages in thread
From: Michael Zanetti @ 2004-12-09 17:34 UTC (permalink / raw)
  To: bluez-devel

Hi!

I've got a Logitech HS01 Bluetooth Headset and it works with the Bluetooth 
Alsa drivers except the Mic produces a noise so that recording or Skypeing is 
nearly impossible.

I've installed kernel-2.6.9-gentoo-r9, patched it with the patch on the Bluez 
homepage and installed btsco-cvs-0.2.

Any ideas how to stop that noise?

Thank you all for your great job on this Bluetooth Project!!!

Michael


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [Bluez-devel] snd-bt-sco
@ 2004-06-30 22:17 Peter Favrholdt
  2004-06-30 23:03 ` Peter Favrholdt
  0 siblings, 1 reply; 9+ messages in thread
From: Peter Favrholdt @ 2004-06-30 22:17 UTC (permalink / raw)
  To: bluez-devel

Hi bluez developers,

I'm not sure if this is the right forum. I'm probably in-between alsa-user, 
bluez-user, kernel-user? But here goes anyway:-)

I just tried getting the Logitech HS01 bluetooth headset working on kernel 
2.6.6 (debian unstable), using the ALSA driver from 
http://www.dcs.gla.ac.uk/~jp/snd-bt-sco/

Anyone had success with getting a headset working?

I know this driver is a hack, but it would be cool to have skype working using 
a headset under linux.

BR

Peter

--- cut: long and windy story about my adventures ---

I think I managed to patch my kernel-source-2.6.6 successfully. After 
modprobing the modules dmesg says:

Bluetooth: L2CAP ver 2.1
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM ver 1.2
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: SCO (Voice Link) ver 0.3
Bluetooth: SCO socket layer initialized
Bluetooth: HCI USB driver ver 2.5
usbcore: registered new driver hci_usb
snd-bt-sco revision ??$
snd-bt-sco: snd-bt-scod thread starting

so far so good.

After a while I got this additional message:

hci_acldata_packet: hci0 ACL packet for unknown connection handle 1

here is a summary of what I did:

modprobe hci_usb
modprobe sco
invoke-rc.d bluez-utils restart

Here I turned on the headset in this special "reset/pairing mode" (don't know 
the right name for it - but you hold down the button for 10 seconds).

hcitool scan
Scanning ...
         00:0D:44:00:76:07       Logitech HS01

hcitool cc 00:0D:44:00:76:07 (I think I had to enter pin here)

hciconfig hci0 voice 0x0040

modprobe snd-bt-sco
sdptool search --bdaddr 00:0D:44:00:76:07 0x1108
snd-bt-sco-2004-03-14/btsco-0.2/btsco 00:0D:44:00:76:07 1
Error: control open (hw:0): No such file or directory
Error: Can't find device. Bail

So that was end of the game.


At this time hcitool con says:
Connections:
         > ACL 00:0D:44:00:76:07 handle 1 state 1 lm SLAVE

But I've also had it say:
         < ACL 00:0D:44:00:76:07 handle 1 state 1 lm MASTER

Using strace I get this:

strace btsco-0.2/btsco 00:0D:44:00:76:07 1

futex(0x400fbffc, FUTEX_WAKE, 2147483647) = 0
access("/etc/asound.conf", R_OK)        = -1 ENOENT (No such file or directory)
access("/root/.asoundrc", R_OK)         = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/dev/aloadC0", O_RDONLY)          = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC0", O_RDWR)      = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC0", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/dev/aloadC0", O_RDONLY)          = -1 ENOENT (No such file or directory)
open("/dev/snd/controlC0", O_RDWR)      = -1 ENOENT (No such file or directory)
write(2, "Error: ", 7Error: )                  = 7
write(2, "control open (hw:0): No such fil"..., 46control open (hw:0): No such 
file or directory) = 46
write(2, "\n", 1
)                       = 1
write(2, "Error: ", 7Error: )                  = 7
write(2, "Can\'t find device. Bail", 23Can't find device. Bail) = 23
write(2, "\n", 1
)                       = 1
exit_group(1)                           = ?

This could be caused by missing device files in /dev/ maybe?

I have ALSA compiled statically into the kernel, here is what dmesg says:
Advanced Linux Sound Architecture Driver Version 1.0.4rc2 (Tue Mar 30 08:19:30 
2004 UTC).
ALSA device list:
   #0: C-Media PCI CMI8738 (model 37) at 0xc400, irq 10


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

end of thread, other threads:[~2004-12-13  9:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-09 17:34 [Bluez-devel] snd-bt-sco Michael Zanetti
2004-12-09 21:28 ` Marcel Holtmann
2004-12-09 22:35 ` Brad Midgley
2004-12-09 22:57   ` Chris Boyle
2004-12-13  9:04     ` [Bluez-devel] Re2: snd-bt-sco suche.org
  -- strict thread matches above, loose matches on Subject: below --
2004-06-30 22:17 [Bluez-devel] snd-bt-sco Peter Favrholdt
2004-06-30 23:03 ` Peter Favrholdt
2004-07-01 14:10   ` Marcel Holtmann
2004-07-01 20:49     ` Peter Favrholdt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox