Jump to content

Sound Troubles.


flight_master
 Share

Recommended Posts

Hey guys, It's me again, :P Well, I have my video, modem, ethernet, and joystick working, now i just can't seem to get my sound to work. I have a Intel onboard audio chip on a D865PERL board. It's an AC`97 codec. I've tried downloading the driver from Intel's site, but they don't work. Any help would be appreciated :help:

 

 

Christian

Link to comment
Share on other sites

Open a console. su to root, like this:

(assuming you are using a 2.6.* kernel....the command uname -r tells you. If you are using a 2.4.* kernel, replace the file name modprobe.conf with modules.conf)

 

su <<hit enter>>

<<type root password....you won't see output...hit enter>>

kwrite /etc/modprobe.conf

 

Edit the line that has sound-slot-0 in it to read

alias sound-slot-0 snd-intel8x0

 

Whatever you replace with snd-intel8x0, make sure you replace all occurences of it with snd-intel8x0 in the file. Save the file, close it and type:

 

service alsa restart

 

Making sure that nothing that uses sound is running. Note: you may have to reboot to get good results, but I doubt it.

Link to comment
Share on other sites

Hi again,

 

I check that file, this is what I had in it, so I didn't edit anything:

alias ieee1394-controller ohci1394
alias eth0 e1000
alias sound-slot-0 snd-intel8x0
install scsi_hostadapter /sbin/modprobe imm; /sbin/modprobe ppa; /bin/true
install snd-intel8x0 /sbin/modprobe --first-time --ignore-install snd-intel8x0 && { /sbin/modprobe snd-pcm-oss; /bin/true; }
install usb-interface /sbin/modprobe usb-uhci; /sbin/modprobe ehci-hcd; /bin/true
remove snd-intel8x0 { /sbin/modprobe -r snd-pcm-oss; }; /sbin/modprobe -r --first-time --ignore-remove snd-intel8x0

 

When I restart Alsa, I get this:

Doing alsactl to store mixer settings...Mutex destroy failure: Device or resource busy
                                                               [  OK  ]
Shutting down ALSA sound driver (version 1.0.2c):               [  OK  ]
Starting ALSA version 1.0.2c: intel8x0.                         [  OK  ]
Doing alsactl to restore mixer settings...                      [  OK  ]
[root@localhost christian]# ICE default IO error handler doing an exit(), pid = 2785, errno = 0
ICE default IO error handler doing an exit(), pid = 2792, errno = 0

 

I am really confused here.... B)

Link to comment
Share on other sites

As your regular user, run

 

aumix

 

If it is not installed, you have to install it as root. Make sure the volumes are correct. If the volumes aren't too low or muted and you still have no sound, add yourself to the audio group. As root, run userdrake, highlight your regular username and click Edit. Click the Groups tab and add audio over to the proper side.

Link to comment
Share on other sites

Again, thanks for your reply; I ran aumix, didn't have it installed, so when to mcc and installed it. All my volumes are at 100, except for Rec which is muted. I then ran userdrake, and added myself to the audio group, still no go. Even after a restart.

 

:help:

 

Oh, and just a fyi I'm running Mdk 10.0 Community edition (I know I should upgrade, and will once 10.1 is released.)

 

Thanks!

Christian

Link to comment
Share on other sites

No, I don't think you should upgrade.

If you are using KDE, as root in a console, type (If not using KDE, skip to my other suggestion):

kcontrol

 

Look for Sound in there somewhere. Uncheck the box that says "Enable" , click Apply then OK. Trust me, I know that sounds backwards, but KDE uses its own sound server which sometimes (read 'often') intereferes with alsa. You may have to log out of KDE and back in to get sound to come back. You may even have to reboot, but I doubt it.

 

If that doesn't work, as root in a console, type:

chmod 0777 /dev/dsp* /dev/mixer* /dev/sequencer*

 

See if you then get sound.

Edited by Steve Scrimpshire
Link to comment
Share on other sites

No, I don't think you should upgrade.

If you are using KDE, as root in a console, type (If not using KDE, skip to my other suggestion):

kcontrol

 

Look for Sound in there somewhere. Uncheck the box that says "Enable" , click Apply then OK. Trust me, I know that sounds backwards, but KDE uses its own sound server which sometimes (read 'often') intereferes with alsa. You may have to log out of KDE and back in to get sound to come back. You may even have to reboot, but I doubt it.

 

If that doesn't work, as root in a console, type:

chmod 0777 /dev/dsp* /dev/mixer* /dev/sequencer*

 

See if you then get sound.

 

 

Thanks for you help! I'll try that this weekend, as I don't have the time right now :unsure:

 

I'll let you know how it goes, :thanks:

Link to comment
Share on other sites

Hey, it's me again, I tried what you said, still no go. When I went into draksound, and changed my audio driver, it still didn't work, i couldn't even launch freeciv anymore :wall: v. weird... anyway, i was wondering if it could be due to the fact that Mandrake 10 comes with alsa 1.0.2, while the intel drivers are 1.0.1 if so, would it be a good idea to upgrade to 1.0.6? and how would i go about this?

 

Here is the output of the recommended troubleshooter:

 

