Author Topic: 3.5.2 Gpe On Collie No Suspend/resume?  (Read 5354 times)

bit_bucket

  • Newbie
  • *
  • Posts: 40
    • View Profile
3.5.2 Gpe On Collie No Suspend/resume?
« on: December 01, 2004, 04:29:30 pm »
I love the 3.5.2 OZ GPE image, however as mentioned elsewhere in this board, you cannot turn the device back on after turing it off without having to reset the unit.  Is there a work around for this???  I know there have to be some 5500 users out there using the GPE OZ image.

MonkeyMuffins

  • Newbie
  • *
  • Posts: 20
    • View Profile
3.5.2 Gpe On Collie No Suspend/resume?
« Reply #1 on: December 01, 2004, 08:52:13 pm »
Had the same problem.  Had to switch to OPIE for the moment.  I saw in a forum that it is being worked on but there is not a workarund that I have seen yet.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
3.5.2 Gpe On Collie No Suspend/resume?
« Reply #2 on: December 02, 2004, 05:56:27 am »
Have you tried the snooze binary? Not sure if it'd still work, but worth a try.

http://handhelds.org/~mallum/snooze

(I just tried this and gave up waiting, is hh.org back up? If not I'm sure someone has a copy, as do I at home).


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

papercrane

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • http://reversefold.com
3.5.2 Gpe On Collie No Suspend/resume?
« Reply #3 on: December 03, 2004, 03:59:07 pm »
I use a simple suspend.sh. No need for a binary.

#!/bin/sh
echo 1 > /proc/sys/pm/suspend

macwiz

  • Full Member
  • ***
  • Posts: 151
    • View Profile
    • http://www.macwiz.co.uk
3.5.2 Gpe On Collie No Suspend/resume?
« Reply #4 on: December 08, 2004, 11:10:24 am »
I have this problem too.

Worked out how to use snooze (put it in /bin of course) and type snooze from command line. Only works if using root shell or logged in as root. Also does not add On/Off button functionality.

Any other ideas folks?

Thanks
« Last Edit: December 08, 2004, 06:40:33 pm by macwiz »
Macwiz
c860, never quite lived up to my expectations... my fault I guess
17in MacBook Pro lovely xxxx
iPhone 3G ummm
SE P990i with UIQ3. Never enough RAM.
Pocket Loox 720 used for designing ebooks. Just don't like it though!

macwiz: apple mac support in Oxfordshire
Twitter: @boffinboy

anunakin

  • Sr. Member
  • ****
  • Posts: 340
    • View Profile
    • http://vivaphp.net
3.5.2 Gpe On Collie No Suspend/resume?
« Reply #5 on: December 14, 2004, 02:58:55 pm »
How I create a icon to it on GPE?
[img]http://www.vivaphp.net/imagens/rev2.jpg\" border=\"0\" class=\"linked-sig-image\" /]
Anunakin (Marcus Fazzi)

Nokia N900 32GB + microSD 2GB
Nokia N810 w/ microSD 8GB
Nokia 5310 XpressMusic w/ microSD 1GB
HP48GX->Psion Sienna->Palm m130->Tungsten T->Zaurus SL-5500->C3000->C3100 ALL SOLD

My FEED(On Line AGAIN!!!)

fido

  • Newbie
  • *
  • Posts: 5
    • View Profile
3.5.2 Gpe On Collie No Suspend/resume?
« Reply #6 on: December 15, 2004, 12:45:55 pm »
i did a quick hack to make the extra buttons (calendar, power button, ..) work under gpe.

file to map extra keys for X collie.xmodmap:
keycode 96 = XF86Calendar
keycode 97 = telephone
keycode 48 = XF86Start
keycode 98 = XF86Mail

# xmodmap collie.xmodmap

the matchbox-wm has builtin keylaunch support which isn't compatible with the keylaunch-daemon started in /etc/X11/Xsession.d/90keylaunch. So i removed the file.

/usr/share/matchbox/kbdconfig:
### Extra keys:
XF86Calendar=!!gpe-calendar  
telephone=!!gpe-contacts    
XF86Start=desktop          
XF86Mail=!!dillo                                    
XF86Music=!!gpe-nmf        
Escape=close                
XF86PowerDown=!apm --suspend

So when the Cancel-Button is pressed for a few seconds, the XF86PowerDown Keycode is sent and as a consequence apm --suspend is called.

there is one drawback when loading the usbdmonitor module (to get rid of the "device not accepting address 3, error -71" problem):
suspending needs about 10 secondes becaue the module is waiting for a synchronisation (writing to /proc/usb-monitor ) of the hotplug script.
but the /proc/usb-monitor is read-only!!
so there is a need for a kernel-patch i think

for the first i hope this helps someone.

hermann

stars

  • Newbie
  • *
  • Posts: 44
    • View Profile
3.5.2 Gpe On Collie No Suspend/resume?
« Reply #7 on: January 06, 2005, 09:18:05 pm »
Is there a patch for this? hmm....  

stars

  • Newbie
  • *
  • Posts: 44
    • View Profile
3.5.2 Gpe On Collie No Suspend/resume?
« Reply #8 on: January 08, 2005, 01:03:10 pm »
Fido, Mine is a SL5600. Tried your method and it does not work for me.
Any suggestion?

fido

  • Newbie
  • *
  • Posts: 5
    • View Profile
3.5.2 Gpe On Collie No Suspend/resume?
« Reply #9 on: January 09, 2005, 03:40:24 pm »
Sorry, but  I don't know anything abour the SL-5600, I have a SL-5500.
The key settings are now in openembedded in will be included in the next OZ release.

stars

  • Newbie
  • *
  • Posts: 44
    • View Profile
3.5.2 Gpe On Collie No Suspend/resume?
« Reply #10 on: January 09, 2005, 09:59:35 pm »
seems like xmodmap is missing in the GPE release for the 5600.
How can I get it?

drs9222

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • http://
3.5.2 Gpe On Collie No Suspend/resume?
« Reply #11 on: February 09, 2005, 09:21:04 am »
Quote
So when the Cancel-Button is pressed for a few seconds, the XF86PowerDown Keycode is sent and as a consequence apm --suspend is called.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=57497\"][{POST_SNAPBACK}][/a][/div]

hermann

I can't get my Collie to resume after holding in cancel.  I think I might be misunderstanding your post.  So, this is what I did and maybe you can tell me where I went wrong:

1.  executed:
ipkg install xmodmap
   
2. created file collie.xmodmap:
keycode 96 = XF86Calendar
keycode 97 = telephone
keycode 48 = XF86Start
keycode 98 = XF86Mail

3. executed:
xmodmap collie.xmodmap
rm /etc/X11/Xsession.d/90keylaunch

4. insetred into /usr/share/matchbox/kbdconfig under ### Extra keys:
XF86Calendar=!!gpe-calendar
telephone=!!gpe-contacts
XF86Start=desktop
XF86Mail=!!dillo
XF86Music=!!gpe-nmf
Escape=close
XF86PowerDown=!apm --suspend
SL 5500:
ROM:        OZ-OPIE 3.5.4
NET:         Proxim Harmony 802.11b
MEDIA:      Viking 256MB CF
                Lexar 64MB CF
                Kingston 128 MB SD

HP Pavilion a250n:
OS:          Gentoo