[Solved][Ubuntu 7.04] No sound

Don´t be shy, Linux is fun! =)
Post Reply
User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

[Solved][Ubuntu 7.04] No sound

Post by ayu »

ok so this is starting to piss me of. I haven't done much to fix the video yet since i want video first. But this is what i have tried

1: reinstalled alsa and recompiled and such (didn't work)

2: added "options snd-hda-intel model=ref" to /etc/modprobe.d/alsa-base

When i play a video, the video/media player just flashes and closes. And when i play a music file, the media player starts and the visualizer starts to move, but no sound is coming.

I get this from aplay --list-devices

Code: Select all

root@clare:/etc/modprobe.d# aplay --list-devices
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: HDA Generic [HDA Generic]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
*Note: i have a modem as well, guess it is recognized as a sound device?

when i do lspci -v i get

Code: Select all

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
        Subsystem: COMPAL Electronics Inc Unknown device 0026
        Flags: bus master, fast devsel, latency 0, IRQ 23
        Memory at f8400000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0
I followed this guide as well without any luck (didn't try all of the options further down on that page, will do now though)

https://help.ubuntu.com/community/HdaIntelSoundHowto


If anyone has a solution or other info that could help me with either sound or video (or both) then please post it here =)
Last edited by ayu on 29 Aug 2007, 10:40, edited 3 times in total.
"The best place to hide a tree, is in a forest"

User avatar
computathug
Administrator
Administrator
Posts: 2693
Joined: 29 Mar 2007, 16:00
17
Location: UK
Contact:

Post by computathug »

have you tried playing any video or sound throught the browser first or just off disc?

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

Thanks for telling me that, totally forgot =)

Well, video works on youtube at least, but still no sound
"The best place to hide a tree, is in a forest"

User avatar
computathug
Administrator
Administrator
Posts: 2693
Joined: 29 Mar 2007, 16:00
17
Location: UK
Contact:

Post by computathug »

take a look here this may help getting it going


Code: Select all

http://alumnus.caltech.edu/~dairiki/libmmoss/

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

I will take a look at that Thug.

Here is my sound settings btw, if it helps any =/

Notice the "realtek"

Image

and

Image
"The best place to hide a tree, is in a forest"

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

Maybe it's a problem with modules not loading? =/

i dunno ^^ ...any ideas would be appreciated....

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

tried the system sounds already? would be good to see if the problem is caused by missing codecs or if it's a general sound problem.... :-k

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

Just tested the system sounds, didn't work.

Also i just made a change

i added "options snd-hda-intel probe_mask=1"

to "/etc/modprobe.d/alsa-base"

Instead of just "pretending" to play in XMMS, it now gives me an error instead.

Image

What to do now? ^^

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

Just to add on the crap lol, i got an error when opening a random file with gedit....something about ALSA ;/ looks interesting.

Code: Select all

(gedit:23243): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
ALSA lib confmisc.c:769:(parse_card) cannot find card '�EIntel'
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:769:(parse_card) cannot find card '�EIntel'
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

I'll take a look tomorrow....final work on the website today (domain transfer and DNS config), so I'm pretty busy today... :-88

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

Ok thanks b_b =) i will continue my useless attempts until then xD

btw congratz on your 3k post ^^
"The best place to hide a tree, is in a forest"

shamir
Computer Manager
Computer Manager
Posts: 853
Joined: 01 Mar 2007, 17:00
17
Location: NY
Contact:

Post by shamir »

neo130 wrote:
btw congratz on your 3k post ^^
but congrats him on his 3001 post, congrats, BB, off topic sorry. :lol:

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

kk so i got an almost exact error again, the only difference is that i opened a music file with XMMS in bash this time, and got this

Code: Select all

root@clare:/home/cats/Desktop# xmms conexantwm.mp3
Message: device: default
ALSA lib confmisc.c:769:(parse_card) cannot find card '�}Intel'
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default

** WARNING **: alsa_setup(): Failed to open pcm device (default): No such device

** WARNING **: alsa_setup(): Failed to open pcm device (default): No such file or directory
I also tried with my sega emulator, got this

Code: Select all

cats@clare:~/Desktop/Genesis$ dgen -G 100 100 ZEROWING.SMD
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'defaults.pcm.dmix.device'
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default
sdl: Couldn't open audio: No available audio device!
main: Couldn't load ROM file 100!
cats@clare:~/Desktop/Genesis$

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

Ok, sound working now =)

I found a patch on the ALSA bug reports.

First of all, all the info is found here
https://bugtrack.alsa-project.org/alsa- ... hp?id=3104

The fix is to download a file

THIS one and THIS one

then...

1. uncompress the ONLY the hda_proc.c from the realtek16 file, and then the other one from the 17.
2. replace the ..//alsa-kernel/pci/hda/hda_proc.c and patch_realtek.c.
3. recompile and reinstall

you can use this tut to recompile ^^
https://help.ubuntu.com/community/HdaIntelSoundHowto

(try without this line first)
4: add the following line to /etc/modprobe.d/alsa-base:
options snd-hda-intel model=toshiba

5: reboot

and...success! ^^


EDIT: configuration of the most of your sound/video programs will most likely be needed, so don't loose your hope if it doesn't work right away
Last edited by ayu on 29 Aug 2007, 11:46, edited 3 times in total.

User avatar
computathug
Administrator
Administrator
Posts: 2693
Joined: 29 Mar 2007, 16:00
17
Location: UK
Contact:

Post by computathug »

a big congratualations matey, well done. :wink:

Post Reply