Re: [RFC] USB: driver for iphone charging
Greg KH <[email protected]>
| Newsgroups | gmane.linux.usb.devel,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Aug 24, 2007 at 04:23:13PM +0200, Oliver Neukum wrote: > Am Freitag 24 August 2007 schrieb Alan Stern: > > On Fri, 24 Aug 2007, Oliver Neukum wrote: > > > > > This schedules the change via a workqueue, so you'll be reprobed. If you > > > fire of the first vendor command you are doing so before the configuration > > > is changed. How is this supposed to work? > > > > I would do it like this: > > That makes sense. However, Greg's version might work by putting > out a magic init sequence and then changing the configuration. > Then it would just be coded in an obscure way. Without any docs, this is all obscure :) > However, does this really belong into kernel space? We have been > knowing that user space infrastructure for configuration selection > is necessary and this seems like a fine starting point. The berry_charge driver is also one that might be done in userspace, but it turns out that people update their kernel much more than they do userspace packages... thanks, greg k-h ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel