Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

Intel HDA - no sound

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
76 posts
  • 1
  • 2
  • 3
  • 4
  • Next
Author
Message
AeroIllini
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 94
Joined: Sun Feb 01, 2004 11:39 pm

Intel HDA - no sound

  • Quote

Post by AeroIllini » Sun Jul 29, 2007 7:23 am

Ok, I've been all over the forums and the web in general, and I'm stumped.

I have the following Intel HDA audio card:

Code: Select all

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
I have media-sound/alsa-driver-1.0.14 installed (although I have also tried all this with stable media-sound/alsa-driver-1.0.14-rc2-r1 with the same results -- I have also tried built-in drivers and kernel modules, to no avail). The computer is a Toshiba Tecra A8 laptop. Alsamixer shows the chipset as Realtek ALC262.

Code: Select all

# emerge --info
Portage 2.1.2.9 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r4, 2.6.20-suspend2-r6 i686)
=================================================================
System uname: 2.6.20-suspend2-r6 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 29 Jul 2007 04:30:11 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -mfpmath=sse -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=prescott -pipe -mfpmath=sse -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ "
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aalib aiglx aim alsa battery berkdb bitmap-fonts bluetooth bonobo cdparanoia cdr cli cracklib crypt cups doc dri dvd dvdr dvdread en encode ffmpeg flac fortran ftp gdbm gif gimp glitz gpm gtk gtkhtml i810 iconv imagemagic intel ipv6 isdnlog jabber java jpeg jpeg2k jpg libg++ lm_sensors matroska midi mmx mmxext mng mp3 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp oscar oss pam pcre pdflib perl php png ppds pppd python quicktime readline real reflection rtc scanner sdl session sockets speex spell spl sse sse2 ssl svg svga svgalib tcpd tga theora tidy tiff truetype truetype-fonts type1-fonts unicode usb vcd vorbis wifi win32codecs wmf x86 xine xinerama xlib xml xml2 xorg xosd xpm xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Code: Select all

# cat /etc/modules.d/alsa
# Alsa kernel modules' configuration file.

# ALSA portion
# OSS/Free portion

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.14rc2 ---
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
# --- END: Generated by ALSACONF, do not edit. ---

options snd-hda-intel model=basic
/etc/init.d/alsasound starts with no problems. alsamixer shows all the correct channels, which are unmuted with volume at reasonable levels. But still, I get no sound... not out of the speakers, not out of the headphones. The only sound I hear right now is my head against the desk.

What can I possibly be missing?
Top
PaulBredbury
Watchman
Watchman
User avatar
Posts: 7310
Joined: Thu Jul 14, 2005 3:47 pm

  • Quote

Post by PaulBredbury » Sun Jul 29, 2007 7:30 am

Your /etc/modules.d/alsa is incomplete - look at the top - "alsa portition, oss portion" - but there's nothing there.

Anyway, follow wiki article carefully, to reduce the number of silly mistakes made.
Top
LiquidAcid
Apprentice
Apprentice
Posts: 171
Joined: Mon Sep 11, 2006 8:13 pm

  • Quote

Post by LiquidAcid » Sun Jul 29, 2007 5:06 pm

Nonsense, his /etc/modules.d/alsa is completly alright. I have nearly the same file, only with even fewer entries (removed the OSS part completly). The problem has to be somewhere else.
Top
PaulBredbury
Watchman
Watchman
User avatar
Posts: 7310
Joined: Thu Jul 14, 2005 3:47 pm

  • Quote

Post by PaulBredbury » Sun Jul 29, 2007 5:18 pm

It should be:

Code: Select all

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
Top
LiquidAcid
Apprentice
Apprentice
Posts: 171
Joined: Mon Sep 11, 2006 8:13 pm

  • Quote

Post by LiquidAcid » Sun Jul 29, 2007 6:19 pm

Code: Select all

 cat /etc/modules.d/alsa 
# Alsa kernel modules' configuration file.

