Jump to content

No sound (no /dev/dsp)


jethro
 Share

Recommended Posts

Hi everybody,

 

Since I have installed Mandriva 2009.0 I have no sound. This wasn't a problem under 2008.1 or any other previous versions.

 

This is the output of "lspci | grep Audio":

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)

I do not seem to have a "/dev/dsp" audio device.

 

I tried messing around with modprobe.conf, but I do not really seem to be able to fix the problem...

 

Best regards,

Jethro

Link to comment
Share on other sites

Firrst find codec

 

Each codec dumps the widget node information in

/proc/asound/card*/codec#* file. This information would be really

helpful for debugging. Please provide its contents together with the

bug report.

 

add line to modprobe.conf

 

options snd-hda-intel position_fix=1 model=xxxxx

 

Paste here codec, how computer you have, probe insert model = acer .....Lex

Edited by Lexicon
Link to comment
Share on other sites

Thanks for your reply!

 

Firrst find codec

 

Each codec dumps the widget node information in

/proc/asound/card*/codec#* file. This information would be really

helpful for debugging. Please provide its contents together with the

bug report.

I do not have a "card*/" in "/proc/asound/", this is what I do have:

[root@localhost etc]# ll /proc/asound/
total 0
-r--r--r-- 1 root root 0 2008-10-28 11:42 cards
-r--r--r-- 1 root root 0 2008-10-28 11:42 devices
-r--r--r-- 1 root root 0 2008-10-28 11:42 hwdep
-r--r--r-- 1 root root 0 2008-10-28 11:42 modules
dr-xr-xr-x 2 root root 0 2008-10-28 11:42 oss/
-r--r--r-- 1 root root 0 2008-10-28 11:42 pcm
dr-xr-xr-x 2 root root 0 2008-10-28 11:42 seq/
-r--r--r-- 1 root root 0 2008-10-28 11:42 timers
-r--r--r-- 1 root root 0 2008-10-28 11:42 version

 

add line to modprobe.conf

 

options snd-hda-intel position_fix=1 model=xxxxx

 

Paste here codec, how computer you have, probe insert model = acer .....Lex

 

I modified my modprobe.conf, it now looks like this:

root@localhost etc]# cat ./modprobe.conf
install scsi_hostadapter /sbin/modprobe ahci; /sbin/modprobe ata_piix; /bin/true
install usb-interface /sbin/modprobe ehci_hcd; /sbin/modprobe uhci_hcd; /bin/true
alias eth0 e1000e
remove snd-hda-intel /sbin/modprobe --first-time -r --ignore-remove snd-hda-intel
install snd-hda-intel /sbin/modprobe --first-time --ignore-install snd-hda-intel
options snd-hda-intel position_fix=1 model=acer
remove unknown /sbin/modprobe --first-time -r --ignore-remove unknown
install unknown /sbin/modprobe --first-time --ignore-install unknown
alias snd-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel

 

It first contained entries with "snd_hda_intel", I changed these to "snd-hda-intel" and added the stuff you said.

 

I am now going to reboot to see if this fixes my sound problem, I will report back here in a few minutes.

Link to comment
Share on other sites

The reboot is finished, but I still do not have /dev/dsp (so also no sound).

 

This is what I get from dmesg:

HDA Intel 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16

HDA Intel 0000:00:1b.0: setting latency timer to 64

input: HDA Digital PCBeep as /class/input/input4

hda-intel: no codecs initialized

HDA Intel 0000:00:1b.0: PCI INT A disabled

And this is what I get from "/proc/asound/cards":

[jethro2@localhost ~]$ cat /proc/asound/cards

--- no soundcards ---

Best regards,

Jethro

Link to comment
Share on other sites

Please try with kernel-2.6.27.4-0.uc1mnb2 from the /main/testing repository. It fixes quite a lot of this kind of issue, it may well fix it for you. Remember to install the matching -devel package for whichever flavor of the kernel you install.

 

I found the kernel you mean, the note says:

kernel-2.6.27.4-0.uc1mnb - Virtual rpm for installing the default kernel​ 

This package is a virtual rpm that helps the installer to install the default kernel during the transition to the new naming scheme.

 

For instructions for update, see: http://www.mandriva.com/en/security/kernelupdate

 

NOTE: This is work-in-progress (WIP) development kernel.

 

Can I install this kernel without permanently destroying my system if things go wrong? I.e.: can I keep my old kernel and boot up my system with this old kernel if this new kernel breaks things?

Link to comment
Share on other sites

Install dkms-virtualbox, look

 

[root@localhost lex]# urpmi dkms-virtualbox								  

instalowanie dkms-virtualbox-2.0.2-2mdv2009.0.i586.rpm z /media/cdrom/i586/media/main																	 
Przygotowywanie...			   ##########################################  
  1/1: dkms-virtualbox	   ##########################################  
+ /usr/sbin/dkms --rpm_safe_upgrade add -m virtualbox -v 2.0.2-2mdv2009.0	

Creating symlink /var/lib/dkms/virtualbox/2.0.2-2mdv2009.0/source ->
			 /usr/src/virtualbox-2.0.2-2mdv2009.0			   

DKMS: add Completed.
+ /usr/sbin/dkms --rpm_safe_upgrade build -m virtualbox -v 2.0.2-2mdv2009.0

Preparing kernel 2.6.27.4-desktop-0.uc1mnb for module build:
(This is not compiling a kernel, just preparing kernel symbols)
Storing current .config to be restored when complete
Running Generic preparation routine
make mrproper.........
using /proc/config.gz
make oldconfig....
make prepare....

Building module:
cleaning build area....
make KERNELRELEASE=2.6.27.4-desktop-0.uc1mnb -C /lib/modules/2.6.27.4-desktop-0.uc1mnb/build M=/var/lib/dkms/virtualbox/2.0.2-2mdv2009.0/build..........
cleaning build area....
cleaning kernel tree (make mrproper).....

DKMS: build Completed.
+ /usr/sbin/dkms --rpm_safe_upgrade install -m virtualbox -v 2.0.2-2mdv2009.0

vboxdrv.ko.gz:
- Installation
  - Installing to /lib/modules/2.6.27.4-desktop-0.uc1mnb/dkms/3rdparty/vbox/

depmod........

DKMS: install Completed.
+ /sbin/modprobe vboxdrv
[root@localhost lex]#

 

 

insert line in /etc/modprobe.preloald and type
vboxdrv

......Lex

Edited by Lexicon
Link to comment
Share on other sites

When booting with the new kernel I get a /dev/dsp device. However the nvidia module could not be found so I am not able to startx. When can we expect the new kernel to move to the main repository?

Link to comment
Share on other sites

Right, that should do it. We don't bother rebuilding the binary packages for DKMS-handled drivers for the testing kernels, so you need to have the kernel -devel package installed so they can be compiled from source at boot time. If you just install the appropriate kernel -devel package and reboot it should all be taken care of.

Link to comment
Share on other sites

The new kernel is now moved to the main repository, so I installed it right away. I am now running with: 2.6.27.4-desktop586-1mnb. The good thing is this results in a /dev/dsp, however now I only hear static...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...