Sorry for the long post but I tried to provide as much info as I can so that
it would be easier for somebody to help.
I am tryin to Switch from OSS to ALSA but with no luck till now.
I am running Debian sarge with kernel 2.6.6, KDE 3.2.2 (toshiba satellite).
At the beginning I tried just choosing ALSA sound system from the
Sound & MultiMedia Options in the KDE but I got the error (the driver
was not found).
I installed using apt-get alsa-base and alsautils.
when running the command "alsamixer" I get the following:
alsamixer: function snd_ctl_open failed for default: No such device or address.
running "/etc/init.d/alsa start" I got:
Restoring ALSA mixer settings ... failed:
You may want to run 'alsactl restore' manually to view any errors.
running "alsactl restore" I got:
alsactl: load_state:1134: No soundcards found...
when running alsaconf I get something like it couldnt find my soundcard.....etc.
Here is the result of "lsmod":
--------------------------------------
Module Size Used by
ds 18500 4
sd_mod 21600 0
sg 38880 0
ipv6 254624 8
af_packet 22376 2
tulip 47040 0
crc32 4320 1 tulip
yenta_socket 21376 1
pcmcia_core 67620 2 ds,yenta_socket
tsdev 7328 0
mousedev 10068 3
joydev 9888 0
usbmouse 5664 0
usbhid 32768 0
ohci_hcd 19780 0
usbcore 108060 5 usbmouse,usbhid,ohci_hcd
pci_hotplug 36400 0
ali_agp 7008 1
agpgart 34152 1 ali_agp
evdev 9536 0
sr_mod 17732 0
cdrom 40384 1 sr_mod
ide_scsi 17316 1
scsi_mod 122252 4 sd_mod,sg,sr_mod,ide_scsi
parport_pc 35008 1
lp 11204 0
parport 41832 2 parport_pc,lp
nls_cp437 5696 1
ntfs 93484 1
dm_mod 45376 0
capability 4100 0
commoncap 7200 1 capability
emu10k1 83972 0
sound 84204 1 emu10k1
i2c_ali15x3 7432 0
adm1021 12424 0
eeprom 7688 0
lm90 11236 0
i2c_ali1535 7012 0
i2c_dev 10336 0
i2c_sensor 2880 3 adm1021,eeprom,lm90
i2c_core 23556 7 i2c_ali15x3,adm1021,eeprom,lm90,i2c_ali1535,i2c_dev,i2c_sensor
ali5455 38240 0
thermal 12560 0
toshiba_acpi 6012 0
processor 17264 1 thermal
fan 3980 0
button 6488 0
battery 9356 0
ac 4812 0
trident 40436 1
soundcore 10336 5 emu10k1,sound,ali5455,trident
gameport 4704 1 trident
ac97_codec 18956 3 emu10k1,ali5455,trident
rtc 12760 0
ext3 126184 1
jbd 62008 1 ext3
mbcache 9348 1 ext3
ide_disk 19872 4
ide_generic 1408 0
alim15x3 12524 1
ide_core 149696 4 ide_scsi,ide_disk,ide_generic,alim15x3
unix 28560 336
fbcon 30340 71
font 8320 1 fbcon
vesafb 5972 1
cfbcopyarea 3840 1 vesafb
cfbimgblt 3040 1 vesafb
cfbfillrect 3776 1 vesafb
And here is the contents of /etc/modules:
-----------------------------------------------------
#af_packet
#slhc
#parport
#sound
#i82092
#yenta_socket
#apm
#isa-pnp
#ac97_codec
trident
ac
battery
button
fan
processor
toshiba_acpi
thermal
snd-ali5451
snd-hwdep
snd-rtctimer
snd-rawmidi
snd-pcm-oss
ali5455
i2c-sensor
i2c-dev
# I2C adapter drivers
i2c-ali1535
# I2C chip drivers
lm90
eeprom
adm1021
i2c-ali15x3
emu10k1
#end of file
Output of "ls -L -l /dev/dsp* "
--------------------------------------
crw-rw---- 1 root audio 14, 3 Jun 22 02:50 /dev/dsp
crw-rw---- 1 root audio 14, 3 Jun 22 02:50 /dev/dsp0
crw-rw---- 1 root audio 14, 19 Jun 22 02:50 /dev/dsp1
crw-rw---- 1 root audio 14, 35 Jun 22 02:50 /dev/dsp2
crw-rw---- 1 root audio 14, 51 Jun 22 02:50 /dev/dsp3
contents of /etc/modules.conf
-------------------------------------
### update-modules: end processing /etc/modutils/0keep
### update-modules: start processing /etc/modutils/actions
# Special actions that are needed for some modules
# The BTTV module does not load the tuner module automatically,
# so do that in here
post-install bttv insmod tuner
post-remove bttv rmmod tuner
### update-modules: end processing /etc/modutils/actions
### update-modules: start processing /etc/modutils/aliases
# Aliases to tell insmod/modprobe which modules to use
# Uncomment the network protocols you don't want loaded:
# alias net-pf-1 off # Unix
# alias net-pf-2 off # IPv4
# alias net-pf-3 off # Amateur Radio AX.25
# alias net-pf-4 off # IPX
# alias net-pf-5 off # DDP / appletalk
# alias net-pf-6 off # Amateur Radio NET/ROM
# alias net-pf-9 off # X.25
# alias net-pf-10 off # IPv6
# alias net-pf-11 off # ROSE / Amateur Radio X.25 PLP
# alias net-pf-19 off # Acorn Econet
alias char-major-10-175 agpgart
alias char-major-10-200 tun
alias char-major-81 bttv
alias char-major-108 ppp_generic
alias /dev/ppp ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
# Crypto modules (see
http://www.kerneli.org/)
alias loop-xfer-gen-0 loop_gen
alias loop-xfer-3 loop_fish2
alias loop-xfer-gen-10 loop_gen
alias cipher-2 des
alias cipher-3 fish2
alias cipher-4 blowfish
alias cipher-6 idea
alias cipher-7 serp6f
alias cipher-8 mars6
alias cipher-11 rc62
alias cipher-15 dfc2
alias cipher-16 rijndael
alias cipher-17 rc5
# I2C module options
alias char-major-89 i2c-dev
### update-modules: end processing /etc/modutils/aliases
### update-modules: start processing /etc/modutils/alsa-base
above snd-pcm snd-pcm-oss
### update-modules: end processing /etc/modutils/alsa-base
### update-modules: start processing /etc/modutils/apm
alias char-major-10-134 apm
alias /dev/apm_bios /dev/misc/apm_bios
alias /dev/misc/apm_bios apm
### update-modules: end processing /etc/modutils/apm
### update-modules: start processing /etc/modutils/i2c
alias char-major-89 i2c-dev
### update-modules: end processing /etc/modutils/i2c
### update-modules: start processing /etc/modutils/paths
# This file contains a list of paths that modprobe should scan,
# beside the ones that are compiled into the modutils tools
# themselves.
### update-modules: end processing /etc/modutils/paths
### update-modules: start processing /etc/modutils/ppp
alias /dev/ppp ppp_generic
alias char-major-108 ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
### update-modules: end processing /etc/modutils/ppp
### update-modules: start processing /etc/modutils/setserial
#
# This is what I wanted to do, but logger is in /usr/bin, which isn't loaded
# when the module is first loaded into the kernel at boot time!
#
#post-install serial /etc/init.d/setserial start | logger -p daemon.info -t "setserial-module reload"
#pre-remove serial /etc/init.d/setserial stop | logger -p daemon.info -t "setserial-module uload"
#
alias /dev/tts serial
alias /dev/tts/0 serial
alias /dev/tts/1 serial
alias /dev/tts/2 serial
alias /dev/tts/3 serial
post-install serial /etc/init.d/setserial modload > /dev/null 2> /dev/null
pre-remove serial /etc/init.d/setserial modsave > /dev/null 2> /dev/null
### update-modules: end processing /etc/modutils/setserial
### update-modules: start processing /etc/modutils/toshutils
alias char-major-10-181 toshiba
### update-modules: end processing /etc/modutils/toshutils
### update-modules: start processing /etc/modutils/arch/i386
alias parport_lowlevel parport_pc
alias char-major-10-144 nvram
alias binfmt-0064 binfmt_aout
alias char-major-10-135 rtc
### update-modules: end processing /etc/modutils/arch/i386
Any help would be highly appreciated,
Thanx in advance........