LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-27-2005, 11:21 PM   #1
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Rep: Reputation: 30
no sound on hoary


i just finished installing hoary on a thinkpad i1300,everything's working fine except the sound. initially the system sounds were working and i tried to play an audio stream through xine it streamed but no sound, so i used the volume applet on the gnome panel and opened volume control. and under file > change device > i see two options:
0. Cirrus Logic CS4299 rev 4 (OSS Mixer)
1, Intel 440MX (ALSA Mixer)

and i've selected the intel 440MX option. the other thing i tried to do is open the same stream with totem and it tells me that the resource might be busy. also, i can't play any audio on flash pages. ubuntu's worked great on my notebook as far as configuration goes, wireless,et al. the only thing i'm missing now is the sound. any advice on this would be gladly appreciated.
here's the output of my lsmod

<code>
Module Size Used by
speedstep_smi 5520 0
speedstep_lib 4228 1 speedstep_smi
proc_intf 4100 0
freq_table 4100 1 speedstep_smi
cpufreq_userspace 4572 1
cpufreq_ondemand 6172 0
cpufreq_powersave 1920 0
pcmcia 21380 2
video 16260 0
sony_acpi 6280 0
pcc_acpi 11264 0
button 6800 0
battery 10244 0
container 4608 0
ac 4996 0
ipv6 229504 9
ndiswrapper 119092 0
af_packet 20744 4
i2c_piix4 8592 0
i2c_core 21264 1 i2c_piix4
uhci_hcd 30224 0
usbcore 107384 3 ndiswrapper,uhci_hcd
e100 32384 0
mii 4736 1 e100
yenta_socket 19584 1
pcmcia_core 53568 2 pcmcia,yenta_socket
snd_intel8x0 29984 2
snd_ac97_codec 64608 1 snd_intel8x0
snd_pcm_oss 47652 1
snd_mixer_oss 16768 1 snd_pcm_oss
snd_pcm 84872 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 23300 1 snd_pcm
snd 50276 8 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 9824 2 snd
snd_page_alloc 9604 2 snd_intel8x0,snd_pcm
rtc 12216 0
pcspkr 3816 0
md 43856 0
dm_mod 53116 1
capability 5000 0
commoncap 7808 1 capability
tsdev 7488 0
evdev 9088 0
psmouse 19336 0
mousedev 11160 1
parport_pc 34372 1
lp 10792 0
parport 33480 2 parport_pc,lp
ide_cd 38532 1
cdrom 36508 1 ide_cd
ext3 120968 1
jbd 54168 1 ext3
ide_generic 1664 0
piix 9988 1
ide_disk 18176 3
ide_core 118988 4 ide_cd,ide_generic,piix,ide_disk
unix 26164 722
thermal 13576 0
processor 22708 1 thermal
fan 4612 0
fbcon 34048 0
font 8448 1 fbcon
bitblit 5120 1 fbcon
vesafb 6948 0
cfbcopyarea 3968 1 vesafb
cfbimgblt 3072 1 vesafb
cfbfillrect 3584 1 vesafb
</code>

TIA
 
Old 04-28-2005, 03:40 AM   #2
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
tried the ubuntu wiki pages already? I have a thinkpad as well and only totem was a problem, everything else worked fine...
 
Old 04-28-2005, 03:44 AM   #3
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Are you using KDE? If so, check to see if you're using the arts output plugin of your respective apps. Try (as root) killall artsd and then try playing the stream again.
 
Old 04-28-2005, 09:54 AM   #4
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Original Poster
Rep: Reputation: 30
i went through the wiki and tried what the wiki suggested, even reinstalled the alsa packages but now i've got the system sounds working, nothing else works. flash doesn't work. xine or totem doesn't. the funny thing is everytime totem comes up it says that "Totem couldn't startup, resource busy or unavailable"
dunno what the problem could be, here's the output of lspci

0000:00:00.0 Host bridge: Intel Corp. 82440MX Host Bridge (rev 01)
0000:00:00.1 Multimedia audio controller: Intel Corp. 82440MX AC'97 Audio Controller
0000:00:00.2 Modem: Intel Corp. 82440MX AC'97 Modem Controller
0000:00:02.0 VGA compatible controller: Silicon Motion, Inc. SM712 LynxEM+ (rev a0)
0000:00:03.0 CardBus bridge: O2 Micro, Inc. OZ6812 Cardbus Controller (rev 05)
0000:00:06.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 08)
0000:00:07.0 ISA bridge: Intel Corp. 82440MX ISA Bridge (rev 01)
0000:00:07.1 IDE interface: Intel Corp. 82440MX EIDE Controller
0000:00:07.2 USB Controller: Intel Corp. 82440MX USB Universal Host Controller
0000:00:07.3 Bridge: Intel Corp. 82440MX Power Management Controller
0000:01:00.0 Ethernet controller: Marvell Technology Group Ltd.: Unknown device 1faa (rev 03)


i even reinstalled the alsa driver, alsa libs and alsa-utils, and ran alsaconf and it did detect the intel driver but still not playing anything. i can hear the system sounds now but doesn't play anything. same thing with totem , it just comes up with totem couldn't start or resource busy. and when xine comes up i can't hear anything. i've used alsamixer to see if there's something muted, but nothing helps there.

i'm using gnome.

Last edited by brokenflea; 04-28-2005 at 09:55 AM.
 
Old 04-28-2005, 11:58 AM   #5
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
Are you a member of the audio group?
can you post your ~/.gnome2/totem_config?
 
Old 04-28-2005, 02:16 PM   #6
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Original Poster
Rep: Reputation: 30
that's another thing i forgot to mention, i tried going in there and i don't see a totem_config file. and i checked the groups that my username's associated with and it does belong to the audio group.
 
Old 04-29-2005, 02:57 AM   #7
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
If you can get system sounds but not app sounds it look slike you're not running the right output plugin in those apps. Do a ps -A and see if there's a process called esd. That's the eSound daemon. If that is the case, try looking through totem/xine config for an esd/eSound output plugin.
 
Old 04-29-2005, 02:21 PM   #8
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Original Poster
Rep: Reputation: 30
ok, i figured out how to get sound in xmms. i just changed the output to the esd daemon. the thing with totem is that everytime i launch totem, it brings up that error where it says resource busy or unavailable and whenever i click on OK on the notification box it just kills the app. there's no way for me to actually go into the totem gui to change the output there. i changed the output in xine to esd and no luck with that either.
and now the worse part is that i'm stuck with no sounds at all. i have the volume applet as mute everytime i restart the machine. so i'm gonna look into that and see if i can revive the system sounds again. this is driving me insane, but i'm getting there.
thanks for everyone's support

never mind, i got the system sounds and xmms working again. the only thing i'm missing now is sound in xine, totem and flash content on the web.

Last edited by brokenflea; 04-29-2005 at 02:23 PM.
 
Old 04-29-2005, 08:01 PM   #9
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
I don't know about xine but totem may be a KDE app which may be trying to load arts (KDE's equivalent to esd). With flash content on the web or any web sounds at all you'll need some sort of sound wrapper. ALSA has its aoss script, arts has atrsdsp but I'm not sure about esd. You'll have to look around for it. Then you execute your browser as <sound wrapper> <browser executable>. So, for example, if you were trying to get opera to use ALSA then you'd trype aoss opera.
 
Old 04-29-2005, 11:08 PM   #10
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Original Poster
Rep: Reputation: 30
another thing i noticed was when i go into System > Preferences > Multimedia Systems Selector, under Default Sink i see the ESD daemon selected under output but when i change that to ALSA and click on Test for it to play a test sound it brings up an error box that says: "Failed to construct test pipeline for ALSA-'Advanced Linux Sound Architecture' "
does it mean that ALSA's not installed properly as far as the sound drivers on my system goes. how do i remove the current ALSA drivers and reinstall it again.
 
Old 04-30-2005, 01:07 AM   #11
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Quote:
does it mean that ALSA's not installed properly as far as the sound drivers on my system goes.
No. What that means is that esd is blocking all other apps from accessing the sound device directly. If you killed esd and tried it again it should work. There is a way for apps to be able to access sound directly under ALSA even with a server (such as esd) running. It is called the Dmix plugin.

Quote:
how do i remove the current ALSA drivers and reinstall it again.
Because of the above I wouldn't recommend it. They are probably working just fine.
 
Old 04-30-2005, 02:19 AM   #12
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Original Poster
Rep: Reputation: 30
thank you so much for your help. i finally got the sound playing with xine. i'm getting the same thing with totem that the resource is busy ...etc . but i was only wanting to get it working on xine. thank again. i just followed your link. downloaded mpg123 and followed the instructions on that link. killed esd and selected alsa under multimedia systems selector, tested it (it played a sound this time) and launch xine to play the audio stream, and it works like a charm. thanks again. can't tell you how happy i am. thanks, thanks thanks, you rock, you're the bomb. :-D
 
Old 04-30-2005, 06:31 AM   #13
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
No probs.
 
Old 05-01-2005, 04:27 AM   #14
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
Quote:
Originally posted by brokenflea
thank you so much for your help. i finally got the sound playing with xine. i'm getting the same thing with totem that the resource is busy ...etc .
It is because your totem isn't configured to use esd and esd blocks the sound device. If you can find your totem_config (or .totem_config) then you just have to edit the line that says:
audio.driverss -> audio.driver:esd
 
  


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
Audigy sound issue on Hoary - puzzled HalfDiminished Ubuntu 2 09-21-2005 03:31 PM
No sound using Ubuntu Hoary and Intel D915GEV system GreatBrak Linux - Hardware 31 08-02-2005 03:34 PM
sound blaster live 24-bit not recognized by ubuntu hoary hedgehog c-- Linux - Hardware 1 07-31-2005 07:01 AM
Upgrade hoary rc to hoary 5.04 = blinking cursor lachlan Ubuntu 0 04-13-2005 05:27 AM
Upgrading to hoary friendklay Ubuntu 1 03-23-2005 05:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration