Results 1 to 5 of 5
  1. m0ngr31's Avatar
    Posts
    365 Posts
    Global Posts
    465 Global Posts
       #1  
    I'm trying to port ResidualVM, but seeing as how it's the first time I've ever attempted anything like this, I'm having problems (of course!). I've based everything I've done so far on the documentation to port ScummVM to webOS.

    I've got it all compiled to an IPK, but when I try launching it I get this from /var/log/messages
    Code:
    2012-05-22T02:09:36.011266Z [327] webos-device user.info jailer[4152]: Load jail com.m0ngr31.residualvm
    2012-05-22T02:09:36.012061Z [327] webos-device user.info jailer[4152]: Enter jail com.m0ngr31.residualvm
    2012-05-22T02:09:36.667387Z [328] webos-device user.err residualvm: PmLogLib: sem_open error: Permission denied 
    2012-05-22T02:09:36.854983Z [328] webos-device user.crit ls-hubd: {ls-hubd.private}: ERROR: No role file for executable: "/media/cryptofs/apps/usr/palm/applications/com.m0ngr31.residualvm/bin/residualvm" (cmdline: "/media/cryptofs/apps/usr/palm/applications/com.m0ngr31.residualvm/bin/residualvm -c /media/internal/ResidualVM/residualvmrc")
    2012-05-22T02:09:36.862784Z [328] webos-device user.crit ls-hubd: {ls-hubd.public}: ERROR: No role file for executable: "/media/cryptofs/apps/usr/palm/applications/com.m0ngr31.residualvm/bin/residualvm" (cmdline: "/media/cryptofs/apps/usr/palm/applications/com.m0ngr31.residualvm/bin/residualvm -c /media/internal/ResidualVM/residualvmrc")
    And this when I try to manually launch it from novaterm
    Code:
    root@m0ngr31TP:/# /media/cryptofs/apps/usr/palm/applications/com.m0ngr31.residualvm/start 
    
    (process:7077): LunaService-CRITICAL **: Error in /home/reviewdaemon/projects/nova/oe/BUILD-topaz/work/luna-service2-2.0.0-136/palm/submissions/136/src/transport.c:2439
    
    (process:7077): LunaService-CRITICAL **: Invalid permissions for com.m0ngr31.residualvm
    
    (process:7077): LunaService-CRITICAL **: Error in /home/reviewdaemon/projects/nova/oe/BUILD-topaz/work/luna-service2-2.0.0-136/palm/submissions/136/src/transport.c:2439
    
    (process:7077): LunaService-CRITICAL **: Invalid permissions for com.m0ngr31.residualvm
    Using configuration file: /media/internal/ResidualVM/residualvmrc
    Could not initialize video: SDL_HWSURFACE and/or SDL_DOUBLEBUF not supported
    I'm guessing it's an SDL error of some sort? Does anyone know of a way in scummVM config to disable an SDL check?
  2. #2  
    I'm not familiar with the APIs. But it sounds like you have a problem with security restrictions (jailer, permissions, role file).

    Probably need to figure out how to allow access using those role files?
    Pre -> Pre3 & TP32 -> Nexus 5
  3. m0ngr31's Avatar
    Posts
    365 Posts
    Global Posts
    465 Global Posts
       #3  
    Where would I even begin to look to start with that?
  4. #4  
    Quote Originally Posted by m0ngr31 View Post
    Where would I even begin to look to start with that?
    Google?

    I just had a look.
    Jason Robitaille mentioned that version 2.x brought the jailer to handle security:
    http://www.webosnation.com/homebrew-...vice-framework

    I expected
    Main Page - WebOS Internals
    to have something about it - but couldn't find anything there about "jailer".

    Most of all one would think that
    https://developer.palm.com/
    provides information about this - but "jailer" got me no hits in a local search there.
    But I'd browser there a bit and look around the forum.

    If all that fails perhaps PM Jason and see if he can provide a pointer..
    Pre -> Pre3 & TP32 -> Nexus 5
  5. m0ngr31's Avatar
    Posts
    365 Posts
    Global Posts
    465 Global Posts
       #5  
    I should have specified that I searched for a while before I posted. I was wondering if you knew of a specific place you had seen that I had missed. I'll look into what you posted though

Posting Permissions