User:Morlac
From Openmoko
m |
(suspend with sd_idleclk - reworked) |
||
Line 1: | Line 1: | ||
workaround for apm with debian@FR: | workaround for apm with debian@FR: | ||
− | first: turn off apmd | + | first: turn off apmd<br /> |
− | + | what's actually running for me is:<br /> | |
− | what's actually running for me is: | + | mv /usr/bin/apm /usr/bin/apm.o<br /> |
− | + | create /usr/bin/apm with following content:<br /> | |
− | mv /usr/bin/apm /usr/bin/apm.o | + | |
− | + | ||
− | + | ||
---- snip ---- | ---- snip ---- | ||
Line 16: | Line 13: | ||
---- snap --- | ---- snap --- | ||
+ | Another script:<br /> | ||
+ | /etc/apm/scripts.d/sd_idleclk and corresponding links in /etc/apm/suspend.d and /etc/apm/resume.d (don't forget to chmod +x /etc/apm/scripts.d/sd_idleclk) | ||
+ | ---- snip ---- | ||
+ | #!/bin/sh | ||
+ | SD_IDLECLK="/sys/module/glamo_mci/parameters/sd_idleclk" | ||
+ | [ -x "${SD_IDLECLK}" ] || exit 0 | ||
+ | |||
+ | case "${1},${2}" in | ||
+ | (suspend,*) | ||
+ | echo 1 > ${SD_IDLECLK} | ||
+ | touch /etc | ||
+ | ;; | ||
+ | (resume,suspend) | ||
+ | echo 0 > ${SD_IDLECLK} | ||
+ | ;; | ||
+ | esac | ||
+ | linklist: | ||
− | + | http://wiki.openmoko.org/wiki/Switching_Keyboards<br /> | |
− | + | http://wiki.openmoko.org/wiki/Boot_from_sd_card<br /> | |
− | http://wiki.openmoko.org/wiki/Switching_Keyboards | + | http://wiki.openmoko.org/wiki/Lint-wifi<br /> |
− | + | http://hdr.meetr.de/neo/openmoko/battery<br /> | |
− | http://wiki.openmoko.org/wiki/Boot_from_sd_card | + | http://www.ohli.de/download/xserver-xorg-input-tslib_0.0.5-1+fso1_armel.deb<br /> |
− | + | ||
− | http://wiki.openmoko.org/wiki/Lint-wifi | + | |
− | + | ||
− | http://hdr.meetr.de/neo/openmoko/battery | + | |
− | + | ||
− | http://www.ohli.de/download/xserver-xorg-input-tslib_0.0.5-1+fso1_armel.deb | + | |
Option "EmulateRightButton" "1" | Option "EmulateRightButton" "1" |
Revision as of 10:51, 2 September 2008
workaround for apm with debian@FR:
first: turn off apmd
what's actually running for me is:
mv /usr/bin/apm /usr/bin/apm.o
create /usr/bin/apm with following content:
---- snip ---- #!/bin/sh echo 1 > /sys/module/glamo_mci/parameters/sd_idleclk apm.o ${*} echo 0 > /sys/module/glamo_mci/parameters/sd_idleclk ---- snap ---
Another script:
/etc/apm/scripts.d/sd_idleclk and corresponding links in /etc/apm/suspend.d and /etc/apm/resume.d (don't forget to chmod +x /etc/apm/scripts.d/sd_idleclk)
---- snip ---- #!/bin/sh SD_IDLECLK="/sys/module/glamo_mci/parameters/sd_idleclk" [ -x "${SD_IDLECLK}" ] || exit 0 case "${1},${2}" in (suspend,*) echo 1 > ${SD_IDLECLK} touch /etc ;; (resume,suspend) echo 0 > ${SD_IDLECLK} ;; esac
linklist:
http://wiki.openmoko.org/wiki/Switching_Keyboards
http://wiki.openmoko.org/wiki/Boot_from_sd_card
http://wiki.openmoko.org/wiki/Lint-wifi
http://hdr.meetr.de/neo/openmoko/battery
http://www.ohli.de/download/xserver-xorg-input-tslib_0.0.5-1+fso1_armel.deb
Option "EmulateRightButton" "1"
Location
Trier, Germany
Contact
-----BEGIN CONTACT BLOCK-----
eMail: morlac@morlac.de Jabber:morlac@skavaer.homelinux.org ------END CONTACT BLOCK------ -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS$/IT;d-;s:;a?;C++(+++)>++++;UL++++;P++(+++)>++++; L++(+++);E---;W++;N(+);o?;K?;!w;!O;!M+>;!V;PS(+);PE; Y+;PGP++;t+(++);5(+)>++;X(+);R*;tv->+;b++(+++);DI++; D++(+++)>++++;G(+)>++;e+>+++;h-()>++;r++;y++; ------END GEEK CODE BLOCK------ Key-ID: 2949CB31 http://pgpkeys.pca.dfn.de/pks/lookup?search=0x2949CB31&fingerprint=on&op=vindex