Re: completely disable PC speaker?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 07 Jun 2003, 02:03:32 +0200, James Ralston wrote:
[...]
> The most glaring example is that I can't find any way to prevent the
> system from beeping when inserting or removing PCMCIA cards.  :(

That's easy. Just apply the attached patch ;-) Another issue
which bugged me initially is in the pcmcia start script; it's
calling insmod like it does with calling modprobe, but insmod
needs the full pathname... fixed by the second patch.

HTH, cheers.

l8er
manfred
--- ./etc/sysconfig/pcmcia.orig	2003-04-27 16:22:55.000000000 +0200
+++ ./etc/sysconfig/pcmcia	2003-04-27 19:17:08.000000000 +0200
@@ -2,3 +2,4 @@ PCMCIA=yes
 PCIC=yenta_socket
 PCIC_OPTS=
 CORE_OPTS=
+CARDMGR_OPTS="-q"
--- ./etc/rc.d/init.d/pcmcia.orig	2003-01-25 14:47:27.000000000 +0100
+++ ./etc/rc.d/init.d/pcmcia	2003-05-24 20:31:26.000000000 +0200
@@ -104,9 +104,9 @@ for x in "1" ; do
 	    KD=/lib/modules/`uname -r`/kernel/drivers/pcmcia
 	    if [ -d $PC ] ; then
 		echo -n " modules"
-		/sbin/modprobe pcmcia_core.o $CORE_OPTS
-		/sbin/modprobe $PCIC.o $PCIC_OPTS
-		/sbin/modprobe ds.o
+		/sbin/insmod $PC/pcmcia_core.o $CORE_OPTS
+		/sbin/insmod $PC/$PCIC.o $PCIC_OPTS
+		/sbin/insmod $PC/ds.o
 	    elif [ -d $KD ] ; then
 		/sbin/modprobe pcmcia_core
 		/sbin/modprobe $PCIC
@@ -153,7 +153,7 @@ for x in "1" ; do
 
 	# we do this because when we stop the service, the ide stop script
 	# gets run before the card disappears
-	/usr/sbin/updfstab
+	{ /usr/sbin/updfstab; } > /dev/null 2> /dev/null
 	EXITCODE=0
 	;;
 

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux