[Pkg-bluetooth-maintainers] Bug#628491: Bug#628491: bluez: hid2hci missing
Nobuhiro Iwamatsu
iwamatsu at nigauri.org
Tue May 31 09:09:41 UTC 2011
Hi all.
I fixed in repository. I will upload soon.
Best regards,
Nobuhiro
2011/5/31 Detlev Brodowski <detlev.brodowski at newcotec.com>:
> Hello Christian,
>
> 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
>
>
> ======
> diff -ur bluez-4.93_without_hid2hci/debian/bluez_agent.udev
> bluez-4.93/debian/bluez_agent.udev
> --- bluez-4.93_without_hid2hci/debian/bluez_agent.udev 2011-05-30
> 20:11:37.727321967 +0200
> +++ bluez-4.93/debian/bluez_agent.udev 2011-05-30 20:12:36.682466070
> +0200
> @@ -3,6 +3,6 @@
>
> (
> . /lib/udev/hotplug.functions
> - wait_for_file /usr/sbin/hid2hci
> - exec /usr/sbin/hid2hci "$@"
> + wait_for_file /lib/udev/hid2hci
> + exec /lib/udev/hid2hci "$@"
> ) &
> 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
>
> diff -ur bluez-4.93_without_hid2hci/debian/bluez.install
> bluez-4.93/debian/bluez.install
> --- bluez-4.93_without_hid2hci/debian/bluez.install 2011-05-30
> 20:11:37.743321725 +0200
> +++ bluez-4.93/debian/bluez.install 2011-05-30 20:12:36.690465949
> +0200
> @@ -4,3 +4,4 @@
> debian/tmp/usr/sbin/*
> debian/tmp/usr/bin/*
> debian/tmp/usr/share/man/man*
> +debian/tmp/usr/lib/bluez/udev/hid2hci /lib/udev
> ======
>
> Kind regards,
>
> Detlev
>
> _______________________________________________
> Pkg-bluetooth-maintainers mailing list
> Pkg-bluetooth-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-bluetooth-maintainers
>
--
Nobuhiro Iwamatsu
iwamatsu at {nigauri.org / debian.org}
GPG ID: 40AD1FA6
More information about the Pkg-bluetooth-maintainers
mailing list