[christian@localhost christian]$ lspcidrake -v |fgrep AUDIO
snd-intel8x0    : Intel Corp.|82801EB AC'97 Audio [MULTIMEDIA_AUDIO] (vendor:8086 device:24d5 subv:8086 subd:a000)
[christian@localhost christian]$ grep sound-slot /etc/modules.conf
alias sound-slot-0 snd-intel8x0
[christian@localhost christian]$ /sbin/lsmod
Module                  Size  Used by
snd-seq-oss            33568  0
snd-seq-midi-event      8704  1 snd-seq-oss
snd-seq                55696  4 snd-seq-oss,snd-seq-midi-event
snd-pcm-oss            53316  0
snd-mixer-oss          19008  1 snd-pcm-oss
snd-intel8x0           34440  0
snd-ac97-codec         59588  1 snd-intel8x0
snd-pcm                97440  2 snd-pcm-oss,snd-intel8x0
snd-timer              26660  2 snd-seq,snd-pcm
gameport                5664  1 snd-intel8x0
snd-page-alloc         12996  2 snd-intel8x0,snd-pcm
snd-mpu401-uart         8320  1 snd-intel8x0
snd-rawmidi            25248  1 snd-mpu401-uart
snd-seq-device          9032  3 snd-seq-oss,snd-seq,snd-rawmidi
snd                    55492  12 snd-seq-oss,snd-seq-midi-event,snd-seq,snd-pcm-oss,snd-mixer-oss,snd-intel8x0,snd-ac97-codec,snd-pcm,snd-timer,snd-mpu401-uart,snd-rawmidi,snd-seq-device
soundcore              10560  1 snd
ppp_deflate             7104  0
zlib_deflate           23896  1 ppp_deflate
zlib_inflate           23648  1 ppp_deflate
bsd_comp                6944  0
ppp_async              13280  1
ppp_generic            32720  7 ppp_deflate,bsd_comp,ppp_async
slhc                    8192  1 ppp_generic
ac97_codec             18828  0
appletalk              40272  2
ax25                   66020  2
ipx                    33220  2
sg                     40028  0
sr_mod                 18148  0
fglrx                 201932  189
autofs4                17120  2
nfsd                  175840  0
exportfs                7552  1 nfsd
md5                     4864  1
ipv6                  251392  14
ip_vs                 103872  0
hid                    55360  0
raw                     8640  1
ide-floppy             19776  0
ide-tape               36752  0
ide-cd                 41764  0
cdrom                  38272  2 sr_mod,ide-cd
floppy                 61620  0
e1000                  83684  0
ohci1394               35684  0
ieee1394              290480  1 ohci1394
reiserfs              254356  1
nls_iso8859-1           4896  2
ntfs                   87532  2
supermount             39856  2
lirc_atiusb            11012  0
lirc_dev               14592  2 lirc_atiusb
intel-agp              18364  1
agpgart                32460  1 intel-agp
ppa                    13448  0
parport_pc             34304  0
imm                    13608  0
scsi_mod              117808  4 sg,sr_mod,ppa,imm
parport                41032  3 ppa,parport_pc,imm
usblp                  13664  0
ehci-hcd               25572  0
uhci-hcd               31856  0
usbcore               103228  7 hid,lirc_atiusb,usblp,ehci-hcd,uhci-hcd
rtc                    13640  0
ext3                  114216  1
jbd                    61976  1 ext3
[christian@localhost christian]$ /sbin/chkconfig -list sound
-list: unknown option
[christian@localhost christian]$ /sbin/chkconfig --list alsa
alsa            0:off   1:off   2:on    3:on    4:on    5:on    6:off
[christian@localhost christian]$ /sbin/chkconfig --list sound
sound           0:off   1:off   2:on    3:on    4:on    5:on    6:off
[christian@localhost christian]$ aumix -q
bash: aumix: command not found
[christian@localhost christian]$ /sbin/fuser v /dev/dsp
v: No such file or directory
/dev/dsp: No such file or directory
[christian@localhost christian]$ /sbin/fuser -v /dev/dsp
/dev/dsp: No such file or directory
[christian@localhost christian]$

 

Also, when i change a driver, i get this in the konsole window:

ERROR: Module snd-intel8x0 does not exist in /proc/modules

sorry if i sound like a n00b, but I am one :woops:

 

Christian

Link to comment
Share on other sites

  • 2 weeks later...

:afro:

 

I'm expiriencing the same problem, but I'm still using MDK 9.2.

Some of my freinds have moved on to MDK 10.0; still they also have the same problem of having no sound.

 

/dev/dsp , /dev/mixer/ ... do not exist.

 

I tried to look at the /dev directory on a Debian machine, and everthing is there.

 

:angry: I still have about 9.2 GB of space, so I can install Red Had---I think I'm gonna have to move to Red Hat if no help comes through in the next two weeks.

Link to comment
Share on other sites

Disclaimer: I'm not completely sure about this. If they use alsa they won't have /dev/dsp etc etc but dev/sound/dsp etc etc. The /dev/dsp is a device created by oss. However when you have alsa-oss emulation the /dev/dsp is created as a link to /dev/sound/dsp.

 

KDE should autodetect if you're using alsa or oss so you should always have sound. However, you can force it to use alsa or oss in the kde control center.

 

When you have configured everything correctly, and don't get any errors, the reason why you don't have sound is almost always because something is muted. So open a mixer (if you use alsa preferable alsamixergui) and check what channels are muted.

 

Good luck.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...