LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-07-2008, 06:43 AM   #1
skate
Member
 
Registered: Aug 2003
Location: Bulgaria
Distribution: OpenSuse 10.3, Debian 4.0r3 "Etch", FreeBSD 7.1, Ubuntu
Posts: 210

Rep: Reputation: 30
Question 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.

 
Old 07-07-2008, 08:30 AM   #2
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
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.
 
Old 07-07-2008, 09:00 AM   #3
skate
Member
 
Registered: Aug 2003
Location: Bulgaria
Distribution: OpenSuse 10.3, Debian 4.0r3 "Etch", FreeBSD 7.1, Ubuntu
Posts: 210

Original Poster
Rep: Reputation: 30
Post

Quote:
Originally Posted by jomen View Post
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...
 
Old 07-07-2008, 05:51 PM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,636
Blog Entries: 4

Rep: Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933
I don't know what you "read" or where, but I think you're barking up the wrong tree.
 
Old 07-07-2008, 06:07 PM   #5
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
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.
 
Old 07-08-2008, 03:17 AM   #6
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
Quote:
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

I hope this will help you further.
 
  


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
How to load multiple Instances of same module ravirao Linux - General 4 11-19-2007 12:39 PM
kernel module make error EvilSlim Linux - Newbie 1 10-17-2006 08:33 AM
how to make my module part of kernel furahm Linux - General 1 07-10-2006 03:33 AM
What can you ACTUALLY make a module for in the kernel? djuhl30 Linux - Hardware 2 01-30-2006 02:34 AM
compile kernel module without 'make' whysyn Linux - Software 2 01-29-2006 12:56 AM

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

All times are GMT -5. The time now is 07:57 AM.

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
Open Source Consulting | Domain Registration