Skip to contentSkip to conversation

Kernel Module

Bluez-devel Yunus Özen 2 participants 6 messages Feb 25, 2007 – Feb 26, 2007 1 message not in the archive Bluetooth drivers

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi,

I want to write a kernel module and use some bluez commands those included in the kernel.

I will use it some experimental cases.

Is it possible to use bluez commands in kernel modules? If so, how can I do it?

Regards,
Yunus.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#2 lore raw

Hi Yunus,

Quoted 7 lines

I want to write a kernel module and use some bluez commands those included in the kernel.

I will use it some experimental cases.

Is it possible to use bluez commands in kernel modules? If so, how can I do it?

of course it is possible, but for what strange reason you might wanna find yourself writing a kernel module. Explain what you are planning to do and I might can give you a more detailed answer. I am not psychic.

Regards

Marcel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#3 lore raw

Hi,

Quoted 11 lines
Quoted 7 lines

I want to write a kernel module and use some bluez commands those included in the kernel.

I will use it some experimental cases.

Is it possible to use bluez commands in kernel modules? If so, how can I do it?

of course it is possible, but for what strange reason you might wanna find yourself writing a kernel module. Explain what you are planning to do and I might can give you a more detailed answer. I am not psychic.

There is a Project called ULLA (http://ulla.sourceforge.net) and I am writing a simple bluetooth LLA fot it. ULLA collects link layer information (802.11x, bluetooth, zigbee etc.) to application layer programmes.

I will take Bd Addrs and user friendly names fo nearby devices and give it to ULLA Core.

My program will be a kernel module, because I will collect link layer information. ULLA calls these link layer information collecting modules to Link Provider (LP).

Thanks,
Yunus.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#4 lore raw

Hi Yunus,

Quoted 16 lines
Quoted 11 lines
Quoted 7 lines

I want to write a kernel module and use some bluez commands those included in the kernel.

I will use it some experimental cases.

Is it possible to use bluez commands in kernel modules? If so, how can I do it?

of course it is possible, but for what strange reason you might wanna find yourself writing a kernel module. Explain what you are planning to do and I might can give you a more detailed answer. I am not psychic.

There is a Project called ULLA (http://ulla.sourceforge.net) and I am writing a simple bluetooth LLA fot it. ULLA collects link layer information (802.11x, bluetooth, zigbee etc.) to application layer programmes.

Quoted 6 lines

I will take Bd Addrs and user friendly names fo nearby devices and give it to ULLA Core.

My program will be a kernel module, because I will collect link layer information. ULLA calls these link layer information collecting modules to Link Provider (LP).

the architecture with the kernel module is totally crap. The data collection has to be done in userspace and all these information are provided over D-Bus.

Regards

Marcel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#5 lore raw

Hi Marcel,

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

I want to write a kernel module and use some bluez commands those included in the kernel.

I will use it some experimental cases.

Is it possible to use bluez commands in kernel modules? If so, how can

I

Quoted 8 lines
Quoted 8 lines
Quoted 5 lines
Quoted 1 line

do it?

of course it is possible, but for what strange reason you might wanna find yourself writing a kernel module. Explain what you are planning to do and I might can give you a more detailed answer. I am not psychic.

There is a Project called ULLA (http://ulla.sourceforge.net) and I am writing a simple bluetooth LLA fot it. ULLA collects link layer

information

Quoted 3 lines
Quoted 3 lines

(802.11x, bluetooth, zigbee etc.) to application layer programmes.

I will take Bd Addrs and user friendly names fo nearby devices and give

it

Quoted 4 lines
Quoted 4 lines

to ULLA Core.

My program will be a kernel module, because I will collect link layer information. ULLA calls these link layer information collecting modules

to

Quoted 5 lines
Quoted 1 line

Link Provider (LP).

the architecture with the kernel module is totally crap. The data collection has to be done in userspace and all these information are provided over D-Bus.

We talked about this kernel-module problem with you a couple of weeks ago in irc #bluez channel. You advice me to work in userspace everytime. My work contains only some querying functuonality, for example bd address, user friendly name etc. I do not want the whole bluez functuonality in my project. I have to do in in kernel-space.

Thanks for helping.
Regards
Yunus.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#6 lore raw

Hi Yunus,

Quoted 31 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

I want to write a kernel module and use some bluez commands those included in the kernel.

I will use it some experimental cases.

Is it possible to use bluez commands in kernel modules? If so, how can

I

Quoted 8 lines
Quoted 8 lines
Quoted 5 lines
Quoted 1 line

do it?

of course it is possible, but for what strange reason you might wanna find yourself writing a kernel module. Explain what you are planning to do and I might can give you a more detailed answer. I am not psychic.

There is a Project called ULLA (http://ulla.sourceforge.net) and I am writing a simple bluetooth LLA fot it. ULLA collects link layer

information

Quoted 3 lines
Quoted 3 lines

(802.11x, bluetooth, zigbee etc.) to application layer programmes.

I will take Bd Addrs and user friendly names fo nearby devices and give

it

Quoted 4 lines
Quoted 4 lines

to ULLA Core.

My program will be a kernel module, because I will collect link layer information. ULLA calls these link layer information collecting modules

to

Quoted 5 lines
Quoted 1 line

Link Provider (LP).

the architecture with the kernel module is totally crap. The data collection has to be done in userspace and all these information are provided over D-Bus.

Quoted 5 lines

We talked about this kernel-module problem with you a couple of weeks ago in irc #bluez channel. You advice me to work in userspace everytime. My work contains only some querying functuonality, for example bd address, user friendly name etc. I do not want the whole bluez functuonality in my project. I have to do in in kernel-space.

and why does nobody believe me that it is a bad idea to have such stuff inside the kernel. You have to have the BlueZ userspace part anyway, because otherwise the adapter is not useful. However feel free to change the kernel and invent all things again. The D-Bus API actually provides a prefect interface for your needs. You might wanna run the example bluetooth-proximity tool to see what I mean. It is only an UI using D-Bus only.

Regards

Marcel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel