Hi,
r3wDy wrote:
As far as i know, your baseband is also connected to the uart. The
thing i want to know: should i modify the serial driver in any way?
Disable the afc feature? do you use the std. samsung driver from Ben
Dooks? Did you changed something? Can you provide
static void s3c24xx_serial_set_mctrl(struct uart_port *port, unsigned
int mctrl)
{
/* todo - possibly remove AFC and do manual CTS */
}
Yes you can but you need to implement this call. Then you can use this code:
/int cmstatus;
//
//ioctl(ttyS, TIOCMGET, &cmstatus);
////cmstatus &= ~TIOCM_RTS;
///cmstatus |= TIOCM_RTS;//
/ioctl(ttyS, TIOCMSET, &cmstatus);
you need to flush the buffer in the middle using tcdrain and wait the the
internal serial buffer is empty
unsigned int lsr = 0;
do {
ioctl(fd, TIOCSERGETLSR, &lsr);
} while (!(lsr & TIOCSER_TEMT));
Or use the RTS/CTS part like gpio pin
Michael
/
infos/patches on changes/base-band initializations?
Can you prove any information on enabling / using the baseband chipset
from the openmoko project which can help us out?
Any hep would be appreciated
greets from the meizu forums
Rudi