[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: seeking advice on device ownership



On Aug 31, Thomas Viehmann <tv@beamnet.de> 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

Attachment: signature.asc
Description: Digital signature


Reply to: