Re: Detecting host connection with gadget serial driver, and WARNING backtraces

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

 



On Fri, Jun 11, 2010 at 5:35 PM, David Brownell <david-b@xxxxxxxxxxx> wrote:
>
>
> > > Yeah, the rules for use of that
> > flag "evolved",
> > > but nobody patched that driver.
> >
> > The rule never changed, the bug trapping got better.
>
> So At least, the de-facto rule changed.  Such
> changes can be argued as bug fixes (and most
> developers have been in that situation), but
> in any case they remain changes. :)
>
>  Then for some reason
> > the patches keeps getting ignored
>
> I don't recall seeing a patch submitted which updates
> that driver to stop using the low_latency flag.
>

Please see the thread at [1].
[1] http://kerneltrap.org/mailarchive/linux-usb/2010/4/6/6259986

There were two approches discussed.
 (1) Setting tty->low_latency = 0 in u_serial.c
(2) Using the patch at [2] which uses a workqueue instead of tasklet
in u_serial.c

[2] http://marc.info/?l=linux-usb&m=126405382220848&w=2

Both of these approches solved the problem for me. I am not an expert
on this and would
like your opinion on which one is better.

Regards,
Maulik
--
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