Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 343367

Summary: net-wireless/bluez: HID are not detected with USE="-old-daemons"
Product: Gentoo Linux Reporter: thomasg <thomas>
Component: Current packagesAssignee: Pacho Ramos <pacho>
Status: RESOLVED FIXED    
Severity: normal CC: dev-zero, mobile+disabled, pda
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description thomasg 2010-10-30 13:49:42 UTC
I recently bought a USB bluetooth dongle as well as a bluetooth keyboard.
The dongle works fine with btusb and a 'hcitool scan' reveals bluetooth devices in the area.
Unfortunately the keyboard isn't found at all.
Other devices I have can find the keyboard.

After I installed bluez with "USE=old-daemons" and started the hold 'hidd' the keyboard is detected and I can get it working.

Shouldn't the keyboard or HID devices in general work just fine without old-daemons, taking into account, that this useflag isn't set by default?

Reproducible: Always

Steps to Reproduce:
1. Use bluez with 'USE="-old-daemons"'
2. Do hcitool scan - device is not found
3. Use bluez with 'USE="old-daemons"'
4. Start hidd
5. Do hcitool scasn - device is found




Used bluetooth dongle:
Bus 006 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

Loaded bluetooth modules:
$ lsmod | grep bt
btusb                   9137  2 
bluetooth              42424  10 hidp,sco,bnep,rfcomm,l2cap,btusb
usbcore               123503  12 rndis_host,cdc_ether,usbnet,cdc_acm,usb_storage,usb_libusual,btusb,usbhid,uvcvideo,ohci_hcd,ehci_hcd

'hcitool scan' with hidd running:
# hcitool scan
Scanning ...
	XX:XX:XX:XX:XX:XX	Bluetooth mini Keyboard
Comment 1 Pacho Ramos gentoo-dev 2010-10-31 11:28:12 UTC
4.77 was just bumped to the tree, could you try if it still requires "old-daemons"?
Comment 2 thomasg 2010-10-31 17:24:39 UTC
Thanks for the hint Pacho, after updating it now does indeed find the device with hcitool scan.

Do you by any chance also know how to do a connection to a bluetooth HID without hidd (if at all possible)?
If it shouldn't be possible I guess we can mark this bug as resolved then.
Comment 3 Pacho Ramos gentoo-dev 2010-10-31 17:44:42 UTC
(In reply to comment #2)
> Thanks for the hint Pacho, after updating it now does indeed find the device
> with hcitool scan.
> 

Nice :-D

> Do you by any chance also know how to do a connection to a bluetooth HID
> without hidd (if at all possible)?
> If it shouldn't be possible I guess we can mark this bug as resolved then.
> 

About this, I think that you should try to ask on proper IRC channel as I am sure they will know much more than me about this, please visit:
http://www.bluez.org/contact/

Good luck!