LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-08-2005, 09:21 PM   #1
ahz
Member
 
Registered: Oct 2004
Posts: 58

Rep: Reputation: 15
VIA audio configuration: "Sorry, no mixer elements and/or devices found"


My audio has become misconfigured. I don't use it very often. It used to work, and now it doesn't. What can I do? Please help!

I am using Fedora Core 3 with latest kernel (2.6.11-1.14_FC3). (I also tried some 2.6.10 kernels.) My audio is:

Code:
 (lspci -v excerpt)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
        Subsystem: ASUSTeK Computer Inc.: Unknown device 810a
I checked the driver is installed

Code:
[root@localhost ~]# lsmod | grep snd
snd_via82xx            28801  0
snd_ac97_codec         71097  1 snd_via82xx
snd_pcm_oss            51953  0
snd_mixer_oss          18241  1 snd_pcm_oss
snd_pcm                99657  3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_timer              33093  1 snd_pcm
snd_page_alloc          9669  2 snd_via82xx,snd_pcm
gameport                5057  1 snd_via82xx
snd_mpu401_uart        10049  1 snd_via82xx
snd_rawmidi            28641  1 snd_mpu401_uart
snd_seq_device          8781  1 snd_rawmidi
snd                    56741  9 snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore              10785  1 snd
I checked dmesg and didn't notice anything about via82xxx or snd mentioned.

modprobe.conf looks OK to me:

Code:
 [root@localhost ~]# cat /etc/modprobe.conf
alias scsi_hostadapter sata_via
alias snd-card-0 snd-via82xx
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-via82xx { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-via82xx
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
alias eth0 via-rhine
alias eth1 via-rhine
options snd-via82xx dxs_support=1

# ALSA OSS emulation
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
When I try to open the Gnome volume control, it reports "Sorry, no mixer elements and/or devices found." Other programs that used to work (Flash, MPlayer, VLC) don't produce audio anymore.

I can still run alsamixer (v 1.0.6) from the CLI, and it looks OK.

Fedora's system-config-soundcard detects my card, but I don't hear the audio playing. The program produces this message on the console:

Code:
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 23 [74%] [on]
  Front Right: Playback 23 [74%] [on]
Playing WAVE '/usr/share/system-config-soundcard/sound-sample.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
I couldn't find any useful information on the Internet.
 
Old 05-08-2005, 11:52 PM   #2
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
I guess you didn't look at via's homepage.

http://www.viaarena.com/default.aspx?PageID=2
 
Old 05-09-2005, 12:06 AM   #3
ahz
Member
 
Registered: Oct 2004
Posts: 58

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Thoreau
I guess you didn't look at via's homepage.

http://www.viaarena.com/default.aspx?PageID=2
I've seen it before, but it didn't help. I have the audio drivers (they come with Fedora), they just don't work anymore.
 
Old 05-09-2005, 12:15 AM   #4
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
If they don't work anymore, then your kernel build has changed.

This means, if the kernel wasn't packaged properly, that you may need to reinstall the drivers(but it seems the chipset is detected), but most probably you will have to reinstall ALSA and compile it against the existing kernel. You can use yum to remove and then reinstall alsa, or you can do it by hand.
 
Old 05-09-2005, 12:18 AM   #5
ahz
Member
 
Registered: Oct 2004
Posts: 58

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Thoreau
If they don't work anymore, then your kernel build has changed.

This means, if the kernel wasn't packaged properly, that you may need to reinstall the drivers(but it seems the chipset is detected), but most probably you will have to reinstall ALSA and compile it against the existing kernel. You can use yum to remove and then reinstall alsa, or you can do it by hand.
Fedora leaves the old kernels installed, so I booted a few of the old 2.6.10 kernels. They didn't work.
 
Old 05-09-2005, 12:27 AM   #6
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
ALSA is userland, and needs to be compiled against the running kernel for you to have sound. Please reinstall it.

It is also possible, if installed correctly already, that your sound is muted. But you said that aumix showed proper volume's, so that is probably not the case.
 
Old 05-10-2005, 12:35 AM   #7
ahz
Member
 
Registered: Oct 2004
Posts: 58

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Thoreau
ALSA is userland, and needs to be compiled against the running kernel for you to have sound. Please reinstall it.

It is also possible, if installed correctly already, that your sound is muted. But you said that aumix showed proper volume's, so that is probably not the case.
#rpm -qa | grep -i alsa
alsa-lib-devel-1.0.6-8.FC3
alsa-utils-1.0.6-3
alsa-lib-1.0.6-8.FC3

Are these the userland tools? They haven't changed in any of the kernel updates Red Hat provided since I installed Fedora Core 3 in November. It worked for months without changes to these.

I checked for muting.

The only two symptons I have are: 1) Gnome complains about no mixers/devices and 2) I hear nothing. The first would not be caused by muting.
 
Old 05-10-2005, 02:50 AM   #8
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
You aren't listening. I'm going to guess you were never in the military.
 
Old 05-10-2005, 09:59 AM   #9
ahz
Member
 
Registered: Oct 2004
Posts: 58

Original Poster
Rep: Reputation: 15
I don't plan to be in the military either.

In Fedora, is the ALSA you recommend recompiling an RPM? If so, which one?
 
Old 06-07-2005, 03:38 PM   #10
ikluft
LQ Newbie
 
Registered: Dec 2002
Location: Silicon Valley, California
Distribution: Fedora
Posts: 7

Rep: Reputation: 0
I ran into this same problem and found the solution at http://users.dslextreme.com/~craig.l...isc_notes.html

Summary for FC3:
1) check if aumix or alsamixer are working (i.e. sound card works)
2) check permissions on /dev/snd/* or /dev/sound/* (not a permissions problem)
3) verify that /var/lib/cache/gstreamer-0.8/registry.xml is readable by all
4) run gst-regsiter or gst-register-0.8 as root to rebuild your gstreamer configuration
 
Old 06-07-2005, 08:45 PM   #11
ahz
Member
 
Registered: Oct 2004
Posts: 58

Original Poster
Rep: Reputation: 15
Arrow

Quote:
Originally posted by ikluft
I ran into this same problem and found the solution at http://users.dslextreme.com/~craig.l...isc_notes.html

Summary for FC3:
1) check if aumix or alsamixer are working (i.e. sound card works)
2) check permissions on /dev/snd/* or /dev/sound/* (not a permissions problem)
3) verify that /var/lib/cache/gstreamer-0.8/registry.xml is readable by all
4) run gst-regsiter or gst-register-0.8 as root to rebuild your gstreamer configuration
Thanks for the tip!

#2: /dev/sound did have permissions problem. It was root accessible only.

#3: the file was in /var/cache/gstreamer-0.8/registry.xml (no /lib)

It still doesn't work now, but I will try restarting Gnome later (because I have a program that has been running for a few days and it's not done).
 
Old 06-07-2005, 09:40 PM   #12
ikluft
LQ Newbie
 
Registered: Dec 2002
Location: Silicon Valley, California
Distribution: Fedora
Posts: 7

Rep: Reputation: 0
another thing to check

OK. If we had the same problem, I was able to immediately notice it was solved via the Gnome volume control app, but not from the Gnome Panel volume applet. The panel applet correctly listed the available mixer settings on its preferences after I removed it from the panel and re-added it.

Usually Gnome should automatically track these updates as they happen because they're all stored in ORBit (Gnome's CORBA object request broker). It's probably a panel applet bug that it didn't update itself.

If the panel applet was all you checked, see the volume control app too. If that doesn't help, then we could be working similar symptoms of different problems. I hope that does fix it for you.
 
Old 06-15-2005, 12:42 AM   #13
ahz
Member
 
Registered: Oct 2004
Posts: 58

Original Poster
Rep: Reputation: 15
Formatting / and install FC4 fixed the problem
 
Old 06-19-2005, 11:13 PM   #14
arst05
Member
 
Registered: Nov 2004
Location: Arkansas
Distribution: RHEL 3 Enterprise/Fedora Core 3
Posts: 38

Rep: Reputation: 15
Thumbs up Excellent link and fix

My sound was still working, but when trying to adjust the sound it stated 'Sorry, no mixer elements and/or devices found'.

I ran the command [root@localhost ~]# gst-register-0.8

and it reloaded the modules again.


Thanks!
 
Old 07-01-2005, 12:06 AM   #15
Raafi
Member
 
Registered: Dec 2004
Location: New Jersey
Distribution: Fedora Core 28
Posts: 82

Rep: Reputation: 15
Thumbs up Re: Excellent link and fix

Quote:
Originally posted by arst05
My sound was still working, but when trying to adjust the sound it stated 'Sorry, no mixer elements and/or devices found'.

I ran the command [root@localhost ~]# gst-register-0.8

and it reloaded the modules again.


Thanks!
gst-register-0.8
whoever suggested that is a genius

I just had the same problem, and i was getting ready to post, but i said, "lemme try a search" found this thread and wala' it worked

it seems after i did an update (of something i dont even know what yum updated) i lost my sound

LQ is the bestest

Last edited by Raafi; 07-01-2005 at 12:08 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RH 9 > Compaq Proliant 5000 > Smart 2/E Raid > "No valid devices were found..." boris57 Linux - Newbie 3 08-02-2006 10:29 PM
"The volume control did not find any elements and/or devices to controll" Redeyes_Gambit Linux - Software 1 11-26-2005 07:04 PM
gnome audio error: "Sorry, no mixer elements and/or devices found" dexim Linux - Software 1 11-23-2005 10:41 PM
No mixer elements and/or devices found. Works only as root! titan_pi8 Linux - Newbie 2 04-30-2005 07:51 AM
"no elms mixer found" dejavu_01 Linux - Newbie 3 06-01-2004 05:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration