Re: Regarding pl2303.c

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

 



On Thu, Mar 22, 2012 at 01:19:43PM +0100, Søren holm wrote:
> Hello Johan Hovold
> 
> I'm writing to you because I see that you have done substanssial work on the 
> pl2303-driver within the linux kernel.
> 
> In the driver I see that the DTR/RTS control lines are always activated when 
> changing baudrate. This is not the case for other usb2serial adapters.
> 
> 
>         if ((cflag & CBAUD) == B0)
>                 priv->line_control &= ~(CONTROL_DTR | CONTROL_RTS);
>         else
>                 priv->line_control |= (CONTROL_DTR | CONTROL_RTS);
> 
> 
> Do you know if if the behavior is correct. I manualy control DTR/RTS in an 
> application and also change baudrate. In my aplication it is important that I 
> can change baudrate without affecting DTR/RTS

You're right -- the control lines should not be raised unless switching
from B0. I'll respond to this mail with a patch that will fix pl2303.

Thanks for catching this,
Johan
--
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