Re: [linux-usb] Re: USB device allocation (fwd)

Khimenko Victor (khim@sch57.msk.ru)
Fri, 8 Oct 1999 01:25:29 +0400 (MSD)


In <19991006193104.L25989@sventech.com> Johannes Erdfelt (jerdfelt@sventech.com) wrote:

>> That could be a problem. Tho that's a problem with almost all of the
>> discussed options for USB device allocation.
>>
>> First, are there any USB-specific ioctl's? If there are, then we need to
>> figure out how to handle those, regarldess of how we assign device
>> numbers (my method, statically, or devfs). Suggestions? The first one
>> that comes to mind is that the USB-specific ioctls could only operate on
>> /proc, or that they are given numerical assignments which are unassigned
>> to other ioctl's for most all devices.

> This is how it operates now. /proc/bus/usb/dev has all of the USB
> devices. You open and use ioctl to send raw commands to the device.

> The problem with it now is permissions. I want to send raw commands to
> my USB camera. There's no reason for a kernel driver. However, you can
> change permissions on /proc files and keep it persistant.

To me it look like reincarnation of devfs under /proc :-(( Why not use real
thing ?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/