Re: close blocks, if FIFO full on gagdet serial

2013-01-15 Thread Petr Masek
Hi Felipe, thank you for advice. I've looked at your patch and it makes quite sense to me. But surprisingly, it doesn't help. So I've done a small investigation and I've added printk into "gs_flush_chars" and discovered, that it is never called. I suppose, that calling "tcflush(fd, TCOFLUSH)

Re: close blocks, if FIFO full on gagdet serial

2013-01-14 Thread Felipe Balbi
Hi, On Sun, Jan 13, 2013 at 08:09:14PM +0100, mas...@georadis.com wrote: > Hello guys, > I've found a following problems on BeagleBoard and Kernel 3.0.8 with > gadget serial driver. > > Attached is a small program, which opens gadget serial tty at > /dev/ttyGS0. USB is NOT connected to host. Then

Re: close blocks, if FIFO full on gagdet serial

2013-01-14 Thread Dan Williams
On Sun, 2013-01-13 at 20:09 +0100, mas...@georadis.com wrote: > Hello guys, > I've found a following problems on BeagleBoard and Kernel 3.0.8 with > gadget serial driver. > > Attached is a small program, which opens gadget serial tty at > /dev/ttyGS0. USB is NOT connected to host. Then it fills