Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-15-2013, 01:41 AM
|
#1
|
LQ Newbie
Registered: Jan 2013
Location: Hungary
Posts: 7
Rep: 
|
Using PCM under embedded Linux, Bluez over marvell sd8787 chip
Hey!
As you can see in the subject I would like to you use my headset with my GSM module.
Does someone have some experience solving such problems like this?
My configuration is the next:
Headset (HF, HS and A2D profiles) ---> Marvell (8787) chip --> GSM modem via PCM
I am using Linux 3.0 and Bluez 4.99.
What I did:
PCM communication is ready. I started a phone call and checked the signals.
HF connection between the headset and the marvell chip is also good. For example I could connect to my headset using dbus-send and Headset interfaces. And anyway I can open eSCO socket and put at least a little noise into that (in c using bluetooth API).
What is missing:
I cannot route the voice from PCM into an existing eSCo channel. (I am using eSCO instead of simple SCO, but I suppose this cannot cause conflict.)
My question?
The routing happens only on hardware level? I mean I do not need to get the voice on the host.
Firstly should I open SCO channel and later route the voice there? Do the firmware create bluetooth MAC package and pass the voice into the SCO channel?
One channel is enough to a bi-directional voice?
These things are basics, but I never did similar to this. :-)
Marvell support:
I checked their documentation as well, but it is not clear me, how to answer the upper issues.
There was no hci commands which sets the routing to the given SCO channel. However I found hci commands how to configure the PCM (master-slave, sync...) and this was usefull and important, but was not enough.
As I noticed the AT commands, for example pick up the phone does not managed by bluez, and I have to receive the signal there is incoming call and answer that. Anyway how can I set dbus to notice an incoming call?
Finally I hope I can solve this soon, becauase my phone bill is bigger and bigger as I am doing long tests.
Tamas
|
|
|
06-06-2013, 05:23 AM
|
#2
|
LQ Newbie
Registered: Jun 2013
Posts: 2
Rep: 
|
Hi Tamas,
I have the same issue. I need to route SCO over HCI for Headset profile for the same chip.
Meanwhile have the same results as you are. Do you have a progress with it?
Thanks,
Dmitry
|
|
|
06-06-2013, 06:03 AM
|
#3
|
LQ Newbie
Registered: Jan 2013
Location: Hungary
Posts: 7
Original Poster
Rep: 
|
Still the same
Hey
this problem is still represented. :-)
Now I had no time to work on it. I suppose I have to find the correct hci commands and set the pcm route to the right SCO channel.
It is sure you need for hardware specific hci commands beside the standard hci commands.
As soon as I get to know something I will inform you and please do the same if you have any news!
Are you sure only this one step is missing? Could you verify the PCM input and the connection between the chip and the headset? Can you hear at least some noise? :-)
Tamas
Last edited by Tomi; 06-06-2013 at 06:05 AM.
|
|
|
06-06-2013, 06:44 AM
|
#4
|
LQ Newbie
Registered: Jun 2013
Posts: 2
Rep: 
|
Hi,
After streaming starts I can hear some slight noise in the headset. I believe it is just a noise since the SCO packets are recieved through the PCM and not HCI. The volume control events recieved smoothly.
I aslo want to find a simple way to configure the routing in the chip (say with hcitool), like TI's WL12xx (althougt have terrible SCO over HCI results).
Regards,
Dmitry
|
|
|
All times are GMT -5. The time now is 03:00 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|