PDA

View Full Version : Mandriva Linux 2005 SE won't play sound



mister harbies
14-07-2005, 06:40 PM
Hi fellow F1ers,

I took the plunge last week... it might have been a stupid decision, but I deleted Win XP Pro and installed Mandriva 2005 instead.

The problem I have is that there is no sound. My MP3s do not play in any audio program including Amaraok. There is no internet connection on this box yet...

Tried system sounds, but there is nothing... system properties tells me that a sound card is there, and even recognised the brand... I tried all the inputs and output (just in case I put the plug in the wrong one).

Am I supposed to install a driver or a codec? Its not only MP3s that have the problem but all sound files.

Im kinda stumped... and am not suprised, afterall I don't think Linux is that user friendly... but I want to persevere and learn Linux. Im sticking by it.

Any help would be appreciated.

ILikeLinux
14-07-2005, 06:48 PM
Have you made sure that all the sound levels are up, and made sure that they are not muted in what ever mandriva uses for sound levels?

No I'm pretty sure you don't need to install any drivers or codecs for mandrake (aka mandriva) out of the box.

mister harbies
14-07-2005, 07:03 PM
Checked everything I could find...

MP3s do not play... and I mean the timer does not start, but when I play an audio CD, the timer starts, but there is no sound...

:confused:

Jen
14-07-2005, 07:17 PM
Try this: Go ALT-F2 and enter in kmix, but before hitting enter click on the Options >> button underneath and put a tick under "Run as a different user". Make sure root is in the username field and then put root's password in. Now click on the "Run" button. Adjust the volumes and then File > Quit.

Myth
14-07-2005, 08:50 PM
As far as MP3s are concerned, I know Fedora no longer supports MP3 but there is a codec available for download (well I know there is one for Xmms which is what I use)
I don't think many of the other distros support MP3 either (straight off the disc).
You will have to look for and download it.

mister harbies
14-07-2005, 09:04 PM
Jen,

I entered kmix as root, all volumes at full, but there is still nothing.

Tried it with and without earphones... there is nothing.

By the way it is onboard sound (nvidia) and am running AMD with Gigabyte MB. Just thought this extra bit of information might help.

Chilling_Silence
14-07-2005, 10:33 PM
Okay, we have a few things to check:
Permissions - Try:
cat /dev/urandom > /dev/dsp
*Press Ctrl + C to stop the noise if it comes out*

Drivers loaded:
Press Alt + F2 and type:
konsole
Now, type:
su -
*enter root password*
lsmod

Try changing what output XMMS uses.
Try alsa, oss, arts, esd
See if any of them work

Post the results


Chill.

Bam_Bam
14-07-2005, 11:09 PM
Do you have a soundblaster live card? With Mandrake 9.2 I had to download emu10k1 driver file to get the card to work. There might be something more up to date out now. So give www.linuxquestions.org a try.

mister harbies
14-07-2005, 11:33 PM
ah Chill....

I don't quite understand the permissions part

Where do I type this command? "cat /dev/urandom > /dev/dsp"


When I went into konsole and typed "su -", then "lsmod" I got a list. I will post the results when I can do the above command.

mister harbies
14-07-2005, 11:35 PM
Do you have a soundblaster live card? With Mandrake 9.2 I had to download emu10k1 driver file to get the card to work. There might be something more up to date out now. So give www.linuxquestions.org a try.

Im using an onboard sound card "nvidia", and mandriva 2005 was not released too long ago... all the drivers should be upto date...

Jen
14-07-2005, 11:57 PM
I don't quite understand the permissions part

Where do I type this command? "cat /dev/urandom > /dev/dsp"Chill is checking out whether as a common user you have the correct permissions on your sound. You need to enter that command in the konsole window, the same one that you used for the lsmod command. Try it as a user and again after su - to root. Don't forget CTRL-C will stop the noise if it works. :)

Chilling_Silence
15-07-2005, 01:23 AM
Bam_Bam: You shouldnt have to 'download' the emu10k1 driver. modprobe emu10k1 should suffice, unless you have one of the OEM Non-standard Dell SB!Live soundcards.

Otherwise, modprobe should work ;-)

mister harbies
15-07-2005, 11:53 AM
Okay, we have a few things to check:
Permissions - Try:
cat /dev/urandom > /dev/dsp
*Press Ctrl + C to stop the noise if it comes out*.
I get 'Device or resource busy' No Sound is heard



Drivers loaded:
Press Alt + F2 and type:
konsole
Now, type:
su -
*enter root password*
lsmod

This is the output from lsmod:

Module Size Used by
udf 85540 1
raw 6720 1
md5 3648 1
ipv6 232320 12
rfcomm 33692 0
l2cap 20644 5 rfcomm
bluetooth 41380 4 rfcomm,l2cap
snd-seq-dummy 2596 0
snd-seq-oss 31584 0
snd-seq-midi-event 6208 1 snd-seq-oss
snd-seq 47472 5 snd-seq-dummy,snd-seq-oss,snd-seq-midi-event
snd-seq-device 6796 3 snd-seq-dummy,snd-seq-oss,snd-seq
snd-pcm-oss 49056 0
snd-mixer-oss 17248 1 snd-pcm-oss
snd-intel8x0 29216 5
snd-ac97-codec 75256 1 snd-intel8x0
snd-pcm 80776 5 snd-pcm-oss,snd-intel8x0,snd-ac97-codec
snd-timer 20324 4 snd-seq,snd-pcm
snd-page-alloc 7588 2 snd-intel8x0,snd-pcm
snd 46980 15 snd-seq-oss,snd-seq,snd-seq-device,snd-pcm-oss,snd-mixer-oss,snd-intel8x0,snd-ac97-codec,snd-pcm,snd-timer
soundcore 7104 1 snd
parport_pc 31652 1
lp 9864 0
parport 31624 2 parport_pc,lp
af_packet 16232 0
floppy 54736 0
8139too 21408 0
mii 4224 1 8139too
ne2k-pci 8320 0
8390 7904 1 ne2k-pci
ide-cd 36772 2
ohci1394 31076 0
ieee1394 292152 1 ohci1394
loop 13544 0
nls_iso8859-15 4288 2
nls_cp850 4544 1
sd_mod 15920 0
vfat 11200 1
fat 35964 1 vfat
supermount 32660 1
nvidia-agp 5852 1
agpgart 28264 1 nvidia-agp
bt878 8504 0
tuner 20772 0
tda9887 12664 0
bttv 146448 1 bt878
video-buf 16900 1 bttv
firmware_class 7360 1 bttv
i2c-algo-bit 8392 1 bttv
v4l2-common 4672 1 bttv
btcx-risc 3848 1 bttv
tveeprom 11480 1 bttv
i2c-core 19028 5 tuner,tda9887,bttv,i2c-algo-bit,tveeprom
videodev 7264 1 bttv
usb-storage 71168 0
scsi_mod 115784 2 sd_mod,usb-storage
usblp 10784 1
ehci-hcd 28648 0
ohci-hcd 19112 0
usbcore 106008 6 usb-storage,usblp,ehci-hcd,ohci-hcd
ext3 123304 1
jbd 48344 1 ext3

Gribberish to me, and hopefully not to you...



Try changing what output XMMS uses.
Try alsa, oss, arts, esd
See if any of them work


I notice I didn't have xmms installed, so I downloaded it. But am having trouble installing it... grrrr

I downloaded the rpm file, and it says it is installed, but can not file the application.

SurferJoe46
15-07-2005, 12:00 PM
wow...and I thought simplified Chinese was hard!

Chilling_Silence
15-07-2005, 02:53 PM
Okay, try this:
Press Alt + F2 and type:
konsole
Now, type:
su -
*enter root password*
Now, type in:
chmod -R 777 /dev/ds* /dev/sound* /dev/mix*

These two modules tell me it should be all good:
snd-mixer-oss
snd-intel8x0

Cheers


Chill.

Graham L
15-07-2005, 04:06 PM
MP3 is a patented compression method. Many distributions prefer to avoid the possibility of expensive legal problems by not including it in the free distributions. Mandriva seems to have Lame, which is an open form of MP3. ;) Try "mp3 mandriva" to Google (www.google.co.nz). The first link from that appears to be worth a look.