* [Bluez-users] Many hci devices (?)
@ 2004-02-18 12:46 George Billios
2004-02-18 13:40 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: George Billios @ 2004-02-18 12:46 UTC (permalink / raw)
To: bluez-users
Hello,
I have a Bluetooth USB dongle which in general works fine. The only
problem is that if I run hciconfig I get multiple devices:
hci0: Type: USB
BD Address: 00:04:61:80:84:25 ACL MTU: 192:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:87 acl:0 sco:0 events:11 errors:0
TX bytes:39 acl:0 sco:0 commands:10 errors:0
hci1: Type: VHCI
BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
DOWN
RX bytes:0 acl:0 sco:0 events:0 errors:0
TX bytes:4 acl:0 sco:0 commands:1 errors:0
hci2: Type: VHCI
BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
DOWN
RX bytes:0 acl:0 sco:0 events:0 errors:0
TX bytes:0 acl:0 sco:0 commands:0 errors:0
hci3: Type: VHCI
BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
DOWN
RX bytes:0 acl:0 sco:0 events:0 errors:0
TX bytes:0 acl:0 sco:0 commands:0 errors:0
I get the above order (the USB dongle on hci0) only if I start the
computer with the dongle plugged in. If I start the computer and then
plug the dongle in, it gets hci3 while the other "devices" get
hci0,hci1,hci2,hci4 . This is a problem because I'm using kde-bluetooth
which only connects through device hci0.
My question is what are these devices and how can I make the USB Dongle
take hci0?
Thank you
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [Bluez-users] Many hci devices (?)
2004-02-18 12:46 [Bluez-users] Many hci devices (?) George Billios
@ 2004-02-18 13:40 ` Marcel Holtmann
2004-02-18 14:48 ` George Billios
0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2004-02-18 13:40 UTC (permalink / raw)
To: George Billios; +Cc: BlueZ Mailing List
Hi George,
> I have a Bluetooth USB dongle which in general works fine. The only
> problem is that if I run hciconfig I get multiple devices:
>
> hci0: Type: USB
> BD Address: 00:04:61:80:84:25 ACL MTU: 192:8 SCO MTU: 64:8
> UP RUNNING PSCAN ISCAN
> RX bytes:87 acl:0 sco:0 events:11 errors:0
> TX bytes:39 acl:0 sco:0 commands:10 errors:0
>
> hci1: Type: VHCI
> BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
> DOWN
> RX bytes:0 acl:0 sco:0 events:0 errors:0
> TX bytes:4 acl:0 sco:0 commands:1 errors:0
>
> hci2: Type: VHCI
> BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
> DOWN
> RX bytes:0 acl:0 sco:0 events:0 errors:0
> TX bytes:0 acl:0 sco:0 commands:0 errors:0
>
> hci3: Type: VHCI
> BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
> DOWN
> RX bytes:0 acl:0 sco:0 events:0 errors:0
> TX bytes:0 acl:0 sco:0 commands:0 errors:0
>
> I get the above order (the USB dongle on hci0) only if I start the
> computer with the dongle plugged in. If I start the computer and then
> plug the dongle in, it gets hci3 while the other "devices" get
> hci0,hci1,hci2,hci4 . This is a problem because I'm using kde-bluetooth
> which only connects through device hci0.
> My question is what are these devices and how can I make the USB Dongle
> take hci0?
these devices are virtual HCI device from the hci_vhci driver, which is
used by hciemu. I think this is a misc device minor problem and if you
don't plan to use hciemu, remove the hci_vhci kernel module from your
harddrive.
Regards
Marcel
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-users] Many hci devices (?)
2004-02-18 13:40 ` Marcel Holtmann
@ 2004-02-18 14:48 ` George Billios
2004-02-18 15:52 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: George Billios @ 2004-02-18 14:48 UTC (permalink / raw)
To: BlueZ Mailing List
Ok, thanks, I just renamed the module and it is working now. I think
those virtual devices also caused some problem with kde-bluetooth
causing a warning before, cause now everything is working fine.
Thank you
Marcel Holtmann wrote:
> Hi George,
>
>
>>I have a Bluetooth USB dongle which in general works fine. The only
>>problem is that if I run hciconfig I get multiple devices:
>>
>>hci0: Type: USB
>> BD Address: 00:04:61:80:84:25 ACL MTU: 192:8 SCO MTU: 64:8
>> UP RUNNING PSCAN ISCAN
>> RX bytes:87 acl:0 sco:0 events:11 errors:0
>> TX bytes:39 acl:0 sco:0 commands:10 errors:0
>>
>>hci1: Type: VHCI
>> BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
>> DOWN
>> RX bytes:0 acl:0 sco:0 events:0 errors:0
>> TX bytes:4 acl:0 sco:0 commands:1 errors:0
>>
>>hci2: Type: VHCI
>> BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
>> DOWN
>> RX bytes:0 acl:0 sco:0 events:0 errors:0
>> TX bytes:0 acl:0 sco:0 commands:0 errors:0
>>
>>hci3: Type: VHCI
>> BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
>> DOWN
>> RX bytes:0 acl:0 sco:0 events:0 errors:0
>> TX bytes:0 acl:0 sco:0 commands:0 errors:0
>>
>>I get the above order (the USB dongle on hci0) only if I start the
>>computer with the dongle plugged in. If I start the computer and then
>>plug the dongle in, it gets hci3 while the other "devices" get
>>hci0,hci1,hci2,hci4 . This is a problem because I'm using kde-bluetooth
>>which only connects through device hci0.
>>My question is what are these devices and how can I make the USB Dongle
>>take hci0?
>
>
> these devices are virtual HCI device from the hci_vhci driver, which is
> used by hciemu. I think this is a misc device minor problem and if you
> don't plan to use hciemu, remove the hci_vhci kernel module from your
> harddrive.
>
> Regards
>
> Marcel
>
>
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-users] Many hci devices (?)
2004-02-18 14:48 ` George Billios
@ 2004-02-18 15:52 ` Marcel Holtmann
0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2004-02-18 15:52 UTC (permalink / raw)
To: George Billios; +Cc: BlueZ Mailing List
Hi George,
> Ok, thanks, I just renamed the module and it is working now. I think
> those virtual devices also caused some problem with kde-bluetooth
> causing a warning before, cause now everything is working fine.
my /dev/vhci looks like this
crw-rw-rw- 1 root root 10, 250 2003-05-16 09:12 /dev/vhci
and you see it is the misc major number and minor number 250. The
problem is that 250 is also choosen by the sonypi driver and of course
maybe some others. I had a similiar problem on my VAIO notebook, but
completely forgot about it.
However if the hci_vhci is bound to 10:250 and any program opens a
character device with the same major and minor number the Bluetooth
subsystem creates a new HCI device.
Regards
Marcel
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-02-18 15:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-18 12:46 [Bluez-users] Many hci devices (?) George Billios
2004-02-18 13:40 ` Marcel Holtmann
2004-02-18 14:48 ` George Billios
2004-02-18 15:52 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox