HunterDavis.com 4.0!

20Sep/0933

Aliosa27’s new Z2 image with X, Audio, and KEYMOUSE

Aliosa27 continues his trend of FANTASTIC progress read on below

Continued from the last article post, from Aliosa27>>>

Here you go All..

For the ones that want a mouse with there existing images, note that you need
the uinput module and the evdev module .

If your running 2.6.29-r2 then here are the links

http://oracle.aliosa27.net/zipit2/ipk/zipit2/kernel-module-uinput_2.6.29-r2.3_zipit2.ipk

http://oracle.aliosa27.net/zipit2/ipk/zipit2/kernel-module-evdev_2.6.29-r2.3_zipit2.ipk

you will want them to load on boot..

Xorg will need the evdev driver. if your running any of the images I have posed then you allready have this.

Here is the link to a new image with audio,X,sound, and mouse supported.
http://aliosa27.net/projects/zipit2/zipit2-audio+x+mouse.gz

and here is a link to the userspace mouse driver.

http://aliosa27.net/projects/zipit2/z2mouseemu

does not fork so you will want to add it to your x startup script with an &

There is no config options at this point , there will at some point…
It is pretty basic, works for my needs…

dpad is mapped to mouse events
the center button,and the stop button are the 2 mouse buttons.

you can drag and whatnot as well….

One issue/2 issues to note are, keymapping is way of for number keys/etc// working on that today..and you only have basic up down left right controls on the mouse…..

Enjoy(more to come)

