* [Bluez-users] State of snd-bt-sco
@ 2004-11-28 13:07 Carlos Azevedo
2004-11-28 16:31 ` Brad Midgley
2004-11-28 17:52 ` Marcel Holtmann
0 siblings, 2 replies; 5+ messages in thread
From: Carlos Azevedo @ 2004-11-28 13:07 UTC (permalink / raw)
To: bluez-users
Greetings,
Is snd-bt-sco (from the CVS) currently working ? I can get btsco (the app) to
connect to the headset
(http://sourceforge.net/mailarchive/forum.php?thread_id=6030842&forum_id=1883)
and get the following :
Device is 1:0
Voice setting: 0x0060
RFCOMM channel 1 connected
recieved AT+CKPD=200
opened hwdep
connected SCO channel
Setting sco fd
Done setting sco fd
recieved AT+VGS=04
Sending up speaker change 4
but when I run aplay (aplay -D hw:1 prompt-copia1.wav) or arecord it exits
with
Playing WAVE 'prompt-copia1.wav' : Signed 16 bit Little Endian, Rate 8000 Hz,
Mono
aplay: pcm_write:1118: write error: Input/output error
I've sprinkled the kernel driver with dprintks but apparently there is no data
going from the SCO socket to the ALSA driver.
By the way both in btsco and in the driver there's some structs and other
variables declared inside the code (not at the top of the function). GCC
2.95.x doesn't like it, so it would be nice if they were moved upstream.
I really need this stuff working, so please give me some pointers as I am
wiling to hack the code (and hopefully able...)
Carlos A. R. Azevedo
-------------------------------------------------------
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-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-users] State of snd-bt-sco
2004-11-28 13:07 [Bluez-users] State of snd-bt-sco Carlos Azevedo
@ 2004-11-28 16:31 ` Brad Midgley
2004-11-28 17:52 ` Marcel Holtmann
1 sibling, 0 replies; 5+ messages in thread
From: Brad Midgley @ 2004-11-28 16:31 UTC (permalink / raw)
To: bluez-users
Carlos
> Is snd-bt-sco (from the CVS) currently working ? I can get btsco (the app) to
> connect to the headset
> (http://sourceforge.net/mailarchive/forum.php?thread_id=6030842&forum_id=1883)
I have not tested it since the module was made standalone. No one has
reported using it with your plantronics m2500 headset. Do you have a
different adapter (like a CSR-based usb) you could try it with by the way?
> and get the following :
>
> Device is 1:0
> Voice setting: 0x0060
> RFCOMM channel 1 connected
> recieved AT+CKPD=200
> opened hwdep
> connected SCO channel
> Setting sco fd
> Done setting sco fd
> recieved AT+VGS=04
> Sending up speaker change 4
looks good
> but when I run aplay (aplay -D hw:1 prompt-copia1.wav) or arecord it exits
> with
>
> Playing WAVE 'prompt-copia1.wav' : Signed 16 bit Little Endian, Rate 8000 Hz,
> Mono
> aplay: pcm_write:1118: write error: Input/output error
does it exit immediately or after a timeout?
if you're using gnome, be sure to "esdctl off" so you're not competing
with esound.
i had to get everything just perfect with alsa before it would work.
what does the also stuff in modules.conf look like? mine is:
options snd major=116 cards_limit=2 device_mode=0660 device_gid=29
device_uid=0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd_intel8x0
alias snd-card-1 snd_bt_sco
#alias snd-card-2 snd-share
#alias snd-card-3 snd-virmidi
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
alias sound-slot-2 snd-card-2
alias sound-slot-3 snd-card-3
also i found my "alsasound" script under debian was not set up to start
at boot.
> By the way both in btsco and in the driver there's some structs and other
> variables declared inside the code (not at the top of the function). GCC
> 2.95.x doesn't like it, so it would be nice if they were moved upstream.
give us line numbers or a patch please.
brad
-------------------------------------------------------
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-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-users] State of snd-bt-sco
2004-11-28 13:07 [Bluez-users] State of snd-bt-sco Carlos Azevedo
2004-11-28 16:31 ` Brad Midgley
@ 2004-11-28 17:52 ` Marcel Holtmann
2004-11-28 22:10 ` [Bluez-users] Broadcomm usb dongle problems Moran
1 sibling, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2004-11-28 17:52 UTC (permalink / raw)
To: BlueZ Mailing List
Hi Carlos,
> Is snd-bt-sco (from the CVS) currently working ? I can get btsco (the app) to
> connect to the headset
> (http://sourceforge.net/mailarchive/forum.php?thread_id=6030842&forum_id=1883)
> and get the following :
>
> Device is 1:0
> Voice setting: 0x0060
> RFCOMM channel 1 connected
> recieved AT+CKPD=200
> opened hwdep
> connected SCO channel
> Setting sco fd
> Done setting sco fd
> recieved AT+VGS=04
> Sending up speaker change 4
>
> but when I run aplay (aplay -D hw:1 prompt-copia1.wav) or arecord it exits
> with
>
> Playing WAVE 'prompt-copia1.wav' : Signed 16 bit Little Endian, Rate 8000 Hz,
> Mono
> aplay: pcm_write:1118: write error: Input/output error
>
> I've sprinkled the kernel driver with dprintks but apparently there is no data
> going from the SCO socket to the ALSA driver.
for me it is working. What is the output of "hciconfig -a"? What kernel
are you running and what Linux distribution do you use? Do you checked
with hcidump what packets are sent?
> By the way both in btsco and in the driver there's some structs and other
> variables declared inside the code (not at the top of the function). GCC
> 2.95.x doesn't like it, so it would be nice if they were moved upstream.
What about sending in a patch?
Regards
Marcel
-------------------------------------------------------
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-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bluez-users] Broadcomm usb dongle problems.
2004-11-28 17:52 ` Marcel Holtmann
@ 2004-11-28 22:10 ` Moran
2004-11-29 1:32 ` Marcel Holtmann
0 siblings, 1 reply; 5+ messages in thread
From: Moran @ 2004-11-28 22:10 UTC (permalink / raw)
To: bluez-users
Hi,
Well it looks like that from the all dongles in the world I bought the one
that is have problems.
I will appreciate any help with this issue.
Here is the info:
[root@anubis ~]# hciconfig -a
hci0: Type: USB
BD Address: 00:0C:55:FA:3E:21 ACL MTU: 377:10 SCO MTU: 16:0
UP RUNNING
RX bytes:159 acl:0 sco:0 events:23 errors:0
TX bytes:837 acl:0 sco:0 commands:23 errors:0
Features: 0xff 0xff 0x0d 0x38 0x08 0x08 0x00 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Can't read local name on hci0. Input/output error(5)
[root@anubis ~]# hcid -n
hcid[8179]: Bluetooth HCI daemon
hcid[8179]: Starting security manager 0
hcid[8181]: Can't set scan mode on hci0. Device or resource busy(16)
hcid[8181]: Can't set auth on hci0. Device or resource busy(16)
hcid[8181]: Can't set encrypt on hci0. Device or resource busy(16)
hcid[8179]: Exit.
[root@anubis ~]# lsusb
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 006: ID 0a5c:3503 Broadcom Corp.
Bus 002 Device 005: ID 0a5c:3502 Broadcom Corp.
Bus 002 Device 004: ID 0a5c:2009 Broadcom Corp.
Bus 002 Device 003: ID 0a5c:3535 Broadcom Corp.
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
[root@anubis ~]# hcitool scan
Scanning ...
Inquiry failed: Connection timed out
[root@anubis ~]# hciconfig version
hci0: Type: USB
BD Address: 00:0C:55:FA:3E:21 ACL MTU: 377:10 SCO MTU: 16:0
UP RUNNING
RX bytes:201 acl:0 sco:0 events:30 errors:0
TX bytes:1117 acl:0 sco:0 commands:30 errors:0
-------------------------------------------------------
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-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-users] Broadcomm usb dongle problems.
2004-11-28 22:10 ` [Bluez-users] Broadcomm usb dongle problems Moran
@ 2004-11-29 1:32 ` Marcel Holtmann
0 siblings, 0 replies; 5+ messages in thread
From: Marcel Holtmann @ 2004-11-29 1:32 UTC (permalink / raw)
To: BlueZ Mailing List
Hi,
> Well it looks like that from the all dongles in the world I bought the one
> that is have problems.
>
> I will appreciate any help with this issue.
>
> Here is the info:
>
> [root@anubis ~]# hciconfig -a
> hci0: Type: USB
> BD Address: 00:0C:55:FA:3E:21 ACL MTU: 377:10 SCO MTU: 16:0
> UP RUNNING
> RX bytes:159 acl:0 sco:0 events:23 errors:0
> TX bytes:837 acl:0 sco:0 commands:23 errors:0
> Features: 0xff 0xff 0x0d 0x38 0x08 0x08 0x00 0x00
> Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
> Link policy: RSWITCH HOLD SNIFF PARK
> Link mode: SLAVE ACCEPT
> Can't read local name on hci0. Input/output error(5)
> [root@anubis ~]# hcid -n
> hcid[8179]: Bluetooth HCI daemon
> hcid[8179]: Starting security manager 0
> hcid[8181]: Can't set scan mode on hci0. Device or resource busy(16)
> hcid[8181]: Can't set auth on hci0. Device or resource busy(16)
> hcid[8181]: Can't set encrypt on hci0. Device or resource busy(16)
> hcid[8179]: Exit.
> [root@anubis ~]# lsusb
> Bus 003 Device 001: ID 0000:0000
> Bus 002 Device 006: ID 0a5c:3503 Broadcom Corp.
> Bus 002 Device 005: ID 0a5c:3502 Broadcom Corp.
> Bus 002 Device 004: ID 0a5c:2009 Broadcom Corp.
> Bus 002 Device 003: ID 0a5c:3535 Broadcom Corp.
> Bus 002 Device 001: ID 0000:0000
> Bus 001 Device 001: ID 0000:0000
this is the one that still has problems. What kernel are you using? If
the latest 2.6.10-rc2 or 2.6.9-mh4 are not working then someone needs to
send me one of these so I can take a closer look at the problem. The
dongle 0a5c:200a from Broadcom is working fine.
Regards
Marcel
-------------------------------------------------------
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-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-11-29 1:32 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-28 13:07 [Bluez-users] State of snd-bt-sco Carlos Azevedo
2004-11-28 16:31 ` Brad Midgley
2004-11-28 17:52 ` Marcel Holtmann
2004-11-28 22:10 ` [Bluez-users] Broadcomm usb dongle problems Moran
2004-11-29 1:32 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox