Comment 2 for bug 48871

Revision history for this message
Jonathan B. Wiebe (jbwiebe) wrote :

I have investigated this bug a little bit further. Please keep in mind that I am NOT a seasoned developer, just a user.

Since the Debian bug report mentioned a change in the udev permission rules I started by looking in the Debian udev changelog. From the following page:

http://packages.debian.org/testing/admin/udev

I went to the changlog and searched for a reference to iRiver. I found the following changes to the file

udev-0.093/rules/permissions.rules

+# usbfs-like devices
+SUBSYSTEM=="usb_device", MODE="0664"
+
+# iRiver music players
+SUBSYSTEM=="usb_device", GROUP="plugdev", \
+ SYSFS{idVendor}=="4102", SYSFS{idProduct}=="10[01][135789]"

In Ubuntu Dapper the udev package installs the following file:

/etc/udev/rules.d/40-permissions.rules

and looking in this file I found this line (similar to the first line above):

# USB devices (usbfs replacement)
SUBSYSTEM=="usb_device", MODE="0664"

however there was no reference in this file to an iRiver player.

I backed up the file and then edited the file as root, adding the lines referring to the iRiver player.

Now when I plug in my iRiver player to a usb port rhythmbox still auto-launches but I can now access my player as a regular (non-root) user.

jonathan@gideon:/etc/udev/rules.d$ ifp ls
wrn: [ifp_delta] interesting, there were only 4 bytes.
Detected: model IFP-780, firmware 1.21, battery =[####], delta 1.0.0.0
...

I still don't know what to do about the warning message or the auto-launching of rhythmbox but I am happy to report that I have non-root access to my flash player again.

I hope the preceeding has been helpful. If you need any more information from me don't hesitate to ask.

Regards,

Jonathan Wiebe