emacs keybindings? alsaconf?
Scott Campbell
scott.campbell at utoronto.ca
Tue Oct 5 17:01:58 UTC 2004
> > Can you be more specific about your problem? We would very much prefer to
> > fix things so that they are detected correctly and set up automatically,
> > than to have folks hack around problems with things like alsaconf.
>
> Sure. Everything (lspci, HAL and lshw) all thinks it's a cs46xx card on
> IRQ 9, but it definitely is a cs4236 on IRQ 5 (as it shows up under
> windows, dos, and the previous debian install.) It has something to do
> with how IBM shoehorned it into the system as an ISA card. Alsaconf
> always did a neat job recognizing this and setting things up properly.
>
> I'm not even sure where to try and change this on Ubuntu. The IRQ, DMA,
> and so on used to be hardcoded in /etc/alsa/1.0/modules/alsa
> or /etc/modules.d/alsa or something like that, but now I can't figure
> out where to start looking. The alsa-base/FAQ mentions a snd_isapnp=0
> parameter worth trying, but I don't even know where to put it.
Responding to my own post, here's how I got ALSA to work on my Thinkpad
600E.
1. Blacklisted snd-cs46xx _AND_ cs46xx
in /etc/hotplug/blacklist.d/alsa-base (cs46xx is there, but snd-cs46xx
is not.) This prevents /etc/hotplug/pci.rc from loading the CS4610/11
PCI driver it thinks is necessary during boot.
2. In /etc/discover.conf I added the following two lines (but I don't
think they had any effect; Step 1 seemed to have more impact.)
skip snd-cs46xx
skip cs46xx
3. Now, during boot, nothing is loaded, although /etc/hotplug/isapnp.rc
attempts to load cs4232, but it too is blacklisted (by default). At a
terminal after logging in, 'sudo modprobe snd-cs4236' did not work until
editing /etc/modprobe.conf to include the following.
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
options snd device_mode=0660
alias snd-card-0 snd-cs4236
alias sound-slot-0 snd-cs4236
options snd-cs4236 port=0x530 cport=0x538 isapnp=0 dma1=1 dma2=0 irq=5
(This was stolen from my earlier config, ALSA 1.05 under a 2.4.27
kernel.)
To get OSS emulation working, modprobe 'snd-mixer-oss' and 'snd-pcm-oss'
was necessary. Now everything "sounds" great.
More work will be necessary for this to happen automatically, and most
likely there will be further problems when hiberation and suspend are
tested. But I'm happy sound works and hopefully this helps anybody else
in a similar situation. I have no idea how Ubuntu might have recognized
and dealt with the situation more appropriately though.
scott.
More information about the ubuntu-users
mailing list