Comments (33) Trackbacks (0)
  1. Great work! We apreciate it! Can’t wait to load it up tonight!

  2. Can that kernel be loaded with the autoflasher from sourceforge?

  3. if your running the software that came with it out of the box , yes, if not, you need to simply dd the kernel in the boot directory of the tarball to mtd1..

    Forgot to mention that the startx command will startup xorg with mouse,etc

  4. Hey Aliosa27,

    So if we’re running r1, we should dd if=/kernelfile of= /dev/mtd1 , or is there some nuance to it? I seem to recall messing this up in the past…

  5. nope, thats it..dd if=/kernelfilenamehere of=/dev/mtdblock1

  6. Sweet, perhaps I was incorrectly setting a blocksize or something. Thanks

  7. For the hell of it, went and tested out video playback with mplayer (under fluxbox) and it’s working quite well with this image. About 45 minutes through The Relic so far, only issue has been minimal tearing every once in a while. All I did was recompress the video to fit the screen. I’ll test it out with a more active movie later, but so far this image is working great :)

  8. Hey Aliosa27,

    I just cc’d you on an email chain from myself and Peter (sweetlilmre). Anyway he’s about to drop a huge update with new kernel, new autoflasher that supports .31 etc etc and he’d like to get all your hard work up in the mainline sourceforge branch for others. Anyway hit me or (e) up and we’ll can merge form our collective works into voltron.

  9. Hey Karl,

    That’s great news about mplayer. Did you re-encode the audio to a lower bitrate? I am curious about the specifics of your resultant file. I (you/us/etc) can re-encode some public domain movie or show (Night of Living Dead? Last man on Earth etc etc) and I can host it up for others to DL. Maybe even stick a small one on a userland image for demo purposes. Very cool stuff.

  10. I had initially used the original audio stream, completely forgot to recompress the audio. I just finished recompressing another movie to xvid at 320×174@25fps, target quantizer 7, audio recompressed to 7KB/s. Audio quality is acceptable, and the video quality is still pretty good as well. Final file size was 150mb including opening and closing credits. A TV show episode should be around 50mb with those settings.

    I can do step by step instructions for recompressing videos to those settings, if anyone wants them. Once you have the video on the zipit, loading it with mplayer up from an xterm in fluxbos will load the video in a window, and you can fullscreen it from there.

  11. any chance of a video update running this new software?

  12. Hows the mouse working out? Should it be a little faster,slower

  13. So far the current mouse speed has been working well for me. The steps are small enough for usable precision, but it’s still fast enough that moving the mouse across the screen is not painful. However, lack of arrow keys does make some things problematic, for instance when running certain console apps in an xterm. Is there any possibility of setting it up to use a key combination, something like using Shift+D-pad to control the mouse?

  14. grab and save the latest z2mouseemu to your bin directory ….

    http://aliosa27.net/projects/zipit2/z2mouseemu

    smiley face is the modifier key…
    the mouse is a little faster now as well..

    I have been working on the messed up keymap and alt /shift is used to fix that…(almost done with that)

  15. Could we maybe get a | on the keyboard?
    Using a terminal without a | is not a lot of fun.

  16. Yep, give me a bit, tonight I will finish up the keyboard mapping stuff for the mouse emulator to handle..

  17. Aliosa27 – Great work on the new mouse emulation features.

    Anyone – What packages are needed to mount an NFS share? mount.cifs is also giving me the ‘cifs filesystem not supported’. Sorry for the basic questions, new to OE and more used to the OpenWRT world.

  18. Found the issue with NFS, things are going well with mounting and mplayer playback

  19. another short update to the mouse stuff, numbers now work with the alt modifier

  20. *Edit* the … button(aka shift) will get you numbers

  21. backslash, brackets are there now as well…I can not for the life of me figure out the |(pipe) issue, I was going to map it to shift+bs ..not working…

  22. In response to Jason’s comment to the previous post, VNC does work. Mouse input isn’t very good, and skips around a lot, but for basic use it should be somewhat usable. The biggest downside is the low resolution screen, it takes a lot of scrolling to view even a server running at 800×600. That said, keyboard input works well, it’s no worse than my N810. Using the Z2 as a tiny wireless keyboard with VNC works pretty well.

  23. Aliosa27 & Hunter,

    I mapped the “|” key to “Alt+Space” in the keymap that Hunter posted. Not sure if you’re using the same way (I used “loadkeys” before starting X/Xfbdev). Might be worth a try…

    Also Hunter, I finally got the bootstrapped debian system working (with no weird ipkg/dpkg errors). It was easier than I was making it out to be.

    While it’s possible the bitbaked ipkg system may be more optimized than the the debian “armel” packages (in size and binaries), either way the Debian route is another good one. I’ll have my “stripped” version to you shortly, with sound, battery level, and wifi. I may go ahead and include X as well…

    -Todd

  24. Todd, are you using a grip rootfs(debian grip is a smaller base).. I have an image i was getting ready to upload to SF with x/mouse/wifi and finally all the keys working..i prefer debian over oe…

  25. Aliosa27,

    Not with my current image–it’s bootstraped from the standard debian repositories. It’s actually pretty zippy, though the size is getting big (all those crazy xserver-xorg-* dependancies are a headache). Redoing it as a grip is a good idea. I’ll take a swing at that today or tomorrow. Btw, are you using the mouse emulator to handle keyboard mapping?

    -Todd

  26. Hey Todd,

    Fantastic work! I can’t wait to try your debian rootfs, let’s put it up on SF as well for others to work from :) . Very cool stuff.

    Aliosa27,

    Fantastic work as well! Please do still upload the OE image to SF, I think having both an OE tree and debian tree would be quite instructive for new z2 devs, even if everyone is in agreement OE < Debian.

    Des25,

    Yes! Mark and I are finishing up a new Z2 video "from stock Z2 to newest functionality (audio/video/mouse emu)" I hope to have it posted up by the end of this week. Should be a bit higher quality than my last shakeycam

  27. Todd, yes the mouse stuff is also doing keyboard remapping as well, and up next is pwm control over the lcd.

    What do we need to do to get permission to upload stuff to the openzipit sf

  28. I will upload a debian grip based rootfs later tonight, with the same functionality as the oe image

  29. Sweet can’t wait to try it out! But now what will I do with my cross compiling ps3……

  30. compile nexuiz for it…and kill kill kill

  31. Ha not a bad idea! Was doing scilab video processing but memory….scrunched. Reminds me of the z2 sometimes :) . Saw you got added to SF page finally. That’s good news!!

  32. Hey Des25,

    I finally posted that video, running through new features and a stock kernel flash. I still need to get a higher quality camera, but it should be a bit less shaky at least..

  33. I found your site on the net and read a some of your posts. Keep up the good work. Look forward to read more from you in the future.If interested in link exchange please contact me.


Leave a comment


No trackbacks yet.