LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Sound not working with hda_intel / Realtek HD under Ubuntu Dapper (https://www.linuxquestions.org/questions/linux-hardware-18/sound-not-working-with-hda_intel-realtek-hd-under-ubuntu-dapper-514492/)

amphibioustoaster 12-28-2006 11:39 PM

Sound not working with hda_intel / Realtek HD under Ubuntu Dapper
 
I get no sound while running Ubuntu Dapper on my Toshiba Sattelite L30 notebook. There is sound in Windows XP (dual-boot), and XP identifies the sound card as a Realtek HD one. Linux seems to be using the hda_intel driver. I followed the instructions at http://www.linuxforums.org/forum/lin...my-laptop.html
and got the following output:
Code:

toaster@abre-toshiba-linux:~$ lsmod | grep -i snd_hda
snd_hda_intel          18964  3
snd_hda_codec        142640  1 snd_hda_intel
snd_pcm                89864  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd                    55268  10 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
snd_page_alloc        10632  2 snd_hda_intel,snd_pcm
toaster@abre-toshiba-linux:~$ sudo modprobe snd_hda_intel # I assume the above means it's loaded, but I'll try this anyway
Password:
toaster@abre-toshiba-linux:~$ dmesg | tail
[4294714.830000] eth1: no IPv6 routers present
[4294715.098000] Bluetooth: Core ver 2.8
[4294715.098000] NET: Registered protocol family 31
[4294715.098000] Bluetooth: HCI device and connection manager initialized
[4294715.098000] Bluetooth: HCI socket layer initialized
[4294715.173000] Bluetooth: L2CAP ver 2.8
[4294715.173000] Bluetooth: L2CAP socket layer initialized
[4294715.193000] Bluetooth: RFCOMM socket layer initialized
[4294715.193000] Bluetooth: RFCOMM TTY layer initialized
[4294715.193000] Bluetooth: RFCOMM ver 1.7
toaster@abre-toshiba-linux:~$ dpkg -l | grep -i $(uname -r)
ii  linux-image-2.6.15-23-386              2.6.15-23.39 Linux kernel image for version 2.6.15 on 386
ii  linux-restricted-modules-2.6.15-23-386 2.6.15.11-1 Non-free Linux 2.6.15 modules on 386
toaster@abre-toshiba-linux:~$ lspci | grep -i audio
toaster@abre-toshiba-linux:~$ dmesg | head #This is probably worth noting
4693.554000] hda_codec: invalid dep_range_val 0:7fff
[4294693.554000] hda_codec: invalid dep_range_val 0:7fff
[4294693.554000] hda_codec: invalid dep_range_val 0:7fff
[4294693.554000] hda_codec: invalid dep_range_val 0:7fff
[4294693.554000] hda_codec: invalid dep_range_val 0:7fff
[4294693.554000] hda_codec: invalid dep_range_val 0:7fff
[4294693.554000] hda_codec: invalid dep_range_val 0:7fff
[4294693.554000] hda_codec: invalid dep_range_val 0:7fff
[4294693.554000] hda_codec: invalid dep_range_val 0:7fff
[4294693.554000] hda_codec: invalid dep_range_val 0:7fff

Also, in Volume Control (from the right-click menu of the speaker icon) there is 2 devices, HDA ATI SB (Alsa) and Realtek ALC681 (OSS), but in System > Preferences > Sound I can only select HDA ATI SB from the Default Sound Card list.
Thanks in advance for any help.

GrueMaster 12-29-2006 11:39 AM

What version of alsa is being loaded (cat /proc/asound/version)? Try downloading and installing alsa-driver-1.0.14rc1, and install it with "model=toshiba" as a parameter.

Also, could you send the output from "lspci -s 0:14.2 -vn" and "cat /proc/asound/card0/codec*"?

These would be helpful in debugging this problem.

amphibioustoaster 01-02-2007 06:08 PM

Wait, where do I put model=toshiba? at the end of the configure file? also, after i un-bzipped the package, do i just go ./configure, then make, then sudo make install? it's been a while since i ever tried to install a .tar.bz2, ive been using .debs (and .rpms), and im a bit of a :newbie:

Code:

toaster@abre-toshiba-linux:~$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.10rc3 (Mon Nov 07 13:30:21 2005 UTC).
toaster@abre-toshiba-linux:~$ sudo lspci -s 0:14.2 -vn
0000:00:14.2 0403: 1002:437b (rev 01)
        Subsystem: 1179:ff31
        Flags: bus master, slow devsel, latency 64, IRQ 185
        Memory at d0000000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
toaster@abre-toshiba-linux:~$ cat /proc/asound/card0/codec*
Codec: Realtek ALC861
Address: 0
Vendor Id: 0x10ec0861
Subsystem Id: 0x1179820d
Revision Id: 0x100300
Default PCM: rates 0x140, bits 0x0e, types 0x1
Default Amp-In caps: N/A
Default Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Node 0x03 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Amp-Out caps: N/A
  Amp-Out vals:  [0x00 0x00]
  Power: 0x0
Node 0x04 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Amp-Out caps: N/A
  Amp-Out vals:  [0x80 0x80]
  Power: 0x0
Node 0x05 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Amp-Out caps: N/A
  Amp-Out vals:  [0x80 0x80]
  Power: 0x0
Node 0x06 [Audio Output] wcaps 0x405: Stereo Amp-Out
  Amp-Out caps: N/A
  Amp-Out vals:  [0x80 0x80]
  Power: 0x0
Node 0x07 [Audio Output] wcaps 0x605: Stereo Digital Amp-Out
  Amp-Out caps: N/A
  Amp-Out vals:  [0x00 0x00]
  Power: 0x0
Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Amp-In caps: ofs=0x02, nsteps=0x0d, stepsize=0x0b, mute=1
  Amp-In vals:  [0x0d 0x0d] [0x0d 0x0d] [0x0d 0x0d] [0x0d 0x0d] [0x0d 0x0d] [0x0d 0x0d]
  PCM: rates 0x140, bits 0x02, types 0x1
  Power: 0x0
  Connection: 6
    0x0d* 0x0c 0x0f 0x10 0x11 0x15
Node 0x09 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x081f: OUT HP
  Pin Default 0x99030110: [Fixed] Line Out at Int ATAPI
    Conn = ATAPI, Color = Unknown
  Pin-ctls: 0x40: OUT
  Power: 0x0
  Connection: 1
    0x16
Node 0x0c [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x0837: IN OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x20: IN
  Power: 0x0
  Connection: 1
    0x19
Node 0x0d [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x08337: IN OUT
  Pin Default 0x01a11820: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x24: IN
  Power: 0x0
  Connection: 1
    0x18
Node 0x0e [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x0817: OUT
  Pin Default 0x0121101f: [Jack] HP Out at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x40: OUT
  Power: 0x0
  Connection: 1
    0x19
Node 0x0f [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x0833f: IN OUT HP
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x40: OUT
  Power: 0x0
  Connection: 1
    0x1a
Node 0x10 [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x0833f: IN OUT HP
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x20: IN
  Power: 0x0
  Connection: 1
    0x1b
Node 0x11 [Pin Complex] wcaps 0x400001: Stereo
  Pincap 0x0863: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x00:
Node 0x12 [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x0810: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x40: OUT
  Connection: 1
    0x07
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
    0x0d 0x10
Node 0x15 [Audio Mixer] wcaps 0x20050f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x0c, nsteps=0x17, stepsize=0x0b, mute=1
  Amp-In vals:  [0x00 0x00] [0x17 0x17] [0x00 0x00]
  Amp-Out caps: ofs=0x0c, nsteps=0x0c, stepsize=0x0b, mute=1
  Amp-Out vals:  [0x0c 0x0c]
  Power: 0x0
  Connection: 3
    0x11 0x14 0x1c
Node 0x16 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
    0x03 0x15
Node 0x17 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
    0x04 0x15
Node 0x18 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
    0x05 0x15
Node 0x19 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
    0x06 0x15
Node 0x1a [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x00 0x00] [0x00 0x00]
  Connection: 4
    0x04 0x06 0x15 0x03
Node 0x1b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x00 0x00] [0x00 0x00]
  Connection: 4
    0x04 0x06 0x15 0x03
Node 0x1c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
    0x0c 0x0f
Node 0x1d [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x1e [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x1f [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x0817: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x40: OUT
  Power: 0x0
  Connection: 1
    0x18
Node 0x20 [Pin Complex] wcaps 0x400581: Stereo
  Pincap 0x0817: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x40: OUT
  Power: 0x0
  Connection: 1
    0x17
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x23 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Amp-Out caps: ofs=0x0f, nsteps=0x0f, stepsize=0x0b, mute=1
  Amp-Out vals:  [0x8f]
Codec: Generic 11c1 ID 1040
Address: 1
Vendor Id: 0x11c11040
Subsystem Id: 0x11790001
Revision Id: 0x100200
Codec: Generic ffff ID ffff
Address: 3
Vendor Id: 0xffffffff
Subsystem Id: 0xffffffff
Revision Id: 0xffffffff
Default PCM: rates 0x140, bits 0x0e, types 0x1
Default Amp-In caps: N/A
Default Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Node 0x03 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x04 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x05 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x06 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x07 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x08 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x09 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x0a [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x0b [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x0c [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x0d [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x0e [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x0f [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x10 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x11 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x12 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x13 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x14 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x15 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x16 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x17 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x18 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x19 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x1a [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x1b [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x1c [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x1d [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x1e [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x1f [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x20 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x21 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x22 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0

Node 0x23 [Vendor Defined Widget] wcaps 0xffffffff: Stereo Digital Amp-In Amp-Out
  Amp-In caps: N/A
  Amp-In vals:
  Amp-Out caps: N/A
  Amp-Out vals:  [0xffffffff 0xffffffff]
  Power: 0xffffffff
  Connection: 0


GrueMaster 01-02-2007 07:19 PM

Ok, now that you've posted your codec output, we now have a little better understanding of what your system is.

First step is to download the alsa-driver-1.0.14rc1.tar.bz2 file.
Next, follow these simple instructions (everything after a # is a comment, everything between <> you need to replace with a path>:
cd <build area of choice> # I use my /home/<user>/tmp for small projects
tar -jxvf alsa-driver-1.0.14rc1.tar.bz2 # this will expand the tarball
cd alsa-driver-1.0.14rc1
./configure --with-debug=detect --with-cards=hda-intel
make

# This will build the drivers. The "--with-debug=detect" will make the drivers output more data to dmesg, and the "--with-cards=hda-intel" limits the build to only Intel HD Audio drivers, speeding up the build process considerably.

The next steps require root access:

pushd /lib/modules/`uname -r`/kernel # the shell will substitute uname -r with the running kernel version
tar -zcvf oldsound.tgz sound/ # make a backup of your current drivers because...
find sound/ -name "snd*" -exec rm -f {} \; # ... this deletes them
popd # back to our build area
make install # newly built drivers are copied to the area we just cleaned
modprobe -r snd-hda-intel # remove any currently running drivers
lsmod|fgrep snd # make sure there isn't anything running. Use rmmod to remove any straglers.
modprobe snd-hda-intel model=toshibs probe_mask=1 # here's where the "model=toshiba" goes.

Test everything. Load alsamixer and see if the controls look right. Play sound. Try recording. If everything works ok, the two options ("model=toshiba" and "probe_mask=1") can be added to /etc/modprobe.conf (or whatever debian uses). Let me know if this works, and I can add your system id to the driver.

Also, the probe_mask will eliminate the hda_codec: invalid dep_range_val 0:7fff

amphibioustoaster 01-06-2007 07:20 PM

On the configure step...
Code:

checking for directory with kernel source... /usr/src/linux
checking for directory with kernel build...
checking for kernel linux/version.h... no
The file /usr/src/linux/include/linux/version.h does not exist.
Please install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).

I just have a fresh install of Dapper, and, after a bit of googling, I'm guessing that /usr/src/linux is where my kernel sources are, but how do I know if I have full kernel sources?

Also, GrueMaster, whats that Registered Tux # in your sig?

GrueMaster 01-06-2007 10:50 PM

You need to load the kernel-source package for your distribution. That will have the necessary headers you need to build and install the drivers. I'm not a Debian/Ubuntu user, so I would'nt know where to tell you to get it, except from the package management program for your distribution. I believe apt-get is the program manager for those distros.

amphibioustoaster 01-07-2007 12:43 AM

did a sudo apt-get install kernel-source, ran the ./configure and again no luck. Same error.

amphibioustoaster 01-10-2007 03:14 AM

The problem appears to be that my full kernel sources do not include the version.h file

Code:

toaster@abre-toshiba-linux:~/alsa/alsa-driver-1.0.14rc1$ cd  /usr/src/linux/include/linux/
toaster@abre-toshiba-linux:/usr/src/linux/include/linux$ ls
802_11.h                kd.h
ac97_codec.h            kernelcapi.h
acct.h                  kernel.h
acpi.h                  kernel_stat.h
adb.h                  keyboard.h
adb_mouse.h            kmod.h
adfs_fs.h              lapb.h
adfs_fs_i.h            libata.h
adfs_fs_sb.h            limits.h
affs_fs.h              linkage.h
affs_fs_i.h            linux_logo.h
affs_fs_sb.h            list.h
affs_hardblocks.h      lockd
agp_backend.h          locks.h
agpgart.h              logibusmouse.h
amifd.h                loop.h
amifdreg.h              lp.h
amigaffs.h              lvm.h
a.out.h                major.h
apm_bios.h              malloc.h
arcdevice.h            matroxfb.h
ata.h                  mbcache.h
atalk.h                mc146818rtc.h
atari_rootsec.h        mc6821.h
atmapi.h                mca.h
atmarp.h                mempool.h
atmbr2684.h            meye.h
atmclip.h              mii.h
atmdev.h                minix_fs.h
atm_eni.h              minix_fs_i.h
atm.h                  minix_fs_sb.h
atm_he.h                miscdevice.h
atm_idt77105.h          mman.h
atmioc.h                mm.h
atmlec.h                mmzone.h
atmmpc.h                modsetver.h
atm_nicstar.h          module.h
atmppp.h                moduleparam.h
atmsap.h                mount.h
atm_suni.h              mpp.h
atmsvc.h                mroute.h
atm_tcp.h              msdos_fs.h
atm_zatm.h              msdos_fs_i.h
auto_fs4.h              msdos_fs_sb.h
auto_fs.h              msg.h
awe_voice.h            mtd
ax25.h                  mtio.h
b1lli.h                namespace.h
b1pcmcia.h              nbd.h
baycom.h                ncp_fs.h
bfs_fs.h                ncp_fs_i.h
bfs_fs_i.h              ncp_fs_sb.h
bfs_fs_sb.h            ncp.h
bigphysarea.h          ncp_mount.h
binfmts.h              ncp_no.h
bitops.h                netbeui.h
blkcdb.h                netdevice.h
blkdev.h                netfilter_arp
blk.h                  netfilter_arp.h
blkpg.h                netfilter_bridge.h
bootmem.h              netfilter_ddp.h
bpqether.h              netfilter_decnet.h
brlock.h                netfilter.h
brlvger.h              netfilter_ipv4
byteorder              netfilter_ipv4.h
cache_def.h            netfilter_ipv6
cache.h                netfilter_ipv6.h
capability.h            netfilter_ipx.h
capi.h                  netfilter_x25.h
cciss_ioctl.h          net.h
cd1400.h                netlink.h
cdk.h                  netrom.h
cdrom.h                nfs2.h
chio.h                  nfs3.h
circ_buf.h              nfsd
cobalt-nvram.h          nfs_flushd.h
coda_cache.h            nfs_fs.h
coda_fs_i.h            nfs_fs_i.h
coda.h                  nfs_fs_sb.h
coda_linux.h            nfs.h
coda_proc.h            nfsiod.h
coda_psdev.h            nfs_mount.h
coff.h                  nfs_page.h
com20020.h              nfs_xdr.h
compatmac.h            nls.h
compiler.h              nmi.h
completion.h            notifier.h
comstats.h              n_r3964.h
concap.h                ntfs_fs.h
config.h                ntfs_fs_i.h
console.h              ntfs_fs_sb.h
consolemap.h            nubus.h
console_struct.h        nvram.h
cramfs_fs.h            openprom_fs.h
cramfs_fs_sb.h          pagemap.h
crc32.h                param.h
crypto.h                parport.h
ctype.h                parport_pc.h
cuda.h                  pci_gameport.h
cyclades.h              pci.h
cyclomx.h              pci_ids.h
cycx_cfm.h              pc_keyb.h
cycx_drv.h              personality.h
cycx_x25.h              pfkeyv2.h
dcache.h                pg.h
delay.h                phonedev.h
devfs_fs.h              pipe_fs_i.h
devfs_fs_kernel.h      pkt_cls.h
device-mapper.h        pkt_sched.h
devpts_fs.h            pm.h
dio.h                  pmu.h
dirent.h                poll.h
divert.h                posix_acl.h
dm-ioctl.h              posix_acl_xattr.h
dn.h                    posix_types.h
dnotify.h              ppdev.h
dp83840.h              ppp_channel.h
dqblk_v1.h              ppp-comp.h
dqblk_v2.h              ppp_defs.h
dqblk_xfs.h            ppp.h
dtlk.h                  prctl.h
eeprom.h                prefetch.h
efi.h                  proc_fs.h
efs_dir.h              proc_fs_i.h
efs_fs.h                ps2esdi.h
efs_fs_i.h              ptrace.h
efs_fs_sb.h            qic117.h
efs_vh.h                qnx4_fs.h
elevator.h              qnx4_fs_i.h
elfcore.h              qnx4_fs_sb.h
elf.h                  qnxtypes.h
errno.h                quotacompat.h
errqueue.h              quota.h
etherdevice.h          quotaio_v1.h
ethtool.h              quotaio_v2.h
ext2_acl.h              quotaops.h
ext2_fs.h              radeonfb.h
ext2_fs_i.h            raid
ext2_fs_sb.h            random.h
ext2_xattr.h            raw.h
ext3_acl.h              rbtree.h
ext3_fs.h              reboot.h
ext3_fs_i.h            reiserfs_fs.h
ext3_fs_sb.h            reiserfs_fs_i.h
ext3_jbd.h              reiserfs_fs_sb.h
ext3_xattr.h            resource.h
fat_cvf.h              rocket.h
fb.h                    romfs_fs.h
fcdevice.h              romfs_fs_i.h
fcntl.h                romfs_fs_sb.h
fd1772.h                rose.h
fddidevice.h            route.h
fd.h                    rpcsock.h
fdreg.h                rtc.h
file.h                  rtnetlink.h
filter.h                rwsem.h
firmware.h              rwsem-spinlock.h
fsfilter.h              sc26198.h
fs.h                    scc.h
fs_struct.h            sched.h
ftape.h                sctp.h
ftape-header-segment.h  scx200_gpio.h
ftape-vendors.h        scx200.h
gameport.h              sdla_asy.h
generic_serial.h        sdla_chdlc.h
genhd.h                sdladrv.h
ghash.h                sdla_fr.h
hayesesp.h              sdla.h
hcdp_serial.h          sdlapci.h
hdlc                    sdla_ppp.h
hdlcdrv.h              sdlasfm.h
hdlc.h                  sdla_x25.h
hdreg.h                securebits.h
hdsmart.h              selection.h
hfs_fs.h                sem.h
hfs_fs_i.h              seq_file.h
hfs_fs_sb.h            serial167.h
hfs_sysdep.h            serial.h
hiddev.h                serialP.h
highmem.h              serial_reg.h
highuid.h              serio.h
hil.h                  shmem_fs.h
hil_mlc.h              shm.h
hippidevice.h          signal.h
hpfs_fs.h              sisfb.h
hpfs_fs_i.h            skbuff.h
hpfs_fs_sb.h            slab.h
hp_sdc.h                smb_fs.h
hysdn_if.h              smb_fs_i.h
i2c-algo-bit.h          smb_fs_sb.h
i2c-algo-ite.h          smb.h
i2c-algo-pcf.h          smb_mount.h
i2c-algo-sgi.h          smbno.h
i2c-algo-sibyte.h      smp.h
i2c-dev.h              smp_lock.h
i2c-elektor.h          socket.h
i2c.h                  sockios.h
i2c-id.h                som.h
i2c-old.h              sonet.h
i2c-proc.h              sonypi.h
i2o-dev.h              soundcard.h
i2o.h                  sound.h
i8k.h                  soundmodem.h
ibmtr.h                spinlock.h
icmp.h                  stallion.h
icmpv6.h                stat.h
ide.h                  stddef.h
if_arcnet.h            string.h
if_arp.h                stringify.h
if_bonding.h            sunrpc
if_bridge.h            swapctl.h
if_cablemodem.h        swap.h
if_ec.h                synclink.h
if_eql.h                sysctl.h
if_ether.h              sys.h
if_fc.h                sysrq.h
if_fddi.h              sysv_fs.h
if_frad.h              sysv_fs_i.h
if.h                    sysv_fs_sb.h
if_hippi.h              tcp_diag.h
if_ltalk.h              tcp.h
if_packet.h            telephony.h
if_plip.h              termios.h
if_ppp.h                threads.h
if_pppox.h              ticable.h
if_pppvar.h            time.h
if_shaper.h            timer.h
if_slip.h              times.h
if_strip.h              timex.h
if_tr.h                toshiba.h
if_tun.h                tpqic02.h
if_tunnel.h            tqueue.h
if_vlan.h              trdevice.h
if_wanpipe_common.h    tty_driver.h
if_wanpipe.h            tty_flip.h
igmp.h                  tty.h
in6.h                  tty_ldisc.h
inetdevice.h            types.h
inet.h                  udf_fs.h
in.h                    udf_fs_i.h
init.h                  udf_fs_sb.h
input.h                udp.h
in_route.h              ufs_fs.h
in_systm.h              ufs_fs_i.h
intermezzo_fs.h        ufs_fs_sb.h
intermezzo_idl.h        uinput.h
intermezzo_journal.h    uio.h
intermezzo_kml.h        ultrasound.h
intermezzo_lib.h        umem.h
intermezzo_psdev.h      umsdos_fs.h
intermezzo_upcall.h    umsdos_fs_i.h
interrupt.h            umsdos_fs.p
iobuf.h                un.h
ioctl.h                unistd.h
ioport.h                usb_ch9.h
ip6_tunnel.h            usbdev_fs_i.h
ipc.h                  usbdev_fs_sb.h
ip.h                    usbdevice_fs.h
ipmi.h                  usb_gadget.h
ipmi_msgdefs.h          usb.h
ipmi_smi.h              usb_scanner_ioctl.h
ipsec.h                user.h
ipv6.h                  utime.h
ipv6_route.h            uts.h
ipx.h                  utsname.h
irda.h                  vfs.h
irq_cpustat.h          video_decoder.h
irq.h                  videodev.h
isapnp.h                video_encoder.h
isdn                    videotext.h
isdn_divertif.h        vmalloc.h
isdn.h                  vt_buffer.h
isdnif.h                vt.h
isdn_lzscomp.h          vt_kern.h
isdn_ppp.h              wait.h
isicom.h                wanpipe.h
iso_fs.h                wanrouter.h
iso_fs_i.h              watchdog.h
iso_fs_sb.h            wavefront.h
istallion.h            wireless.h
ite_gpio.h              wm97xx.h
ixjuser.h              wrapper.h
jbd.h                  x25.h
jffs2_fs_i.h            xattr_acl.h
jffs2_fs_sb.h          xattr.h
jffs2.h                xfrm.h
jffs.h                  yam.h
jhash.h                zconf.h
journal-head.h          zftape.h
joystick.h              zlib.h
kbd_diacr.h            zorro.h
kbd_kern.h              zorro_ids.h
kbd_ll.h                zutil.h
kdev_t.h


sp9xwd 03-15-2007 05:04 AM

hello

the solution of the problem is compicated and NO sure - it is no sure in 100% it will work.
I am user of L30-134 / Kubuntu 6.10 - and therefore I known the problem myself:

first - check the version on the bios on Your Toshiba - if te varsion is below 1.9 then please download and nstall the latest version 2.3 - then at least You will have sound on the headphones jack

second - the problem with alsa - till today have no exists good drivers for Toshiba L30 - the one solution is swith off the ALSA and work on OSS (however in this point I should one more time mention - sometimes this solutions work, for other person/computer model it is impossible)

Here You are the procedure:

/etc/modprobe.d/sound
options snd-hda-intel model=uniwill-m31 position_fix=1
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
alias sound-slot-0 snd-card-0
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

/etc/modules
snd-pcm-oss
snd-seq-oss
snd-mixer-oss

Regards
Marcel sp9xwd


All times are GMT -5. The time now is 08:18 AM.