lkml.org 
[lkml]   [2008]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] usb: add sysfs configuration interface for CP2101
On Mon, Mar 03, 2008 at 10:07:41AM -0500, Alan Stern wrote:
> On Mon, 3 Mar 2008, Dirk Eibach wrote:
>
> > From: Dirk Eibach <eibach@gdsys.de>
> >
> > The usb configuration data for the Silabs CP2101 usb to uart bridge
> > controller can be customized:
> > - Vendor ID
> > - Product ID
> > - Power Descriptor
> > - Release Number
> > - Serial Number
> > - Product Description String
> >
> > Silabs provides a windows-only tool to do that.
> > Since we use linux-only machines in our production-environment, we have no
> > proper way to customize the chips for our purpose.
> > So I added sysfs configuration support to the linux driver.
>
> Surely this sort of thing is better done in userspace, with libusb.

I agree, any reason why you have not tried that? Adding files like
"vendor_id" to an interface directory in sysfs could cause a lot of
people to get very confused, very quickly :)

thanks,

greg k-h


\
 
 \ /
  Last update: 2008-03-03 17:33    [W:0.185 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site