lkml.org 
[lkml]   [1999]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [linux-usb] Re: USB device allocation (fwd)
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:54    [W:0.029 / U:0.276 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site