Skip to contentSkip to conversation

alsa integrated in kernel

Bluez-users fabrice régnier 3 participants 9 messages Oct 26, 2006 – Oct 29, 2006 1 message not in the archive Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

hi to all,

on http://bluetooth-alsa.sourceforge.net/, it is said that i need "a =

recent (2.6.11.7 or newer) kernel with *integrated* alsa enabled"

Ok, in the kernel, it means that i can have <M> or <*> or just <*> ?

regards,

fabrice r=E9gnier

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easi= er
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1=
21642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#1 lore raw

fabrice

it may be compiled either way but the point is that you don't get the kernel alsa stuff by compiling the modules that are a separate download from the kernel.

brad

Quoted 11 lines

on http://bluetooth-alsa.sourceforge.net/, it is said that i need "a =

recent (2.6.11.7 or newer) kernel with *integrated* alsa enabled" =

Ok, in the kernel, it means that i can have <M> or <*> or just <*> ? =

regards,
=

Quoted 6 lines

fabrice r=E9gnier
=

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job ea=

sier

Quoted 2 lines

Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=

=3D121642

Quoted 4 lines

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easi= er
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1=
21642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw

Hi and thanx Brad,

Quoted 3 lines

it may be compiled either way but the point is that you don't get the kernel alsa stuff by compiling the modules that are a separate download from the kernel.

I'm sorry, i don't get you (forgive my english).
I'm running a 2.6.15 and in my .config, all the alsa stuff are selected =

as <M> and not as <*>. Does it mean it is correct yet to make the =

bluetooth-alsa working ?

regards,

fabrice regnier

Quoted 6 lines
Quoted 6 lines

on http://bluetooth-alsa.sourceforge.net/, it is said that i need "a =

recent (2.6.11.7 or newer) kernel with *integrated* alsa enabled"

Ok, in the kernel, it means that i can have <M> or <*> or just <*> ?

Quoted 7 lines
Quoted 7 lines

regards,

fabrice r=E9gnier

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job e=

asier

Quoted 1 line
Quoted 1 line

Download IBM WebSphere Application Server v.1.0.1 based on Apache Geroni=

mo

Quoted 1 line
Quoted 1 line

http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=

=3D121642

Quoted 11 lines
Quoted 4 lines

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

=

=

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job ea=

sier

Quoted 2 lines

Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=

=3D121642

Quoted 7 lines

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
=

=

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easi= er
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1=
21642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#3 lore raw

fabrice

Quoted 7 lines
Quoted 3 lines

it may be compiled either way but the point is that you don't get the kernel alsa stuff by compiling the modules that are a separate download from the kernel.

I'm sorry, i don't get you (forgive my english).
I'm running a 2.6.15 and in my .config, all the alsa stuff are selected as <M> and not as <*>. Does it mean it is correct yet to make the bluetooth-alsa working ?

yes that should work.

brad

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#4 lore raw

[Bluez-users] btsco fails: control open (hw:1): No such device

In reply to fabrice régnier

Hi to all,

i try to use my headset with btsco:

is my headset recognize and connected ?
I think YES.

FR-PORT:~# hcitool con
Connections:
         > ACL 00:03:89:AB:3D:76 handle 6 state 1 lm SLAVE
FR-PORT:~# hcitool info 00:03:89:AB:3D:76
Requesting information ...
         BD Address: 00:03:89:AB:3D:76
         Device Name: PLT 510 v.G
         LMP Version: 1.2 (0x2) LMP Subversion: 0x958
         Manufacturer: Cambridge Silicon Radio (10)
         Features: 0xbc 0xe8 0x01 0x00 0x18 0x18 0x00 0x00
            <encryption> <slot offset> <timing accuracy> <role switch>
            <sniff mode> <SCO link> <HV3 packets> <u-law log> <A-law log>
            <CVSD> <AFH cap. slave> <AFH class. slave> <AFH cap. master>
            <AFH class. master>

then i modprobe btsco

FR-PORT:/# lsmod| grep sco
snd_bt_sco             11308  0
snd_hwdep               6560  1 snd_bt_sco
snd_pcm                67976  4 =

