Many hci devices (?)
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:0hci1: 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 [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi George,
Quoted 27 lines
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:0hci1: 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:0hci2: 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:0hci3: 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
Quoted 7 lines
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
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
Quoted 33 lines · Marcel Holtmann
Hi George,
Quoted 20 lines
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:0hci1: 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:0hci2: 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:0Quoted 8 lines
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:0I 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?
Quoted 10 lines
these devices are virtual HCI device from the
hci_vhcidriver, which is used by hciemu. I think this is a misc device minor problem and if you don't plan to use hciemu, remove thehci_vhcikernel 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 [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi George,
Quoted 3 lines
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users