How to make two instances of kernel module ....??? Help.
Hello guys., I am trying to make two same instances of 1 kernel module...,
I am using BTSCO (Bluetooth Alsa) for Bluetooth headphones .., I want to install its module twice and start it 2 times..., how can I do that? I have installed it already and It works just fine.... Any help is appreciated.., Thanks. :scratch: |
You say you want to install it twice - because you assume that will be the way to solve whatever problem you want to solve.
But: What is the actual problem? What do you want to do? Assumptions can be misleading. |
Quote:
The problem is that this driver/kernel module.. suits only for 1 Bluetooth Pair..., I want to start both (2) Pairs separated..., so to use first BT pair with 1 application and the other BT pair with other application...., At this moment.., when I start btsco.., and connect both BT headsets.., when I start application they start fight each other who will stream...., thats my problem..., So I have read that if I make another kernel instance of the module I will be able to start btsco as one more process then they will not fight started with some applications... |
I don't know what you "read" or where, but I think you're barking up the wrong tree.
|
Kernel modules are loaded and associated with particular hardware device IDs or descriptions. Simply renaming the module, or trying to "install its module twice and start it 2 times" doesn't make sense and won't work. Driver's are not designed to be loaded multiple times and they will conflict with each other.
I dont' have any other advice to give, other than you'll need to try a different approach. |
Quote:
only some thoughts on the problem: - it surely is possible to connect more than one BT device at the same time - something on that I found here: http://www.internettablettalk.com/fo...ead.php?t=5228 (one point was that its important who is master and if role-switch is possible - I personally have seldom used BT-Headsets but remember that it might be a restriction which comes from the headset itself - don't know...) Information that I found and which seems relevant and well organized is in the different Wikis for Gentoo - the basic principles are the same in any distribution. http://gentoo-wiki.com/Bluetooth_headset I hope this will help you further. |
All times are GMT -5. The time now is 09:24 AM. |