Bug 249026 - libmtp: usb udev rules
Summary: libmtp: usb udev rules
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libmtp
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Linus Walleij
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 249643 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-07-20 13:14 UTC by Harald Hoyer
Modified: 2007-11-30 22:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-07-30 07:50:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Harald Hoyer 2007-07-20 13:14:17 UTC
Please change the usb udev rules from SUBSYSTEM=usb_device to SUBSYSTEM=usb.

Thank you.

Comment 1 Linus Walleij 2007-07-27 06:41:46 UTC
*** Bug 249643 has been marked as a duplicate of this bug. ***

Comment 2 Gian Paolo Mureddu 2007-07-27 07:09:46 UTC
So is this a simple udev rules edit fix or something more complex?

Comment 3 Linus Walleij 2007-07-27 14:54:58 UTC
The .spec file needs to run sed s/usb_device/usb on the libmtp.rules
file after make, but I haven't access to my cert and so cannot edit
the CVS right now (vacation) any maintainer is welcome to step in
and fix it.


Comment 4 Harald Hoyer 2007-07-30 07:50:26 UTC
changed in libmtp-0.1.5-2

Comment 5 Linus Walleij 2007-07-30 14:54:49 UTC
Thanks Harald, I also applied the first part of the patch (the
clever GOTOs) upstream, will the ATTR="zz" stuff work with old
udev too or shall upstream supply a cmdline flag for using
SYSFS="zz" or ATTR="zz" respectively?

Or should it default to using both eg:
SYSFS{idVendor}==\"%04x\", SYSFS{idProduct}==\"%04x\"
ATTR{idVendor}==\"%04x\", ATTR{idProduct}==\"%04x\"


Note You need to log in before you can comment on or make changes to this bug.