Skip to contentSkip to conversation

Issue with Intel HDA Sound card 82801G (laptop Medion)

DISCUSSION [email protected] 5 participants 10 messages Oct 7, 2006 – Oct 9, 2006

lore
Share & tools
lore
#0 lore raw

Hi,
I sent an email 2 weeks ago about an issue with my sound card : Intel HDA Sound card 82801G (laptop Medion).
http://sourceforge.net/mailarchive/forum.php?thread_id=30643877&forum_id=1752

It seems that I'm not the only person having an issue with this sound card :
http://sourceforge.net/mailarchive/forum.php?thread_id=30685342&forum_id=1752

Tobin Davis answered me and helped me but I didn't fix the bug yet. I tried adding "options snd model=acer" to my /etc/modprobe.conf file with the last version of the asla drivers...
Next Tobin asked me for the log messages but he didn't answer me yet (I guess he is too busy). So, I want to try to fix the problem by myself but I'd like some help to start. Can somebody tell me where can I start to look to detect the problem ?

Thank you

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#1 lore raw

Sorry about that. Had a final project for class last week that took all my time (had to watch O' Brother, Where Art Thou ~20 times, pulling clips, snapshots, and quotes - yuk). I don't have another class until 10/31.

Quoted 1 line

From your last email, it looks like your laptop is configured as a

3-stack system in Bios:
hda_codec: Unknown model for ALC883, trying auto-probe from BIOS...
autoconfig: line_outs=3 (0x14/0x15/0x16/0x0/0x0) speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
inputs: mic=0x0, fmic=0x18, line=0x1a, fline=0x0, cd=0x0, aux=0x0

It's possible that you need a gpio to enable output, similar to acer, but using gpio2 instead of 1.

Try applying this patch, then changing th model to "model=6stack-dig-demo"

pci/hda/patch_realtek.c Sat Oct 07 10:32:27 2006 -0700 renamed from pci/hda/patch_realtek.c Fri Oct 06 18:41:42 2006 +0200 +1 -1
diff -r aa73a3902052 pci/hda/patch_realtek.c
@@ -5139,7 +5141,7 @@ static struct alc_config_preset alc883_p
        },
        [ALC888_DEMO_BOARD] = {
                .mixers = { alc883_base_mixer, alc883_chmode_mixer },
-               .init_verbs = { alc883_init_verbs },
+               .init_verbs = { alc883_init_verbs,

alc880_gpio1_init_verbs, alc880_gpio2_init_verbs },

                .num_dacs = ARRAY_SIZE(alc883_dac_nids),
                .dac_nids = alc883_dac_nids,
                .dig_out_nid = ALC883_DIGOUT_NID,

This should enable everything. Send me the output
of /proc/asound/card0/codec#0 and dmesg (make sure to compile with debug=detect like last time).

Tobin

Quoted 27 lines · On Sat, 2006-10-07 at 15:24 +0200, [email protected] wrote:

Hi,
I sent an email 2 weeks ago about an issue with my sound card : Intel HDA Sound card 82801G (laptop Medion).
http://sourceforge.net/mailarchive/forum.php?thread_id=30643877&forum_id=1752

It seems that I'm not the only person having an issue with this sound card :
http://sourceforge.net/mailarchive/forum.php?thread_id=30685342&forum_id=1752

Tobin Davis answered me and helped me but I didn't fix the bug yet. I tried adding "options snd model=acer" to my /etc/modprobe.conf file with the last version of the asla drivers...
Next Tobin asked me for the log messages but he didn't answer me yet (I guess he is too busy). So, I want to try to fix the problem by myself but I'd like some help to start. Can somebody tell me where can I start to look to detect the problem ?

Thank you

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Signature · 8 lines
Tobin Davis <[email protected]>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
#2 lore raw

Hi,

I have the same sound card (I posted a mail a couple of days ago) and I had indeed the same problem, but it is now partly solved. I found on my Windows XP partition a directory with various GPL code. Among it, I found a file called "alsa-driver-1.0.9b_25a.tar.bz2". I tried to include its hda part (alsa-kernel/pci/hda subdir) into the 1.0.13 driver part (Yes, I know, it's awful!...), and after some minor changes, I got it working, with sound! I'm not sending this file here, because I thinks it is too big for being sent to the list, but can send it to anyone who wants it. It appears to be a modified version of the alsa-driver-1.0.9b, but without any information about this (I don't even see the name of the changes author in the files' headers). However, there seems to be many differences against alsa-driver-1.0.9b.

However, I get a bug (kernel oops) when I try to suspend to disk (which otherwise works perfectly) in the snd_hda_suspend function (which is not very surprising with the hack I did).

For now, the modem part still does not work (the proc alsa dir only shows one codec).

FYI, on the XP partition, there is also an apprently modified kernel version, that maybe supports the TV card (I wasn't able to test this now).

Regards,
Remy

PS: Tobin & albox (sorry, don't know your name), I will send you this now, as you are most probably interested.

Quoted 60 lines · Tobin Davis

Sorry about that. Had a final project for class last week that took all my time (had to watch O' Brother, Where Art Thou ~20 times, pulling clips, snapshots, and quotes - yuk). I don't have another class until 10/31.

Quoted 1 line

From your last email, it looks like your laptop is configured as a

3-stack system in Bios:
hda_codec: Unknown model for ALC883, trying auto-probe from BIOS...
autoconfig: line_outs=3 (0x14/0x15/0x16/0x0/0x0) speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
inputs: mic=0x0, fmic=0x18, line=0x1a, fline=0x0, cd=0x0, aux=0x0

It's possible that you need a gpio to enable output, similar to acer, but using gpio2 instead of 1.

Try applying this patch, then changing th model to "model=6stack-dig-demo"

diff -r aa73a3902052 pci/hda/patch_realtek.c

pci/hda/patch_realtek.c Sat Oct 07 10:32:27 2006 -0700 renamed from pci/hda/patch_realtek.c Fri Oct 06 18:41:42 2006 +0200 +1 -1
@@ -5139,7 +5141,7 @@ static struct alc_config_preset alc883_p
        },
        [ALC888_DEMO_BOARD] = {
                .mixers = { alc883_base_mixer, alc883_chmode_mixer },
-               .init_verbs = { alc883_init_verbs },
+               .init_verbs = { alc883_init_verbs,
 alc880_gpio1_init_verbs, alc880_gpio2_init_verbs },
                .num_dacs = ARRAY_SIZE(alc883_dac_nids),
                .dac_nids = alc883_dac_nids,
                .dig_out_nid = ALC883_DIGOUT_NID,

This should enable everything. Send me the output
of /proc/asound/card0/codec#0 and dmesg (make sure to compile with debug=detect like last time).

Tobin

Quoted 18 lines · On Sat, 2006-10-07 at 15:24 +0200, [email protected] wrote:

Hi,
I sent an email 2 weeks ago about an issue with my sound card : Intel HDA Sound card 82801G (laptop Medion).
http://sourceforge.net/mailarchive/forum.php?thread_id=30643877&forum_id=1752

It seems that I'm not the only person having an issue with this sound card :
http://sourceforge.net/mailarchive/forum.php?thread_id=30685342&forum_id=1752

Tobin Davis answered me and helped me but I didn't fix the bug yet. I tried adding "options snd model=acer" to my /etc/modprobe.conf file with the last version of the asla drivers...
Next Tobin asked me for the log messages but he didn't answer me yet (I guess he is too busy). So, I want to try to fix the problem by myself but I'd like some help to start. Can somebody tell me where can I start to look to detect the problem ?

Thank you

Quoted 22 lines
Quoted 9 lines

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Signature · 12 lines
Tobin Davis <[email protected]>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#3 lore raw
Quoted 11 lines · Remy Bruno

I have the same sound card (I posted a mail a couple of days ago) and I had
indeed the same problem, but it is now partly solved. I found on my Windows XP
partition a directory with various GPL code. Among it, I found a file called
"alsa-driver-1.0.9b_25a.tar.bz2". I tried to include its hda part (alsa-kernel/pci/hda subdir) into the 1.0.13 driver part (Yes, I know, it's
awful!...), and after some minor changes, I got it working, with sound!

Please post the changes in the form of a patch against ALSA 1.0.13.

AFAIK all the Realtek changes (which they never bothered to submit) have been merged already.

Lee

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#4 lore raw
Quoted 13 lines · Lee Revell
Quoted 11 lines · Remy Bruno

I have the same sound card (I posted a mail a couple of days ago) and I had
indeed the same problem, but it is now partly solved. I found on my Windows XP
partition a directory with various GPL code. Among it, I found a file called
"alsa-driver-1.0.9b_25a.tar.bz2". I tried to include its hda part (alsa-kernel/pci/hda subdir) into the 1.0.13 driver part (Yes, I know, it's
awful!...), and after some minor changes, I got it working, with sound!

Quoted 2 lines

Please post the changes in the form of a patch against ALSA 1.0.13.

He sent me a copy of the source. I'm working on making a diff against 1.0.9b (the base code that the changes were apllied to). It's pretty ugly so far. Diff'ing against 1.0.13 is not a viable option, as there is a lot of diverging code.

Quoted 3 lines

AFAIK all the Realtek changes (which they never bothered to submit) have been merged already.

Not true. I have the latest Realtek drivers as well. Major changes were added to 1.0.12 and aren't in HG yet. I'm also looking at that this week.

Looks like I'll be busy for a little bit. I'll keep everyone informed of my progress.

Signature · 1 line
Tobin Davis <[email protected]>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

#5 lore raw
Quoted 8 lines · Tobin Davis
Quoted 4 lines

AFAIK all the Realtek changes (which they never bothered to submit) have been merged already.

Not true. I have the latest Realtek drivers as well. Major changes were added to 1.0.12 and aren't in HG yet. I'm also looking at that this week.

Do you mean 1.0.12 of the Realtek drivers? IOW, is Realtek still maintaining their forked ALSA as recently as ALSA 1.0.12?

Lee

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#6 lore raw

Realtek takes a snapshot of the stable branches, then temporarily forks for a while. I'd expect to see a submission from them before 1.0.14 (but why wait). Their latest package is realtek-linux-audiopack-4.05b.tar.bz2, which has alsa-driver-1.0.12 (plus their changes), lib & utils are version 1.0.9. There are differences between their code and 1.0.13, and other users have reported that the Realtek version works where 1.0.13 doesn't.

Remy's tarball that he sent is alsa-driver-1.0.9b_25a.tar.bz2, which I assumed was based on 1.0.9b, but I'm now finding patches I submitted prior to 1.0.11 release. I'm slowly walking up the hg tree to try to pinpoint the snapshot, otherwise there will be some ugly patch changes (and I hate editing patch files directly - never could get the line numbers to match). The other thing they did was remove all other codec references (patch_sigmatel.c, patch_analog.c, etc) from all of the hda directory and hda support files (hda_codec.c, etc). Right now I'm focusing on the patch_realtek.c to hopefully get a patch against 1.0.13. I'll then look over the other changes if Remy and albox still aren't working.

It would be nice if vendors would upload their changes to the mainstream. Maybe I'm hoping for too much.

Tobin

Quoted 15 lines · Lee Revell
Quoted 8 lines · Tobin Davis
Quoted 4 lines

AFAIK all the Realtek changes (which they never bothered to submit) have been merged already.

Not true. I have the latest Realtek drivers as well. Major changes were added to 1.0.12 and aren't in HG yet. I'm also looking at that this week.

Do you mean 1.0.12 of the Realtek drivers? IOW, is Realtek still maintaining their forked ALSA as recently as ALSA 1.0.12?

Lee

Signature · 8 lines
Tobin Davis <[email protected]>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
#7 lore raw
Quoted 7 lines · Tobin Davis

Realtek takes a snapshot of the stable branches, then temporarily forks for a while. I'd expect to see a submission from them before 1.0.14 (but why wait). Their latest package is realtek-linux-audiopack-4.05b.tar.bz2, which has alsa-driver-1.0.12 (plus their changes), lib & utils are version 1.0.9. There are differences between their code and 1.0.13, and other users have reported that the Realtek version works where 1.0.13 doesn't.

I don't think Realtek ever submitted anything. Users figured out that they had forked ALSA and extracted the useful changes themselves.

Lee

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#8 lore raw
Quoted 11 lines · Lee Revell
Quoted 7 lines · Tobin Davis

Realtek takes a snapshot of the stable branches, then temporarily forks for a while. I'd expect to see a submission from them before 1.0.14 (but why wait). Their latest package is realtek-linux-audiopack-4.05b.tar.bz2, which has alsa-driver-1.0.12 (plus their changes), lib & utils are version 1.0.9. There are differences between their code and 1.0.13, and other users have reported that the Realtek version works where 1.0.13 doesn't.

I don't think Realtek ever submitted anything. Users figured out that they had forked ALSA and extracted the useful changes themselves.

Ok, Guess I'm it then.

At any rate, I've been studying the changes that Medion made, and I think I have a better solution to merging. It appears that they pulled patches that suited them, leaving others out (figures). Some of their patches are already in the mainstream. The easiest way to get this working is to create new configurations under ALC883 (I'm thinking ALC883_TEST and ALC883_MEDION). I should have something tonight or tomorrow for testing.

Signature · 8 lines
Tobin Davis <[email protected]>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
#9 lore raw
In reply to Lee Revell

At Sun, 08 Oct 2006 15:41:07 -0400,

Quoted 10 lines · Lee Revell
Quoted 7 lines · Tobin Davis

Realtek takes a snapshot of the stable branches, then temporarily forks for a while. I'd expect to see a submission from them before 1.0.14 (but why wait). Their latest package is realtek-linux-audiopack-4.05b.tar.bz2, which has alsa-driver-1.0.12 (plus their changes), lib & utils are version 1.0.9. There are differences between their code and 1.0.13, and other users have reported that the Realtek version works where 1.0.13 doesn't.

Quoted 2 lines

I don't think Realtek ever submitted anything. Users figured out that they had forked ALSA and extracted the useful changes themselves.

I actually have a (weak) contact with Realtek guys, and we drop notes sometimes. I've not known of the their recent changes, and now I asked them. Let's see whether they'll prepare a patch...

Takashi

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV