[Pkg-bluetooth-maintainers] Bug#378839: bluez-pcmcia-support: udev
support broken
fexpop at onlinehome.de
fexpop at onlinehome.de
Wed Jul 19 08:57:04 UTC 2006
Package: bluez-pcmcia-support
Version: 3.1-2
Severity: grave
Justification: renders package unusable
The udev rules supplied by the package don't work. At least on my
system tested with a SPHINX and a Sitecom card.
The solution is to replace ENV{BUS} by ENV{PHYSDEVBUS} in
bluez-pcmcia-support.udev and to correspondingly change $DEVPATH to
$PHYSDEVPATH in bluetooth.sh, i. e. revert to the solution I sent in
#351106.
In addition it is neccessary to link /etc/udev/bluez-pcmcia-support.rules to /etc/udev/rules.d/86-bluez-pcmcia-support.rules.
Kind regards,
Felix Homann
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.4-jawaka-splash
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages bluez-pcmcia-support depends on:
ii bluez-utils 3.1-2 Bluetooth tools and daemons
ii pcmciautils 014-1 PCMCIA utilities for Linux 2.6
Versions of packages bluez-pcmcia-support recommends:
ii setserial 2.17-43 controls configuration of serial p
-- no debconf information
-------------- next part --------------
--- bluez-utils-3.1/debian/bluetooth.sh 2006-07-18 23:33:57.000000000 +0200
+++ bluez-utils-3.1/debian/bluetooth.sh-patched 2006-07-18 23:41:20.000000000 +0200
@@ -17,7 +17,7 @@ start_serial() {
setserial $DEVNAME irq 0 ; setserial $DEVNAME irq $IRQ
DEVICE=`echo $DEVNAME|sed -e 's_/dev/__'`
- MANFID=`cat /sys/$DEVPATH/manf_id`","`cat /sys/$DEVPATH/card_id`
+ MANFID=`cat /sys/$PHYSDEVPATH/manf_id`","`cat /sys/$PHYSDEVPATH/card_id`
# I don't have a generic solution, sorry
if [ $MANFID = "0x0160,0x0002" ]; then
/usr/sbin/hciattach $DEVICE $MANFID 115200
-------------- next part --------------
--- bluez-utils-3.1/debian/bluez-pcmcia-support.udev 2006-07-18 23:33:57.000000000 +0200
+++ bluez-utils-3.1/debian/bluez-pcmcia-support.udev-patched 2006-07-18 23:39:15.000000000 +0200
@@ -1,37 +1,37 @@
## PCMCIA-Cards
# "Brain Boxes BL-620 Bluetooth Adapter"
-SUBSYSTEM=="tty", ENV{BUS}=="pcmcia", SYSFS{prod_id1}=="Brain Boxes", SYSFS{prod_id2}=="Bluetooth PC Card", RUN+="/lib/udev/bluetooth.sh"
+SUBSYSTEM=="tty", ENV{PHYSDEVBUS}=="pcmcia", SYSFS{prod_id1}=="Brain Boxes", SYSFS{prod_id2}=="Bluetooth PC Card", RUN+="/lib/udev/bluetooth.sh"
# "Xircom CreditCard Bluetooth Adapter"
-SUBSYSTEM=="tty", ENV{BUS}=="pcmcia", SYSFS{prod_id1}=="Xircom", SYSFS{prod_id3}=="CBT", RUN+="/lib/udev/bluetooth.sh"
+SUBSYSTEM=="tty", ENV{PHYSDEVBUS}=="pcmcia", SYSFS{prod_id1}=="Xircom", SYSFS{prod_id3}=="CBT", RUN+="/lib/udev/bluetooth.sh"
# "Xircom RealPort2 Bluetooth Adapter"
-SUBSYSTEM=="tty", ENV{BUS}=="pcmcia", SYSFS{prod_id1}=="Xircom", SYSFS{prod_id3}=="CBT", RUN+="/lib/udev/bluetooth.sh"
+SUBSYSTEM=="tty", ENV{PHYSDEVBUS}=="pcmcia", SYSFS{prod_id1}=="Xircom", SYSFS{prod_id3}=="CBT", RUN+="/lib/udev/bluetooth.sh"
# "IBM Bluetooth PC Card II"
-SUBSYSTEM=="tty", ENV{BUS}=="pcmcia", SYSFS{prod_id1}=="IBM", SYSFS{prod_id2}=="Bluetooth PC Card II", RUN+="/lib/udev/bluetooth.sh"
+SUBSYSTEM=="tty", ENV{PHYSDEVBUS}=="pcmcia", SYSFS{prod_id1}=="IBM", SYSFS{prod_id2}=="Bluetooth PC Card II", RUN+="/lib/udev/bluetooth.sh"
# "TDK Bluetooth PC Card"
-SUBSYSTEM=="tty", ENV{BUS}=="pcmcia", SYSFS{prod_id1}=="TDK", SYSFS{prod_id2}=="Bluetooth PC Card II", RUN+="/lib/udev/bluetooth.sh"
+SUBSYSTEM=="tty", ENV{PHYSDEVBUS}=="pcmcia", SYSFS{prod_id1}=="TDK", SYSFS{prod_id2}=="Bluetooth PC Card II", RUN+="/lib/udev/bluetooth.sh"
# "AmbiCom BT2000C Bluetooth PC/CF Card"
-SUBSYSTEM=="tty", ENV{BUS}=="pcmcia", SYSFS{prod_id1}=="AmbiCom BT2000C", SYSFS{prod_id2}=="Bluetooth PC/CF Card", RUN+="/lib/udev/bluetooth.sh"
+SUBSYSTEM=="tty", ENV{PHYSDEVBUS}=="pcmcia", SYSFS{prod_id1}=="AmbiCom BT2000C", SYSFS{prod_id2}=="Bluetooth PC/CF Card", RUN+="/lib/udev/bluetooth.sh"
# "COM One Platinium Bluetooth PC Card"
-SUBSYSTEM=="tty", ENV{BUS}=="pcmcia", SYSFS{prod_id1}=="COM1 SA", SYSFS{prod_id2}=="MC310 CARD", RUN+="/lib/udev/bluetooth.sh"
+SUBSYSTEM=="tty", ENV{PHYSDEVBUS}=="pcmcia", SYSFS{prod_id1}=="COM1 SA", SYSFS{prod_id2}=="MC310 CARD", RUN+="/lib/udev/bluetooth.sh"
# "Sphinx PICO Card"
-SUBSYSTEM=="tty", ENV{BUS}=="pcmcia", SYSFS{prod_id1}=="SPHINX", SYSFS{prod_id2}=="BT-CARD", RUN+="/lib/udev/bluetooth.sh"
+SUBSYSTEM=="tty", ENV{PHYSDEVBUS}=="pcmcia", SYSFS{prod_id1}=="SPHINX", SYSFS{prod_id2}=="BT-CARD", RUN+="/lib/udev/bluetooth.sh"
# "H-Soft blue+Card"
-SUBSYSTEM=="tty", ENV{BUS}=="pcmcia", SYSFS{prod_id1}=="H-Soft", SYSFS{prod_id2}=="Blue+CARD", RUN+="/lib/udev/bluetooth.sh"
+SUBSYSTEM=="tty", ENV{PHYSDEVBUS}=="pcmcia", SYSFS{prod_id1}=="H-Soft", SYSFS{prod_id2}=="Blue+CARD", RUN+="/lib/udev/bluetooth.sh"
# "Compaq iPAQ Bluetooth Sleeve"
-SUBSYSTEM=="tty", ENV{BUS}=="pcmcia", SYSFS{prod_id1}=="CF CARD", SYSFS{prod_id2}=="GENERIC", RUN+="/lib/udev/bluetooth.sh"
+SUBSYSTEM=="tty", ENV{PHYSDEVBUS}=="pcmcia", SYSFS{prod_id1}=="CF CARD", SYSFS{prod_id2}=="GENERIC", RUN+="/lib/udev/bluetooth.sh"
# "Zoom Bluetooth Card"
# "Sitecom CN-504 Card"
-SUBSYSTEM=="tty", ENV{BUS}=="pcmcia", SYSFS{prod_id1}=="PCMCIA", SYSFS{prod_id2}=="Bluetooth Card", RUN+="/lib/udev/bluetooth.sh"
+SUBSYSTEM=="tty", ENV{PHYSDEVBUS}=="pcmcia", SYSFS{prod_id1}=="PCMCIA", SYSFS{prod_id2}=="Bluetooth Card", RUN+="/lib/udev/bluetooth.sh"
#
# dtl1_cs
#
# card "Nokia Bluetooth Card"
-SUBSYSTEM=="tty", ENV{BUS}=="pcmcia", SYSFS{prod_id1}=="Nokia Mobile Phones", SYSFS{prod_id2}=="DTL-1", RUN+="/lib/udev/bluetooth.sh"
-SUBSYSTEM=="tty", ENV{BUS}=="pcmcia", SYSFS{prod_id1}=="Nokia Mobile Phones", SYSFS{prod_id2}=="DTL-4", RUN+="/lib/udev/bluetooth.sh"
+SUBSYSTEM=="tty", ENV{PHYSDEVBUS}=="pcmcia", SYSFS{prod_id1}=="Nokia Mobile Phones", SYSFS{prod_id2}=="DTL-1", RUN+="/lib/udev/bluetooth.sh"
+SUBSYSTEM=="tty", ENV{PHYSDEVBUS}=="pcmcia", SYSFS{prod_id1}=="Nokia Mobile Phones", SYSFS{prod_id2}=="DTL-4", RUN+="/lib/udev/bluetooth.sh"
# "Socket Bluetooth Card"
-SUBSYSTEM=="tty", ENV{BUS}=="pcmcia", SYSFS{prod_id1}=="Socket", SYSFS{prod_id2}=="CF+ Personal Network Card", RUN+="/lib/udev/bluetooth.sh"
+SUBSYSTEM=="tty", ENV{PHYSDEVBUS}=="pcmcia", SYSFS{prod_id1}=="Socket", SYSFS{prod_id2}=="CF+ Personal Network Card", RUN+="/lib/udev/bluetooth.sh"
#
@@ -39,18 +39,18 @@ SUBSYSTEM=="tty", ENV{BUS}=="pcmcia", SY
#
# "3Com Bluetooth PC Card"
-SUBSYSTEM=="tty", ENV{BUS}=="pcmcia", SYSFS{prod_id1}=="3COM", SYSFS{prod_id3}=="Bluetooth PC Card", RUN+="/lib/udev/bluetooth.sh"
+SUBSYSTEM=="tty", ENV{PHYSDEVBUS}=="pcmcia", SYSFS{prod_id1}=="3COM", SYSFS{prod_id3}=="Bluetooth PC Card", RUN+="/lib/udev/bluetooth.sh"
#
# bluecard_cs
#
# "LSE041 Bluetooth PC Card"
-SUBSYSTEM=="tty", ENV{BUS}=="pcmcia", SYSFS{prod_id1}=="BlueCard", SYSFS{prod_id2}=="LSE041", RUN+="/lib/udev/bluetooth.sh"
+SUBSYSTEM=="tty", ENV{PHYSDEVBUS}=="pcmcia", SYSFS{prod_id1}=="BlueCard", SYSFS{prod_id2}=="LSE041", RUN+="/lib/udev/bluetooth.sh"
# "LSE039 Bluetooth Compact Flash Card"
-SUBSYSTEM=="tty", ENV{BUS}=="pcmcia", SYSFS{prod_id1}=="WSS", SYSFS{prod_id2}=="LSE039", RUN+="/lib/udev/bluetooth.sh"
+SUBSYSTEM=="tty", ENV{PHYSDEVBUS}=="pcmcia", SYSFS{prod_id1}=="WSS", SYSFS{prod_id2}=="LSE039", RUN+="/lib/udev/bluetooth.sh"
# "LSE139 Bluetooth Compact Flash Card"
-SUBSYSTEM=="tty", ENV{BUS}=="pcmcia", SYSFS{prod_id1}=="BTCFCARD", SYSFS{prod_id2}=="LSE139", RUN+="/lib/udev/bluetooth.sh"
+SUBSYSTEM=="tty", ENV{PHYSDEVBUS}=="pcmcia", SYSFS{prod_id1}=="BTCFCARD", SYSFS{prod_id2}=="LSE139", RUN+="/lib/udev/bluetooth.sh"
#
@@ -58,11 +58,11 @@ SUBSYSTEM=="tty", ENV{BUS}=="pcmcia", SY
#
# "AmbiCom BT2000E Bluetooth Card"
-SUBSYSTEM=="tty", ENV{BUS}=="pcmcia", SYSFS{prod_id1}=="AmbiCom,Inc", SYSFS{prod_id2}=="BT2000E", RUN+="/lib/udev/bluetooth.sh"
+SUBSYSTEM=="tty", ENV{PHYSDEVBUS}=="pcmcia", SYSFS{prod_id1}=="AmbiCom,Inc", SYSFS{prod_id2}=="BT2000E", RUN+="/lib/udev/bluetooth.sh"
# "Pretec BT2000E Bluetooth Card"
-SUBSYSTEM=="tty", ENV{BUS}=="pcmcia", SYSFS{prod_id1}=="Pretec", SYSFS{prod_id2}=="BT2000E", RUN+="/lib/udev/bluetooth.sh"
+SUBSYSTEM=="tty", ENV{PHYSDEVBUS}=="pcmcia", SYSFS{prod_id1}=="Pretec", SYSFS{prod_id2}=="BT2000E", RUN+="/lib/udev/bluetooth.sh"
# "Billionton Bluetooth Card"
-SUBSYSTEM=="tty", ENV{BUS}=="pcmcia", SYSFS{prod_id1}=="Compact Flash", SYSFS{prod_id2}=="Bluetooth Card", RUN+="/lib/udev/bluetooth.sh"
+SUBSYSTEM=="tty", ENV{PHYSDEVBUS}=="pcmcia", SYSFS{prod_id1}=="Compact Flash", SYSFS{prod_id2}=="Bluetooth Card", RUN+="/lib/udev/bluetooth.sh"
#
@@ -70,4 +70,4 @@ SUBSYSTEM=="tty", ENV{BUS}=="pcmcia", SY
#
# "Cyber-blue Compact Flash Card"
-SUBSYSTEM=="tty", ENV{BUS}=="pcmcia", SYSFS{prod_id1}=="BT", SYSFS{prod_id2}=="", SYSFS{prod_id3}=="", SYSFS{prod_id4}=="", RUN+="/lib/udev/bluetooth.sh"
+SUBSYSTEM=="tty", ENV{PHYSDEVBUS}=="pcmcia", SYSFS{prod_id1}=="BT", SYSFS{prod_id2}=="", SYSFS{prod_id3}=="", SYSFS{prod_id4}=="", RUN+="/lib/udev/bluetooth.sh"
More information about the Pkg-bluetooth-maintainers
mailing list