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

On Sun, Jan 15, 2006 at 11:48:14PM -0800, Debian Bug Tracking System wrote:
> This is an automatic notification regarding your Bug report
> #337790: libnjb-hotplug doesnt take into account the new udev system without 
> hotplug,
> which was filed against the libnjb-hotplug package.
> 
> It has been closed by one of the developers, namely
> Shaun Jackman <[EMAIL PROTECTED]>.
> 
> Their explanation is attached below.  If this explanation is
> unsatisfactory and you have not received a better one in a separate
> message then please contact the developer, by replying to this email.
> 
> Debian bug tracking system administrator
> (administrator, Debian Bugs database)
> 
> Received: (at 337790-close) by bugs.debian.org; 16 Jan 2006 07:40:33 +0000
> >From [EMAIL PROTECTED] Sun Jan 15 23:40:33 2006
> Return-path: <[EMAIL PROTECTED]>
> Received: from katie by spohr.debian.org with local (Exim 4.50)
>       id 1EyOqU-0000AN-9X; Sun, 15 Jan 2006 23:32:06 -0800
> From: Shaun Jackman <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> X-Katie: $Revision: 1.65 $
> Subject: Bug#337790: fixed in libnjb 2.2.4-2
> Message-Id: <[EMAIL PROTECTED]>
> Sender: Archive Administrator <[EMAIL PROTECTED]>
> Date: Sun, 15 Jan 2006 23:32:06 -0800
> X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
>       (1.212-2003-09-23-exp) on spohr.debian.org
> X-Spam-Level: 
> X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
>       autolearn=no version=2.60-bugs.debian.org_2005_01_02
> 
> Source: libnjb
> Source-Version: 2.2.4-2
> 
> We believe that the bug you reported is fixed in the latest version of
> libnjb, which is due to be installed in the Debian FTP archive:
> 
> libnjb-dev_2.2.4-2_i386.deb
>   to pool/main/libn/libnjb/libnjb-dev_2.2.4-2_i386.deb
> libnjb-doc_2.2.4-2_all.deb
>   to pool/main/libn/libnjb/libnjb-doc_2.2.4-2_all.deb
> libnjb-examples_2.2.4-2_i386.deb
>   to pool/main/libn/libnjb/libnjb-examples_2.2.4-2_i386.deb
> libnjb5_2.2.4-2_i386.deb
>   to pool/main/libn/libnjb/libnjb5_2.2.4-2_i386.deb
> libnjb_2.2.4-2.diff.gz
>   to pool/main/libn/libnjb/libnjb_2.2.4-2.diff.gz
> libnjb_2.2.4-2.dsc
>   to pool/main/libn/libnjb/libnjb_2.2.4-2.dsc
> 
> 
> 
> 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 [EMAIL PROTECTED],
> and the maintainer will reopen the bug report if appropriate.
> 
> Debian distribution maintenance software
> pp.
> Shaun Jackman <[EMAIL PROTECTED]> (supplier of updated libnjb 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 [EMAIL PROTECTED])
> 
> 
> Format: 1.7
> Date: Sun, 15 Jan 2006 23:40:54 -0700
> Source: libnjb
> Binary: libnjb-doc libnjb-examples libnjb-dev libnjb5
> Architecture: source i386 all
> Version: 2.2.4-2
> Distribution: unstable
> Urgency: low
> Maintainer: Shaun Jackman <[EMAIL PROTECTED]>
> Changed-By: Shaun Jackman <[EMAIL PROTECTED]>
> Description: 
>  libnjb-dev - Creative Labs Nomad Jukebox library development files
>  libnjb-doc - Creative Labs Nomad Jukebox library documentation
>  libnjb-examples - Creative Labs Nomad Jukebox example binaries
>  libnjb5    - Creative Labs Nomad Jukebox library
> Closes: 337790 338741 343291
> Changes: 
>  libnjb (2.2.4-2) unstable; urgency=low
>  .
>    * Add udev support. Closes: #337790, #338741. Thanks to kaouete.
>    * Depend on udev | hotplug.
>    * Merge the libnjb-hotplug package into libnjb5.
>    * Update config.guess to 2005-08-03 and config.sub to 2005-07-08.
>      Closes: #343291.
>    * Update the policy version to 3.6.2.2. No changes necessary.
> Files: 
>  0882c1de7baa224f5d50122ef131008b 614 libs optional libnjb_2.2.4-2.dsc
>  9275111f1bfe50ea9dd06e9d4c65fda4 16604 libs optional libnjb_2.2.4-2.diff.gz
>  53bbd8a291a4e2ba9a1a050cab8e4c08 165280 libdevel optional 
> libnjb-doc_2.2.4-2_all.deb
>  ca50ac9ed0c3a7942bd3395b4431373d 89798 libs optional libnjb5_2.2.4-2_i386.deb
>  2487ee5d21eb341aae1eb4dfc1cc455f 85780 libdevel optional 
> libnjb-dev_2.2.4-2_i386.deb
>  db840036537c4c1922613d9bf8b2a9d7 45570 libdevel optional 
> libnjb-examples_2.2.4-2_i386.deb
> 
> 

Attachment: signature.asc
Description: Digital signature

Reply via email to