David Brownell wrote:

> In any case, it doesn't sound like the stuff you mentioned building
> on top of it could address the basic problem:  "read" mode permissions
> only seems to give permission to access a cached device descriptor.
> None of the other standard read-only device operations can be done.

All actions that lead to a transaction on the USB bus require
write access, on purpose. Otherwise, given buggy devices
(which exist), any user could kill that device,
and if it was eg. a block device, bad things would happen.

> That problem is easy enough to patch, though one needs to be careful
> of course.  I can start on it next week.

Please don't.

The idea is to have a user space daemon which selectively
(and configurably by the user) adjusts permissions.

This is policy and IMO belongs into userspace.

> Did you choose an approach for libusb yet?  Do they really both work?

Yes, at least with usbstress, usb.in.tum.de

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to