View previous topic :: View next topic |
Author |
Message |
VeSCeRa Tux's lil' helper
Joined: 11 Apr 2004 Posts: 111
|
Posted: Sun Apr 11, 2004 1:38 pm Post subject: via82xx no sound on gentoo 2.6.3 kernel |
|
|
bash-2.05b# uname -r
2.6.3-gentoo-r1
bash-2.05b#
i have selected alsa in kernel config and via82xx sound option as module and compiled the kernel with
genkernel all
bash-2.05b# grep audio /proc/pci
Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235 AC97 Audio Controller (rev 80).
bash-2.05b#
bash-2.05b# lsmod
Module Size Used by
bttv 138092 0
tda9887 6532 0
tuner 16780 0
tvaudio 20236 0
snd_pcm_oss 47652 0
snd_mixer_oss 16384 1 snd_pcm_oss
snd_via82xx 21024 0
snd_pcm 80932 2 snd_pcm_oss,snd_via82xx
snd_timer 20228 1 snd_pcm
snd_ac97_codec 55172 1 snd_via82xx
gameport 3712 1 snd_via82xx
snd_page_alloc 9476 2 snd_via82xx,snd_pcm
snd_mpu401_uart 5760 1 snd_via82xx
snd_rawmidi 19232 1 snd_mpu401_uart
snd_seq_device 6408 1 snd_rawmidi
snd 44388 9 snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_pcm,sn
d_timer,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_device
nvidia 1700908 10
ohci_hcd 16516 0
usbnet 22152 0
mii 4096 1 usbnet
via_agp 5760 1
agpgart 25896 2 via_agp
video_buf 16516 1 bttv
i2c_algo_bit 8840 1 bttv
v4l2_common 5120 1 bttv
btcx_risc 3976 1 bttv
i2c_core 18180 5 bttv,tda9887,tuner,tvaudio,i2c_algo_bit
videodev 7424 1 bttv
uhci_hcd 27920 0
ntfs 82252 2
sbp2 21128 0
ohci1394 30212 0
ieee1394 64816 2 sbp2,ohci1394
usb_storage 25600 0
hid 29888 0
ehci_hcd 21764 0
usbcore 86108 8 ohci_hcd,usbnet,uhci_hcd,usb_storage,hid,ehci_hcd
bash-2.05b#
bash-2.05b# aplay $KDEDIR/share/sounds/pop.wav
Playing WAVE '/usr/kde/3.2/share/sounds/pop.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
bash-2.05b#
yes and there is no sound
i have unmuted and tried to solve this with alsamixer but no way it did not help
here is my alsa conf
Quote: |
alias char-major-116 snd
alias char-major-14 soundcore
alias snd-card-0 snd-via82xx # i have added this manually to suit my card
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
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
options snd cards_limit=1
|
and in kde after /etc/init.d/alsasound start the system got so slow even if the mouse was moving slowly
when i /etc/init.d/alsasound stop the modules are
bash-2.05b# lsmod
Module Size Used by
bttv 138092 0
tda9887 6532 0
tuner 16780 0
tvaudio 20236 0
nvidia 1700908 10
ohci_hcd 16516 0
usbnet 22152 0
mii 4096 1 usbnet
via_agp 5760 1
agpgart 25896 2 via_agp
video_buf 16516 1 bttv
i2c_algo_bit 8840 1 bttv
v4l2_common 5120 1 bttv
btcx_risc 3976 1 bttv
i2c_core 18180 5 bttv,tda9887,tuner,tvaudio,i2c_algo_bit
videodev 7424 1 bttv
uhci_hcd 27920 0
ntfs 82252 2
sbp2 21128 0
ohci1394 30212 0
ieee1394 64816 2 sbp2,ohci1394
usb_storage 25600 0
hid 29888 0
ehci_hcd 21764 0
usbcore 86108 8 ohci_hcd,usbnet,uhci_hcd,usb_storage,hid,ehci_hcd
bash-2.05b#
i have tried the gentoo linux alsa guide
Quote: |
2. Installation
Gentoo USE flags
To compile programs with ALSA-support, be sure to add alsa to your USE-variable. However, several tools don't support alsa yet, and require OSS. ALSA provides OSS-emulation if you define oss in your USE-variable before you start.
|
i did not understand this and did not do anything in that step
i have also tried
/usr/src/linux/scripts/MAKEDEV.snd
no sound again
and i have seen this is a topic here
i know that the alsa is built in my kernel but i have tried it unconciously
ACCEPT_KEYWORDS="~x86" ALSA_CARDS="via82xx" emerge alsa-driver
and i think it gave an error at the end
ps: i was using topologilinux 4 and the sound just worked wih
modprobe snd-via82xx or something like that on kernel 2.4.22 i think those drivers were oss
can i use oss in kernel 2.6.3 ? i have seen them in the kernel config but said deprecetad (by alsa of course)
what should i do to fully remove alsa and add oss to my linux
ps: how can i see the card and tuner database for bttv to configure for my card and is there an automatic tools for this for gentoo like gcbttv
Last edited by VeSCeRa on Sun Apr 11, 2004 2:39 pm; edited 5 times in total |
|
Back to top |
|
|
VeSCeRa Tux's lil' helper
Joined: 11 Apr 2004 Posts: 111
|
Posted: Sun Apr 11, 2004 2:13 pm Post subject: |
|
|
Quote: |
and in kde after /etc/init.d/alsasound start the system got so slow even if the mouse was moving slowly
|
then i do
bash-2.05b# /etc/init.d/alsasound stop
* WARNING: you are stopping a boot service.
* Unloading ALSA...
* Storing ALSA Mixer Levels
* Unloading modules [ ok ]
bash-2.05b#
then the mouse and system works on normal speed but this time kde says the sound device can not be opened |
|
Back to top |
|
|
cerealito n00b
Joined: 10 Apr 2004 Posts: 20 Location: Toulouse, Fr
|
Posted: Sun Apr 11, 2004 10:38 pm Post subject: |
|
|
I had the same problem with the same sound card, kernel 2.6.1 and ALSA.
after some reading, i got it running stopping the existing ALSA, and then
Code: | env ALSA_CARDS='via82xx' emerge alsa-driver |
(not snd-via82xx or snd-card-via82xx)
then rebooted and everything went fine.
I've got this in /etc/modules.d/alsa
Code: | ## ALSA portion
alias snd-card-0 snd-via82xx
## alias snd-card-1 snd-ens1371
## OSS/Free portion
alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
## |
Everything was documented in the gentoo-alsa how-to, except the ALSA_CARDS='via82xx' thing...
Hope it helps. |
|
Back to top |
|
|
VeSCeRa Tux's lil' helper
Joined: 11 Apr 2004 Posts: 111
|
Posted: Mon Apr 12, 2004 11:04 am Post subject: |
|
|
thanks for your excellent comment
can u help more
afer emerge'ing with that command what steps should i take? |
|
Back to top |
|
|
VeSCeRa Tux's lil' helper
Joined: 11 Apr 2004 Posts: 111
|
Posted: Mon Apr 12, 2004 11:25 am Post subject: |
|
|
ohhhhh thanks maaan
i was using oss after that alsa thing
and after emerge the alsa sound worked perfectly
thanks very much
ps:i disabled the alsa sound in kernel config when i was trying the snd-via82xx module and enabled the oss and was using the snd-via82cxxx modules now alsa works perfectly what should i do in the kernel config should i disable oss and should i enable alsa there? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|