Re: (Likely) regression in FTDI under 2.6.31

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

 



Jon Smirl schrieb:
> On Tue, Oct 20, 2009 at 4:00 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
>   
> I'm caught in this regression too, still broken in 2.6.31.5. I believe
> the hardware I'm using won't work without DTR/RTS turned on. So I
> suspect they aren't turned on by default anymore.
>
> I tried using picocom to force them on and I still couldn't get my
> hardware to respond. Chip is a FT232RL.
>
> I'm still poking around trying to figure out how to make it work again.
>   
Confirmed, RTS+DTR are dropped by default since 2.6.31.

It makes sense to enable them by default (if flow control is disabled
and baudrate is != B0) and this is what most other serial drivers do, too.
I will create a patch which restores the old behavior.

However, this is not really a kernel bug or regression.
If an application needs specific settings to work properly, it should
always set them explicitly.
Assuming that the driver will choose the needed settings by default is
bad application design.

Regards,
Frank Schaefer

--
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