Re: cdc-acm and remote wakeup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 26 Nov 2012, Oliver Neukum wrote:

> > I understand that probably there are problems in the firmware of the
> > modem (because it should not brick), but I'm trying to find a
> > workaround to have things working.
> 
> I am attaching a patch to introduce a new quirk type. You need to add
> your device to the list of quirky devices in drivers/usb/core/quirks.c
> with the new quirk type.
> You cannot solve this in the cdc-acm driver because there is an
> unsolvable race if your system is suspended after the device is enumerated
> but before the driver is loaded.

There are some problems in your patch.  For one thing, you prevented
do_remote_wakeup from being turned off in an unlikely path, but you
never turned it on in the likely path.  For another, it's impossible to
enable remote wakeup for an unconfigured device.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux