View Poll Results: Do you use Linux for Palm Pre ?

Voters
5. You may not vote on this poll
  • Yes ,and It works flawlessly

    2 40.00%
  • Yes, but I need help to fix gliches

    2 40.00%
  • No, I prefer other plateforms

    1 20.00%
  • No answser

    0 0%
Multiple Choice Poll.
Results 1 to 11 of 11
  1. rzr
    rzr is offline
    rzr's Avatar
    Posts
    17 Posts
       #1  
    Hi,
    Let me open this thread dedicated to GNU/Linux users :

    To start, if it helps here is a short tutorial :

    http://www.newlc.com/en/palm-webos-sdk-delayed

    BTW, any of you can hack qemu ?

    regards
  2. #2  
    Trying to run the Pre VM in qemu on openbsd/amd64 doesn't work -- qemu segfaults. qemu also complains about the video mode not being half VGA, but that can't be helped -- might be why qemu crashes.

    Better luck may be had on VirtualBox under Linux, but it might be fun to try getting qemu to work in a different environment.
  3. #3  
    It nearly works with qemu. qemu -cdrom grub.iso nova-cust-image-sdk47.vmdk -boot d -vga std

    With "vga std" you can manually choose the 640x480x32 mode and the Pre GUI will start.
    Ludo

    www.palmopensource.com - The PalmOS/WebOS open source portal
    Palm IIIx -> Palm Tungsten T -> Sharp Zaurus -> Pre? Android?
  4. #4  
    It still crashes for me -- maybe it's my qemu version. Which are you running?
  5. #5  
    Also of note: the Mac SDK version seems to have a Java version of the emulator(!)

    I can't run it, though, I get a java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM exception. Maybe someone on a 32 bit machine could try verifying too.
  6. rzr
    rzr is offline
    rzr's Avatar
    Posts
    17 Posts
       #6  
    No the emulator is the same image :

    /usr/local/opt/PalmSDK-Mac-0.3.4-8/applications/Palm Emulator.app/Contents/Resources/Images/sdk47/nova-cust-image-sdk47.vmdk

    Note: I packaged unpkg for debian to extract the stuff, ask me if needed

    Do you have mouse working on qemu ?

    ps: I updated the tutorial
  7. #7  
    Quote Originally Posted by rzr View Post
    Do you have mouse working on qemu ?
    The mouse works but the Pre does not like the 640x480 resolution. If you randomly move the mouse and click you'll see some things happening. The -show-cursor option might help.
    The same thing happens with virtual box if you choose a 640x480 mode instead of 320x480.
    Ludo

    www.palmopensource.com - The PalmOS/WebOS open source portal
    Palm IIIx -> Palm Tungsten T -> Sharp Zaurus -> Pre? Android?
  8. #8  
    And to have ssh access:

    qemu -cdrom grub.iso nova-cust-image-sdk47.vmdk -boot d -show-cursor -net nic -net user -redir tcp:2222::22

    (in fact, -vga std is not needed, just choose the 640x480x16 videomode)
    Ludo

    www.palmopensource.com - The PalmOS/WebOS open source portal
    Palm IIIx -> Palm Tungsten T -> Sharp Zaurus -> Pre? Android?
  9. #9  
    In fact the pseudo touch panel is managed by hidd, and there is a plugin specific to virtualbox (see /etc/hidd/HidPluginsVbox.xml), that's why it does not work with qemu...
    Ludo

    www.palmopensource.com - The PalmOS/WebOS open source portal
    Palm IIIx -> Palm Tungsten T -> Sharp Zaurus -> Pre? Android?
  10. #10  
    Another try with qemu:

    1- qemu -cdrom grub.iso nova-cust-image-sdk47.vmdk -boot d -show-cursor -net nic -net user -redir tcp:2222::22 -usb -usbdevice wacom-tablet
    2- ssh -p 2222 root@localhost
    3- vi /etc/event.d/hidd , and replace PLUGINS=/etc/hidd/HidPluginsVbox.xml with PLUGINS=/etc/hidd/HidPluginsQemu.xml
    4- shutdown -r now

    Now Luna segfaults each time I click !!! :-(
    Code:
    2009-07-01T13:03:13.686331Z [165] qemux86 kern.info kernel: LunaSysMgr[1264]: segfault at 1c ip 08053322 sp bfb49870 error 4 in LunaSysMgr[8048000+e4000]
    Ludo

    www.palmopensource.com - The PalmOS/WebOS open source portal
    Palm IIIx -> Palm Tungsten T -> Sharp Zaurus -> Pre? Android?
  11. #11  
    Quote Originally Posted by rzr View Post
    No the emulator is the same image :

    /usr/local/opt/PalmSDK-Mac-0.3.4-8/applications/Palm Emulator.app/Contents/Resources/Images/sdk47/nova-cust-image-sdk47.vmdk

    Note: I packaged unpkg for debian to extract the stuff, ask me if needed

    Do you have mouse working on qemu ?

    ps: I updated the tutorial
    The *emulator* appears to be in Java, not the actual software image. Look at Palm Emulator.app/Contents/Resources/Jars.

Tags for this Thread

Posting Permissions