Comment 2 for bug 58418

Revision history for this message
Krzysztof Lichota (krzysiek-launchpad-ubuntu-com) wrote :

I have managed to solve the problem.

Steps:
1. Download isapnptools package from http://packages.ubuntulinux.org/breezy/base/isapnptools . This is version for breezy, but it works in Dapper. There is no version for Dapper.
2. Install it using dpkg -i path-to-downloaded file .
3. Create and edit file /etc/isapnp.conf and put the following contents in it:
(READPORT 0x0273)
(ISOLATE PRESERVE)
(IDENTIFY *)
(VERBOSITY 2)
(CONFLICT (IO FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING

(CONFIGURE CTL00f4/-1 (LD 0
(INT 0 (IRQ 5 (MODE +E)))
(DMA 0 (CHANNEL 0))
(DMA 1 (CHANNEL 1))
(IO 0 (SIZE 16) (BASE 0x0240))
(IO 1 (SIZE 2) (BASE 0x0300))
(IO 2 (SIZE 4) (BASE 0x0388))
 (NAME "CTL00f4/-1[0]{Audio }")
(ACT Y)
))

(WAITFORKEY)
4. Run "isapnp /etc/isapnp.conf". If it reports errors, you must change configuration above (it is suited to my setup). Try "pnpdump -c" and put its output in /etc/isapnp.conf file. If it does not help, you must find correct configuration manually, for example change port to 0x220. For full list of possible values run pnpdump. Note that if you change the configuration, you must change options for modprobe below.
5. Create and edit file /etc/modprobe.d/sbvibra and put the following options in it:
alias snd-card-0 snd_sb16
options snd_sb16 port=0x240 irq=5 dma8=0 dma16=1 isapnp=0
6. Run "update-modules"
7. Run "modprobe snd-card-0". If it works OK (check if "ls -l /dev/dsp" shows that file is present), perform the steps below to make setup permanent:
8. Append following line to /etc/modules:
snd-card-0
8. Go to system configuration (in GUI) and choose "Services". Enable "isapnp" service and tick option to start it at boot.