public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Linux audio gateway and headset feature
@ 2004-06-04 16:46 Paolo Arcagni
  0 siblings, 0 replies; 4+ messages in thread
From: Paolo Arcagni @ 2004-06-04 16:46 UTC (permalink / raw)
  To: bluez-users

Hi gentlemen.

I am setting up my Linux box to use an USB Bluetooth interface in order 
to talk to my nokia 6310. I can browse the internet using GPRS from the 
laptop enabling the rfcomm0 interface with the command

rfcomm conn 0 xx:xx:xx:xx:xx:xx 1

pointing pppd to /dev/rfcomm0.

The question is: which is the right procedure to use the laptop 
multimedia subsystem as an headset for the phone ? On windows2000 this 
kind of setup worked fine....

I can obtain a connection with the command

rfcomm conn 0 xx:xx:xx:xx:xx:xx 12

and accepting the connection on the cell phone the output is

Conmected /dev/rfcomm0 to xx:xx:xx:xx:xx:xx on channel 12
Press CTRL-C for hungup

On the phone display I can see the symbol for the connected headset, I 
cannot hear the sound on the phone, but I have no sound on the Laptop.

My Laptop is using ALSA with a ESS ES1978 audio board and the sound in 
gnome works fine.

Where is the mistake ?!?

Thanks for your help

===============================
Gentoo Linux with kernel 2.6.6
ALSA Drivers for the ESS ES1978
Gnome 2.6

sdptool browse outpout is:

[CUT]

Service Name: Audio Gateway
Service RecHandle: 0x10002
Service Class ID List:
   "Headset Audio Gateway" (0x1112)
   "Generic Audio" (0x1203)
Protocol Descriptor List:
   "L2CAP" (0x0100)
   "RFCOMM" (0x0003)
     Channel: 12
Language Base Attr List:
   code_ISO639: 0x656e
   encoding:    0x6a
   base_offset: 0x100
Profile Descriptor List:
   "Headset" (0x1108)
     Version: 0x0100

Service Name: Voice Gateway
Service RecHandle: 0x10004
Service Class ID List:
   "" (0x111f)
   "Generic Audio" (0x1203)
Protocol Descriptor List:
   "L2CAP" (0x0100)
   "RFCOMM" (0x0003)
     Channel: 13
Language Base Attr List:
   code_ISO639: 0x656e
   encoding:    0x6a
   base_offset: 0x100
Profile Descriptor List:
   "" (0x111e)
     Version: 0x0100

[CUT]





-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [Bluez-users] Linux audio gateway and headset feature
@ 2004-06-04 17:27 mr
  2004-06-04 18:57 ` Paolo Arcagni
  0 siblings, 1 reply; 4+ messages in thread
From: mr @ 2004-06-04 17:27 UTC (permalink / raw)
  To: bluez-users


Hi,

>The question is: which is the right procedure to use the laptop 
>multimedia subsystem as an headset for the phone ? On windows2000 this 
>kind of setup worked fine....

>I can obtain a connection with the command

>rfcomm conn 0 xx:xx:xx:xx:xx:xx 12

The command 'rfcomm con...' does not transfer any audio signal itself, so do not use it at all yet. From the laptop side you need to do:

# hsmicro xx:xx:xx:xx:xx:xx 12
  or
# hsmicro xx:xx:xx:xx:xx:xx 13

where xx:xx:xx:xx:xx:xx is the address of nokia. Then try to make a phonecall and you should be able to listen from the laptop speakers. I have try this and worked fine. I haven;t tried to send audio from the pc's microphone to the mobile yet, however I am quite convinced that this is a one-way audio transmission.

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] Linux audio gateway and headset feature
  2004-06-04 17:27 mr
@ 2004-06-04 18:57 ` Paolo Arcagni
  0 siblings, 0 replies; 4+ messages in thread
From: Paolo Arcagni @ 2004-06-04 18:57 UTC (permalink / raw)
  To: axs203dd; +Cc: bluez-users

Thanks for your help:

now I can start hsmicro on channel 12 or 13 and the phone sees an 
headset connected, but on the linux console I get the error message

---
./hsmicro  00:02:EE:0D:47:5F 12
Voice setting: 0x0060
RFCOMM channel connected
Can't connect SCO audio channel: Connection refused
---

any idea on that ?

Thanks again


mr wrote:
> Hi,
> 
> 
>>The question is: which is the right procedure to use the laptop 
>>multimedia subsystem as an headset for the phone ? On windows2000 this 
>>kind of setup worked fine....
> 
> 
>>I can obtain a connection with the command
> 
> 
>>rfcomm conn 0 xx:xx:xx:xx:xx:xx 12
> 
> 
> The command 'rfcomm con...' does not transfer any audio signal itself, so do not use it at all yet. From the laptop side you need to do:
> 
> # hsmicro xx:xx:xx:xx:xx:xx 12
>   or
> # hsmicro xx:xx:xx:xx:xx:xx 13
> 
> where xx:xx:xx:xx:xx:xx is the address of nokia. Then try to make a phonecall and you should be able to listen from the laptop speakers. I have try this and worked fine. I haven;t tried to send audio from the pc's microphone to the mobile yet, however I am quite convinced that this is a one-way audio transmission.
> 
> _______________________________________________
> Join Excite! - http://www.excite.com
> The most personalized portal on the Web!
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by the new InstallShield X.
>>>From Windows to Linux, servers to mobile, InstallShield X is the one
> installation-authoring solution that does it all. Learn more and
> evaluate today! http://www.installshield.com/Dev2Dev/0504
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
> 
> 


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] Linux audio gateway and headset feature
@ 2004-06-04 23:08 mr
  0 siblings, 0 replies; 4+ messages in thread
From: mr @ 2004-06-04 23:08 UTC (permalink / raw)
  To: bluez-users


>./hsmicro  00:02:EE:0D:47:5F 12

>Voice setting: 0x0060

>RFCOMM channel connected

>Can't connect SCO audio channel: Connection refused

---



>any idea on that ?



Do you have the SCO module loaded?

'modprobe sco'

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-06-04 23:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-04 16:46 [Bluez-users] Linux audio gateway and headset feature Paolo Arcagni
  -- strict thread matches above, loose matches on Subject: below --
2004-06-04 17:27 mr
2004-06-04 18:57 ` Paolo Arcagni
2004-06-04 23:08 mr

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