help.... saya baru saja install mandrake 7.1 . Tapi sound cardnya tidak dapat terdeteksi... katanya belum support. Lalu saya cari di opensound.com dan disana ada script spt ini : Then I created a new script, /etc/sysconfig/apm-scripts/apmcontinue : ----- #!/bin/bash # Took parts of RH's apmscript to adapt to 4Front's OSS drivers # Mon May 22 09:47:11 PDT 2000 // [EMAIL PROTECTED] case "$1" in suspend) echo "apmcontinue: suspending..." ;; resume) # then we have to find all programs that use sound, because # we have to stop them in order to restart the # sound-system-driver SOUNDPROGS="" for n in `lsof |grep /dev|grep ' 14,'|sed -e 's/ \+/|/g'|cut '-d|' -f1-3`; do SOUNDPROG=`echo $n|cut '-d|' -f1` SOUNDPID=`echo $n|cut '-d|' -f2` SOUNDUSER=`echo $n|cut '-d|' -f3` SOUNDDISPLAY=`perl -e 's/\000/\n/g;' -p /proc/$SOUNDPID/environ|grep DISPLAY=|cut -d= -f2` SOUNDPROGS="$n|$SOUNDDISPLAY $SOUNDPROGS" kill "$SOUNDPID" # Change from RH script: # ps -ax "$SOUNDPID" &>/dev/null ps "$SOUNDPID" &>/dev/null [ "$?" = "0" ] && kill -9 "$SOUNDPID" logger "apmscript: Program $SOUNDPROG ($SOUNDPID) of user $SOUNDUSER on display $SOUNDDISPLAY terminated." done # let's restart the sound-system-driver now /usr/local/bin/soundoff /usr/local/bin/soundon # at least we can restart the programs using sound on # the right display for n in $SOUNDPROGS; do SOUNDPROG=`echo $n|cut '-d|' -f1` SOUNDPID=`echo $n|cut '-d|' -f2` SOUNDUSER=`echo $n|cut '-d|' -f3` SOUNDDISPLAY=`echo $n|cut '-d|' -f4` # Modified from RH original: # su - "$SOUNDUSER" -c "source /etc/profile;[ -f ~/.bashrc ] && source ~/.bashrc;[ -f ~/.bash_profile ] && source ~/.bash_profile;export DISPLAY="$SOUNDDISPLAY";$SOUNDPROG &" # RH's script is screwed up--if user running SOUNDPROG was using tcsh (non-sh-related), sourc'ing bash rc files doesn't help su - "$SOUNDUSER" --shell="/bin/bash" -c "source /etc/profile; [ -f ~/.bashrc ] && source ~/.bashrc; [ -f ~/.bash_profile ] && source ~/.bash_profile; export DISPLAY="$SOUNDDISPLAY"; $SOUNDPROG &" logger "apmscript: Program $SOUNDPROG started as user $SOUNDUSER on display $SOUNDDISPLAY." done ;; *) logger "FAIL: Wrong parameter \"$PROG\" in apmscript (apmcontinue)!" #exit 1 ;; lalu apa yang harus saya lakukan ??? ... gimana cara pengompile-annya ??? ... tolong donk .... thank's __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ ------------------------------------------------------------------------ Forum Komunikasi Penulis-Pembaca MIKRODATA (FKPPM) Informasi : http:[EMAIL PROTECTED] Arsip : http://www.mail-archive.com/forum%40mikrodata.co.id/ WAP : http://mikrodata.co.id/wap/index.wml Milis ini menjadi kontribusi beberapa rubrik yang diasuh tim MIKRODATA. Termasuk rubrik-rubrik yang ada di media lain. Memakai, Menyebarluaskan, dan Memperbanyak software bajakan adalah tindakan kriminal. Please check with the latest AVP update before you ask about virus: ftp://mikrodata.co.id/avirus_&_security/AntiViral_Toolkit_Pro/avp30.zip
