* bluez and a2dp sennheiser pcx310 headphones
@ 2010-02-08 6:19 John Frankish
2010-02-08 7:54 ` Luiz Augusto von Dentz
0 siblings, 1 reply; 5+ messages in thread
From: John Frankish @ 2010-02-08 6:19 UTC (permalink / raw)
To: linux-bluetooth@vger.kernel.org
Hi,
Using the .asoundrc below with bluez-4.53, I've been able to play music to a pair of sennheiser pcx310 headphones without problems, but although the remote volume control on the headphones works, the track skip/fastforward/repeat does not.
According to the headphones manual, the remote controls reply on an avrcp profile - is this something supported by bluez or is it something that should be supported by the audio source (or both)?
Is the .asoundrc file correct for a2dp headphones with remote control?
Regards
John
pcm.!default {
type plug
slave.pcm "dmix"
}
ctl.mixer0 {
type hw
card 0
}
pcm.bluetooth {
type bluetooth
device "00:1B:66:00:31:88"
profile "auto"
}
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: bluez and a2dp sennheiser pcx310 headphones
2010-02-08 6:19 bluez and a2dp sennheiser pcx310 headphones John Frankish
@ 2010-02-08 7:54 ` Luiz Augusto von Dentz
2010-02-08 7:57 ` John Frankish
0 siblings, 1 reply; 5+ messages in thread
From: Luiz Augusto von Dentz @ 2010-02-08 7:54 UTC (permalink / raw)
To: John Frankish; +Cc: linux-bluetooth@vger.kernel.org
Hi John,
On Mon, Feb 8, 2010 at 8:19 AM, John Frankish <j-frankish@slb.com> wrote:
> Hi,
>
> Using the .asoundrc below with bluez-4.53, I've been able to play music to a pair of sennheiser pcx310 headphones without problems, but although the remote volume control on the headphones works, the track skip/fastforward/repeat does not.
>
> According to the headphones manual, the remote controls reply on an avrcp profile - is this something supported by bluez or is it something that should be supported by the audio source (or both)?
You probably need to load uinput module to make this to work, also you
should probably try pulse audio which has a better integration with
bluetooth headsets so you don't need to manually configure alsa it
will do all this automatically for you.
> Is the .asoundrc file correct for a2dp headphones with remote control?
>
>
> Regards
> John
>
>
> pcm.!default {
> type plug
> slave.pcm "dmix"
> }
>
> ctl.mixer0 {
> type hw
> card 0
> }
>
> pcm.bluetooth {
> type bluetooth
> device "00:1B:66:00:31:88"
> profile "auto"
> }
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
Luiz Augusto von Dentz
Computer Engineer
^ permalink raw reply [flat|nested] 5+ messages in thread* RE: bluez and a2dp sennheiser pcx310 headphones
2010-02-08 7:54 ` Luiz Augusto von Dentz
@ 2010-02-08 7:57 ` John Frankish
2010-02-08 9:02 ` Luiz Augusto von Dentz
0 siblings, 1 reply; 5+ messages in thread
From: John Frankish @ 2010-02-08 7:57 UTC (permalink / raw)
To: linux-bluetooth@vger.kernel.org
-----Original Message-----
From: linux-bluetooth-owner@vger.kernel.org [mailto:linux-bluetooth-owner@vger.kernel.org] On Behalf Of Luiz Augusto von Dentz
Sent: Monday, 08 February, 2010 11:55
To: John Frankish
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: bluez and a2dp sennheiser pcx310 headphones
Hi John,
On Mon, Feb 8, 2010 at 8:19 AM, John Frankish <j-frankish@slb.com> wrote:
> Hi,
>
> Using the .asoundrc below with bluez-4.53, I've been able to play music to a pair of sennheiser pcx310 headphones without problems, but although the remote volume control on the headphones works, the track skip/fastforward/repeat does not.
>
> According to the headphones manual, the remote controls rely on an avrcp profile - is this something supported by bluez or is it something that should be supported by the audio source (or both)?
You probably need to load uinput module to make this to work, also you
should probably try pulse audio which has a better integration with
bluetooth headsets so you don't need to manually configure alsa it
will do all this automatically for you.
Thanks - I'm stuck with alsa for the moment, what is the uinput module and where do I find it?
> Is the .asoundrc file correct for a2dp headphones with remote control?
>
>
> Regards
> John
>
>
> pcm.!default {
> type plug
> slave.pcm "dmix"
> }
>
> ctl.mixer0 {
> type hw
> card 0
> }
>
> pcm.bluetooth {
> type bluetooth
> device "00:1B:66:00:31:88"
> profile "auto"
> }
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
Luiz Augusto von Dentz
Computer Engineer
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: bluez and a2dp sennheiser pcx310 headphones
2010-02-08 7:57 ` John Frankish
@ 2010-02-08 9:02 ` Luiz Augusto von Dentz
2010-04-10 18:25 ` John Frankish
0 siblings, 1 reply; 5+ messages in thread
From: Luiz Augusto von Dentz @ 2010-02-08 9:02 UTC (permalink / raw)
To: John Frankish; +Cc: linux-bluetooth@vger.kernel.org
Hi,
On Mon, Feb 8, 2010 at 9:57 AM, John Frankish <j-frankish@slb.com> wrote:
>
>
> -----Original Message-----
> From: linux-bluetooth-owner@vger.kernel.org [mailto:linux-bluetooth-owner@vger.kernel.org] On Behalf Of Luiz Augusto von Dentz
> Sent: Monday, 08 February, 2010 11:55
> To: John Frankish
> Cc: linux-bluetooth@vger.kernel.org
> Subject: Re: bluez and a2dp sennheiser pcx310 headphones
>
> Hi John,
>
> On Mon, Feb 8, 2010 at 8:19 AM, John Frankish <j-frankish@slb.com> wrote:
>> Hi,
>>
>> Using the .asoundrc below with bluez-4.53, I've been able to play music to a pair of sennheiser pcx310 headphones without problems, but although the remote volume control on the headphones works, the track skip/fastforward/repeat does not.
>>
>> According to the headphones manual, the remote controls rely on an avrcp profile - is this something supported by bluez or is it something that should be supported by the audio source (or both)?
>
> You probably need to load uinput module to make this to work, also you
> should probably try pulse audio which has a better integration with
> bluetooth headsets so you don't need to manually configure alsa it
> will do all this automatically for you.
>
> Thanks - I'm stuck with alsa for the moment, what is the uinput module and where do I find it?
uinput kernel module, you can load it manually by doing: sudo modprobe
uinput (if you don't have then you need to enable it and recompile
your kernel)
PS: Before come back with such questions you better do a search/google
for it so you don't flood the mailing list with inconvenient
questions.
--
Luiz Augusto von Dentz
Computer Engineer
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: bluez and a2dp sennheiser pcx310 headphones
2010-02-08 9:02 ` Luiz Augusto von Dentz
@ 2010-04-10 18:25 ` John Frankish
0 siblings, 0 replies; 5+ messages in thread
From: John Frankish @ 2010-04-10 18:25 UTC (permalink / raw)
To: linux-bluetooth@vger.kernel.org
> -----Original Message-----
> From: linux-bluetooth-owner@vger.kernel.org [mailto:linux-bluetooth-owner@vger.kernel.org] On Behalf Of Luiz Augusto von Dentz
> Sent: Monday, 08 February, 2010 11:55
> To: John Frankish
> Cc: linux-bluetooth@vger.kernel.org
> Subject: Re: bluez and a2dp sennheiser pcx310 headphones
>
> Hi John,
>
> On Mon, Feb 8, 2010 at 8:19 AM, John Frankish <j-frankish@slb.com> wrote:
>> Hi,
>>
>> Using the .asoundrc below with bluez-4.53, I've been able to play music to a pair of sennheiser pcx310 headphones without problems, but although the remote volume control on the headphones works, the track skip/fastforward/repeat does not.
>>
>> According to the headphones manual, the remote controls rely on an avrcp profile - is this something supported by bluez or is it something that should be supported by the audio source (or both)?
>
> You probably need to load uinput module to make this to work, also you
> should probably try pulse audio which has a better integration with
> bluetooth headsets so you don't need to manually configure alsa it
> will do all this automatically for you.
>
OK, so I've updated the kernel to 2.6.33.2 and loaded the uinput module.
I believe things are connected as I see this in dmesg after pressing the "track skip" button:
input: 00:1B:66:00:31:88 as /devices/virtual/input/input11
mplayer -ao alsa:device=bluetooth /mnt/sda1/Music/f00/aayw.mp3
Starting playback...
[press track skip]
No bind found for key ''.
Could anybody point me to a resource that explains how to manually "bind" the headphone controls to xmms, mplayer, rhythmbox, etc since I don't particularly want to use pulse audio
Thanks
John
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-04-10 18:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-08 6:19 bluez and a2dp sennheiser pcx310 headphones John Frankish
2010-02-08 7:54 ` Luiz Augusto von Dentz
2010-02-08 7:57 ` John Frankish
2010-02-08 9:02 ` Luiz Augusto von Dentz
2010-04-10 18:25 ` John Frankish
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).