LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 04-30-2009, 07:17 AM   #1
<Ol>Origy
Member
 
Registered: Aug 2003
Location: Slovenia
Distribution: Arch, Debian, Embedded
Posts: 136

Rep: Reputation: 15
Intercepting bluetooth headset commands


Hey!

I have a Plantronics Voyager 510 bluetooth headset that I'd like to use along my bluetooth-enabled laptop running Ubuntu Jaunty for VoIP and stuff. I've read in the headset manual that once paired with a cellphone, you can use the buttons on the headset to place a call, terminate a call, redial last called number, transfer a call, etc. Some pretty nifty controls, if you ask me.

So I was wondering... Since I plan to use the device exclusively with my laptop, is there a way I could somehow detect those button presses on my laptop and have it execute a predefined script? I am fine with having to write a python or a C/C++ program myself or perhaps even a kernel module for that, I just need some directions.

Regards,
Ol
 
Old 05-03-2009, 11:32 AM   #2
itchy8me
Member
 
Registered: Feb 2007
Location: Rotterdam
Distribution: debian 5
Posts: 33

Rep: Reputation: 15
i know that the uinput module should be loaded to recieve those commands. how you would edit which actions they perform i do not know.
 
  


Reply

Tags
bluetooth, headset, scripting


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Bluetooth headset, Alsa - no soundcard in /proc/asound/cards (but headset works) simopal6 Linux - Hardware 1 04-29-2009 09:07 AM
Bluetooth Headset wdowning Linux - Hardware 1 02-23-2009 11:30 AM
Bluetooth headset and Skype squaregoldfish Linux - Hardware 2 02-10-2008 03:50 PM
Bluetooth headset - only worked once! rwhitworth Suse/Novell 0 02-28-2006 05:10 AM
Bluetooth headset patthew Linux - Hardware 1 06-14-2005 07:17 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration