Re: [PATCH] sh-sci: fix transition from noflow to HW flow control

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

 



Hi Geert,

> > On calling close() sci_set_mctrl() and sci_shutdown() are called
> in this order.
> 
> OK, so it works on subsequent uses as the flag is kept in .c_cflag?

yes, indeed. If you close the port and open it again, the settings are correct and communication works.
Unfortunately e.g. hciattach opens the port, sets it to some defaults (115200, noflow) and then evaluates the command line values. This way the connection always fails if you specify flow control.


> > No, I haven't tried GPIO RTS/CTS so far. How would this be
> configured?
> 
> In DT, instead of specifying "uart-has-rtscts" and pinctrl for the
> "ctrl" group, you specify "rts-gpios" and "cts-gpios".

Thanks, I will have a look.




Regards,
Christoph
��.n��������+%������w��{.n�����{��ǫ����{ay�ʇڙ���f���h������_�(�階�ݢj"��������G����?���&��




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux