LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-09-2011, 07:07 AM   #1
gtirtha
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Rep: Reputation: 1
Need an understanding on Bluetooth driver


Hi Geeks,

I am really new to bluetooth s/w development. And need some idea how it works in linux system.

As far as I know, Bluez protocol stack is available on Linux. Bluez drivers are already mainlined in Kernel and utilities are available for user-space.

When we say bluez driver, what does it mean? Is it the bluetooth protocol stack? If so, then what user-space utilities contain?

The BT chip can be connected via UART, USB or SDIO interfaces. Who communicate with these interfaces, is it bluez kernel drivers or user-space utilities (via sys or proc)?

Finally, I saw this BT chips can support Toshiba stack or BlueSoleil or any other stack. Does bluez support any form of BT, regardless what protocol stack they are using??
Say, there is BT chip in form of USB dongle which can be connected via regular USB port to the system. Does this dongle may need specific driver in Linux or bluez driver can handle this dongle using normal USB drivers available in system??

I am not sure if I sound clear about my doubts. A small description about bluez architecture might clear my doubt.
I am aware of linux kernel and device driver model, so you can be specific while describing this.

Thanks in advance
regards,
 
Old 03-10-2011, 01:49 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,818

Rep: Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004
The user-space utilities and source (header files, etc) are just the front end to access your bluetooth stack in the kernel. And the bluez drivers support a great wide range of USB bluetooth adapters, if that is what you are asking. Hope that helps.

Cheers,

Josh
 
Old 03-10-2011, 06:50 AM   #3
gtirtha
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by corp769 View Post
The user-space utilities and source (header files, etc) are just the front end to access your bluetooth stack in the kernel. And the bluez drivers support a great wide range of USB bluetooth adapters, if that is what you are asking. Hope that helps.

Cheers,

Josh
Thanks Josh. That's really helpful.
But I wanted to know more about these drivers (specifically dataflow starting from device detection to BT related communication). Say all BT dongles, those are connected via USB, will be functioning if the USB drivers are present OR some might need the BT h/w related drivers too?

How bluez going to know a BT has been connected to system via USB??
The communication with BT chip, is it standardized?
(For example, most of the Modem support AT command interface, but same commands can be passed via any bus like USB, UART, SPI, I2C, shared memory etc).
 
1 members found this post helpful.
  


Reply


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
Can bluetooth device driver source code pravin.embedded Linux - Mobile 1 01-08-2009 06:21 AM
Need help understanding how a device driver interacts with user space programs AustinMarton Linux - General 1 11-21-2008 05:29 AM
bluetooth driver raphtor Linux - Newbie 3 10-10-2008 09:12 PM
understanding how to compile driver pjremy Linux - Newbie 4 11-29-2007 11:37 PM
Driver for USB to Bluetooth device I_Wanna_Kno Linux - Hardware 1 03-09-2005 06:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration