On Wed, Mar 23, 2011 at 01:48:45PM -0500, Favux ... wrote:
> usbfs was deprecated in kernel 2.6.31 I think.  Certainly by 2.6.32
> Ubuntu (Lucid 10.04) and several other distributions dropped it.  This
> all happened at about the same time.  There was some conflict with
> changes in udev.  Apparently since usbfs implicitly changes event
> behavior it was breaking the newer udev.  Hence Christoph Karg's
> userland OLED app. (he just posted an update in linuxwacom-devel) and
> San's modifications of it for profiles and other stuff.


http://lxr.linux.no/#linux+v2.6.38/Documentation/usb/proc_usb_info.txt

"In many modern systems the usbfs filsystem isn't used at all.  Instead
 USB device nodes are created under /dev/usb/ or someplace similar.  The
 "devices" file is available in debugfs, typically as
 /sys/kernel/debug/usb/devices."

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483392
"Please consider to not mount /proc/bus/usb any more. It has been
 deprecated in favor of /dev/bus/usb long ago, which is much more
 flexible, configurable, and coherent to the spirit of /dev."


commit cc71329b3b89b4a5be849b617f2c4f151f0b9213
Refs: v2.6.30-5441-gcc71329
"USB: usbfs: deprecate and hide option for !embedded

 Modern systems do not use usbfs; the entries within it are files,
 not device nodes, and do not support ACLs which are the default way to
 provide access to USB devices to untrusted users.

 It is replaced by device-nodes maintained by udev in /dev/bus/usb,
 libusb uses this device nodes.

 Mark the option as deprecated, and hide entirely for non-embedded builds
 (which may not be using udev but require raw USB device access)."

Kconfig entry:
"Modern Linux systems do not use this.

 Usbfs entries are files and not character devices; usbfs can't
 handle Access Control Lists (ACL) which are the default way to
 grant access to USB devices for untrusted users of a desktop
 system.

 The usbfs functionality is replaced by real device-nodes managed by
 udev.  These nodes lived in /dev/bus/usb and are used by libusb."


so yeah, I wouldn't rely on it :)

Cheers,
  Peter

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to