I am writing this list in hopes that someone somewhere knows about this issue and can shed some light on this for me. The system is an ipaq h5555 running either familiar (stripped debian) or intimate (full debian). This is not a hardware issue, the serial port works for other things, and this problem is reproducable on other peoples ipaqs.
I am writing a serial driver for my keyboard on my ipaq. I have stumbled into an odd problem. (the broken code is at http://www.0xdecafbad.com/kbdd/ just to stave off requests to post code). The serial port is to be 9600 8N1 with no flow contorl. That appears to be working, however there is a 5-8 second delay. If read() is blocking it will block forever. If non blocking it will say there is no data exactly 490 times then return all data in buffers, and repeat. Eachtime it is exactly 490 times that read() reports no data available. Were this just a time issue when blocking is enabled it would eventually return, but this is not the case. I have played with a usleep delay in the program and that delay has no effect. If I double the delay it is still 490 times. Any help would be appreciated, a 5 second delay on keyboard input is not good. -- Trixter http://www.0xdecafbad.com/
signature.asc
Description: This is a digitally signed message part