lkml.org 
[lkml]   [2009]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: USB serial regression 2.6.31.1 -> 2.6.31.2
On Sat, 10 Oct 2009, Alan Stern wrote:

> On Sat, 10 Oct 2009, Josua Dietze wrote:
...
> > This is one of the mode switching devices. It is switched to modem
> > mode by "usb_stor_huawei_e220_init".
> >
> > Something keeps resetting it to initial mode. It might be a
> > powersave/suspend issue.
>
> It's not related to powersave or suspend. (Although both trace files
> show that the device's remote-wakeup feature did get enabled; I have no
> idea what code was responsible for doing that. AFAIK it shouldn't
> happen unless the device is about to be suspended.)

It turns out that the remote-wakeup enable _is_ the mode-switch
command. Don't ask me why the manufacturer decided to use an
pre-existing command to tell the device to switch modes.

Anyway, it's clear from the logs that the mode switch worked in both
cases. Initially the device shows only one interface, and after the
mode switch it shows four.

Alan Stern



\
 
 \ /
  Last update: 2009-10-10 22:47    [W:0.077 / U:4.332 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site