View Single Post
Old 04-17-2010, 11:13 AM   #9
Xaphiosis
Connoisseur
Xaphiosis doesn't litterXaphiosis doesn't litterXaphiosis doesn't litter
 
Posts: 52
Karma: 216
Join Date: Apr 2010
Device: PRS-T1
sol_barbez: wow, thanks, it looks like that may well be the device! The readers definitely have vizplex displays. I'll take a look at that and see if there's any extra info I can use.

patpat: thank you, I didn't realise the source was out there at all! Unfortunately, I can't do much with dll files, as I don't run windows. Maybe it'll work under wine, but I doubt it. In my initial investigation of the system, I don't see how we could run a shell over the USB interface. I may be too much of a noob to see it, but my instinct tells me the functionality would have to be added on the reader side too, not just on the PC side. Maybe someone crazy will figure out how to plug a usb network card into the reader along with the right drivers and go outwards rather than inwards? No idea. If you find out anything, could you throw it my way?

For everyone trying to read my post and not comprehending... I may not be explaining things very well.

If you check this thing I wrote: https://www.mobileread.com/forums/sho...953#post870953
then you'll see I'm doing a small modification to the firmware and then using porkupan/igorsk's loader to test-load the new firmware by putting it in the test/ directory on the reader's internal memory (READER). The loader executes the load_test.600.sh shell script which does the actual loading. What I'm doing is playing around with that script. So for example, my version of the script ends with:

Code:
# node internal memory is at this point mounted at /Data
# SD card is not
echo "Xaph diagnostics" >> $W_LOG
/bin/date
cat /proc/cpuinfo 2>&1 >> $W_LOG
echo "Uname:" >> $W_LOG
uname -a 2>&1 >> $W_LOG
echo "ASM:" >> $W_LOG
/Data/test/hello/hello_asm 2>&1 >> $W_LOG
echo "C:" >> $W_LOG
/Data/test/hello/hello 2>&1 >> $W_LOG
echo "FB:" >> $W_LOG
/Data/test/hello/fb 2>&1 >> $W_LOG
echo "End Xaph diagnostics" >> $W_LOG
This is the file in /test on READER along with the firmware (see guide). So every time I want to test it, I have to turn my reader off, turn it on, wait, remove the sd card, press vol+ and home and insert the sd card, press zoom, wait for script, wait for reboot, plug the reader in via usb, then examine READER/test/script.log to see what happened. Hardly optimal :/ sol_barbez, does this answer your question?

As far as I know, that's what the "Autorun from /Data" means, as "/Data" is where the reader's internal memory (READER) is mounted. What I want is to pop in an SD card and have the reader just magically run what's on it.

Another reason I'm not so understandable is that I've got a horrific headache for about three days now, and so instead of focusing on what I should be doing, I'm playing around with my reader. It makes me happier, distracts me, but sadly I'm no more coherent.

Once again, thanks everyone
Xaphiosis is offline   Reply With Quote