#uname -a
Linux tz-hpmini 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 18:40:08 UTC 2009 i686 GNU/Linux
Does not fix this. It sounds like my problem, but only happens when the buffer overruns.
I will try one of the 2.6.29 kernels and/or Karmic when I get a chance.
For example, using http://www.sparkfun.com/commerce/product_info.php?products_id=9115 (or the 3.3v version) and shorting TXO to RXI, then do (at 57600/pass8):
cat /dev/ttyUSB0
cat testfile >/dev/ttyUSB0
it will work, and it will work if you just send a small file with the second command then run the first. But if you copy a larger file (I don't know the precise boundary) it will lock up, fail, and require a reboot.
I generally can't get it to lock up if there is something reading all the characters back, or the data rate of the input is slow (even if I leave it for a short while, but more than long enough to get any local buffers filled up).
#uname -a
Linux tz-hpmini 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 18:40:08 UTC 2009 i686 GNU/Linux
Does not fix this. It sounds like my problem, but only happens when the buffer overruns.
I will try one of the 2.6.29 kernels and/or Karmic when I get a chance.
For example, using http:// www.sparkfun. com/commerce/ product_ info.php? products_ id=9115 (or the 3.3v version) and shorting TXO to RXI, then do (at 57600/pass8):
cat /dev/ttyUSB0
cat testfile >/dev/ttyUSB0
it will work, and it will work if you just send a small file with the second command then run the first. But if you copy a larger file (I don't know the precise boundary) it will lock up, fail, and require a reboot.
I generally can't get it to lock up if there is something reading all the characters back, or the data rate of the input is slow (even if I leave it for a short while, but more than long enough to get any local buffers filled up).
tz@tz-hpmini: ~/Downloads/ pulse1$ cat logs/acc3.log >/dev/ttyUSB0
bash: /dev/ttyUSB0: Input/output error
After it locks up:
tz@tz-hpmini: ~/sbnok/ tzgpsd/ minigpsd- 0.31/sample+ utils$ lsmod | grep ft
ftdi_sio 56968 0
usbserial 39656 2 ftdi_sio