Skip to contentSkip to conversation

/proc/asound/* shows signs of life, but alsactl see's nothing

DISCUSSION Justin Mattock 2 participants 5 messages Apr 15, 2009 – Apr 16, 2009

lore
Share & tools
lore
#0 lore raw

This is confusing to me
(with or without the imac9,1 patch
for the imac)
there is still entries in /proc/asound

lrwxrwxrwx 1 root root 5 Apr 15 22:49 NVidia -> card0 dr-xr-xr-x 7 root root 0 Apr 15 22:49 card0 -r--r--r-- 1 root root 0 Apr 15 22:49 cards -r--r--r-- 1 root root 0 Apr 15 22:49 devices -r--r--r-- 1 root root 0 Apr 15 22:49 hwdep -r--r--r-- 1 root root 0 Apr 15 22:49 pcm -r--r--r-- 1 root root 0 Apr 15 22:49 timers -r--r--r-- 1 root root 0 Apr 15 22:49 version

but when I do:
sudo /usr/sbin/alsactl store
/usr/sbin/alsactl: save_state:1502: No soundcards found...

I this a software issue, or is this because the kernel is missing something important in patch_realtek.c ?

I've moved different things around in patch_realtek.c but still no speaker sound or headphone, not even the sound during boot when the module is being loaded.

Also what is the best way to find PCI SSID?
under codec#0:(I have)

Codec: Realtek ALC889A
Address: 0
Vendor Id: 0x10ec0885
Subsystem Id: 0x106b4900
Revision Id: 0x100103
No Modem Function Group found

but with lspci -nnv

00:08.0 0403: 10de:0ac0 (rev b1)
Subsystem: 10de:cb79
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0 (500ns min, 1250ns max)
Interrupt: pin A routed to IRQ 17
Region 0: Memory at d3480000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

the subsystem is 10de:cb79
but is
Subsystem Id: 0x106b4900

regards,

Signature · 1 line
Justin P. Mattock
#1 lore raw

At Wed, 15 Apr 2009 16:03:07 -0700,

Quoted 15 lines · Justin Mattock

This is confusing to me
(with or without the imac9,1 patch
for the imac)
there is still entries in /proc/asound

lrwxrwxrwx 1 root root 5 Apr 15 22:49 NVidia -> card0 dr-xr-xr-x 7 root root 0 Apr 15 22:49 card0

(quoted diff) +0 -6
-r--r--r-- 1 root root 0 Apr 15 22:49 cards
-r--r--r-- 1 root root 0 Apr 15 22:49 devices
-r--r--r-- 1 root root 0 Apr 15 22:49 hwdep
-r--r--r-- 1 root root 0 Apr 15 22:49 pcm
-r--r--r-- 1 root root 0 Apr 15 22:49 timers
-r--r--r-- 1 root root 0 Apr 15 22:49 version
Quoted 3 lines

but when I do:
sudo /usr/sbin/alsactl store
/usr/sbin/alsactl: save_state:1502: No soundcards found...

Check /dev/snd/* files.

Quoted 6 lines

I this a software issue, or is this because the kernel is missing something important in patch_realtek.c ?

I've moved different things around in patch_realtek.c but still no speaker sound or headphone, not even the sound during boot when the module is being loaded.

Then it sounds like a different problem.

Quoted 1 line

Also what is the best way to find PCI SSID?

lspci -nv

Quoted 24 lines

under codec#0:(I have)

Codec: Realtek ALC889A
Address: 0
Vendor Id: 0x10ec0885
Subsystem Id: 0x106b4900
Revision Id: 0x100103
No Modem Function Group found

but with lspci -nnv

00:08.0 0403: 10de:0ac0 (rev b1)
Subsystem: 10de:cb79
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0 (500ns min, 1250ns max)
Interrupt: pin A routed to IRQ 17
Region 0: Memory at d3480000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

Quoted 3 lines

the subsystem is 10de:cb79
but is
Subsystem Id: 0x106b4900

The former is PCI SSID and the latter is the codec SSID. They are often different.

Takashi

#2 lore raw
Quoted 17 lines · Takashi Iwai

At Wed, 15 Apr 2009 16:03:07 -0700,

Quoted 15 lines · Justin Mattock

This is confusing to me
(with or without the imac9,1 patch
for the imac)
there is still entries in /proc/asound

lrwxrwxrwx 1 root root 5 Apr 15 22:49 NVidia -> card0 dr-xr-xr-x 7 root root 0 Apr 15 22:49 card0

(quoted diff) +0 -6
-r--r--r-- 1 root root 0 Apr 15 22:49 cards
-r--r--r-- 1 root root 0 Apr 15 22:49 devices
-r--r--r-- 1 root root 0 Apr 15 22:49 hwdep
-r--r--r-- 1 root root 0 Apr 15 22:49 pcm
-r--r--r-- 1 root root 0 Apr 15 22:49 timers
-r--r--r-- 1 root root 0 Apr 15 22:49 version
Quoted 6 lines
Quoted 3 lines

but when I do:
sudo /usr/sbin/alsactl store
/usr/sbin/alsactl: save_state:1502: No soundcards found...

Check /dev/snd/* files.

Thank you.
I ended up missing an entry in /etc/ude/rules.d/alsa-* (the devices were present,but in /dev/* instead of /dev/snd/*

Quoted 8 lines
Quoted 6 lines

I this a software issue, or is this because the kernel is missing something important in patch_realtek.c ?

I've moved different things around in patch_realtek.c but still no speaker sound or headphone, not even the sound during boot when the module is being loaded.

Then it sounds like a different problem.

yeah devices in the wrong location(hopefully
just this simple)

Quoted 5 lines
Quoted 2 lines

Also what is the best way to find PCI SSID?

lspci -nv

00:08.0 0403: 10de:0ac0 (rev b1)
Subsystem: 10de:cb79
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 17 Memory at d3480000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

Quoted 28 lines
Quoted 24 lines

under codec#0:(I have)

Codec: Realtek ALC889A
Address: 0
Vendor Id: 0x10ec0885
Subsystem Id: 0x106b4900
Revision Id: 0x100103
No Modem Function Group found

but with lspci -nnv

00:08.0 0403: 10de:0ac0 (rev b1)
        Subsystem: 10de:cb79
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0 (500ns min, 1250ns max)
        Interrupt: pin A routed to IRQ 17
        Region 0: Memory at d3480000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel

Quoted 3 lines

the subsystem is 10de:cb79
but is
Subsystem Id: 0x106b4900

Quoted 6 lines

The former is PCI SSID and the latter is the codec SSID. They are often different.

Takashi

Now that i've realized udev
was not creating the device, everything
has changed(back to the beginning with this one)
so hopefully, by the end of the day one option
in there will work.
I'll let you know if I find anything
interesting(hopefully).

regards,

Signature · 1 line
Justin P. Mattock
#3 lore raw
Quoted 100 lines · Justin Mattock
Quoted 17 lines · Takashi Iwai

At Wed, 15 Apr 2009 16:03:07 -0700,

Quoted 15 lines · Justin Mattock

This is confusing to me
(with or without the imac9,1 patch
for the imac)
there is still entries in /proc/asound

lrwxrwxrwx 1 root root 5 Apr 15 22:49 NVidia -> card0 dr-xr-xr-x 7 root root 0 Apr 15 22:49 card0

(quoted diff) +0 -6
-r--r--r-- 1 root root 0 Apr 15 22:49 cards
-r--r--r-- 1 root root 0 Apr 15 22:49 devices
-r--r--r-- 1 root root 0 Apr 15 22:49 hwdep
-r--r--r-- 1 root root 0 Apr 15 22:49 pcm
-r--r--r-- 1 root root 0 Apr 15 22:49 timers
-r--r--r-- 1 root root 0 Apr 15 22:49 version
Quoted 6 lines
Quoted 3 lines

but when I do:
sudo /usr/sbin/alsactl store
/usr/sbin/alsactl: save_state:1502: No soundcards found...

Check /dev/snd/* files.

Thank you.
I ended up missing an entry in /etc/ude/rules.d/alsa-* (the devices were present,but in /dev/* instead of /dev/snd/*

Quoted 8 lines
Quoted 6 lines

I this a software issue, or is this because the kernel is missing something important in patch_realtek.c ?

I've moved different things around in patch_realtek.c but still no speaker sound or headphone, not even the sound during boot when the module is being loaded.

Then it sounds like a different problem.

yeah devices in the wrong location(hopefully
just this simple)

Quoted 5 lines
Quoted 2 lines

Also what is the best way to find PCI SSID?

lspci -nv

00:08.0 0403: 10de:0ac0 (rev b1)
       Subsystem: 10de:cb79
       Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 17 Memory at d3480000 (32-bit, non-prefetchable) [size=16K]
       Capabilities: <access denied>
       Kernel driver in use: HDA Intel
       Kernel modules: snd-hda-intel

Quoted 28 lines
Quoted 24 lines

under codec#0:(I have)

Codec: Realtek ALC889A
Address: 0
Vendor Id: 0x10ec0885
Subsystem Id: 0x106b4900
Revision Id: 0x100103
No Modem Function Group found

but with lspci -nnv

00:08.0 0403: 10de:0ac0 (rev b1)
        Subsystem: 10de:cb79
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0 (500ns min, 1250ns max)
        Interrupt: pin A routed to IRQ 17
        Region 0: Memory at d3480000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel

Quoted 3 lines

the subsystem is 10de:cb79
but is
Subsystem Id: 0x106b4900

Quoted 6 lines

The former is PCI SSID and the latter is the codec SSID. They are often different.

Takashi

Now that i've realized udev
was not creating the device, everything
has changed(back to the beginning with this one)
so hopefully, by the end of the day one option
in there will work.
I'll let you know if I find anything
interesting(hopefully).

Quoted 5 lines

regards,

--
Justin P. Mattock

Alright after configuring udev,
sound is finally working
internal speakers and headphones
here's the diff(no mac 9,1 patch)

patch_realtek.c 2009-04-16 18:13:41.000000000 -0700 renamed from patch_realtek.c.old 2009-04-16 18:14:21.000000000 -0700 +1 -0
@@ -7023,6 +7023,7 @@
                case 0x106b2c00: /* Macbook Pro rev3 */
                case 0x106b3600: /* Macbook 3.1 */
                case 0x106b3800: /* MacbookPro4,1 - latter revision */
+                case 0x106b4900:
                        board_config = ALC885_MBP3;
                        break;
                default:

I'll try imac 24, and then add the imac 91 patch to see the differences.

As for quality damn this sh^t is loud,
when plugging in headphones you need to
change to channel 2 for internal speakers to mute
and transition to headphones.

Signature · 1 line
Justin P. Mattock
#4 lore raw
Quoted 133 lines · Justin Mattock
Quoted 100 lines · Justin Mattock
Quoted 17 lines · Takashi Iwai

At Wed, 15 Apr 2009 16:03:07 -0700,

Quoted 15 lines · Justin Mattock

This is confusing to me
(with or without the imac9,1 patch
for the imac)
there is still entries in /proc/asound

lrwxrwxrwx 1 root root 5 Apr 15 22:49 NVidia -> card0 dr-xr-xr-x 7 root root 0 Apr 15 22:49 card0

(quoted diff) +0 -6
-r--r--r-- 1 root root 0 Apr 15 22:49 cards
-r--r--r-- 1 root root 0 Apr 15 22:49 devices
-r--r--r-- 1 root root 0 Apr 15 22:49 hwdep
-r--r--r-- 1 root root 0 Apr 15 22:49 pcm
-r--r--r-- 1 root root 0 Apr 15 22:49 timers
-r--r--r-- 1 root root 0 Apr 15 22:49 version
Quoted 6 lines
Quoted 3 lines

but when I do:
sudo /usr/sbin/alsactl store
/usr/sbin/alsactl: save_state:1502: No soundcards found...

Check /dev/snd/* files.

Thank you.
I ended up missing an entry in /etc/ude/rules.d/alsa-* (the devices were present,but in /dev/* instead of /dev/snd/*

Quoted 8 lines
Quoted 6 lines

I this a software issue, or is this because the kernel is missing something important in patch_realtek.c ?

I've moved different things around in patch_realtek.c but still no speaker sound or headphone, not even the sound during boot when the module is being loaded.

Then it sounds like a different problem.

yeah devices in the wrong location(hopefully
just this simple)

Quoted 5 lines
Quoted 2 lines

Also what is the best way to find PCI SSID?

lspci -nv

00:08.0 0403: 10de:0ac0 (rev b1)
       Subsystem: 10de:cb79
       Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 17 Memory at d3480000 (32-bit, non-prefetchable) [size=16K]
       Capabilities: <access denied>
       Kernel driver in use: HDA Intel
       Kernel modules: snd-hda-intel

Quoted 28 lines
Quoted 24 lines

under codec#0:(I have)

Codec: Realtek ALC889A
Address: 0
Vendor Id: 0x10ec0885
Subsystem Id: 0x106b4900
Revision Id: 0x100103
No Modem Function Group found

but with lspci -nnv

00:08.0 0403: 10de:0ac0 (rev b1)
        Subsystem: 10de:cb79
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0 (500ns min, 1250ns max)
        Interrupt: pin A routed to IRQ 17
        Region 0: Memory at d3480000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel

Quoted 3 lines

the subsystem is 10de:cb79
but is
Subsystem Id: 0x106b4900

Quoted 6 lines

The former is PCI SSID and the latter is the codec SSID. They are often different.

Takashi

Now that i've realized udev
was not creating the device, everything
has changed(back to the beginning with this one)
so hopefully, by the end of the day one option
in there will work.
I'll let you know if I find anything
interesting(hopefully).

Quoted 5 lines

regards,

--
Justin P. Mattock

Alright after configuring udev,
sound is finally working
internal speakers and headphones
here's the diff(no mac 9,1 patch)

patch_realtek.c     2009-04-16 18:13:41.000000000 -0700 renamed from patch_realtek.c.old 2009-04-16 18:14:21.000000000 -0700 +0 -0
@@ -7023,6 +7023,7 @@

               case 0x106b2c00: /* Macbook Pro rev3 */ case 0x106b3600: /* Macbook 3.1 */
               case 0x106b3800: /* MacbookPro4,1 - latter revision */
+                case 0x106b4900:
                       board_config = ALC885_MBP3;
                       break;
               default:

I'll try imac 24, and then add the imac 91 patch to see the differences.

As for quality damn this sh^t is loud,
when plugging in headphones you need to
change to channel 2 for internal speakers to mute
and transition to headphones.

Quoted 3 lines

--
Justin P. Mattock

O.K.
after changing different options in patch_realtek.c (mp3 option
imac24
imac9,1)

every option works,except imac24 configuration(no sound at all) mbp3 works good(especially if imac9,1 is not patched into the kernel yet) imac9,1 work's perfectly = its loud, plugging headphones(mutes internal speakers),
microphone(don't know) I don't have any apps yet to test.(still need to build them)

As for the main issue:
besides being an impatient drunk
I didnt follow the instructions at
http://cblfs.cross-lfs.org/index.php/ALSA_Utilities for 15-alsa.rules which was putting all of the created devices in /dev/* instead of /dev/snd/*

Overall mbp3 options is good for now,
(this way people can enjoy there machines)
but the imac91.patch
works perfectly.

Thank you for helping me out.

regards,

Signature · 1 line
Justin P. Mattock