linux.debian.bugs.dist
[Top] [All Lists]

Bug#373595: seeking advice on device ownership

Subject: Bug#373595: seeking advice on device ownership
From: Marco d'Itri
Date: Thu, 31 Aug 2006 21:00:15 +0200
Newsgroups: linux.debian.bugs.dist, linux.debian.devel
On Aug 31, Thomas Viehmann <tv@xxxxxxxxxx> wrote:

> can someone help me with chown-ing a device in udev (or something better)?
Look at the sane package. The general idea is to generate rules like:

SUBSYSTEM=="usb_device", \
 ATTRS{idProduct}=="2303", ATTRS{idVendor}=="067b", GROUP="chipcard"

for devices accessed using libusb and like:

KERNEL=="ttyUSB*", \
 ATTRS{idProduct}=="2303", ATTRS{idVendor}=="067b", GROUP="chipcard"

for serial devices.

(Old versions of udev used SYSFS in place of ATTRS.)


The udev maintainer is usually happy to help designing udev support for
packages and to review the changes needed.

-- 
ciao,
Marco
<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy