Date: Fri, 30 Mar 2001 14:22:43 +0200
From: Christian Gennerat <[EMAIL PROTECTED]>
Subject: Re: libretto Linux sound start/stop script
James Tapping a écrit :
> Date: Fri, 30 Mar 2001 14:03:05 +0200 (CEST)
> From: James Tapping <[EMAIL PROTECTED]>
> Subject: libretto Linux sound start/stop script
>
> Hello
>
> Someone once sent me a start/stop sound script for a libretto CT70
It runs on CT50, CT100, CT110
>
> (un français?).. I have managed to loose it before being able to
> try it... would you mink sending it again?
#!/bin/sh
#
case "$1" in
'on')
modprobe soundcore
modprobe sound
modprobe ad1848 io=0x530 irq=5 dma=1
modprobe opl3 io=0x388
play /home/bin/salubon.wav
sleep 2
;;
'off')
rmmod opl3
rmmod ad1848
rmmod sound
rmmod soundcore
lsmod
;;
*)
. $0 off
. $0 on
;;
esac
**************************************************************
http://libretto.basiclink.com - Libretto mailing list
http://libretto.basiclink.com/archive - Archives
http://www.picante.com/~gtaylor/portable/faq.html - FAQ
-------UNSUBSCRIBE-------
mailto:[EMAIL PROTECTED]?subject=cmd:unsubscribe
--------UNSUBSCRIBE DIGEST------
Use above but add DIGEST to the subject line...
**************************************************************