On Tue, 7 Sep 2004, Alan Stern wrote:
> In both places the code needs to do something like this:
>
> struct usb_host_config *actconfig = udev->actconfig;
>
> if (!actconfig)
> return 0;
> len = usb_string(udev, actconfig->desc.field,...
>
> Otherwise we run the r
On Fri, 3 Sep 2004, Alex Kanavin wrote:
> On Fri, 3 Sep 2004, Oliver Neukum wrote:
>
> > + udev = to_usb_device (dev); \
> > + if (!udev->actconfig) \
> > + return 0;
On Fri, 3 Sep 2004, Oliver Neukum wrote:
> + udev = to_usb_device (dev); \
> + if (!udev->actconfig) \
> + return 0; \
> + len = usb_string(ud
> write one. This would allow userspace to do really nifty things, for
> example accessing the phone filesystem, and exchanging contacts and
Cool stuff.
+ udev = to_usb_device (dev); \
+ if (!udev->actconfig)
Hi everyone,
this patch adds exporting of configuration and interface strings to sysfs.
My first ever attempt at making a kernel patch, so if there are any
stupid mistakes, tell me and I'll fix them.
Anyway, both configuration and interface strings are present on my Nokia
7610 phone, which can