[prev in list] [next in list] [prev in thread] [next in thread]
List: amarok
Subject: Re: iRiver ifp device integration
From: Greg Meyer <greg () gkmweb ! com>
Date: 2006-11-17 21:39:19
Message-ID: 200611171639.20031.greg () gkmweb ! com
[Download RAW message or body]
On Friday 17 November 2006 4:11 am, Peter Bittner wrote:
> I am currently using libiriverdriver (by Joe Roback) and kio_iriver
> (by Thomas Loeber) as a more or less working integration into
> Konqueror (on a Kubuntu Linux box). 'More or less working' because I
> need root access (via sudo or kdesu) in order to write to the device
You should be able to get user access to the device by creating a proper udev
rule for it. I do this with the following ifpdev.rules file which is placed
in the /etc/udev/rules.d directory. I use a group called storage and then
add my user to that group.
I don't use ubuntu, so I am not sure what kind of permissions or groups they
use to provide user access to removeable devices, but you could set the group
permissions to another group as necessary.
************** SAMPLE /etc/udev/rules.d/ifpdev.rules FILE ***************
# udev rules file for supported ifp devices
#
# To add an USB ifp device, add a rule to the list below between the
SUBSYSTEM...
# and LABEL... lines.
#
# To run a script when your ifp is plugged in, add RUN="/path/to/script"
# to the appropriate rule.
#
SUBSYSTEM!="usb_device", ACTION!="add", GOTO="libifp_rules_end"
# ifp-1xx
SYSFS{idVendor}=="4102", SYSFS{idProduct}=="1001", GROUP="storage"
# ifp-3xx
SYSFS{idVendor}=="4102", SYSFS{idProduct}=="1003", GROUP="storage"
# ifp-5xx
SYSFS{idVendor}=="4102", SYSFS{idProduct}=="1005", GROUP="storage"
# ifp-7xx
SYSFS{idVendor}=="4102", SYSFS{idProduct}=="1007", GROUP="storage"
# ifp-8xx
SYSFS{idVendor}=="4102", SYSFS{idProduct}=="1008", GROUP="storage"
# ifp-9xx
SYSFS{idVendor}=="4102", SYSFS{idProduct}=="1009", GROUP="storage"
# ifpdev
SYSFS{idVendor}=="4102", SYSFS{idProduct}=="1010", GROUP="storage"
# The N10
SYSFS{idVendor}=="4102", SYSFS{idProduct}=="1011", GROUP="storage"
LABEL="libifp_rules_end"
--
Greg
_______________________________________________
Amarok mailing list
Amarok@kde.org
https://mail.kde.org/mailman/listinfo/amarok
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic