LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   sound card problem in y410 wid fc-7 (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/sound-card-problem-in-y410-wid-fc-7-a-598412/)

harsha101087 11-09-2007 01:24 PM

sound card problem in y410 wid fc-7
 
Myself harsha,recently purchased lenovo y series y410(windows vista home basic ) opearting system..and installed fc-7 and found tat my sound card was not detected properly....and i tried to manage alsa mixer which also did not work.....
A sincere request to all u is to solve this prob of mine..
thanking u..

Iltbreg 11-09-2007 03:32 PM

Hi,

You need to provide more information.

First, the output for lspci
Second, the output for cat /etc/modprobe.conf
The output for cat /proc/asound/card0/codec#* | grep Codec would also help.

rs_vijay 11-10-2007 05:04 AM

fine .. first thanx for ur reply.. here is some related output
output of lspci
Code:

00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation Mobile LPC Interface Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation Mobile SATA IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
04:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
06:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express (rev 02)
08:06.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
08:06.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
08:06.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 12)
08:06.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
08:06.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)

then content of /etc/modprobe.conf
Code:

alias eth0 tg3
alias scsi_hostadapter ata_piix
options snd cards_limit=8 
alias snd-card-0 snd-hda-intel
options snd-hda-intel index=0

Code:

/proc/asound/cards reads "--no soundcards--" without quotes
and finally i think this info regarding alsa drivers installed at a standard installation of f7 might help :
Code:

alsa-lib-1.0.14-0.4.rc3.fc7
alsa-utils-1.0.14-0.5.rc2.fc7

hope i have posted sufficient information required.. waiting for ur replies..
thnx..

harsha

Iltbreg 11-10-2007 06:53 PM

That's plenty of information, thank you for providing it.

OK, so your sound card may be among the models that ALSA recognizes, but not properly. There are different possible solutions but you can start with the simple ones first and maybe you'll by lucky.

First the important part here is the following line in /etc/modprobe.conf:
Quote:

options snd-hda-intel index=0
For some people, editing this line by specifying a model did the trick. For example:
Quote:

options snd-hda-intel index=0 model=3stack
And then reboot

There are other possibilities such as model=6stack or model=auto or model=laptop, etc... That's why I asked you for the output of cat /proc/asound/card0/codec#* | grep Codec. Knowing which codec you have would help to know which model specifications are more likely to work. Are you sure that you can't get that information?


However, there are chances that simply modifying modprobe.conf won't work. In that case you will have to upgrade ALSA to the latest version (1.0.15).

rs_vijay 11-11-2007 07:17 AM

again i should thank u for ur reply sir..

yes sir.. there is no /proc/asound/card0 , instead the file /proc/asound/cards has the line
Code:

--no sound cards--
i have tried those model=... by adding it to my /etc/modprobe.conf followed by a reboot and none of those worked..

i tried upgrading to alsa-1.0.15.. but in the configuring step i found that i don't have the kernel sources for kernel 2.6.21 which i'm currently using i.e /lib/modules/2.6.21/build points to a location that doesn't exist.. i don't understand why kernel sources aren't installed at a standard installation of a linux distro (fedora-7 in my case !!) ..

is there any way to get the kernel sources of my currently configured and working kernel other than recompiling the source for 2.6.21 available on the net ??? i mean something like getting that from my installation dvd etc..

hope i'm sufficiently clear..
thnx and regards..

harsha

Iltbreg 11-11-2007 11:21 AM

Right, so your sound card is not being recognized at all. I should have seen that from your lspci output, there's no audio device specified. Sorry.

Well, it appears that upgrading ALSA to 1.0.15 would be the thing to do. I myself had tried it back when I had Fedora 7 on my laptop. I compiled everything from source and I failed miserably. So the thing I did was to replace Fedora 7 with Fedora 8. It's easier and F8 has the latest drivers, in addition of having improved laptop support in general over F7.

So if there is something that I can suggest to you is to install Fedora 8, if you don't mind doing that of course.

Iltbreg 11-11-2007 11:44 AM

No no no no no! Forget the first part in my last post!! There is an audio device detected in lspci!! Sorry, sorry , sorry... What was I thinking?

It's right there:
Code:

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
One thing that you can do is run alsaconf.

But there are chances that the sound still won't be working after that. In that case, an ALSA upgrade would be necessary. This bug with that kind of sound card has been widely reported to the alsa-devlopment team and they fixed it in their latest version. In that case, my suggestion to go with Fedora 8 still stands.

Again, sorry for the previous post.

harsha101087 11-12-2007 10:06 AM

hi sir.. now i have performed a clean install of fc8 and that still didn't
solve my problem ... here is some related output...

Code:

$ uname -r
 2.6.23.1-42.fc8

Code:

$ cat /etc/modprobe.conf
 alias eth0 tg3
 alias scsi_hostadapter libata
 alias scsi_hostadapter1 ata_piix
 options snd cards_limit=8
 alias snd-card-7 snd-usb-audio
 options snd-usb-audio index=7

Code:

$ rpm -qa | grep -i alsa
 alsa-plugins-pulseaudio-1.0.14-5.fc8
 alsa-lib-1.0.15-1.fc8
 alsa-lib-devel-1.0.15-1.fc8
 bluez-utils-alsa-3.20-4.fc8
 alsa-utils-1.0.15-1.fc8
 alsa-lib-1.0.15-1.fc8

Code:

$ lsmod | grep -Ei 'snd|sound'
 snd_hda_intel        361833  2
 snd_usb_audio          95169  0
 snd_usb_lib            24001  1 snd_usb_audio
 snd_rawmidi            28865  1 snd_usb_lib
 snd_seq_dummy          11461  0
 snd_seq_oss            37313  0
 snd_seq_midi_event    15041  1 snd_seq_oss
 snd_seq                56673  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
 snd_seq_device        15061  4 snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
 snd_pcm_oss            45889  0
 snd_mixer_oss          22721  1 snd_pcm_oss
 snd_pcm                80201  3 snd_hda_intel,snd_usb_audio,snd_pcm_oss
 snd_timer              27721  2 snd_seq,snd_pcm
 snd_page_alloc        16465  2 snd_hda_intel,snd_pcm
 snd_hwdep              16073  2 snd_hda_intel,snd_usb_audio
 snd                    60137  15 snd_hda_intel,snd_usb_audio,snd_rawmidi,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep
 soundcore              15073  1 snd

Code:

$ cat /proc/asound/cards
  0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xf8300000 irq 22

the above one seems a little bit improvement... earlier it read no sound cards !!!

Code:

$ ls /proc/asound/card0
  codec#0  codec#1  id  oss_mixer  pcm0c  pcm0p  pcm1p  pcm2c  pcm6c  pcm6p

Code:

$ cat /proc/asound/card0/codec#0 | grep -i codec
 Codec: Realtek ALC262

Code:

$ cat /proc/asound/card0/codec#1 | grep -i codec
 Codec: Motorola Si3054

hope this might be sufficient information ... awaiting ur reply..
thnx.. and regards

harsha

Iltbreg 11-12-2007 12:01 PM

That's plenty of information, thanks.

OK, first, I must say that I didn't expect your modprobe.conf to look like this. I expected it to be like the one you had with Fedora 7. That snd-usb-audio thing looks wierd to me. So here's what you will do.

First make a backup copy of your current modprobe.conf file.

Once this is done, you will edit modprobe.conf and do the following:

1) Comment out the two last lines like this:
Code:

# alias snd-card-7 snd-usb-audio
# options snd-usb-audio index=7

2) Add the following lines at the end:
Code:

alias snd-card-0 snd-hda-intel
options snd-card-0 index=0
options snd-hda-intel index=0

Just make sure that there is a carriage return (blank line) at the bottom of the file.

3) Reboot


It is however possible that even after all this, you still have no sound. In that case, you may need to specify a model. If you need to do that, try the following:
Code:

options snd-hda-intel index=0 model=thinkpad
or
Code:

options snd-hda-intel index=0 model=lenovo
or
Code:

options snd-hda-intel index=0 model=auto

Good luck.

harsha101087 11-28-2007 09:41 PM

Srry sir for not replying u...thanks for giving the guidance...
ihave done wat u have told me..but it didnt work..still no sound..so

I have performed again clean install..of fc-8 and also tried installing ubuntu 7.10..still the problem of sound remains.. now plz find the following information...

cat /etc/modprobe.conf
Code:

alias eth0 tg3
alias scsi_hostadapter libata
alias scsi_hostadapter1 ata_piix
alias snd-card-0 snd-hda-intel
options snd-card-0 index=0
options snd-hda-intel index=0

waiting for ur reply..
harsha

Iltbreg 11-29-2007 08:11 PM

So you're saying that after a clean install, even if you specify a model in modprobe.conf, as suggested above, the sound still isn't working?

If you go to that link http://www.mjmwired.net/kernel/Docum...ration.txt#757 you will find (starting at line 757) a list of other model names that you can try, according to different codec chips (ALC262 in your case but you can try the others too).

