How to make two instances of kernel module ....??? Help.
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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....
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.
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.
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...
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.
The problem is that this driver/kernel module.. suits only for 1 Bluetooth Pair...,
this ... is very probably not true - more likely it is a matter of how to configure it? - are all the needed things in place?
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.