snd_bt_sco,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd 39268 10 =

snd_bt_sco,snd_hwdep,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,= snd_pcm,snd_timer
snd_page_alloc 7560 3 snd_bt_sco,snd_intel8x0,snd_pcm

then i hciconfig hci0 voice 0x0060

then:

FR-PORT:~# btsco -v 00:03:89:AB:3D:76
btsco v0.42
Error: control open (hw:1): No such device
Error: Can't find device. Bail

where should i look in to make it working ?

thanx ;)

fabrice r=E9gnier.

My configuration:

FR-PORT:/# cat /etc/bluetooth/hcid.conf
options {
         autoinit yes;
         security auto;
         pairing multi;
         passkey "0000";
}
device {
         name "%h-%d";
         class 0x3e0100;
         iscan enable; pscan enable;
         lm accept;
         lp rswitch,hold,sniff,park;
}
FR-PORT:/etc/bluetooth# cat rfcomm.conf
rfcomm0 {
         bind yes;
         device 00:03:89:AB:3D:76;
         channel 1;
         comment "Oreillette";
}

I'm running debian etch 2.6.15 with alsa integrated as module

FR-PORT:/usr/src/linux# grep SND .config
CONFIG_SND=3Dm
CONFIG_SND_AC97_CODEC=3Dm
CONFIG_SND_AC97_BUS=3Dm
CONFIG_SND_TIMER=3Dm
CONFIG_SND_PCM=3Dm
CONFIG_SND_HWDEP=3Dm
CONFIG_SND_RAWMIDI=3Dm
CONFIG_SND_SEQUENCER=3Dm
CONFIG_SND_OSSEMUL=3Dy
CONFIG_SND_MIXER_OSS=3Dm
CONFIG_SND_PCM_OSS=3Dm
CONFIG_SND_SEQUENCER_OSS=3Dy
CONFIG_SND_EMU10K1=3Dm
CONFIG_SND_INTEL8X0=3Dm
CONFIG_SND_USB_AUDIO=3Dm
automake1.7                       1.7.9-9
bluez-cups                        3.7-1
bluez-hcidump                     1.32-1
bluez-utils                       3.7-1
kernel-patch-2.6-bluez            20050328-1
libasound2-dev                    1.0.13-1

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easi= er
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1=
21642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#5 lore raw

Re: [Bluez-users] btsco fails: control open (hw:1): No such device

I know it's a pot shot, but I have
"alias snd-card-1 snd-bt-sco"
in /etc/modules.conf.

Alsa's configuration still mystifies me, I have the same versions of just about everything you do, very similar configuration (albeit a gentoo system) and my headset (Sony Ericsson HBH-IV835) is working fine.

Might be worth giving the modules.conf line a shot anyway.

--Thomas

Quoted 81 lines · fabrice régnier

Hi to all,

i try to use my headset with btsco:

is my headset recognize and connected ?
I think YES.

FR-PORT:~# hcitool con

Connections:

         > ACL 00:03:89:AB:3D:76 handle 6 state 1 lm SLAVE
FR-PORT:~# hcitool info 00:03:89:AB:3D:76
Requesting information ...
         BD Address: 00:03:89:AB:3D:76
         Device Name: PLT 510 v.G
         LMP Version: 1.2 (0x2) LMP Subversion: 0x958
         Manufacturer: Cambridge Silicon Radio (10)
         Features: 0xbc 0xe8 0x01 0x00 0x18 0x18 0x00 0x00
            <encryption> <slot offset> <timing accuracy> <role switch>
            <sniff mode> <SCO link> <HV3 packets> <u-law log> <A-law log>
            <CVSD> <AFH cap. slave> <AFH class. slave> <AFH cap. master>
            <AFH class. master>

then i modprobe btsco

FR-PORT:/# lsmod| grep sco
snd_bt_sco             11308  0
snd_hwdep               6560  1 snd_bt_sco
snd_pcm                67976  4
snd_bt_sco,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd                    39268  10
snd_bt_sco,snd_hwdep,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,
snd_pcm,snd_timer snd_page_alloc          7560  3
snd_bt_sco,snd_intel8x0,snd_pcm