If even after all that you still get no sound, then I afraid your problem is beyond me. The only thing that I could suggest in that case is that you file a bug report at the Alsa Project web page (https://bugtrack.alsa-project.org/alsa-bug/). They could probably propose you other solutions like a Realteck patch to install for alsa driver, or something like that.

harsha101087 12-10-2007 08:25 AM

Hi Sir....
I am really grateful to you..for trying to solve my problem..of sound in my laptop....
and finally i have found the solution for my problem..
The soluiton is like this.... edit the etc/modprobe.conf like this...

options snd-hda-intel index=0 model=fujitsu...

and this really worked....but the input output jack like earphones..headphones..etc dont work....
if you can try to solve this...problem...i would be really grateful...

Thanking you..
harsha

MHansel 01-15-2008 03:08 PM

This worked!
 
Modifying the /etc/modprobe.conf file and adding "model=fujitsu" at the end worked like a champ. Thank you all for your help!

Quote:

Originally Posted by harsha101087 (Post 2985955)
Hi Sir....
I am really grateful to you..for trying to solve my problem..of sound in my laptop....
and finally i have found the solution for my problem..
The soluiton is like this.... edit the etc/modprobe.conf like this...

options snd-hda-intel index=0 model=fujitsu...

and this really worked....but the input output jack like earphones..headphones..etc dont work....
if you can try to solve this...problem...i would be really grateful...

Thanking you..
harsha


jazzi 07-20-2008 08:25 PM

Quote:

Originally Posted by MHansel (Post 3023667)
Modifying the /etc/modprobe.conf file and adding "model=fujitsu" at the end worked like a champ. Thank you all for your help!

I got the similar problem with ALC861, alsaconf can figure out my card and alsamixer -c 2 works, but have no Master or PCM, and left, right, or center can't change the volume.

I'll try this in my /etc/modprobe.conf:

Quote:

alias snd-card-0 snd-hda-intel
options snd-card-0 index=0
options snd-hda-intel index=0 model=3stack
See more options or alsa configurate guide:
http://www.mjmwired.net/kernel/Docum...figuration.txt

jazzi 07-21-2008 09:03 AM

It doesn't work!!!!!!!
 
Quote:

Originally Posted by jazzi (Post 3221030)
I got the similar problem with ALC861, alsaconf can figure out my card and alsamixer -c 2 works, but have no Master or PCM, and left, right, or center can't change the volume.

It doesn't work, I still can't get the sound.
here is my /etc/modprobe.conf

Quote:

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
alias char-major-116-* snd
alias char-major-14-* soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-hda-intel
options snd-card-0 index=2
options snd-hda-intel index=2 model=3stack
alias sound-slot-0 snd-hda-intel
alias parport_lowlevel parport_pc
alias char-major-10-144 nvram
alias binfmt-0064 binfmt_aout
alias char-major-10-135 rtc

### update-modules: start processing /etc/modprobe.d/blacklist
# This file lists modules which will not be loaded by udev,
# not at coldplugging and not on hotplug events.

# Add your own entries to this file
# in the format "blacklist <name of module>"

# Some examples:
# evbug is a debug tool and should be loaded explicitly
blacklist evbug

# Autoloading eth1394 most of the time re-orders your network
# interfaces, and with buggy kernel 2.6.21, udev persistent-net
# is not able to rename these devices, so you get eth?_rename devices
# plus an exceeded 30sec boot timeout
blacklist eth1394
Code:

cat /proc/asound/cards
Quote:

0 [Dummy ]: Dummy - Dummy
Dummy 1
1 [VirMIDI ]: VirMIDI - VirMIDI
Virtual MIDI Card 1
2 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xfe028000 irq 5
Code:
Quote:

# lsmod
Module Size Used by
nvidia 6615364 30
pcspkr 1664 0
snd_hda_intel 142876 0
ehci_hcd 23564 0
k8temp 3584 0
ohci_hcd 16772 0
thermal 11292 0
forcedeth 35980 0
usbcore 87020 3 ehci_hcd,ohci_hcd
fan 3204 0
processor 18992 1 thermal
button 5776 0
sg 22560 0
Code:
Quote:

# aplay -l

***** List of PLAYBACK Hardware Devices ****
card 0: Dummy [Dummy], device 0: Dummy PCM [Dummy PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 2: NVidia [HDA NVidia], device 0: ALC861 Analog [ALC861 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 1: ALC861 Digital [ALC861 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0


All times are GMT -5. The time now is 09:45 PM.