rtgaa, startx wont work when st2205term is running with --dlo as st2205term will claim the DisplayLink screen before the X-Server gets a chance. If you log in through with the Picframe you should be able to kill the "st2205term --dlo" process then run startx from there. Im not sure how to build a pogoplug binary? Do you know if they are compatible with debian? Best way would be to coby petergunn - Displays
Yay! :-) There is a "giant" font - I'll add support for that in the next release. -PGby petergunn - Displays
I see a /root/st2205term-0.06 directory. That is where the binary should be now. You didn't specify your keyboard device so I'll assume its /dev/input/event0. In /etc/rc.local, before the "exit 0"... # directory where st2205term binary resides ST2205TERMDIR=/root/st2205term-0.06 # extra directory to search for libraries export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBby petergunn - Displays
> I don't mine doing 2 installs , I'm just confused how to do it. Compile v0.06 with both lidst2205 and libdlo support and let me know what directory you compiled it in and I'll give you the 2 lines you need for /etc/rc.local :-) I also need the device name for your picframe ( ls -al /dev/disk/by-id ). -PGby petergunn - Displays
> And 3rd option is that if you have both? If it is why not just use that line since either would work, right? Yes, but you need both libst2205 and libdlo installed to compile it. Most people will only have one or the other :-) > Maybe you can just install it the regular way that works for me. Then figure out what the commands lines and directory and file names for the other 2 optionsby petergunn - Displays
rtgaa, thanks for the feedback. I fixed the typo. For displaylink support you would specify --dlo in place of --picframe=/dev/sdX I've made a bunch of changes that are now in version 0.06... more key mappings (CTRL+A CTRL+B CTRL+F, TAB is fixed etc) key auto repeat is fixed hotplugging of both picframe and displaylink devices is supported - yay! Hot plugging is a bit tricky as youby petergunn - Displays
FYI - st2205term now has support for DisplayLink devices! (and its still only ~400 lines of code :-) -PGby petergunn - Displays
Yay! st2205term has its own website: http://jeff.doozan.com/debian/lcd/ Spread the word! :-) -PGby petergunn - Displays
rgtaa Wrote: ------------------------------------------------------- > Peter > Would there be a way that if I plugged in keyboard > , there would be way to have like control p or > control t and it would launch LCD program. I think twinpeaks instructions regarding using USB keypad to control the dockstar will probably work for regular keyboards as well. Another option iby petergunn - Displays
rgtaa Wrote: ------------------------------------------------------- > Peter > > Since we could plug in keyboard or mouse at any > time and it would work, I wonder if there is same > type of setting that could be used, so whenever > lcd is plugged in , the program launches. The 'right way' would be to write a udev rule that starts st2205term when the picfraby petergunn - Displays
Are you sure the pictures appear on the screen when they are uploaded? -PGby petergunn - Displays
I think the forum broke it I replied to your earlier post. To fix st2205term you need to specify a valid usb keyboard device with --keyboard=/dev/input/eventX The one you supplied looks like the Power Button on your laptop :-) To see what devices you have try: ls -al /dev/input/by-id and choose one that says 'event-kbd'. ls -al /dev/input/by-id LD_LIBRARY_PATH=/usr/local/lib .by petergunn - Displays
rat Wrote: ------------------------------------------------------- > petergunn Wrote: > -------------------------------------------------- > ----- > > Then you can download and test st2205term :-) > > checking for initscr in -lncurses... no > configure: error: Need ncurses to compile > librote. > > Stuck there. Might wanna add that to your install &gby petergunn - Displays
rat - thats it - you hacked it! To fix the screen offset - edit the spec file and change OFFX=4 and OFFY=4, cd hack/ and run ./assembleme, then cd st2205tool/ and run ./hackfw.sh /dev/sdX original-firmware.bin Should be that last flash you ever need to do on it. Then you can download and test st2205term :-) -PGby petergunn - Displays
rgtaa Wrote: ------------------------------------------------------- > Peter! > > Yes. As long as I keep it small font, I'm fine. I > can do apt-get update and edit using nano . > I don't know how to exit nano. Usually I use > control x but those commands might be next level > of keyboard commands. > Not sure what to do about that. > Nice joby petergunn - Displays
It is still does not look like it is assembling your hack. Try... cd st2205tool/hack for x in `ls -1d m_* | egrep -v 'm_coby_dp151|shift'`; do mv $x xxx_$x; done ./assembleme 2>&1 | tee /tmp/assemble.log Then attach /tmp/assemble.log -PGby petergunn - Displays
rgtaa Wrote: ------------------------------------------------------- > Peter > > I tried large font but small seems to work and it > didn't hang when I did apt-get update. So all good now? -PGby petergunn - Displays
rat Wrote: ------------------------------------------------------- > Dir was created, files were dumped and it had > something for hackfw to flash onto the lcd. > Renamed the dir, generated different files to > flash to the lcd after the original was > reapplied... same issues as before: Screen and > terminal hangs, LCD4linux hangs exactly the same > as before. Didby petergunn - Displays
rgtaa Wrote: ------------------------------------------------------- > I don't need this line anymore ,right? > /install/lcd4linux-0.11.0-SVN/lcd4linux -f > /root/lcd4linux-0.11.0-SVN/lcd4linux.conf nope - that can go or be commented out > I see it has tiny font is there a way to make > font a little bigger? --font=small or --font=large > LD_LIBRARY_PAby petergunn - Displays
rat Wrote: ------------------------------------------------------- > Deleted m_shift3 and trying again. > > Massive errorspam like before. Attached as file. Looks like generate-hack.pl succeeds in creating a hack, then it cd's to the hack directly and runs the 'assembleme' script to compile the hack which generates all the errors. The assembleme script tries to cby petergunn - Displays
rgtaa Wrote: ------------------------------------------------------- > What is the way to get this program to start on > start up? If you want to hack it into /etc/rc.local then it would be something like: LD_LIBRARY_PATH=/usr/local/lib ./st2205term --font=tiny --picframe=/dev/sdb --keyboard=/dev/input/event0 --keymap=./us.kmap </dev/null >/dev/null 2>&1 & Add itby petergunn - Displays
> ERROR: dissessembly of fwimage-seg0.bin failed! Did you remember to compile the da65 disassembler? This error means the following command failed... cd /home/rat/lcd/st2205tool/hack/m_shift3 /home/rat/lcd/cc65/src/da65/da65 -S 0x4000 --cpu 65C02 fwimage-seg0.bin Might be worth trying to run that directly and see if you get more info. -PGby petergunn - Displays
rat, I think you are pretty close to hacking it. Its probably hanging because the screen depth is wrong in the hack. Try reverting to the original firmware, modify generate-hack.pl and generate a new 24-bit hack. -PGby petergunn - Displays
Download the alpha2 version: http://jeff.doozan.com/debian/lcd/st2205term-alpha-0.02.tgz wget http://jeff.doozan.com/debian/lcd/st2205term-alpha-0.02.tgz tar xvfz st2205term-alpha-0.02.tgz cd st2205term-alpha-0.02 ./mak -PGby petergunn - Displays
As root try: chmod 600 lcd4linux.conf Also, I see you have a 24-bit device. You will probably have to edit the spec file and change it from 16-bit color. Then reflash specifying your original un-hacked firmware. I would... sudo -s # to become root ./phack -uf original-fwimage.bin /dev/sdb # back to original firmware vi generate-hack.pl # change CONF_BPP=16 to CONF_BPP=24 Then run gby petergunn - Displays
Try running generate-hack.pl as root. I think its failing to dump the firmware due to permissions. -PGby petergunn - Displays
Why not give the hack generating script a try? You may also need to make the one line code change to main.c and recompile phack. -PGby petergunn - Displays
Here is a picture of the picframe running lynx within st2205term... http://jeff.doozan.com/debian/lcd/IMG_3670_640x480.JPG http://jeff.doozan.com/debian/lcd/IMG_3667_640x480.JPG -PGby petergunn - Displays
Here is a slightly revised version with a better keymap file (spacebar should now work :-) Jeff has kindly provided some web space so you can download from http://jeff.doozan.com/debian/lcd/st2205term-alpha-0.02.tgz -PGby petergunn - Displays
Here we go - an alpha release for testing/feedback is attached. Its written in C with minimal bloat and supports color, curses, etc. The keyboard mappings are configured in a text file that can be modified to support different keyboards. To compile you need libst2205, libgd and librote. You should already have the first two installed as they are required for LCD4Linux but you may need to instaby petergunn - Displays