Is there a place where I can get information why a certain patches were put
in gumstix? Or if I can contact some person in this regards. I have been
trying to make the BTUART work for the past few days. After a lot of time
wasting, I figured out that a few patches put in the gumstix pxa.c file were
the reason I was having the problems.
This is what I see
1) Patch bugfix-serial-interrupt adds code to clear RTS before processing
any kind of interrupt and then assert it after finishing interrupt
processing. The problem here is that if I want no flow control, the RTS and
CTS will still not work correctly. I don't know why this patch was added. Is
it safe if I disable it if i am not using flow control? Also, There was a
patch released by the kernel team which fixes flow control for pxa.c. That
patch honours setting of CRTSCTS in termios options by user.
2) The Patch bugfix-serial-register-patch adds the register lsr and mcr to
various functions. In most of the places, the LSR is first read using lsr =
serial_in(up, UART_LSR); and then saved as up->lsr = lsr;
So the LSR status is always updated.
But in function unsigned int serial_pxa_tx_empty we don't update the state
of LSR. We just check the Transmitter empty condition on old value of LSR
and return.ret = up->lsr & UART_LSR_TEMT ? TIOCSER_TEMT : 0;
As the result, if the user check wants to see if the transmitter is empty
using ioctl(fd, TIOCSERGETLSR, &status); he will never get the correct
I would be glad if someone could give me information about these patches.
View this message in context: http://www.nabble.com/Patch-information-tp23601925p23601925.html
Sent from the Gumstix mailing list archive at Nabble.com.
Get latest updates about Open Source Projects, Conferences and News.