[Pkg-bluetooth-maintainers] Bug#628491: bluez: hid2hci missing

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Wed Jun 1 13:28:23 UTC 2011


On Tue, 31 May 2011, Detlev Brodowski wrote:
>
> I had the same problem.
> The cause of
> - missing hid2hci and
> - the not working udev rules
> are the changed location of hid2hci and the complete rewrite of the udev
> rule by the upstream bluez developer.
> I have solved the problem for me with the attached patch.
>
> The new location of hid2hci should be /lib/udev/hid2hci, I think ;).
>
> Therefor I have modified these 3 files in the debian source package of
> bluez:
> debian/bluez_agent.udev
> debian/bluez.bluetooth.init
> debian/bluez.install

Right.  Thanks.
I was curious to find out why this change:

> diff -ur bluez-4.93_without_hid2hci/debian/bluez.bluetooth.init bluez-4.93/debian/bluez.bluetooth.init
> --- bluez-4.93_without_hid2hci/debian/bluez.bluetooth.init
> 2011-05-30 20:11:37.735321846 +0200
> +++ bluez-4.93/debian/bluez.bluetooth.init      2011-05-30
> 20:12:36.682466070 +0200
> @@ -26,7 +26,7 @@
>  DAEMON=/usr/sbin/bluetoothd
>  HCIATTACH=/usr/sbin/hciattach
>
> -HID2HCI=/usr/sbin/hid2hci
> +HID2HCI=/lib/udev/hid2hci
>  HID2HCI_ENABLED=1
>  HID2HCI_UNDO=1
>

and found out it's not used.

The attached patch suggests some improvements and adjusts some
inconsistencies.


Cheers,

-- 
Cristian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bluez.bluetooth.init.patch
Type: text/x-diff
Size: 5828 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-bluetooth-maintainers/attachments/20110601/6301a864/attachment.patch>


More information about the Pkg-bluetooth-maintainers mailing list