I have mightyohm's Asus WL-520GU hack installed, have OpenWRT up and running, successfully using mpd, all of that is happy.
For a project I'm doing, I wanted to use python to parse RSS feeds out to a display and periodically refresh the display with new information.
I followed the instructions on the Buck Up Chinny Blog http://lizard43.blogspot.com/2009/03/tw ... -xbee.html and got python, pyserial and feedparser (to help with the RSS parsing) installed on a USB stick under an /opt directory. Had a few glitches but that seems to be working.
What I want to do is refresh the parsed RSS feed to the display every 20 seconds or so out to an arduino through the USB (FTDI) serial on the arduino. Note: this is not going through the added serial header as mightyohm has detailed, but through the USB connector on the arduino. I had to install the kmod-usb-ftdi pkg to do this.
I have a script that I start up like so from a command line:
Code: Select all
nohup wunderground.py &
After about 8 hours, logread reports that the script ends. After that, I get I/O errors on the USB stick and can't remount it. I have to reboot to be able to mount and start over again.
Anyone have a guess as to what's happening? Does nohup just time out, or does the USB stick need to be repolled somehow (it looks like it's faking scsi)?
Should I try running this as an /etc/rc.d script?
Any suggestions on resolution or areas of research gratefully accepted.
TIA