Debian Bug report logs -
#535075
bluez: Udev rules for hid2hci do not match any event
Reported by: Dave Vasilevsky <djvasi@gmail.com>
Date: Mon, 29 Jun 2009 13:18:01 UTC
Severity: important
Tags: patch
Found in versions bluez/4.42-1, bluez/4.42-2, bluez/4.56-2, bluez/4.57-1
Fixed in version bluez/4.66-1
Done: Nobuhiro Iwamatsu <iwamatsu@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, djvasi@gmail.com, Debian Bluetooth Maintainers <pkg-bluetooth-maintainers@lists.alioth.debian.org>:
Bug#535075; Package bluez.
(Mon, 29 Jun 2009 13:18:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Dave Vasilevsky <djvasi@gmail.com>:
New Bug report received and forwarded. Copy sent to djvasi@gmail.com, Debian Bluetooth Maintainers <pkg-bluetooth-maintainers@lists.alioth.debian.org>.
(Mon, 29 Jun 2009 13:18:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: bluez
Version: 4.42-1
Severity: important
Subject: bluez: Udev rules for hid2hci do not match any event
Package: bluez
Version: 4.42-1
Severity: important
My MacBook4,1 has USB bluetooth with ID 05ac:1000, and requires hid2hci. The corresponding rule in /lib/udev/rules.d/62-bluez-hid2hci.rules is:
ACTION=="add", ENV{ID_VENDOR}=="05ac", ENV{ID_MODEL}=="1000" RUN+="/lib/udev/bluez --method csr -v $env{ID_VENDOR} -p $env{ID_MODEL} --mode hci"
However, EVN{ID_VENDOR} and ENV{ID_MODEL} do not seem to be set anywhere, so the rule never matches anything. This is confirmed by running 'udevadm test /sys/bus/usb/devices/3-1'. Instead, on my system there exist attributes ATTR{idVendor} and ATTR{idProduct}. The following rule does match, and allows bluetooth to work:
ACTION=="add", ATTR{idVendor}=="05ac", ATTR{idProduct}=="1000", RUN+="/lib/udev/bluez --method csr --mode hci -v $attr{idVendor} -p $attr{idProduct}"
Is it possible that we have different versions of the kernel or udev, and this is causing us to see different udev properties?
PS: Just a nitpick, but your rule is also missing a comma before "RUN". Adding the comma doesn't fix this bug.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages bluez depends on:
ii dbus 1.2.14-3 simple interprocess messaging syst
ii libbluetooth3 4.42-1 Library to use the BlueZ Linux Blu
ii libc6 2.9-18 GNU C Library: Shared libraries
ii libdbus-1-3 1.2.14-3 simple interprocess messaging syst
ii libglib2.0-0 2.20.4-1 The GLib library of C routines
ii libnl1 1.1-5 library for dealing with netlink s
ii libusb-0.1-4 2:0.1.12-13 userspace USB programming library
ii lsb-base 3.2-22 Linux Standard Base 3.2 init scrip
ii makedev 2.3.1-88 creates device files in /dev
ii module-init-tools 3.9-2 tools for managing Linux kernel mo
ii udev 0.141-1 /dev/ and hotplug management daemo
bluez recommends no packages.
Versions of packages bluez suggests:
ii python-dbus 0.83.0-1 simple interprocess messaging syst
ii python-gobject 2.16.1-1 Python bindings for the GObject li
-- no debconf information
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages bluez depends on:
ii dbus 1.2.14-3 simple interprocess messaging syst
ii libbluetooth3 4.42-1 Library to use the BlueZ Linux Blu
ii libc6 2.9-18 GNU C Library: Shared libraries
ii libdbus-1-3 1.2.14-3 simple interprocess messaging syst
ii libglib2.0-0 2.20.4-1 The GLib library of C routines
ii libnl1 1.1-5 library for dealing with netlink s
ii libusb-0.1-4 2:0.1.12-13 userspace USB programming library
ii lsb-base 3.2-22 Linux Standard Base 3.2 init scrip
ii makedev 2.3.1-88 creates device files in /dev
ii module-init-tools 3.9-2 tools for managing Linux kernel mo
ii udev 0.141-1 /dev/ and hotplug management daemo
bluez recommends no packages.
Versions of packages bluez suggests:
ii python-dbus 0.83.0-1 simple interprocess messaging syst
ii python-gobject 2.16.1-1 Python bindings for the GObject li
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Bluetooth Maintainers <pkg-bluetooth-maintainers@lists.alioth.debian.org>:
Bug#535075; Package bluez.
(Thu, 06 Aug 2009 09:03:10 GMT) (full text, mbox, link).
Acknowledgement sent
to Gabriele Gorla <gorlik@penguintown.net>:
Extra info received and forwarded to list. Copy sent to Debian Bluetooth Maintainers <pkg-bluetooth-maintainers@lists.alioth.debian.org>.
(Thu, 06 Aug 2009 09:03:10 GMT) (full text, mbox, link).
Message #10 received at 535075@bugs.debian.org (full text, mbox, reply):
Package: bluez
Version: 4.42-2
--- Please enter the report below this line. ---
I have the exact same problem with a logitech dinovo hub/keyboard/mouse combination.
modifying /lib/udev/rules.d/62-bluez-hid2hci.rules in a similar way as described in the bug fixes the issue.
--- System information. ---
Architecture: i386
Kernel: Linux 2.6.26-2-amd64
Debian Release: squeeze/sid
500 testing security.debian.org
500 testing ftp.debian.org
--- Package information. ---
Depends (Version) | Installed
===================================-+-==============
libbluetooth3 (>= 4.40) | 4.42-2
libc6 (>= 2.4) | 2.9-12
libdbus-1-3 (>= 1.1.1) | 1.2.16-2
libglib2.0-0 (>= 2.14.0) | 2.20.1-2
libnl1 (>= 1.1) | 1.1-5
libusb-0.1-4 (>= 2:0.1.12) | 2:0.1.12-13
module-init-tools | 3.9-2
makedev | 2.3.1-88
OR udev | 0.141-1
lsb-base | 3.2-22
dbus | 1.2.16-2
Package's Recommends field is empty.
Suggests (Version) | Installed
=============================-+-===========
python-gobject | 2.16.1-1
python-dbus | 0.83.0-1
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Bluetooth Maintainers <pkg-bluetooth-maintainers@lists.alioth.debian.org>:
Bug#535075; Package bluez.
(Fri, 30 Oct 2009 11:57:24 GMT) (full text, mbox, link).
Acknowledgement sent
to Benjamin Eikel <debian@eikel.org>:
Extra info received and forwarded to list. Copy sent to Debian Bluetooth Maintainers <pkg-bluetooth-maintainers@lists.alioth.debian.org>.
(Fri, 30 Oct 2009 11:57:24 GMT) (full text, mbox, link).
Message #15 received at 535075@bugs.debian.org (full text, mbox, reply):
Package: bluez
Version: 4.56-2
--- Please enter the report below this line. ---
Hello,
I am using a Logitech diNovo (046d, c704) keyboard/mouse. The fix suggested in
the first post works for me. Before no hid2hci switch was done automatically.
Regards,
Benjamin
--- System information. ---
Architecture: amd64
Kernel: Linux 2.6.30-2-amd64
Debian Release: squeeze/sid
900 unstable www.debian-multimedia.org
900 unstable ftp.de.debian.org
570 experimental ftp.de.debian.org
560 testing www.debian-multimedia.org
560 testing security.debian.org
560 testing ftp.de.debian.org
550 stable www.debian-multimedia.org
550 stable security.debian.org
550 stable ftp.de.debian.org
500 etch-wx apt.wxwidgets.org
500 any apt.jenslody.de
--- Package information. ---
Depends (Version) | Installed
===================================-+-==============
libbluetooth3 (>= 4.56) | 4.56-2
libc6 (>= 2.4) | 2.10.1-3
libdbus-1-3 (>= 1.1.1) | 1.2.16-2
libglib2.0-0 (>= 2.16.0) | 2.22.2-2
libnl1 (>= 1.1) | 1.1-5
libusb-0.1-4 (>= 2:0.1.12) | 2:0.1.12-13
module-init-tools | 3.11-1
udev | 146-6
OR makedev | 2.3.1-89
lsb-base | 3.2-23
dbus | 1.2.16-2
Package's Recommends field is empty.
Suggests (Version) | Installed
=============================-+-===========
python-gobject | 2.20.0-1
python-dbus | 0.83.0-1
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Bluetooth Maintainers <pkg-bluetooth-maintainers@lists.alioth.debian.org>:
Bug#535075; Package bluez.
(Sat, 14 Nov 2009 15:18:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Benjamin Eikel <benjamin@eikel.org>:
Extra info received and forwarded to list. Copy sent to Debian Bluetooth Maintainers <pkg-bluetooth-maintainers@lists.alioth.debian.org>.
(Sat, 14 Nov 2009 15:18:03 GMT) (full text, mbox, link).
Message #20 received at 535075@bugs.debian.org (full text, mbox, reply):
Package: bluez
Version: 4.57-1
Hello,
the same bug is present in version 4.57-1 of the bluez package.
Kind regards,
Benjamin
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Bluetooth Maintainers <pkg-bluetooth-maintainers@lists.alioth.debian.org>:
Bug#535075; Package bluez.
(Tue, 23 Mar 2010 21:48:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Sjoerd Simons <sjoerd@luon.net>:
Extra info received and forwarded to list. Copy sent to Debian Bluetooth Maintainers <pkg-bluetooth-maintainers@lists.alioth.debian.org>.
(Tue, 23 Mar 2010 21:48:03 GMT) (full text, mbox, link).
Message #25 received at 535075@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tag 535075 +patch
On Sat, Nov 14, 2009 at 04:07:04PM +0100, Benjamin Eikel wrote:
> Package: bluez
> Version: 4.57-1
>
> Hello,
>
> the same bug is present in version 4.57-1 of the bluez package.
Attached is a version of 010_udev_rules_agent.patch which both streamlines the
rules file and fixes this issue.
Sjoerd
--
A method of solution is perfect if we can forsee from the start,
and even prove, that following that method we shall attain our aim.
-- Leibnitz
[010_udev_rules_agent.patch (text/x-diff, attachment)]
Added tag(s) patch.
Request was from Sjoerd Simons <sjoerd@luon.net>
to control@bugs.debian.org.
(Tue, 23 Mar 2010 21:48:05 GMT) (full text, mbox, link).
Added tag(s) pending.
Request was from Nobuhiro Iwamatsu <iwamatsu@debian.org>
to control@bugs.debian.org.
(Tue, 22 Jun 2010 02:15:02 GMT) (full text, mbox, link).
Reply sent
to Nobuhiro Iwamatsu <iwamatsu@debian.org>:
You have taken responsibility.
(Tue, 22 Jun 2010 04:33:03 GMT) (full text, mbox, link).
Notification sent
to Dave Vasilevsky <djvasi@gmail.com>:
Bug acknowledged by developer.
(Tue, 22 Jun 2010 04:33:03 GMT) (full text, mbox, link).
Message #34 received at 535075-close@bugs.debian.org (full text, mbox, reply):
Source: bluez
Source-Version: 4.66-1
We believe that the bug you reported is fixed in the latest version of
bluez, which is due to be installed in the Debian FTP archive:
bluetooth_4.66-1_all.deb
to main/b/bluez/bluetooth_4.66-1_all.deb
bluez-alsa_4.66-1_i386.deb
to main/b/bluez/bluez-alsa_4.66-1_i386.deb
bluez-audio_4.66-1_all.deb
to main/b/bluez/bluez-audio_4.66-1_all.deb
bluez-compat_4.66-1_i386.deb
to main/b/bluez/bluez-compat_4.66-1_i386.deb
bluez-cups_4.66-1_i386.deb
to main/b/bluez/bluez-cups_4.66-1_i386.deb
bluez-gstreamer_4.66-1_i386.deb
to main/b/bluez/bluez-gstreamer_4.66-1_i386.deb
bluez-pcmcia-support_4.66-1_i386.deb
to main/b/bluez/bluez-pcmcia-support_4.66-1_i386.deb
bluez-utils_4.66-1_all.deb
to main/b/bluez/bluez-utils_4.66-1_all.deb
bluez_4.66-1.diff.gz
to main/b/bluez/bluez_4.66-1.diff.gz
bluez_4.66-1.dsc
to main/b/bluez/bluez_4.66-1.dsc
bluez_4.66-1_i386.deb
to main/b/bluez/bluez_4.66-1_i386.deb
bluez_4.66.orig.tar.gz
to main/b/bluez/bluez_4.66.orig.tar.gz
libbluetooth-dev_4.66-1_i386.deb
to main/b/bluez/libbluetooth-dev_4.66-1_i386.deb
libbluetooth3_4.66-1_i386.deb
to main/b/bluez/libbluetooth3_4.66-1_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 535075@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Nobuhiro Iwamatsu <iwamatsu@debian.org> (supplier of updated bluez package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 22 Jun 2010 12:45:57 +0900
Source: bluez
Binary: libbluetooth3 libbluetooth-dev bluetooth bluez bluez-alsa bluez-gstreamer bluez-cups bluez-pcmcia-support bluez-compat bluez-utils bluez-audio
Architecture: source all i386
Version: 4.66-1
Distribution: unstable
Urgency: low
Maintainer: Debian Bluetooth Maintainers <pkg-bluetooth-maintainers@lists.alioth.debian.org>
Changed-By: Nobuhiro Iwamatsu <iwamatsu@debian.org>
Description:
bluetooth - Bluetooth support
bluez - Bluetooth tools and daemons
bluez-alsa - Bluetooth ALSA support
bluez-audio - Transitional package
bluez-compat - BlueZ 3.x compatibility binaries
bluez-cups - Bluetooth printer driver for CUPS
bluez-gstreamer - Bluetooth GStreamer support
bluez-pcmcia-support - PCMCIA support files for BlueZ 2.0 Bluetooth tools
bluez-utils - Transitional package
libbluetooth-dev - Development files for using the BlueZ Linux Bluetooth library
libbluetooth3 - Library to use the BlueZ Linux Bluetooth stack
Closes: 535075 559672 571595
Changes:
bluez (4.66-1) unstable; urgency=low
.
* New upstream release.
* Update debian/control.
- Add libcap-ng-dev to Build-depends.
* Update debian/rules.
- Add serial.conf (Closes: #559672).
- Update configure option.
Remove --enable-manpages.
Change --enable-pcmciarules to --enable-pcmcia.
Add --enable-pnat, --enable-tracer, --enable-udevrules,
--enable-configfiles and --enable-capng.
* Add man file of hcitrace.
* Update udev rule (Closes: #535075).
Thanks to Sjoerd Simons.
* Add patch 01_lower_sink_ranking.patch (Closes: #571595).
Thanks to Sebastian Dröge.
Checksums-Sha1:
3924f17bb39ddcbab8d88af6c2bad828839f7048 1634 bluez_4.66-1.dsc
557eed51d542d95f9d5b3d7d58142c045ea4c3b1 990368 bluez_4.66.orig.tar.gz
01e38589f0eda179e3e9160bdf00a17cfd8f4124 19973 bluez_4.66-1.diff.gz
8e18aecdfe6ac4f49e980f22a9106b307e1ee7a8 28376 bluetooth_4.66-1_all.deb
4f24d6760b115e3089cd95a078efdca3292f5678 28410 bluez-utils_4.66-1_all.deb
e3cbbee3b48651410e71e28598a848ad58dd2197 28206 bluez-audio_4.66-1_all.deb
58c2c433644f89f3dfe4e5966b9cdc2a62d08b63 71070 libbluetooth3_4.66-1_i386.deb
f5d12d5e4b0a8e37b1f1e74a6197d2179d437096 53520 libbluetooth-dev_4.66-1_i386.deb
2793867fd49318a7bf86dd0a325b5bb04fe7658d 465510 bluez_4.66-1_i386.deb
ef38b2b209c4bed630c6da4b97bd2eb0b8e71808 67504 bluez-alsa_4.66-1_i386.deb
e031d363c1d53c3b285f01fb1611694a33411cf1 80526 bluez-gstreamer_4.66-1_i386.deb
875331613794c98996c0ed1c93475930c3080ce9 46392 bluez-cups_4.66-1_i386.deb
9e569e87538a19da1f98f6c7d7406f093c53a77a 29860 bluez-pcmcia-support_4.66-1_i386.deb
3272ab5cce4cf9158d822745bd49d5fbb5003e3c 82338 bluez-compat_4.66-1_i386.deb
Checksums-Sha256:
67a47bd38a43670c4cbb88cbab4882040b4a7480d5e695b2c9b1923d022d07da 1634 bluez_4.66-1.dsc
c223cbb80df0b1f17f6ef4efd0be1fe35ae640bd979f852cfbcc452abc0a7ea5 990368 bluez_4.66.orig.tar.gz
aae7d00d1b5a2d3b6c1bad3e02b38358ac6c89637a2f05eb82bf20e2a5c3b3cf 19973 bluez_4.66-1.diff.gz
c410f1968b31f48ba56f4c18a51cb85d6c1f72f7e0c4b45ec921cb9d4b878102 28376 bluetooth_4.66-1_all.deb
a78fa7d556a8d963bdc45d5d81a56b32b987218c4984d6a5fb2e7eceb4884670 28410 bluez-utils_4.66-1_all.deb
40620ff10b024cba58937b2d2b012d6f9be74f63317e78b3b044f1210b7d580f 28206 bluez-audio_4.66-1_all.deb
9064161c77dfab4506ce10ca6c5f5e9f0d86dce4a9b14e9fbf0aa97807e0b436 71070 libbluetooth3_4.66-1_i386.deb
282a317b089c1ac4035a9c5d788a18b4baf231b00dca263ba8d9fceb24fe0f6b 53520 libbluetooth-dev_4.66-1_i386.deb
4e7e4bf87e400801dec5f849ef4393de7954f655ce92515be2dabbda16cb607c 465510 bluez_4.66-1_i386.deb
9318b1b9a1dc9681d06a06fcb026c443ea3ebdb0a6a577382b977480311187ef 67504 bluez-alsa_4.66-1_i386.deb
cf010659a77c5272ef5e79c67eaf7e0c778881c204db82dcdf6e167fed290754 80526 bluez-gstreamer_4.66-1_i386.deb
38f95ee3c22d4c8deac987378a1816c740b2b8ad98145f4d31ed5f2f283b20b7 46392 bluez-cups_4.66-1_i386.deb
6618d8f24d2f96c633bbf3a294782e0037b5f04259c5674dd385d66dbe8a095b 29860 bluez-pcmcia-support_4.66-1_i386.deb
134151aebfe20a8a05b900f3d210a30a9f17a66dd6af9392c90630ea34d2c9a7 82338 bluez-compat_4.66-1_i386.deb
Files:
09615999d6fad77aacf7188c130c998c 1634 admin optional bluez_4.66-1.dsc
3c82575778d5dcdd68ea961626b02109 990368 admin optional bluez_4.66.orig.tar.gz
9e8deedc344b610f552236908a9c9079 19973 admin optional bluez_4.66-1.diff.gz
5053d69d8d50ecd0bf8e6b77d994898b 28376 admin optional bluetooth_4.66-1_all.deb
26d1dcad98989e56fd18a3555c400795 28410 admin optional bluez-utils_4.66-1_all.deb
37f4d1e45bbf40556e0979a2fcdee9c3 28206 admin optional bluez-audio_4.66-1_all.deb
19564fb4c4baa6c548dc29db8b53d40b 71070 libs optional libbluetooth3_4.66-1_i386.deb
b31532badfd5ec9e6d1770b084ef8b3c 53520 libdevel extra libbluetooth-dev_4.66-1_i386.deb
1fe3e8d117b1449c47a0eb56289c1bd5 465510 admin optional bluez_4.66-1_i386.deb
438ede7bba96a3a7a32f5772f9f1e153 67504 admin optional bluez-alsa_4.66-1_i386.deb
6eea834ca9825aa4f5c7a77b93d54475 80526 admin optional bluez-gstreamer_4.66-1_i386.deb
4c8df0561d8249058c2f099afe82050b 46392 admin optional bluez-cups_4.66-1_i386.deb
6d15ce1492ff288598b2bcc3740d81b5 29860 admin extra bluez-pcmcia-support_4.66-1_i386.deb
1e39ed13793a928cf030ba85f742f3d2 82338 admin optional bluez-compat_4.66-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkwgOPMACgkQQSHHQzFw6+mv6QCfatDxbKBzQnm+Kj8rfxel4o8P
eSQAn2upG/Xonww9j1qd68dcES0hG4Xc
=wYZq
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 30 Jul 2010 07:35:49 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jan 7 06:45:56 2018;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.