snd-bt-sco creates an unusable device

Bug #222922 reported by Ludovico Cavedon
50
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bluez-btsco (Ubuntu)
Invalid
Undecided
Unassigned
Nominated for Intrepid by feakk
linux (Ubuntu)
Invalid
Medium
Unassigned
Nominated for Intrepid by feakk
linux-ubuntu-modules-2.6.24 (Ubuntu)
Won't Fix
Undecided
Unassigned
Nominated for Intrepid by feakk

Bug Description

With Ubuntu hardy, the device created by snd-bt-sco is not working:
$ btsco -v
btsco v0.42
Device is 1:0
Error: btsco open (1-0): No such device or address

$ cat /dev/snd/hwC1D0
cat: /dev/snd/hwC1D0: No such device or address

It stoppend working with some revision of kernel-modules-2.6.24

Additional details:
$ uname -a
Linux cavedon-pc 2.6.24-16-generic #1 SMP Thu Apr 10 12:47:45 UTC 2008 x86_64 GNU/Linux

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: Conexant Digital [Conexant Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Headset [BT Headset], device 0: Bluetooth SCO PCM [BT SCO PCM]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

from /var/log/syslog:
Apr 26 23:29:18 cavedon-pc kernel: [ 1942.467098] snd-bt-sco revision 1.19 $
Apr 26 23:29:18 cavedon-pc kernel: [ 1942.467342] snd-bt-sco: snd-bt-scod thread starting

Thanks

Revision history for this message
scheich (philipp-mangelow) wrote :

Same problem.

# uname -a
Linux Arbeit 2.6.24-16-386 #1 Thu Apr 10 12:50:06 UTC 2008 i686 GNU/Linux
But I had with the generic-kernel-image same problem.

# btsco -v
btsco v0.42
Device is 1:0
Error: btsco open (1-0): No such device or address

#dmesg
[ 4754.128204] snd-bt-sco: playback_open
[ 4754.129095] snd-bt-sco: capture_open
[ 4754.129765] snd-bt-sco: playback_open
[ 4754.130352] snd-bt-sco: capture_open

Bluetooth Stereo works fine, but with no AVRCP.
Skype/Teamspeak doesnt work.

Thanks.

Revision history for this message
_r1_ (elegall) wrote :

Same problem here

# uname -r
2.6.24-16-generic

and same on a 2.6.24-17

same btsco version.

I don't understand how your bluetooth stereo can work fine.

(BTW, was working on gutsy)

Revision history for this message
scheich (philipp-mangelow) wrote :

@_r1_ :

Working good with the old "a2dpd" driver, including AVRCP. Tested with xmms.

Working fine with internal "bluetooth" device from the bluez-utils(bluez-audio). No extra programm(a2dpd) needed. Much more comfortable, but no AVRCP.

I have only that btsco-error for voice, skype, ekiga etc.
But If im right informed, the btsco drivers are old too.
With that sco-module and the bluetooth one you can talk via your headset. But I dont know how.

Revision history for this message
bruno pennec (bruno-pennec) wrote :

I confirm,
btsco work fine with 2.6.22 but headset don't work with 2.6.24-16,

#uname -a
Linux XXXXX 2.6.24-16-generic #1 SMP ....

hcitool scan => OK
    00:1C:EF:18:XX:XX Nokia BH-101

module snd-bt-sco is loaded

btsco exit with the following error :
Error: btsco open (1-0): No such device or address

hcitool cc 00:1C:EF:18:XX:XX don't connect anything too
(headset pairing blinking and no password asked)

Revision history for this message
Zoom (duntra80) wrote :

This bug is confirmed with my Samsung WEP410 headset on Ubuntu Hardy. Here's the output of btsco

$ btsco -v 00:02:78:D9:58:1A
btsco v0.42
Device is 1:0
Error: btsco open (1-0): No such device or address

snd_bt_sco is loaded as shown by

$ lsmod|grep sco
snd_bt_sco 16940 0
snd_pcm 78596 3 snd_bt_sco,snd_hda_intel,snd_pcm_oss
snd_page_alloc 11400 3 snd_bt_sco,snd_hda_intel,snd_pcm
snd_hwdep 10500 2 snd_bt_sco,snd_hda_intel
snd 56996 18 snd_bt_sco,snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device

Any help on this bug is appreciated.

Revision history for this message
Rodrigo Rizzi Starr (non-ducor) wrote :

Seens to be corrected in 2.6.24-19-generic.

Revision history for this message
Andreas Huyer (andhuy) wrote :

For those who are missing AVRCP, try modprobe uinput.

Revision history for this message
Ludovico Cavedon (cavedon) wrote :

Not fixed for me in
2.6.24-19-generic #1 SMP Wed Jun 4 15:10:52 UTC 2008 x86_64 GNU/Linux

Revision history for this message
ckwall (cwall-progrexion) wrote :

Also, not working for me:

root@slobberknocker:~# uname -r
2.6.24-19-generic
root@slobberknocker:~# btsco -v 00:0D:3C:4B:A0:93
btsco v0.42
Device is 1:0
Error: btsco open (1-0): No such device or address

root@slobberknocker:~#

Revision history for this message
KrzychK2 (krzysztof-kardas) wrote :

Same problem form me.

Linux Desktop 2.6.24-19-generic #1 SMP Wed Jun 4 15:10:52 UTC 2008 x86_64 GNU/Linux

What is funny.
aplay to the bluetooth device can cause system crash.

Revision history for this message
kako13 (kako13pr) wrote :

Same here... uname -r = 2.6.24-19-generic

Revision history for this message
bruno pennec (bruno-pennec) wrote :

same for me...
btsco seems to be broken since kernel 2.6.24 due to a interface change in kernel :

Found on bluetooth-alsa (home of btsco, 2008-1-19):
http://sourceforge.net/tracker/index.php?func=detail&aid=1875201&group_id=116589&atid=678258 :
"linux 2.6.24 got a bluetooth-related change (introduction of eSCO as far as I know), which makes none of the currently available patches (i.e.
sco-flowcontrol-v4.3.diff or sco-flowcontrol-v4.4.diff or earlier) applyanymore. Thus, bluetooth-alsa is not usable for users of newer kernels.
Also trying to resolve the rejected hunks by hand (without understanding the bluetooth code in the kernel) did not bring any luck. :-("

If it's true, only a CVS update can help us...

Revision history for this message
Rene Vergara (ravl10) wrote :

not working for me either

$ uname -r
2.6.24-19-generic

Revision history for this message
ejm (evert-emantel) wrote :

Got the same issue..

My BT headset works with 2.6.22-16 kernel, but not with the 2.6.24 kernels-17,-18,-19.

$ uname -r
2.6.24-19-generic

Revision history for this message
gattopi (gattopi) wrote :

Not Work for me.
 lsmod|grep sco
sco 15488 0
snd_bt_sco 16940 0
snd_pcm 78596 3 snd_bt_sco,snd_hda_intel,snd_pcm_oss
snd_page_alloc 11400 3 snd_bt_sco,snd_hda_intel,snd_pcm
snd_hwdep 10500 2 snd_bt_sco,snd_hda_intel
bluetooth 61156 8 rfcomm,l2cap,sco,hci_usb
snd 56996 18 snd_bt_sco,snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device

 uname -r
2.6.24-20-generic

btsco -v
btsco v0.42
Device is 1:0
Error: btsco open (1-0): No such device or address

Thanks for the Help

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Everyone,

It unfortunately appears the kernel team was unable to address this for Hardy. The upcoming Intrepid Ibex 8.10 release is actively being worked on. Care to confirm this is still an issue with the latest Alpha for the upcoming Intrepid Ibex 8.10. You should be able to test via a LiveCD - http://www.ubuntu.com/testing. Please let us know your results. If the issue still exists, per the kernel team's bug policy, can you please attach the following information. Please be sure to attach each file as a separate attachment.

* cat /proc/version_signature > version.log
* dmesg > dmesg.log
* sudo lspci -vvnn > lspci-vvnn.log

For more information regarding the kernel team bug policy, please refer to https://wiki.ubuntu.com/KernelTeamBugPolicies .

Additionally, beginning with the Intrepid Ibex 8.10 development cycle the linux-ubuntu-modules package was actually merged with the linux kernel package. Going forward, bugs that would have been reported against linux-ubuntu-modules should now just be reported against linux. I've went ahead and opened the 'linux' task for this report. Thanks.

Changed in linux:
status: New → Incomplete
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Lorant Nemeth (loci) wrote :

Hi!

I just tried btsco with the latest (Alpha 6) Interpid Ibex version. Results:

- modprobe snd_bt_sco -> works fine
- btsco [mac] -> as ubuntu user:

Error: control open (hw:1): No such file or directory
Error: Can't find device. Bail

- btsco [mac of headset] as root

starts fine, pairing works, but:

1. /dev/dsp1 is created fine but device is visible neither in Sound preferences nor in Ekiga device selection list
2. ps ax|grep btsco shows the process in sleep state (S)
3. mpg123 -a /dev/dsp1 something.mp3 as root prints:

Error in writing audio (Input/output error?)!

After this ps ax|grep btsco shows the process is dead (D)

syslog:

Sep 24 09:31:44 ubuntu kernel: [ 3739.839137] snd-bt-sco: playback_open
Sep 24 09:31:44 ubuntu kernel: [ 3739.849268] snd-bt-sco: prepare ok bps: 16000 size: 32768 count: 8192
Sep 24 09:31:44 ubuntu kernel: [ 3739.851295] snd-bt-sco: playback_open
Sep 24 09:31:44 ubuntu kernel: [ 3739.865367] Bluetooth: SCO (Voice Link) ver 0.6
Sep 24 09:31:44 ubuntu kernel: [ 3739.865372] Bluetooth: SCO socket layer initialized
Sep 24 09:31:44 ubuntu kernel: [ 3739.895367] snd-bt-sco: prepare ok bps: 16000 size: 21824 count: 1364
Sep 24 09:31:44 ubuntu kernel: [ 3739.896774] snd-bt-sco: playback_open
Sep 24 09:31:44 ubuntu kernel: [ 3739.898156] snd-bt-sco: prepare ok bps: 16000 size: 23808 count: 1488
Sep 24 09:31:44 ubuntu kernel: [ 3739.899898] snd-bt-sco: playback_trigger 1
Sep 24 09:31:44 ubuntu kernel: [ 3739.899905] snd-bt-sco: setting playback to bspcm
Sep 24 09:32:08 ubuntu kernel: [ 3764.379375] snd-bt-sco: playback_trigger 0
Sep 24 09:32:08 ubuntu kernel: [ 3764.379391] snd-bt-sco: setting playback to NULL

HW used: T61P, and Nokia-BH902 headset

Please let me knwo if you need any further info.

Revision history for this message
Trek1701 (rtbuhler) wrote :

Same problem here.

uname -a
2.6.24-19-generic #1 SMP Wed Aug 20 22:56:21 UTC 2008 i686 GNU/Linux

Revision history for this message
onemyndseye (onemyndseye) wrote :

I can confirm the issue still exist in Ibex.

uname -a
Linux myndseye 2.6.27-7-generic #1 SMP Fri Oct 17 22:24:21 UTC 2008 i686 GNU/Linux

btsco -v
btsco v0.42
Error: control open (hw:1): No such file or directory
Error: Can't find device. Bail

Other symptoms same as Lorant Nemeth posted

Changed in linux:
status: Incomplete → New
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Since there are confirmations this is still an issue with Intrepid we'll keep this open against the actively developed "linux" kernel. According to the SRU policy, the fix should already be deployed and tested in the current development version before an update to the stable releases will be considered. So for now I'm closing the lum-2.6.24 task. See: https://wiki.ubuntu.com/StableReleaseUpdates . Thanks.

Changed in linux-ubuntu-modules-2.6.24:
status: New → Won't Fix
Changed in linux:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Triaged a while ago but has not had any updated comments for quite some time. Please let us know if this issue remains in the current Ubuntu release, http://www.ubuntu.com/getubuntu/download . If the issue remains, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-triage
Changed in linux (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
ckwall (cwall-progrexion) wrote : RE: [Bug 222922] Re: snd-bt-sco creates an unusable device

I gave up on the whole thing. No idea if this persists.

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Jeremy Foshee
Sent: Saturday, March 13, 2010 1:26 PM
To: Christopher Wall
Subject: [Bug 222922] Re: snd-bt-sco creates an unusable device

This bug report was marked as Triaged a while ago but has not had any
updated comments for quite some time. Please let us know if this issue
remains in the current Ubuntu release,
http://www.ubuntu.com/getubuntu/download . If the issue remains, click
on the current status under the Status column and change the status back
to "New". Thanks.

[This is an automated message. Apologies if it has reached you
inappropriately; please just reply to this message indicating so.]

** Tags added: kj-triage

** Changed in: linux (Ubuntu)
       Status: Triaged => Incomplete

--
snd-bt-sco creates an unusable device
https://bugs.launchpad.net/bugs/222922
You received this bug notification because you are a direct subscriber
of the bug.

Status in “bluez-btsco” package in Ubuntu: New
Status in “linux” package in Ubuntu: Incomplete
Status in “linux-ubuntu-modules-2.6.24” package in Ubuntu: Won't Fix

Bug description:
With Ubuntu hardy, the device created by snd-bt-sco is not working:
$ btsco -v
btsco v0.42
Device is 1:0
Error: btsco open (1-0): No such device or address

$ cat /dev/snd/hwC1D0
cat: /dev/snd/hwC1D0: No such device or address

It stoppend working with some revision of kernel-modules-2.6.24

Additional details:
$ uname -a
Linux cavedon-pc 2.6.24-16-generic #1 SMP Thu Apr 10 12:47:45 UTC 2008 x86_64 GNU/Linux

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: Conexant Digital [Conexant Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Headset [BT Headset], device 0: Bluetooth SCO PCM [BT SCO PCM]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

from /var/log/syslog:
Apr 26 23:29:18 cavedon-pc kernel: [ 1942.467098] snd-bt-sco revision 1.19 $
Apr 26 23:29:18 cavedon-pc kernel: [ 1942.467342] snd-bt-sco: snd-bt-scod thread starting

Thanks

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/ubuntu/+source/bluez-btsco/+bug/222922/+subscribe

Changed in linux (Ubuntu):
status: Incomplete → Invalid
Changed in bluez-btsco (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.