then i hciconfig hci0 voice 0x0060

then:

FR-PORT:~# btsco -v 00:03:89:AB:3D:76
btsco v0.42
Error: control open (hw:1): No such device
Error: Can't find device. Bail

where should i look in to make it working ?

thanx ;)

fabrice régnier.

My configuration:

FR-PORT:/# cat /etc/bluetooth/hcid.conf
options {
         autoinit yes;
         security auto;
         pairing multi;
         passkey "0000";
}
device {
         name "%h-%d";
         class 0x3e0100;
         iscan enable; pscan enable;
         lm accept;
         lp rswitch,hold,sniff,park;
}
FR-PORT:/etc/bluetooth# cat rfcomm.conf
rfcomm0 {
         bind yes;
         device 00:03:89:AB:3D:76;
         channel 1;
         comment "Oreillette";
}

I'm running debian etch 2.6.15 with alsa integrated as module

Quoted 16 lines
FR-PORT:/usr/src/linux# grep SND .config
CONFIG_SND=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_AC97_BUS=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_EMU10K1=m
CONFIG_SND_INTEL8X0=m
CONFIG_SND_USB_AUDIO=m

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#6 lore raw

Re: [Bluez-users] btsco fails: control open (hw:1): No such device

In reply to fabrice régnier

fabrice

Quoted 1 line

i try to use my headset with btsco:

I have not been using and testing this method... I've been trying to exercise Fabien's rewrite instead. If you want to have a look at that I just updated cvs and the wiki.

https://help.ubuntu.com/community/BluetoothAudio

brda

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

A message that is not in the archive (sent off-list or not yet received): [email protected]

#8 lore raw

Re: [Bluez-users] btsco fails: control open (hw:1): No such device

Hi all,

I'm still fighting with btsco :(

FR-PORT:~/btsco/kernel# btsco -v 00:03:89:AB:3D:76
btsco v0.42
Error: control open (hw:1): No such device
Error: Can't find device. Bail

How could i debug this ?

I'm nearly sure it's because alsa conf. I even did uninstall/reinstall =

alsa with no success.

Here is my sound file

FR-PORT:/etc/modprobe.d# cat sound
alias snd-card-0 snd-intel8x0
alias snd-card-1 snd_usb_audio
alias snd-card-2 snd_bt_sco

options snd-intel8x0 index=3D0
options snd_usb_audio index=3D1
options snd_bt_sco index=3D2

Do you think i should give up with bluetooth and play again with my old =

headset with cable ?

regards,

f.

Quoted 27 lines · fabrice r=E9gnier wrote:

Hi ;)
=

I had a look at

Quoted 1 line

https://help.ubuntu.com/community/BluetoothAudio

What should my .asoundrc look like with btsco stuff ? =

I'm not sure this .asoundrc is ok.
=

fabricer@FR-PORT:~$ cat .asoundrc
pcm.bluetooth {
        type a2dp
        bdaddr "00:03:89:AB:3D:76"
}
=

cuz, i don't use a2dp but btsco instead.
=

should i write "type btsco" ?
=

regards,
=

Quoted 6 lines

f.
=

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job ea=

sier

Quoted 2 lines

Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=

=3D121642

Quoted 7 lines

_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
=

=

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easi= er
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1=
21642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#9 lore raw

Re: [Bluez-users] btsco fails: control open (hw:1): No such device

In reply to a message not in the archive

fabrice

Quoted 6 lines

I had a look at

Quoted 1 line

https://help.ubuntu.com/community/BluetoothAudio

What should my .asoundrc look like with btsco stuff ?

I'm not sure this .asoundrc is ok.

Quoted 7 lines
fabricer@FR-PORT:~$ cat .asoundrc
pcm.bluetooth {
        type a2dp
        bdaddr "00:03:89:AB:3D:76"
}

cuz, i don't use a2dp but btsco instead.

there is a longer example asound.conf in cvs now. update cvs then you should copy alsa-plugins/asound.conf over your .asoundrc and edit it to put your headset address in the right spot.

brad

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users