|
http://bbs.archlinux.org/viewtopic.php?id=64290 I modifided udev using option 3 here: Code:r...@duncan-arch duncan]#cat /etc/rc.conf # # /etc/rc.conf - Main Configuration for Arch Linux # # ----------------------------------------------------------------------- # LOCALIZATION # ----------------------------------------------------------------------- # # LOCALE: available languages can be listed with the 'locale -a' command # HARDWARECLOCK: set to "UTC" or "localtime" # USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock # TIMEZONE: timezones are found in /usr/share/zoneinfo # KEYMAP: keymaps are found in /usr/share/kbd/keymaps # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US) # CONSOLEMAP: found in /usr/share/kbd/consoletrans # USECOLOR: use ANSI color sequences in startup messages # LOCALE="en_US.utf8" HARDWARECLOCK="localtime" USEDIRECTISA="yes" TIMEZONE="Canada/Eastern" KEYMAP="us" CONSOLEFONT= CONSOLEMAP= USECOLOR="yes" # ----------------------------------------------------------------------- # HARDWARE # ----------------------------------------------------------------------- # # MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed # MOD_BLACKLIST: Prevent udev from loading these modules # MODULES: Modules to load at boot-up. Prefix with a ! to blacklist. # # NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array. # MOD_AUTOLOAD="yes" #MOD_BLACKLIST=(bcm43xx b43 ssb) #deprecated MODULES=(mii ndiswrapper b44 snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel acpi-cpufreq cpufreq_ondemand cpufreq_powersave soundcore vboxdrv usblp fuse iwl3945) # Scan for LVM volume groups at startup, required if you use LVM USELVM="no" # ----------------------------------------------------------------------- # NETWORKING # ----------------------------------------------------------------------- # # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts # HOSTNAME="duncan-arch" # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces. # # Interfaces to start at boot-up (in this order) # Declare each interface then list in INTERFACES # - prefix an entry in INTERFACES with a ! to disable it # - no hyphens in your interface names - Bash doesn't like it # # DHCP: Set your interface to "dhcp" (eth0="dhcp") # Wireless: See network profiles below # #eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255" eth0="dhcp" wlan0="dhcp" INTERFACES=(eth0 wlan0) # Routes to start at boot-up (in this order) # Declare each route then list in ROUTES # - prefix an entry in ROUTES with a ! to disable it # #gateway="default gw 192.168.0.1" ROUTES=(!gateway) # Enable these network profiles at boot-up. These are only useful # if you happen to need multiple network configurations (ie, laptop users) # - set to 'menu' to present a menu during boot-up (dialog package required) # - prefix an entry with a ! to disable it # # Network profiles are found in /etc/network.d # # This now requires the netcfg package # #NETWORKS=(main) # ----------------------------------------------------------------------- # DAEMONS # ----------------------------------------------------------------------- # # Daemons to start at boot-up (in this order) # - prefix a daemon with a ! to disable it # - prefix a daemon with a @ to start it up in the background # DAEMONS=(syslog-ng dbus @cpufreq @hal @alsa @dhcdbd @networkmanager @crond @cups) r...@duncan-arch duncan]# Code:r...@duncan-arch duncan]#cat /etc/modprobe.conf # # /etc/modprobe.conf (for v2.6 kernels) # install snd-via82xx-modem /bin/true # temporarily disabled by hsf - conflicts with hsfmc97via install snd-intel8x0m /bin/true # temporarily disabled by hsf - conflicts with hsfmc97ich hsfmc97sis install snd-atiixp-modem /bin/true # temporarily disabled by hsf - conflicts with hsfmc97ati alias /dev/ttySHSF[0-9]* /dev/ttySHSF alias /dev/modem /dev/ttySHSF alias char-major-240 /dev/ttySHSF alias char-major-240-* /dev/ttySHSF options hsfserial serialmajor=240 alias char-major-242 hsfosspec alias char-major-242-* hsfosspec alias /dev/hsfdiag hsfosspec alias /dev/hsfdiag* /dev/hsfdiag alias char-major-243 /dev/hsfdiag alias char-major-243-* /dev/hsfdiag options hsfosspec dcpmajor=242 diagmajor=243 install /dev/ttySHSF /sbin/modprobe hsfpcibasic2; /sbin/modprobe hsfmc97ich; /sbin/modprobe hsfmc97via; /sbin/modprobe hsfmc97ali; /sbin/modprobe hsfmc97ati; /sbin/modprobe hsfmc97sis; [ -e /lib/modules/`uname -r`/extra/hsfusbcd2.ko ] && /sbin/modprobe hsfusbcd2; /sbin/modprobe snd_hda_intel; /bin/true alias symbol:cnxthwhda_probe hsfhda alias symbol:cnxthwhda_resume hsfhda alias symbol:cnxthwhda_suspend hsfhda blacklist pcspkr blacklist bcm43xx blacklist snd_pcsp r...@duncan-arch duncan]# Fustrated Windows users have two options. 1. Resort to the throwing of computers out of windows. 2. Resort to the throwing of windows out of computers. Offline #2 2009-01-30 21:46:05Re: blacklist pcspkr after udev modsOff the top of my head I don't know a solution, but I found a better
one IMO a while back... I learned to love the system beep. Offline #3 2009-01-30 21:52:27
Re: blacklist pcspkr after udev modsI have a temporary solution. Fustrated Windows users have two options. 1. Resort to the throwing of computers out of windows. 2. Resort to the throwing of windows out of computers. Offline #4 2009-01-30 23:03:28
Re: blacklist pcspkr after udev modsisn't pcspkr renamed to snd-pcsp? I blacklisted both to remove the beep Offline #5 2009-01-30 23:14:04
Re: blacklist pcspkr after udev mods
I had them both blacklisted too. Fustrated Windows users have two options. 1. Resort to the throwing of computers out of windows. 2. Resort to the throwing of windows out of computers. Offline #6 2009-01-31 00:41:22
Re: blacklist pcspkr after udev modshow about adding "platform:pcspkr" to the blacklist? Last edited by fulloffur (2009-01-31 00:46:22) Offline #7 2009-01-31 21:51:31
Re: blacklist pcspkr after udev mods
When I add that to modprobe.conf it just spits out bad line errors. Fustrated Windows users have two options. 1. Resort to the throwing of computers out of windows. 2. Resort to the throwing of windows out of computers. Offline #8 2009-01-31 21:53:35
Re: blacklist pcspkr after udev modssnd_pcsp
and pcskr are indeed two different things. the first attempts to use
your pc-speaker as soundcard. the latter gives you beeps. Code:install lrw /bin/echo "humptydump!" so when i run 'modprobe lrw' i get: Code:humptydump! and lrw is not loaded. [23:00:16] dr_kludge | i want to invent an olfactory human-computer interface, integrate it into the web standards, then produce my own forked browser. [23:00:32] dr_kludge | can you guess what i'd call it? [23:01:16] dr_kludge | nosilla. [23:01:32] dr_kludge | i really should be going to bed. i'm giggling madly about that. Offline #9 2009-01-31 21:55:59
Re: blacklist pcspkr after udev modskludge: Fustrated Windows users have two options. 1. Resort to the throwing of computers out of windows. 2. Resort to the throwing of windows out of computers. Offline #11 2009-02-02 12:53:42
Re: blacklist pcspkr after udev modsIn the MODULES section of /etc/rc.conf I added: !snd_pcsp Offline #12 2009-02-02 15:57:13
Re: blacklist pcspkr after udev mods
That used to work, but because of a udev hack mentioned in the first post, I lost the ability to blacklist there. Fustrated Windows users have two options. 1. Resort to the throwing of computers out of windows. 2. Resort to the throwing of windows out of computers. Offline #13 2009-02-03 13:50:36
Re: blacklist pcspkr after udev mods
after doing, what...? [23:00:16] dr_kludge | i want to invent an olfactory human-computer interface, integrate it into the web standards, then produce my own forked browser. [23:00:32] dr_kludge | can you guess what i'd call it? [23:01:16] dr_kludge | nosilla. [23:01:32] dr_kludge | i really should be going to bed. i'm giggling madly about that. Offline #14 2009-02-07 15:02:19
Re: blacklist pcspkr after udev modsif
blackisting in rc.conf doesn't work, I know of two ways to blacklist
modules in modprobe.conf or in a file in /etc/modprobe.d/ Code:blacklist snd_pcsp blacklist pcspkr install pcspkr /bin/false install snd_pcsp /bin/false also you dont need to edit rc.sysinit for adding a rmmod command, this is what rc.local is for. Offline |



