linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-users] alsa integrated in kernel
@ 2006-10-26 15:30 fabrice régnier
  2006-10-26 16:12 ` Brad Midgley
  2006-10-27  8:59 ` [Bluez-users] btsco fails: control open (hw:1): No such device fabrice régnier
  0 siblings, 2 replies; 9+ messages in thread
From: fabrice régnier @ 2006-10-26 15:30 UTC (permalink / raw)
  To: Bluez-users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] alsa integrated in kernel
  2006-10-26 15:30 [Bluez-users] alsa integrated in kernel fabrice régnier
@ 2006-10-26 16:12 ` Brad Midgley
  2006-10-26 20:14   ` fabrice régnier
  2006-10-27  8:59 ` [Bluez-users] btsco fails: control open (hw:1): No such device fabrice régnier
  1 sibling, 1 reply; 9+ messages in thread
From: Brad Midgley @ 2006-10-26 16:12 UTC (permalink / raw)
  To: BlueZ users

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

> 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 ea=
sier
> 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
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] alsa integrated in kernel
  2006-10-26 16:12 ` Brad Midgley
@ 2006-10-26 20:14   ` fabrice régnier
  2006-10-27  4:59     ` Brad Midgley
  0 siblings, 1 reply; 9+ messages in thread
From: fabrice régnier @ 2006-10-26 20:14 UTC (permalink / raw)
  To: BlueZ users

Hi and thanx Brad,

> 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


>> 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 e=
asier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geroni=
mo
>> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=
=3D121642
>> _______________________________________________
>> Bluez-users mailing list
>> Bluez-users@lists.sourceforge.net
>> 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
> 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
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] alsa integrated in kernel
  2006-10-26 20:14   ` fabrice régnier
@ 2006-10-27  4:59     ` Brad Midgley
  0 siblings, 0 replies; 9+ messages in thread
From: Brad Midgley @ 2006-10-27  4:59 UTC (permalink / raw)
  To: BlueZ users

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.
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* [Bluez-users] btsco fails: control open (hw:1): No such device
  2006-10-26 15:30 [Bluez-users] alsa integrated in kernel fabrice régnier
  2006-10-26 16:12 ` Brad Midgley
@ 2006-10-27  8:59 ` fabrice régnier
  2006-10-27  9:37   ` Thomas Kear
  2006-10-27 11:52   ` Brad Midgley
  1 sibling, 2 replies; 9+ messages in thread
From: fabrice régnier @ 2006-10-27  8:59 UTC (permalink / raw)
  To: Bluez-users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] btsco fails: control open (hw:1): No such device
  2006-10-27  8:59 ` [Bluez-users] btsco fails: control open (hw:1): No such device fabrice régnier
@ 2006-10-27  9:37   ` Thomas Kear
  2006-10-27 11:52   ` Brad Midgley
  1 sibling, 0 replies; 9+ messages in thread
From: Thomas Kear @ 2006-10-27  9:37 UTC (permalink / raw)
  To: bluez-users


[-- Attachment #1.1: Type: text/plain, Size: 3013 bytes --]

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


On Friday 27 October 2006 9:59 pm, fabrice régnier wrote:
> 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
>
> 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

[-- Attachment #1.2: Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 373 bytes --]

-------------------------------------------------------------------------
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

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] btsco fails: control open (hw:1): No such device
  2006-10-27  8:59 ` [Bluez-users] btsco fails: control open (hw:1): No such device fabrice régnier
  2006-10-27  9:37   ` Thomas Kear
@ 2006-10-27 11:52   ` Brad Midgley
       [not found]     ` <4544A47A.2040104@free.fr>
  1 sibling, 1 reply; 9+ messages in thread
From: Brad Midgley @ 2006-10-27 11:52 UTC (permalink / raw)
  To: BlueZ users

fabrice

> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] btsco fails: control open (hw:1): No such device
       [not found]     ` <4544A47A.2040104@free.fr>
@ 2006-10-29 15:00       ` fabrice régnier
  2006-10-29 16:26       ` Brad Midgley
  1 sibling, 0 replies; 9+ messages in thread
From: fabrice régnier @ 2006-10-29 15:00 UTC (permalink / raw)
  To: BlueZ users

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.



fabrice r=E9gnier wrote:
> Hi ;)
> =

> I had a look at
>> 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,
> =

> 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
> 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
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] btsco fails: control open (hw:1): No such device
       [not found]     ` <4544A47A.2040104@free.fr>
  2006-10-29 15:00       ` fabrice régnier
@ 2006-10-29 16:26       ` Brad Midgley
  1 sibling, 0 replies; 9+ messages in thread
From: Brad Midgley @ 2006-10-29 16:26 UTC (permalink / raw)
  To: BlueZ users

fabrice

> I had a look at
>> 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.

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2006-10-29 16:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-26 15:30 [Bluez-users] alsa integrated in kernel fabrice régnier
2006-10-26 16:12 ` Brad Midgley
2006-10-26 20:14   ` fabrice régnier
2006-10-27  4:59     ` Brad Midgley
2006-10-27  8:59 ` [Bluez-users] btsco fails: control open (hw:1): No such device fabrice régnier
2006-10-27  9:37   ` Thomas Kear
2006-10-27 11:52   ` Brad Midgley
     [not found]     ` <4544A47A.2040104@free.fr>
2006-10-29 15:00       ` fabrice régnier
2006-10-29 16:26       ` Brad Midgley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).