Re: [patch 0/7] Add usb root debugfs directory and move the USB subsystems to use it

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

 



On Sat, Apr 25, 2009 at 06:40:51PM -0700, David Brownell wrote:
> On Saturday 25 April 2009, Steve Calfee wrote:
> > I haven't used it in awhile, but what does this change do to usbtest.c
> > and test.sh? That was the only widely known program that did user
> > level usb I/O
> 
> Not exactly.  What it does is an ioctl() to get at the various
> tests, none of which can be adequately issued from userspace.
> 
> Greg ... comments?  Do your patches keep that working?

Keep what working?  The usbfs functionality of sending data directly to
devices keeps working, this patch set doesn't touch that at all.

What did change is the ability to mount the filesystem, that is now much
harder to do.  But distros have been not mounting usbfs for years now,
with no problems.

libusb still works just fine, and so do all of the ioctl commands on the
devices, they just go through /dev/bus/usb/ which udev creates, instead
of usbfs itself.  This lets us set the proper permissions and acls on
the usb devices, something that usbfs can not do.

Hope this helps,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux