LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-15-2013, 01:41 AM   #1
Tomi
LQ Newbie
 
Registered: Jan 2013
Location: Hungary
Posts: 7

Rep: Reputation: Disabled
Question 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
 
Old 06-06-2013, 05:23 AM   #2
Dmitry Gerasimov
LQ Newbie
 
Registered: Jun 2013
Posts: 2

Rep: Reputation: Disabled
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
 
Old 06-06-2013, 06:03 AM   #3
Tomi
LQ Newbie
 
Registered: Jan 2013
Location: Hungary
Posts: 7

Original Poster
Rep: Reputation: Disabled
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.
 
Old 06-06-2013, 06:44 AM   #4
Dmitry Gerasimov
LQ Newbie
 
Registered: Jun 2013
Posts: 2

Rep: Reputation: Disabled
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
 
  


Reply

Tags
bluetooth, bluez, headset, linux



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't set rouivter's password in Netgear WN311T (Marvell chip) jdtiede Linux - Wireless Networking 0 06-02-2009 12:01 PM
Marvell chip on PCMCIA wireless card under Debian lnthai2002 Linux - Laptop and Netbook 1 04-26-2007 08:14 PM
LXer: Open hardware and the Marvell wireless chip in the OLPC…. LXer Syndicated Linux News 0 10-10-2006 10:03 PM
LXer: Embedded Linux service gains docs, chip-specific patches LXer Syndicated Linux News 0 07-23-2006 04:33 AM
Any module for Marvell 8053 chip? bluevox Linux - Hardware 1 10-02-2005 12:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration