I have a proof-of-concept app similar to Slugterm that will read a USB keyboard directly and render on the picframe using libst2205. I'll release it once it gets a bit further along. If you can figure out how to push images in real-time out to an AX20X or other device you might be able to adapt it for that as well. -PGby petergunn - Displays
I just hacked another Coby DP152. So far I haven't heard of one that can't be hacked. If anyone buys one from a well known merchant (such as Adorama or Amazon) please post your results. Most picframes need to be put into 'Update' mode before they can be used as a USB display. When they boot up you have to manually press a button when the menu asks which is less than ideaby petergunn - Displays
I just noticed that the 'correct' way to dump the memory is: ./phack -d whole-memory.bin ls -al whole-memory.bin /dev/sde perl -e 'undef $/; $_=<>; $o=0; while(/SITRONIX CORP/) { $o+=length($`); printf "offset=$o (0x%04x)\n",$o; $o+=length($&); $_=$'\'' }' whole-memory.bin I only get one match when I do this. # ls -al whole-memory.bby petergunn - Displays
According to the Driver webpage and Wikipedia, Monitor mode is supported but not Master mode. -PGby petergunn - Debian
How big is whole-memory.bin? Also, what offsets are the 'SITRONIX CORP' message at? ls -al whole-memory.bin perl -e 'undef $/; $_=<>; $o=0; while(/SITRONIX CORP/) { $o+=length($`); printf "offset=$o (0x%04x)\n",$o; $o+=length($&); $_=$'\'' }' whole-memory.bin -PGby petergunn - Displays
try: cat /dev/sde > whole-memory.bin strings -a -8 whole-memory.bin | grep SITRONIX -PGby petergunn - Displays
Looks identical to the ones I bought. Can't tell if its hackable just from the picture though. You might want to ask the seller if it the back of the package says "ACCESSORIES INCLUDED: CD With File Transfer Software for Windows and Macintosh". If it does there is a good chance its hackable. -PGby petergunn - Displays
Maxi, I suspect it may not work. I stumbled a post with an attachment that has a similar bad firmware dump to yours. You might recognize this pattern: # strings -a -8 attachment/modified-phack-firmware-dump/fwimage.bin | head -59 | tail -18 8 0((0 8 @ 8(00(8 @ H @(8008(@ H P H(@0880@(H P X P(H0@88@0H(P X ` X(P0H8@@8H0P(X ` h `(X0P8H@@H8P0X(` h p h(`0X8P@HH@P8X0`(h p x p(h0`8X@PHHP@by petergunn - Displays
Maxii, seem like a logical approach. I don't really have any ideas why you fwimage.bin looks strange. Can you try dumping it again? cd st2205tool ./phack -df fwimage.bin /dev/sde strings -a -8 fwimage.bin -PGby petergunn - Displays
You have a *lot* of devices plugged in :-) but the picframe is definitely /dev/sde Is the picframe plugged directly into the dockstar or into a USB hub? I'm thinking the firmware dump might actually be data from another device. -PGby petergunn - Displays
rgtaa, I'm not using anything special - my /etc/rc.local is a #!/bin/bash script which is different from #!/bin/sh which is really a link to dash rather than bash, but it probably doesn't matter. If you want to attach a large amount of data either use pastebin.com and use a link in your post or tar/gzip it as a file and attach it to you post. If you are not seeing any /tmp/startby petergunn - Displays
funtoy1001 Wrote: ------------------------------------------------------- > If I want to buy one now, what key words should I > use to have a better chance of getting a > "hackable" one? Try to find ones that look like the ones on the Picframe list Ask seller or look in buyer comments to see if it comes with a software CD (you want one that does). The new ones act likby petergunn - Displays
Maxii, post the output from... ls -al /dev/disk/by-id/ -PGby petergunn - Displays
That looks strange... try running strings on the first firmware segment. This is what I get... # strings -a -8 fwimage-seg0.bin | grep SITRONIX SITRONIX CORP. SITRONIXMULTIMEDIA 0.09 -PGby petergunn - Displays
> and I can't find anything in /tmp Aha - couple of issues... > #!/bin/sh -e Your /etc/rc.local uses sh rather than bash. I must have changed mine at somepoint. > /usr/bin/startx < /dev/null > /dev/null 2>&1 & > /usr/bin/startx < /dev/null > /tmp/startx_output.txt 2>&1 & > ... > and I can't find anything in /tmp You cby petergunn - Displays
Use the full path of all the files... /root/lcd4linux-0.11.0-SVN/lcd4linux -f /root/lcd4linux-0.11.0-SVN/lcd4linux.conf /usr/bin/startx < /dev/null > /dev/null 2>&1 & The commands will be run as root so make sure startx works when you are root and doesn't need anything that is mounted when 'mount -a' is executed. If startx isnt working change it to outpuby petergunn - Displays
> Yes! That did it. Yay! :-) > Peter is there a way to have it start on start up, right as it boots. General debian forums would be the best place for that sort of question. I just tend to stick anything I want to start on boot at the end of /etc/rc.local before the "exit 0" line. The /etc/rc.local gets executed after all the other boot up stuff has finished. Rememby petergunn - Displays
rgtaa Wrote: ------------------------------------------------------- > I am getting this error now, I did download it and > edit it. ... > security error: group or other have access to > './lcd4linux.conf' Its a LCD4Linux security thing. The following should fix it... chmod 600 lcd4linux.conf -PGby petergunn - Displays
I have attached a working (but not vert exciting lcd4linux.conf file). Give it a shot. wget -O - 'http://forum.doozan.com/file.php?2,file=38,filename=lcd4linux.conf,download=1' > lcd4linux.conf # edit the /dev/sdX line so it uses the right device chmod 600 ./lcd4linux.conf ./lcd4linux -F -v -f ./lcd4linux.conf -PGby petergunn - Displays
You are almost there. Backup the firmware from your last device. You can do it explicitly with phack rather than trying to intercept the copy that hackfw.sh creates... ./phack -df original-fwimage.bin /dev/sdX I know its a bit messy but there are so many different devices that many things can happen. Just got to muddle through until its hacked and you should be good to start setting up LCDby petergunn - Displays
I have attached the original Coby 152 hack config from the Picframe site. Download, extract, modify main.c as per instructions, recompile then hack... cd st2205tool/hack wget -O - 'http://forum.doozan.com/file.php?2,file=37,filename=m_coby_dp152.tar.gz,download=1' > m_coby_dp152.tar.gz tar xvfz m_coby_dp152.tar.gz cd .. perl -pi -e 'undef $/; $_=<>; s/\nint is_phby petergunn - Displays
rgtaa Wrote: ------------------------------------------------------- > I realized you meant 152 even though you wrote > 182. Well spotted - I actually thought it was a 182 - but you are right :-) I fixed the first post. > I would sure appreciate it if you take one of your > lcd's and just using your guide, do the installs, > because I'm having problems. I hby petergunn - Displays
maxii Wrote: ------------------------------------------------------- > i get.. > > svn: Network connection closed unexpectedly Your ISP may be firewalling SVN connections. Try downloading via FTP: # apt-get install ftp # ftp ftp.musoftware.de Name (ftp.musoftware.de:root): anonymous ftp> passive ftp> cd /pub/uz/cc65/snapshot/ ftp> get cc65-snapshot-sources-2.13.9by petergunn - Displays
rgtaa Wrote: ------------------------------------------------------- > Peter > Do we download these packages to cd/ tmp or > untar them from root directory. /tmp is a tmpfs filesystem so you'll lose the contents after root - including your original firmware which you will need if you ever want to reflash - so best to download somewhere more permanent. > Also, you migby petergunn - Displays
copy it to /lib/firmware/zd1211 cp zd1211-firmware/* /lib/firmware/zd1211/ You'll have to set up network interfaces to match your settings. If you are using WPA2 with PSK you need an entry like... auto wlan0 iface wlan0 inet dhcp wpa-ssid MY_ROUTER_SSID wpa-psk MY_ROUTER_PASSWORDby petergunn - Debian
twinpeaks Wrote: ------------------------------------------------------- > It would be really nice if there was a picture > frame that would fit directly onto the mini USB of > the dockstar. Does anybody know of such a model? Both my frames fit on the mini-USB but they face backwards and downwards :-( You would need to reverse the mini-B to get it to face forwards. -PGby petergunn - Displays
Maxi, that part of the script is trying to analyze the disassembly output from da65 to find something like... L6DEC: LDA $037c CMP #$31 BNE L73c1 LDA $037d CMP #$00 BNE L73c1 BRA L73d3 Its possible the da65 version from the .deb file installs with some different formatting options that might stop tby petergunn - Displays
Try... apt-get install xinit startx ...looks like I forgot xinit package in my original package list. I'll update my first post. Hopefully with startx the socket errors you listed will disappear. Attach your /var/log/Xorg.0.log if you still have problems. -PGby petergunn - Debian
rgtaa Wrote: ------------------------------------------------------- > What can you do with it, or what are you doing > with it. > > For music , on my dockstar I am running squeezebox > server and client, would it be possible to see > what music is playing like I can on my squeezebox > boom? I'm just using it to display basic CPU and Network stats on LCD4Liby petergunn - Displays
gorgone Wrote: ------------------------------------------------------- > not aviable in EU :-( only US Dealextreme has worldwide free shipping (although it takes weeks) and SKU5218 is listed on the Picframe site as being Sitronix based. The price is higher at $12 but this unit is free standing + takes regular AAA batteries so there is no lithium battery to wear out so it should be usableby petergunn - Displays