public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] SCO Question
@ 2007-08-22 18:23 robert
  2007-08-24 11:35 ` Mikael Bengtsson
  2007-08-24 12:06 ` Marcel Holtmann
  0 siblings, 2 replies; 8+ messages in thread
From: robert @ 2007-08-22 18:23 UTC (permalink / raw)
  To: bluez-devel

Hello Bluez,

How would I go about redirecting incoming SCO data to an alsa device,  
and transmit incoming audio data out as SCO?

I have read the following pages,
http://wiki.bluez.org/wiki/Audio
http://wiki.bluez.org/wiki/HOWTO/AudioDevices

but everything described seems to do too much.  I would prefer to  
handle the RFCOMM channel, and SDP registration elsewhere.   
Presently, I just want to determine how to redirect the SCO traffic.

Thanks,
--robert

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <A1F0D47583A2D711919F00600819B3A45BDC65@goofy.vitronics.com >]
* RE: [Bluez-devel] SCO question
@ 2004-07-08 20:11 Williams, Richard
  0 siblings, 0 replies; 8+ messages in thread
From: Williams, Richard @ 2004-07-08 20:11 UTC (permalink / raw)
  To: Bluez-Devel (E-mail)

Arnaud, Thank you.

exactly right.... The channel for my headset is "2".

hstest record t1.wav 00:0A:D9:74:97:19 2
sets up the SCO channel correctly, and rings the headset.

And I can see the various "AT" commands coming from the headset for =
volume control, etc.

However, there is no audio. Neither "record" nor "play" appears to do =
anything.

Next idea ??

BTW: I am using Bluez-utils 2.3 and bluez-libs 2.4. I don't know if that =
makes a difference.

Best Regards,

Rich



-----Original Message-----
From: Arnaud Mouiche [mailto:arnaud.mouiche@inventel.fr]
Sent: Thursday, July 08, 2004 10:09 AM
To: Williams, Richard; Bluez-Devel (E-mail)
Subject: Re: [Bluez-devel] SCO question


At 09:12 08/07/2004 -0400, Williams, Richard wrote:

>Hi,
>
>I'm getting back to a BT headset <-> LINUX project that I had abandoned =

>some months ago. I have an X-scale single board computer running Linux=20
>2.4.26 with the latest Bluez patches. I have a Sony Ericsson HBH-35=20
>headset that I'm trying to get to work with my computer. I have an =
Anycomm=20
>USB BT dongle.
>
>I have done the following:
>modprobe hci_usb
>modprobe rfcomm
>modprobe sco
>hcid
>hciconfig hci0 up
>hciconfig hci0 voice 0x0040
>.... My Pin file is set up for a pin of "0000" - required by the =
headset.
>
>hcitool scan works OK and finds the headset
>
>l2ping works OK and pairs with the headset.
>
>hstest record t1.wav 00:0A:D9:74:97:19 1

are you sure than "1" is the correct rfcomm channel ?
you should perform a SDP request to get the correct one.

arnaud

><<<This gives output:
>Voice setting: 0x0040
>RFCOMM channel connected
>Can't connect SCO audio channel: Connection refused.
>
>I know that the socket connect statement in sco_connect() in hstest is=20
>failing.
>Any ideas of the cause of this ?
>
>
>thanks very much,
>
>Rich
>
>
>
>Richard B. Williams
>Vitronics, Inc.
>3 Corbett Way
>Eatontown, NJ 07724-2262
>732-389-0244 x29
>Richard.Williams@vitronics.com
>
>
>
>-------------------------------------------------------
>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



-------------------------------------------------------
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] 8+ messages in thread
[parent not found: <A1F0D47583A2D711919F00600819B3A4028BAE@goofy.vitronics.com >]
* [Bluez-devel] SCO question
@ 2004-07-08 13:12 Williams, Richard
  0 siblings, 0 replies; 8+ messages in thread
From: Williams, Richard @ 2004-07-08 13:12 UTC (permalink / raw)
  To: Bluez-Devel (E-mail)


Hi,

I'm getting back to a BT headset <-> LINUX project that I had abandoned =
some months ago. I have an X-scale single board computer running Linux =
2.4.26 with the latest Bluez patches. I have a Sony Ericsson HBH-35 =
headset that I'm trying to get to work with my computer. I have an =
Anycomm USB BT dongle.

I have done the following:
modprobe hci_usb
modprobe rfcomm
modprobe sco
hcid
hciconfig hci0 up
hciconfig hci0 voice 0x0040
.... My Pin file is set up for a pin of "0000" - required by the =
headset.

hcitool scan works OK and finds the headset

l2ping works OK and pairs with the headset.

hstest record t1.wav 00:0A:D9:74:97:19 1
<<<This gives output:
Voice setting: 0x0040
RFCOMM channel connected
Can't connect SCO audio channel: Connection refused.

I know that the socket connect statement in sco_connect() in hstest is =
failing.
Any ideas of the cause of this ?


thanks very much,

Rich



Richard B. Williams
Vitronics, Inc.
3 Corbett Way
Eatontown, NJ 07724-2262
732-389-0244 x29
Richard.Williams@vitronics.com



-------------------------------------------------------
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] 8+ messages in thread

end of thread, other threads:[~2007-09-06 11:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-22 18:23 [Bluez-devel] SCO Question robert
2007-08-24 11:35 ` Mikael Bengtsson
2007-08-24 12:06 ` Marcel Holtmann
2007-09-06 11:03   ` Mikael Bengtsson
     [not found] <A1F0D47583A2D711919F00600819B3A45BDC65@goofy.vitronics.com >
2004-07-09  7:48 ` [Bluez-devel] SCO question Arnaud Mouiche
  -- strict thread matches above, loose matches on Subject: below --
2004-07-08 20:11 Williams, Richard
     [not found] <A1F0D47583A2D711919F00600819B3A4028BAE@goofy.vitronics.com >
2004-07-08 14:08 ` Arnaud Mouiche
2004-07-08 13:12 Williams, Richard

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