TuxOnIce + hibernate-scriptã¨ãµã¦ã³ãã«ã¤ãã¦
復帰å¾ã«ä¸å ·åãèµ·ããå ´åã«ã¯ãµã¼ãã¹åæ¢/èµ·åã§åé¿ãã
TuxOnIceãå®è¡ããããã«ä½¿ç¨ããhibernate-script*1ã«ã¯èªåã§ãµã¼ãã¹ãåæ¢/éå§ãã*2æ©è½ãããããµã¦ã³ãããã®1ã¤ã¨ãªã£ã¦ãã¦ãGentoo Linuxã§ã¯ã/etc/init.d/alsasoundã使ç¨ãããã
ä¼æ¢ç¶æ
ããã®å¾©å¸°å¾ã«ãµã¦ã³ãæ©è½ã«ä¸å
·åãåºãå ´åã«ã¯
ãã¡ã¤ã«å: /etc/hibernate/common.conf
RestartServices alsasound
ãRestartServicesãã§ãã£ã¹ããªã®/etc/init.d/以ä¸ã®ALSAã«é¢ããã¹ã¯ãªããã®ååãæå®ãããã¨ã§ãhibernate-scriptã®å®è¡æã«èªåçã«ãä¼æ¢åã«åæ¢ã»å¾©å¸°å¾ã«éå§ããã¦ä¸å ·åãåé¿ããããã«ãªã£ã¦ããã
ãã¤ããã¼ã·ã§ã³ã§ã¯ãªã¼ãã£ãªã¢ããªã±ã¼ã·ã§ã³ã®ç¶æ ã¯ä¿åã§ããªã
çµäºãã¦ãã¾ãã¢ããªã±ã¼ã·ã§ã³ã復帰å¾ã«èªåèµ·åããã
ãªã¼ãã£ãªã¢ããªã±ã¼ã·ã§ã³ã¯ããä¼æ¢ããããã¨ã«ããç¶æ ã®ä¿åã¯åºæ¬çã«ã§ããªããã¾ãããµã¦ã³ããµã¼ãã¹ãåèµ·åããã¨çµäºãã¦ãã¾ãã¢ããªã±ã¼ã·ã§ã³ããããããçµäºãã¦ãã¾ãã¨åé¡ãããå ´åã¯ã復帰å¾ã«èªåã§èµ·åããããã«ãããå ·ä½çã«ã¯ãTuxOnIceの休止と復帰の実際(3.0-rc1の時点)ãã«è²¼ã£ã¦ããhibernate-scriptã®ã©ããã¼ã¹ã¯ãªããã®ãsudo /usr/sbin/hibernate ${HIBERNATE_OPT}ãã®è¡ã®å¾ãã«
LC_TIME=C gkrellm & qjackctl &
ãªã©ã®ããã«ãã¦èªåèµ·å*3ããããã®ã追å ãããä¸ã®ä¾ã§ã¯GKrellM*4ã¨QjackCtlã
ç¶æ ã®ä¿åã«ã¤ãã¦
ä¸ã«ãæ¸ããããã«ãç¶æ
ä¿åã«é¢ãã¦ã¯åºæ¬çã«ã§ããªãããLASH対å¿ã¢ããªã±ã¼ã·ã§ã³ã¯ãã»ãã·ã§ã³ãä¿åãããã¨ã§ç¶æ
ã復å
ãããããªã£ã¦ãããé対å¿ã®ãã®ã§ããJACK Audio Connection Kitã®ãã¼ãæ¥ç¶ç¶æ
ã«é¢ãã¦ã¯QjackCtlã®Patchbayæ©è½ã§ããç¨åº¦å¶å¾¡ã§ããã
é¢é£è¨äº:
æå ã®ç°å¢ã§ã®è¦ãæ¸ã
æå
ã®ç°å¢*5ã§ã¯ãALSAã®ãã©ã¤ããã©ã¤ãã©ãªãªã©ã1.0.16ã«ããåã¾ã§ã¯åé¡ããªãã£ãã®ã ããALSAã®ãã¼ã¸ã§ã³ã1.0.16ã«ãã¦ããã¯ä½æ
ã復帰å¾ã«é³ãåºãªããªã£ã¦ãã¾ããALSA以ä¸ãã¢ã¸ã¥ã¼ã«ã«ããä¸ã§ãRestartServicesãæå®ãããã®ã®ä½æ
ããã¡*6ã§ãæå³ããåä½*7ã«ãªããªãã£ãã
試è¡é¯èª¤ã®å¾ããä¼æ¢åã«ãµã¦ã³ããåæ¢ãã復帰ã®æ©ã段éã§ãµã¦ã³ããéå§ãã¨ããå½¢ã«è½ã¡çããããUnloadAllModulesã*8ã¯æå®ãããALSAé¢ä¿ã®ã¢ã¸ã¥ã¼ã«ããUnloadModulesãã§åå¥ã«æå®ãããã¨ãè¡ã£ã¦ããªãã
ãã¡ã¤ã«å: /etc/hibernate/common.conf
GentooModulesAutoload yes StopServices alsasound OnResume 94 /etc/init.d/alsasound start
ä¸ã®2è¡ã®ä»£ããã«ãOnResume 94 /etc/init.d/alsasound restartãã§ãé³´ãããã«ã¯ãªã£ãããQjackCtlãåãããã¾ã¾ä¼æ¢ããã¨ãALSA(seqé¢é£)ã®ã¢ã¸ã¥ã¼ã«é¢ä¿ã§ç¢ºå®ã«å¾©å¸°å¾ã«åºã¾ã£ã¦ãã¾ã£ããããä¸ã®å½¢ã«ãªã£ãã
ãGentooModulesAutoload yesãã®é¨åã¯ãä»ã®ãã£ã¹ããªã®å ´å
LoadModulesFromFile [èµ·å/復帰æã«èªåã§èªã¿è¾¼ã¾ããã«ã¼ãã«ã¢ã¸ã¥ã¼ã«ã®ãªã¹ããã¡ã¤ã«]
ãæå®ãããèªåã§èªã¿è¾¼ãã¢ã¸ã¥ã¼ã«ä¸è¦§ãã¡ã¤ã«ã¯ãDebian/Ubuntuã§ã¯/etc/modulesã«ãªã£ã¦ããã
(2008/8/31)Linux 2.6.26 + ALSA 1.0.17ã§ã¯ããµã¦ã³ãã«ã¼ãã®ãã©ã¤ããã«ã¼ãã«çµã¿è¾¼ã¿ã«ãã¦ãã復帰å¾ã«é³ãåºãªããªãã¨ãããã¨ã¯ãªããªã£ãã
使ç¨ãããã¼ã¸ã§ã³:
*1:uswsuspã¨sysfsã使ç¨å¯è½
*2:/etc/init.d/以ä¸ã®ã¹ã¯ãªãããå¶å¾¡ãã
*3:GUIã®ã¢ããªã±ã¼ã·ã§ã³ã¯åºæ¬çã«ã&ããä»ãã¦ããã¯ã°ã©ã¦ã³ãèµ·åãã
*4:ãalsamixerとamixer、GUIのミキサーãã§æ¸ãã¦ãããVolume Pluginãã使ç¨ãã¦ãã
*5:ãK9NU Neo-Vãã¨ãããã¶ã¼ãã¼ãã®ãªã³ãã¼ããµã¦ã³ãã§ããã©ã¤ãã¯ãhda-intelããã«ã¼ãåã¯ãHDA ULI M5461ãããããåã¯ãRealtek ALC883ã
*6:æ£ç¢ºã«ã¯ã復帰å¾ã«æåã§ãsudo /etc/init.d/alsasound restartããå®è¡ããã°ãã¾ããã£ãã®ã ããããã§ã¯ä¸ä¾¿
*7:èªåã§ã復帰å¾ã«é³ãé³´ããã¨ããç¶æ ã«ãã
*8:ä¼æ¢åã«ã«ã¼ãã«ã¢ã¸ã¥ã¼ã«ãå ¨ã¦åé¤ãããå ´åã«ãyesããæå®