Re: [linux-usb-devel] Sysfs/kobject usage

2006-07-05 Thread Martin Rubli
Greg KH <[EMAIL PROTECTED]> wrote on 06/29/2006 08:43:08 PM: > > >>Is sysfs the right way to do such a thing or are there better > > >>alternatives? > > > > > >It all depends on what you want to do. If you can express things with > > >a single text value per file, sysfs is a good way to do this.

Re: [linux-usb-devel] Sysfs/kobject usage

2006-06-28 Thread Martin_Rubli
Alan, Alan Stern <[EMAIL PROTECTED]> wrote on 06/28/2006 07:09:12 AM: > On Tue, 27 Jun 2006, Martin Rubli wrote: > > > As an example, the tree structure could look something like this (slightly > > simplified): > > > > /sys/class/video4linux/video0/ > >| > >|--extension_units/ > >

Re: [linux-usb-devel] Sysfs/kobject usage

2006-06-28 Thread Alan Stern
On Tue, 27 Jun 2006, Martin Rubli wrote: > Dear all, > > Laurent Pinchart and I are currently working on adding support for > so-called UVC extensions to his USB Video Class driver > (http://linux-uvc.berlios.de/). > As an example, the tree structure could look something like this (slightly

Re: [linux-usb-devel] Sysfs/kobject usage

2006-06-27 Thread Greg KH
On Tue, Jun 27, 2006 at 02:09:49PM -0700, Martin Rubli wrote: > Applications could read from and write to extension units simply by using > the provided files. The mapping from the driver internal objects that > represent units, controls, etc. is pretty straightforward with the use of > kobje