How to use "sco_sink" and "sco_source" in the bluetooth device module?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Could someone tell me how to use "sco_sink" and "sco_source" in the bluetooth device module?

Because of hardware restriction, our bluetooth driver cannot handle HSP data transport. We want use an ALSA device's sink and source for BT HSP transport. It seems that by passing parameters to initialize the Bluetooth discover and device module, a bluetooth device can use external "sco-sink" and "sco-source" for HSP data transport.

My questions:

-          I can set the ALSA sink & source as the "sco-sink" and "sco-source", right? If yes, how can I set "sco-source" and "sco-sink" names as the parameter to load Bluetooth discover module in the default script for my platform?


-          Since "sco-sink" and "sco-source" are not dynamically created, so I cannot routing inputs/outputs to them by hook the "SINK-PUT" or "SOURCE-PUT" event, right?


-          When can I move sink inputs or source outputs to the "sco-sink" and "sco-source"? Their state changes outside of the Bluetooth device. How are their state change synchronized with BT headset connection and disconnection? In BT device module,  I saw both "start_thread" and state change hook of "sco-sink" and "sco-source" call "sco_over_pcm_state_update" to setup data transport. So they can change to IDLE state at any time?


-          Is there any extra work for the Bluetooth device or the device providing actual "sco-sink" and "sco-source" to do?


-          Has the usage "sco-sink" and "sco-source" been verified on any platform?

Great thanks
Amanda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20110612/e9f15ea1/attachment.html>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux