LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 11-30-2005, 04:47 PM   #1
Eric55441
LQ Newbie
 
Registered: Feb 2005
Posts: 7

Rep: Reputation: 0
Audio Problems


My audio cards seems to not be working with linux. I am using ubuntu. I know the card is in good shape because it works when I boot windows. Here is the list of all my PCI cards and my audio card does show up.
Code:
0000:00:00.0 Host bridge: Intel Corp. 82875P Memory Controller Hub (rev 02)
0000:00:01.0 PCI bridge: Intel Corp. 82875P Processor to AGP Controller (rev 02)0000:00:03.0 PCI bridge: Intel Corp. 82875P Processor to PCI to CSA Bridge (rev 02)
0000:00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1 (rev 02)
0000:00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2 (rev 02)
0000:00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02)
0000:00:1d.3 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4 (rev 02)
0000:00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev c2)
0000:00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Bridge (rev 02)0000:00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) Ultra ATA 100 Storage Controller (rev 02)
0000:00:1f.2 IDE interface: Intel Corp. 82801EB (ICH5) Serial ATA 150 Storage Controller (rev 02)
0000:00:1f.3 SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
0000:01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0326 (rev a1)
0000:02:01.0 Ethernet controller: Intel Corp. 82547EI Gigabit Ethernet Controller (LOM)
0000:03:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 46)
0000:03:02.0 Multimedia audio controller: VIA Technologies Inc. VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller (rev 01)
0000:03:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:03:0b.0 Multimedia controller: Philips Semiconductors SAA7133 Audio+video broadcast decoder (rev d0)
This is the audio card
Code:
0000:03:02.0 Multimedia audio controller: VIA Technologies Inc. VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller (rev 01)
And also if you know how to get a TV capture card working with linux I would love to know. Here is my TV card
Code:
0000:03:0b.0 Multimedia controller: Philips Semiconductors SAA7133 Audio+video broadcast decoder (rev d0)
Thanks!
 
Old 11-30-2005, 09:09 PM   #2
TimmyP
Member
 
Registered: Dec 2003
Location: Newark, DE
Distribution: Debian "sarge"
Posts: 50

Rep: Reputation: 15
'ello eric,

i don't mean to be offensive, i'm just trying to get a feel for your situation. are you new to linux and / or ubuntu or the debian base system?

do you have ALSA installed or set up properly?

if your not sure if you have alsa, try running the program alsamixer in a terminal.

another note, since you are using ubuntu, i take it you are using gnome, have you enabled the sound themes/mixer/sound support in gnome?

reply here with what you come up with
 
Old 11-30-2005, 10:03 PM   #3
Eric55441
LQ Newbie
 
Registered: Feb 2005
Posts: 7

Original Poster
Rep: Reputation: 0
I am kind of new to linux. I have used it gotten frusterated with it before and then started using it agian and I have slowly been getting used to it. I tryed the alsamixer in the terminal and got this.
Code:
eric@ubuntu:~$ alsamixer

alsamixer: function snd_ctl_open failed for default: No such device
eric@ubuntu:~$
I am not really sure how or where I am supposed to go to enable sound in gnome but I will keep looking.

Last edited by Eric55441; 11-30-2005 at 10:06 PM.
 
Old 11-30-2005, 11:07 PM   #4
TimmyP
Member
 
Registered: Dec 2003
Location: Newark, DE
Distribution: Debian "sarge"
Posts: 50

Rep: Reputation: 15
i use debian, and from what i understand ubuntu is debian based, so here are some debian commands that i would use. they are for installing and uninstalling:

as root:
1. apt-get remove alsa-base alsa-utils
2. apt-get install alsa-base alsa-utils

this should run the alsaconfig program, if it does not, run this program as root:
alsaconf

it should guide you through setting up your sound system, and devices. you have the same sound chipset i have, so i know alsa is compatable with it. i have had really bad luck with gnome and sound in the past, i'll play around with it and see if i can come up with a solution for ya (i also need to get it working properly...i tend to aviod it and use kde)
 
Old 12-01-2005, 02:50 AM   #5
Mitjau
LQ Newbie
 
Registered: Nov 2005
Location: Slovenia, Europe
Distribution: kubuntu Breezy Badger 5.10 i386
Posts: 3

Rep: Reputation: 0
Similar difficulties

Hi! I'm using kubuntu i386 on an AMD processor, and nVIDIA CK804 Realtek ACL655 audio on board chip, and have similar troubles. The thing is when I installed OS for the first time, the sound worked perfectly, but then I uninstalled a few packages and now sound is gone. I did reinstall alsa-base and alsa-utils, but the configuration never showed up. There also isn't any alsaconf command when I try it manually. Someone suggested hotplug, but I don't know how exactly to use that thing. I have no clue what exactly I uninstalled so I don't know what the original setup was.

I also ran kubuntu from a Live CD where sound just worked and looked for the packages installed. I searched packages by keywords: sound, audio, and drivers. Then, on my original installation, I made sure the very same packages were installed. Maybe I got a little further, as of now every now and then PC speaker "beeps", but still no usual sound. Still, when I run alsamixer I get:
Code:
function: snd_ctl_open failed: No such file or directory
.

My next bet would be to search for any files related to audio and sound configuration on an equivalent working system (either live or installed), then just copy all those files into the original installation and hope it works. I'm asking you for a favor here. I don't know which files to look for and how many there are related to this (audio, sound config, drivers, etc.).

Also if someone has a better solution, I would be happy to hear about.


Thanks kindly,
Mitja Ursic

Last edited by Mitjau; 12-01-2005 at 02:56 AM.
 
Old 12-01-2005, 11:35 AM   #6
dusik
LQ Newbie
 
Registered: Jul 2004
Location: Durham, NC, USA
Distribution: Gentoo x86_64
Posts: 2

Rep: Reputation: 0
Eric55441, Mitjau,

Try running alsaconf as root perhaps? Does that help? You need to have the right module(s) installed (or compiled into the kernel) for your sound card.
 
Old 12-01-2005, 12:35 PM   #7
Mitjau
LQ Newbie
 
Registered: Nov 2005
Location: Slovenia, Europe
Distribution: kubuntu Breezy Badger 5.10 i386
Posts: 3

Rep: Reputation: 0
There is no alsaconf present neither in user, sudo or su mode. According to lsmod there is no snd like module installed either. /dev/dsp doesn't exist, neither does /etc/modprobe.conf.

I reinstalled Realtek ACL655 drivers which in the first place only helped me to hear sound along playing avi and bin movies. They don't make any difference now.

alsactl outputs this:
Code:
$ alsactl names
alsactl: for_each_card:51: No soundcards found...
alsactl: generate_names:522: probe 0 failed: No such device
alsactl: for_each_card:51: No soundcards found...
alsactl: generate_names:522: probe 1 failed: No such device
alsactl: for_each_card:51: No soundcards found...
alsactl: generate_names:522: probe 2 failed: No such device
alsactl: generate_names:522: probe 3 failed: No such device or address
alsactl: generate_names:535: Cannot open /etc/asound.names for writing

Last edited by Mitjau; 12-01-2005 at 12:46 PM.
 
Old 12-01-2005, 03:57 PM   #8
Eric55441
LQ Newbie
 
Registered: Feb 2005
Posts: 7

Original Poster
Rep: Reputation: 0
even after uninstalling alsa and then reinstalling it, it still doesnt work.

Last edited by Eric55441; 12-01-2005 at 05:44 PM.
 
Old 12-01-2005, 04:04 PM   #9
Mitjau
LQ Newbie
 
Registered: Nov 2005
Location: Slovenia, Europe
Distribution: kubuntu Breezy Badger 5.10 i386
Posts: 3

Rep: Reputation: 0
Are you asking me? I still have ubuntu on another partition and I think KDE is installed, so I guess I could do that. Why? Remember that kubuntu is my primary OS which I'm trying to fix.
 
Old 12-01-2005, 04:13 PM   #10
Eric55441
LQ Newbie
 
Registered: Feb 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Mitjau
Are you asking me? I still have ubuntu on another partition and I think KDE is installed, so I guess I could do that. Why? Remember that kubuntu is my primary OS which I'm trying to fix.
no I am one of the people who cant seem to get sound working.
 
Old 12-02-2005, 04:54 PM   #11
axobeauvi
Member
 
Registered: Apr 2003
Posts: 128

Rep: Reputation: 16
I know VIA intigrated sound cards are funny in linux
I think they offer drivers on their site
take a look
good luck
 
Old 12-02-2005, 11:43 PM   #12
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Not to be blunt but everybody is wrong. What people do not understand that saa7134 also adds a sound device but I would get to that soon. The sound card is probably on card 1 (second card), so if you run alsamixer -c 1 it should bring up the mixer settings for your sound card. Though to make sure the sound card is the first audio device add a line in either /etc/modules.conf or /etc/modprobe.conf that states:
options snd-ice1724 index=0

The SAA7134 video capture module is a little tricky to get it working. First find the card list and go through to that matches your video capture card and note it down. The card list will be in the Documentation directory that is under kernel source code directory. Add a line in either /etc/modprobe.conf or /etc/modules.conf that states:
options saa7134 card=X
Place the card number where the X is located. Use either tvtime or mplayer to view only the composite or s-video connections for a test. After that include tuner=Y on the same line of saa7134. I am sorry to say but you will have to through one by one until a tuner number works for your card. Hopefully, you can watch TV stations.

The SAA7134 module creates an audio device that is used for recording only. The problem you are having is hotplug detected the video capture device first so it loaded it up and designated as sound card zero or first sound card. Really the programmer for this module did not give full support for recording sound from the video capture card, so it is ok to disable audio by adding oss=0 to the same options line as saa7134.
 
Old 02-05-2006, 12:27 AM   #13
bayonetblaha
Member
 
Registered: Feb 2006
Location: Arlington, TX
Distribution: Kubuntu
Posts: 75

Rep: Reputation: 15
I'm a new ubuntu user as well trying to install Avermedia AverTV Cardbus with Zapping or TVTime or something like that. I'm having trouble following these instructions- found a plain text file in /etc called modules, but it's read-only and I don't even know how to add the neccesary line
 
Old 12-10-2007, 05:33 PM   #14
oddiofile
Member
 
Registered: Sep 2003
Location: Victoria, BC
Distribution: debian testing
Posts: 42

Rep: Reputation: 15
Ubuntu Cripples Alsa

GRR, it is so annoying.

There are great tools for configuring your sound card, which ubuntu REMOVES from their version of alsa-utils, so the only way you can get it is by compiling it from source. This renders all of the useful "troubleshooting" pages on the alsa websites totally useless, since they assume you have a full installation of alsa, including alsaconf, and the snddevices script which recreates all those /dev/snd/ files if you happen to have lost them.
 
  


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
problems with audio. greythorne Debian 1 08-02-2005 11:19 AM
Audio CD problems JFresh Linux - Newbie 3 01-08-2005 05:31 PM
little help w/ audio cd problems ergo_sum Linux - Newbie 5 10-21-2003 10:42 AM
Audio problems synecdoche Linux - General 3 07-22-2003 08:02 PM
audio problems chireru *BSD 0 02-26-2003 10:26 PM


All times are GMT -5. The time now is 07:01 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration