Package: libnjb
Version: 2.2.4-2
Severity: serious
Justification: renders package unusable
Submitter: kaouete <[EMAIL PROTECTED]>

---------- Forwarded message ----------
From: kaouete <[EMAIL PROTECTED]>
Date: 2006-01-18 10:01
Subject: Bug#337790: acknowledged by developer (Bug#337790: fixed in
libnjb 2.2.4-2)
To: [EMAIL PROTECTED]

i am sorry to say this, but i think you did not completely test what you
added to this package.

i tested and it doesnt work. (or it work like it was working
before, but it is not enough with last etch libusb)
The problem is that there is 2 file to change their
permissions :
the one in /dev/bus/usb and the one in /proc/bus/usb

this is what you have in udev logs when you plug your nomad :
HOTPLUG_TIME='Wed Jan 18 17:53:51 CET 2006'
UDEV_LOG=3
ACTION=add
OLDPWD=/
SEQNUM=1615
DEVPATH=/devices/pci0000:00/0000:00:03.3/usb4/4-5
SUBSYSTEM=usb
PHYSDEVDRIVER=usb
UDEVD_EVENT=1
PHYSDEVBUS=usb

HOTPLUG_TIME='Wed Jan 18 17:53:52 CET 2006'
UDEV_LOG=3
ACTION=add
OLDPWD=/
SEQNUM=1616
DEVPATH=/devices/pci0000:00/0000:00:03.3/usb4/4-5/4-5:1.0
SUBSYSTEM=usb
MODALIAS=usb:v041Ep411Bd0001dcFFdscFFdpFFicFFiscFFipFF
TYPE=255/255/255
INTERFACE=255/255/255
PRODUCT=41e/411b/1
UDEVD_EVENT=1
PHYSDEVBUS=usb
DEVICE=/proc/bus/usb/004/003

HOTPLUG_TIME='Wed Jan 18 17:53:52 CET 2006'
UDEV_LOG=3
DEVNAME=/dev/bus/usb/004/003
ACTION=add
OLDPWD=/
SEQNUM=1617
MAJOR=189
DEVPATH=/class/usb_device/usbdev4.3
SUBSYSTEM=usb_device
MINOR=386
PHYSDEVPATH=/devices/pci0000:00/0000:00:03.3/usb4/4-5
PHYSDEVDRIVER=usb
UDEVD_EVENT=1
PHYSDEVBUS=usb

the 2 last are the one we are interested in :
there is one SUBSYSTEM=usb (the one you catch)
and another one SUBSYSTEM=usb_device (the one all the app using
last etch libusb use)(see
http://packages.qa.debian.org/libu/libusb/news/1.html)

the thing is not to just catch them in the udev rule, but the
script have to take into account that there is different variable
names in the two cases : DEVICE for the first and DEVNAME for the
second.

While i am at it, i wanted to ask if it was not better to make
libnjb5 conflicts with libnjb-hotplug since the second is merged
in the first.

Thanks for reading me.

kaouete

Reply via email to