# ALSA portion
# OSS/Free portion

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `modules-update' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
Works perfectly one more than five machines.
Top
AeroIllini
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 94
Joined: Sun Feb 01, 2004 11:39 pm

  • Quote

Post by AeroIllini » Sun Jul 29, 2007 6:39 pm

I tried PaulBredbury's solution of adding the alias lines to /etc/modules.d/alsa, but nothing changed.

I have been through all the wikis and all the howtos. Everything seems to work just fine: the modules load without error, dmesg indicates successful loading, alsamixer gives me proper channels which are unmuted and volume up'd, and when I play sound through programs such as aplay or xmms, they play without error as if the device exists. My /dev/dsp device exists, and writing /dev/random to it works without error.

But still there is no sound.

My guess at this stage would be that this is due to the complexity and intricacies of the snd-hda-intel driver itself. Looking through /usr/src/linux/Documentation/sound/alsa/ALSA-Configuration.txt, I see that there are lots of different sound cards and boards that all use the same driver, and it's possible that I don't have the right parameters passed to the module. Also, I think maybe the modem is on the same chipset, and perhaps that is interfering with operation of the sound card, but I don't know how to turn it off (there's no option in the BIOS dealing with the modem).

But keep the ideas coming, and I'll try 'em all.

(Note: this is not a hardware problem. I still have the factory-installed WinXP partition, and sound works just fine on that side of the dual boot.)
Top
Cyker
Veteran
Veteran
Posts: 1746
Joined: Thu Jun 15, 2006 7:43 pm

  • Quote

Post by Cyker » Sun Jul 29, 2007 7:18 pm

Are you using the built-in kernel driver?

If so, dump it - Gentoo's main stable kernel is very out of date and lots of newer hda devices do not work with it.

You're much better off removing all the ALSA stuff from the kernel and emerging the "alsa-drivers" package which is much more up to date.

You need to remove all the bits of ALSA from the kernel before it'll let you install it 'tho, and that can be a bit of a chore.

Try to also undo any ineffectual config file changes you made as well, because weird crap can happen when settings the alsa-driver install makes trip over ones you've made - They can be irritatingly difficult to track down.
Top
AeroIllini
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 94
Joined: Sun Feb 01, 2004 11:39 pm

  • Quote

Post by AeroIllini » Sun Jul 29, 2007 7:20 pm

I'm not using the in-kernel driver, although I did try it.

I'm running alsa-driver-1.0.14 unstable, and I have also tried alsa-driver-1.0.14-rc2-r1 stable.

Is there a list somewhere of all the config files I need to check? I could just delete them all, unmerge all ALSA packages, and start configuring from scratch again.
Top
LiquidAcid
Apprentice
Apprentice
Posts: 171
Joined: Mon Sep 11, 2006 8:13 pm

  • Quote

Post by LiquidAcid » Sun Jul 29, 2007 7:36 pm

Have you taken a look in the alsa bugzilla if there is a (detection?) problem with your card? I've also a HDA intel chip and had massive trouble when I installed gentoo on my dell laptop. After some time things were fixed. They problem are the different types of HDAs that come out every month.

You could also try to enabled debugging on alsa-driver and see if that gives you some more information.
Top
Dirk.R.Gently
Guru
Guru
User avatar
Posts: 546
Joined: Mon Jan 29, 2007 1:56 am
Location: Titan
Contact:
Contact Dirk.R.Gently
Website

  • Quote

Post by Dirk.R.Gently » Sun Jul 29, 2007 9:22 pm

To fix my HDA intel i followed pauls wiki to remove the kernel alsa driver. Then I removed alsa from the kernel .config and recompiled the kernel. Then remove .asoundrc ( it can mess things up if configured incorrecly , most times you won't even need it ). Installed the alsa driver and let alsaconf configure it. Alsaconf seems to work fine with the HDA intel card. If you still have troubles look at the bottom of that wiki and read the section on adding options to modules... that might do it.
• Helpful Linux Tidbits
Top
AeroIllini
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 94
Joined: Sun Feb 01, 2004 11:39 pm

  • Quote

Post by AeroIllini » Sun Jul 29, 2007 9:38 pm

I am using the alsa-driver option.

I deleted all the module binaries in /lib/module/alsa-driver, and remerged alsa-driver with USE="debug". Then I added the following line to /etc/modules.d/alsa:

Code: Select all

options snd-hda-intel model=auto
and I see the following in dmesg:

Code: Select all

ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22
PCI: Setting latency timer of device 0000:00:1b.0 to 64
ALSA /var/tmp/portage/media-sound/alsa-driver-1.0.14/work/alsa-driver-1.0.14/pci/hda/hda_codec.c:1810: hda_codec: model 'auto' is selected
ALSA /var/tmp/portage/media-sound/alsa-driver-1.0.14/work/alsa-driver-1.0.14/pci/hda/hda_codec.c:2339: autoconfig: line_outs=1 (0x1b/0x0/0x0/0x0/0x0)
ALSA /var/tmp/portage/media-sound/alsa-driver-1.0.14/work/alsa-driver-1.0.14/pci/hda/hda_codec.c:2343:    speaker_outs=1 (0x14/0x0/0x0/0x0/0x0)
ALSA /var/tmp/portage/media-sound/alsa-driver-1.0.14/work/alsa-driver-1.0.14/pci/hda/hda_codec.c:2347:    hp_outs=1 (0x15/0x0/0x0/0x0/0x0)
ALSA /var/tmp/portage/media-sound/alsa-driver-1.0.14/work/alsa-driver-1.0.14/pci/hda/hda_codec.c:2355:    inputs: mic=0x0, fmic=0x18, line=0x1a, fline=0x0, cd=0x0, aux=0x0
ALSA /var/tmp/portage/media-sound/alsa-driver-1.0.14/work/alsa-driver-1.0.14/pci/hda/../../alsa-kernel/pci/hda/hda_intel.c:558: hda_intel: azx_get_response timeout, switching to polling mode...
I also got this message from /etc/init.d/alsasound start:

Code: Select all

# /etc/init.d/alsasound start
 * Loading ALSA modules ...
 *   Loading: snd-card-0 ...                                                        [ ok ]
 *   Loading: snd-seq-oss ...                                                       [ ok ]
 *   Loading: snd-pcm-oss ...                                                       [ ok ]
 * Restoring Mixer Levels ...
alsactl: set_control:991: warning: name mismatch (CD Playback Volume/Speaker Playback Switch) for control #3
alsactl: set_control:993: warning: index mismatch (0/0) for control #3
alsactl: set_control:995: failed to obtain info for control #3 (Operation not permitted)
 * Errors while restoring defaults, ignoring                                        [ ok ]
Also, after reading through the ALSA bugtracker, I found a few more places that might give useful information.

Code: Select all

# cat /proc/config.gz | gzip -d | grep '# Sound' -A 12
# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
# CONFIG_SND is not set

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

Code: Select all

# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC262 Analog [ALC262 Analog]
  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

Code: Select all

# ls -l /proc/asound/card*
-r--r--r-- 1 root root 0 Jul 29 14:37 /proc/asound/cards

/proc/asound/card0:
total 0
-r--r--r-- 1 root root 0 Jul 29 14:37 codec#0
-r--r--r-- 1 root root 0 Jul 29 14:37 codec#1
-r--r--r-- 1 root root 0 Jul 29 14:37 id
-rw-r--r-- 1 root root 0 Jul 29 14:37 oss_mixer
dr-xr-xr-x 4 root root 0 Jul 29 14:37 pcm0c
dr-xr-xr-x 3 root root 0 Jul 29 14:37 pcm0p
dr-xr-xr-x 4 root root 0 Jul 29 14:37 pcm2c
dr-xr-xr-x 3 root root 0 Jul 29 14:37 pcm6c
dr-xr-xr-x 3 root root 0 Jul 29 14:37 pcm6p

Code: Select all

# cat /proc/asound/cards 
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0x5a080000 irq 22

Code: Select all

# cat /proc/asound/card0/codec#1 
Codec: Generic 11c1 Si3054
Address: 1
Vendor Id: 0x11c13026
Subsystem Id: 0x11790001
Revision Id: 0x100700

Code: Select all

# cat /proc/asound/card0/codec#0 
Codec: Realtek ALC262
Address: 0
Vendor Id: 0x10ec0262
Subsystem Id: 0x11790580
Revision Id: 0x100100
Default PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
Node 0x02 [Audio Output] wcaps 0x11: Stereo
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x11: Stereo
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
Node 0x07 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x00 0x00]
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x6]: 16 20
    formats [0x1]: PCM
  Connection: 1
     0x24
Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x00 0x00]
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x6]: 16 20
    formats [0x1]: PCM
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x00 0x00]
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0x6]: 16 20
    formats [0x1]: PCM
  Connection: 1
     0x22
Node 0x0a [Audio Input] wcaps 0x100391: Stereo Digital
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0x1e]: 16 20 24 32
    formats [0x1]: PCM
  Connection: 1
     0x1f
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x80 0x80] [0x97 0x97] [0x97 0x97]
  Connection: 8
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15
Node 0x0c [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0
  Amp-Out vals:  [0x17 0x17]
  Connection: 2
     0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 2
     0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010e: Mono Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00] [0x00]
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0
  Amp-Out vals:  [0x00]
  Connection: 2
     0x02 0x0b
Node 0x0f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x083e: IN OUT HP Detect
  Pin Default 0x90170110: [Fixed] Speaker at Int N/A
    Conn = Analog, Color = Unknown
  Pin-ctls: 0x20: IN
  Connection: 2
     0x0c* 0x0d
Node 0x15 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x083e: IN OUT HP Detect
  Pin Default 0x0221101f: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Black
  Pin-ctls: 0xc0: OUT HP
  Connection: 2
     0x0c* 0x0d
Node 0x16 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80]
  Pincap 0x0810: OUT
  Pin Default 0x40f000f6: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x0e
Node 0x17 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x08173e: IN OUT HP Detect
  Pin Default 0x02a11020: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Black
  Pin-ctls: 0x24: IN
  Connection: 2
     0x0c* 0x0d
Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x08173e: IN OUT HP Detect
  Pin Default 0x40f000f8: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
  Pin-ctls: 0x20: IN
  Connection: 2
     0x0c* 0x0d
Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x08173e: IN OUT HP Detect
  Pin Default 0x218111f0: [Jack] Line In at Sep Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x20: IN
  Connection: 2
     0x0c* 0x0d
Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x08173e: IN OUT HP Detect
  Pin Default 0x210111f0: [Jack] Line Out at Sep Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x40: OUT
  Connection: 2
     0x0c* 0x0d
Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
  Pincap 0x0820: IN
  Pin Default 0x40f000fb: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
  Pin-ctls: 0x00:
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x0820: IN
  Pin Default 0x90f701f0: [Fixed] Other at Int N/A
    Conn = Analog, Color = Unknown
  Pin-ctls: 0x00:
Node 0x1e [Pin Complex] wcaps 0x400380: Mono Digital
  Pincap 0x0810: OUT
  Pin Default 0x40f000fd: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
  Pin-ctls: 0x00:
  Connection: 1
     0x06
Node 0x1f [Pin Complex] wcaps 0x400280: Mono Digital
  Pincap 0x0820: IN
  Pin Default 0x40f000fe: [N/A] Other at Ext N/A
    Conn = Unknown, Color = Unknown
  Pin-ctls: 0x00:
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
Node 0x21 [Volume Knob Widget] wcaps 0x600080: Mono
Node 0x22 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Amp-Out caps: N/A
  Amp-Out vals:  [0x00 0x00]
  Connection: 9
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b
Node 0x23 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Amp-Out caps: N/A
  Amp-Out vals:  [0x00 0x00]
  Connection: 9
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b
Node 0x24 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Amp-Out caps: N/A
  Amp-Out vals:  [0x00 0x00]
  Connection: 9
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b
Top
PaulBredbury
Watchman
Watchman
User avatar
Posts: 7310
Joined: Thu Jul 14, 2005 3:47 pm

  • Quote

Post by PaulBredbury » Sun Jul 29, 2007 9:52 pm

See page.

Learn to use Google.
Top
AeroIllini
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 94
Joined: Sun Feb 01, 2004 11:39 pm

  • Quote

Post by AeroIllini » Sun Jul 29, 2007 10:07 pm

PaulBredbury,

I have tried that. I added 'enable=1 index=0 model=basic', ran 'update-modules', and reloaded alsasound. I adjusted levels and mutes in alsamixer. Still no sound.
Top
LiquidAcid
Apprentice
Apprentice
Posts: 171
Joined: Mon Sep 11, 2006 8:13 pm

  • Quote

Post by LiquidAcid » Sun Jul 29, 2007 10:18 pm

Have you headphone plugs? Try using them and check if you've sound there.
You could also try to hook up a mic (if you have one) to the mic plug (if you have one *g*) and see if you can record something.

The best thing would be to get in touch with tiwai, who is responsible for the hda part of alsa. Simply write a bug report on alsa with all the infos you gave us. I think he will know what to do.
Top
AeroIllini
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 94
Joined: Sun Feb 01, 2004 11:39 pm

  • Quote

Post by AeroIllini » Sun Jul 29, 2007 10:32 pm

I've tried headphones before. No dice.

Just now, I tried recording something with the command:

Code: Select all

arecord -f cd -t raw | lame -x - out.mp3
Then I copied the mp3 file to my desktop and tried to play it. There was sound, what I recorded, but the volume levels were really low, even though I cranked all the capture volume levels up high in alsamixer. So mic works, sort of.
Top
LiquidAcid
Apprentice
Apprentice
Posts: 171
Joined: Mon Sep 11, 2006 8:13 pm

  • Quote

Post by LiquidAcid » Sun Jul 29, 2007 10:38 pm

Have you tried playing some very loud file (like some 0dB sinus tone) and cranking up all volume controls to the max?

I know there were some problems related to playback volume. The volume when the controls were maxed out was much lower than with maxed out controls in Windows. So there was some kind of (hidden?) switch in the codec to activate some pre-amplification.
Top
Cyker
Veteran
Veteran
Posts: 1746
Joined: Thu Jun 15, 2006 7:43 pm

  • Quote

Post by Cyker » Sun Jul 29, 2007 10:43 pm

PaulBredbury wrote:See page.

Learn to use Google.
Could you at least *try* to be a little less condescending?
Top
AeroIllini
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 94
Joined: Sun Feb 01, 2004 11:39 pm

  • Quote

Post by AeroIllini » Sun Jul 29, 2007 10:45 pm

Worth a shot.

What's the best program to create such a tone?
Top
LiquidAcid
Apprentice
Apprentice
Posts: 171
Joined: Mon Sep 11, 2006 8:13 pm

  • Quote

Post by LiquidAcid » Sun Jul 29, 2007 11:03 pm

I think Audacity can do this.

EDIT:
OK Audacity seems to be a bit of an overkill. sox can also synth sine tones.
Top
AeroIllini
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 94
Joined: Sun Feb 01, 2004 11:39 pm

  • Quote

Post by AeroIllini » Sun Jul 29, 2007 11:36 pm

Ok, I created a 1 second sine wave tone at 440Hz in sox. I was able to play it no problem on my desktop, but even with volume cranked way up on the laptop, I got nothing.

I've posted to the ALSA bugtracker, #3265. We'll see what they say.
Top
mkk
n00b
n00b
User avatar
Posts: 56
Joined: Sun Oct 10, 2004 5:54 pm

  • Quote

Post by mkk » Mon Jul 30, 2007 1:47 am

I also have a Toshiba laptop with an intel-hda chip. The trick has always been the /etc/modules.d/alsa file:

Code: Select all

##  ALSA portion
##  OSS/Free portion

# OSS/Free portion - card #1

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.14rc2 ---
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
# --- END: Generated by ALSACONF, do not edit. ---
options snd-hda-intel model=3stack
The last line is the key line to get it working.

Edit: Don't forget to run "update-modules" and restart the driver (or reboot completely).
Top
AeroIllini
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 94
Joined: Sun Feb 01, 2004 11:39 pm

  • Quote

Post by AeroIllini » Mon Jul 30, 2007 2:49 am

I already tried the 3stack model option. Thanks for the idea though, keep 'em coming.
Top
mkk
n00b
n00b
User avatar
Posts: 56
Joined: Sun Oct 10, 2004 5:54 pm

  • Quote

Post by mkk » Mon Jul 30, 2007 12:47 pm

Even so, keep the 3stack option. I can almost guarantee you that the final solution will require it. I also get what look like reasonable input/output controls when using other options like auto, basic, and toshiba, but 3stack is the only one that actually works.
Top
mkk
n00b
n00b
User avatar
Posts: 56
Joined: Sun Oct 10, 2004 5:54 pm

  • Quote

Post by mkk » Mon Jul 30, 2007 12:58 pm

Also, could you humor me and print the output of lspci? I want to see if you have the same model number as I do.
Top
LiquidAcid
Apprentice
Apprentice
Posts: 171
Joined: Mon Sep 11, 2006 8:13 pm

  • Quote

Post by LiquidAcid » Mon Jul 30, 2007 1:39 pm

I think he has already posted lspci output, see first post.
Top
Post Reply

76 posts
  • 1
  • 2
  • 3
  • 4
  • Next

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic