Skip to contentSkip to conversation

Patches for Packard Bell EasyNote laptop support

DISCUSSION Matthew Flint 3 participants 8 messages Feb 7, 2007 – Feb 10, 2007

lore
Share & tools
lore
#0 lore raw

See https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1134

All,

Bug report 1134 tracks progress in getting ALSA to work with a Packard Bell laptop, model "EasyNote A8202". There are three simple patches needed against ALSA v1.0.14rc2.

Can I ask a for a kind ALSA developer to merge these patches into trunk, for out-of-the-box support in the next release of ALSA drivers?

Thanks in advance,
Matthew

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#1 lore raw

At Wed, 7 Feb 2007 15:24:11 +0000,

Quoted 4 lines · Matthew Flint

See https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1134

Quoted 8 lines

All,

Bug report 1134 tracks progress in getting ALSA to work with a Packard Bell laptop, model "EasyNote A8202". There are three simple patches needed against ALSA v1.0.14rc2.

Can I ask a for a kind ALSA developer to merge these patches into trunk, for out-of-the-box support in the next release of ALSA drivers?

Could you create a patch file and submit to this ML again? The files there are no patches to be applied easily to the latest tree. And, we need a proper changelog and sign-off.

The standard rule for the patch is found in News section of ALSA BTS.

Thanks.

Takashi

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#2 lore raw

At Wed, 07 Feb 2007 17:29:32 +0100,

Quoted 16 lines · I wrote:

At Wed, 7 Feb 2007 15:24:11 +0000,

Quoted 4 lines · Matthew Flint

See https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1134

Quoted 8 lines

All,

Bug report 1134 tracks progress in getting ALSA to work with a Packard Bell laptop, model "EasyNote A8202". There are three simple patches needed against ALSA v1.0.14rc2.

Can I ask a for a kind ALSA developer to merge these patches into trunk, for out-of-the-box support in the next release of ALSA drivers?

Quoted 6 lines

Could you create a patch file and submit to this ML again? The files there are no patches to be applied easily to the latest tree. And, we need a proper changelog and sign-off.

The standard rule for the patch is found in News section of ALSA BTS.

OK, I took a look a bit more, and wrote a patch for testing. Could you check whether the patch below works with the latest ALSA tree? You can get the latest tree from
ftp://ftp.suse.com/pub/projects/alsa/snapshot/driver/

Thanks,

Takashi

---

pci/ac97/ac97_codec.c +1 -0
diff -r fd9f1cc7e78e pci/ac97/ac97_codec.c
@@ -143,6 +143,7 @@ static const struct ac97_codec_id snd_ac
 { 0x43525970, 0xfffffff8, "CS4202",		NULL,		NULL },
 { 0x43585421, 0xffffffff, "HSD11246",		NULL,		NULL },	// SmartMC II
 { 0x43585428, 0xfffffff8, "Cx20468",		patch_conexant,	NULL }, // SmartAMC fixme: the mask might be different
+{ 0x43585431, 0xffffffff, "Cx20551",		patch_cx20551,	NULL },
 { 0x44543031, 0xfffffff0, "DT0398",		NULL,		NULL },
 { 0x454d4328, 0xffffffff, "EM28028",		NULL,		NULL },  // same as TR28028?
 { 0x45838308, 0xffffffff, "ESS1988",		NULL,		NULL },
pci/ac97/ac97_patch.c +6 -0
diff -r fd9f1cc7e78e pci/ac97/ac97_patch.c
@@ -1335,6 +1335,12 @@ int patch_conexant(struct snd_ac97 * ac9
 	ac97->flags |= AC97_CX_SPDIF;
         ac97->ext_id |= AC97_EI_SPDIF;	/* force the detection of spdif */
 	ac97->rates[AC97_RATES_SPDIF] = SNDRV_PCM_RATE_48000; /* 48k only */
+	return 0;
+}
+
+int patch_cx20551(struct snd_ac97 *ac97)
+{
+	snd_ac97_update_bits(ac97, 0x5c, 0x01, 0x01);
 	return 0;
 }
 
pci/ac97/ac97_patch.h +1 -0
diff -r fd9f1cc7e78e pci/ac97/ac97_patch.h
@@ -39,6 +39,7 @@ int patch_cirrus_cs4299(struct snd_ac97 
 int patch_cirrus_cs4299(struct snd_ac97 * ac97);
 int patch_cirrus_spdif(struct snd_ac97 * ac97);
 int patch_conexant(struct snd_ac97 * ac97);
+int patch_cx20551(struct snd_ac97 * ac97);
 int patch_ad1819(struct snd_ac97 * ac97);
 int patch_ad1881(struct snd_ac97 * ac97);
 int patch_ad1885(struct snd_ac97 * ac97);

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#3 lore raw
Quoted 4 lines

OK, I took a look a bit more, and wrote a patch for testing. Could you check whether the patch below works with the latest ALSA tree? You can get the latest tree from
ftp://ftp.suse.com/pub/projects/alsa/snapshot/driver/

Takashi,

Thank-you for your efforts - but I didn't know which snapshot version your patch was for.

I've created a patch which works OK against snapshot "alsa-driver-hg20070208.tar.bz2" (see attached file). Files patched are in directory alsa-kernel/

Matthew

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

#4 lore raw

At Thu, 8 Feb 2007 20:13:16 +0000,

Quoted 10 lines · Matthew Flint
Quoted 5 lines

OK, I took a look a bit more, and wrote a patch for testing. Could you check whether the patch below works with the latest ALSA tree? You can get the latest tree from
ftp://ftp.suse.com/pub/projects/alsa/snapshot/driver/

Takashi,

Thank-you for your efforts - but I didn't know which snapshot version your patch was for.

Doesn't matter - if should work with all recent versions.

Quoted 4 lines

I've created a patch which works OK against snapshot "alsa-driver-hg20070208.tar.bz2" (see attached file). Files patched are in directory alsa-kernel/

OK, then I'll commit it to HG tree now.

Thanks!

Takashi

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#5 lore raw
In reply to Matthew Flint

Hi.
What does exactly this patch fix?
Since I bought my EasyNote V7900 I had audio troubles (no sound) and I was wondering if your work could help me someway.
Thanks,

Andrea

Quoted 15 lines · Matthew Flint

See https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1134

All,

Bug report 1134 tracks progress in getting ALSA to work with a Packard Bell laptop, model "EasyNote A8202". There are three simple patches needed against ALSA v1.0.14rc2.

Can I ask a for a kind ALSA developer to merge these patches into trunk, for out-of-the-box support in the next release of ALSA drivers?

Thanks in advance,
Matthew

Quoted 9 lines

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

#6 lore raw

At Thu, 08 Feb 2007 22:15:04 +0100,

Quoted 5 lines · Andrea Gozzi

Hi.
What does exactly this patch fix?
Since I bought my EasyNote V7900 I had audio troubles (no sound) and I was wondering if your work could help me someway.

If it's a PB laptop with ac97 codec, you may have a good chance.

If it's a HD-audio codec chip, it's a completely different thing (but likely with a Conexant HDA codec chip). It might be fixed by the recent HG version, though.

Takashi

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#7 lore raw

Thanks, I'll see what I can get form the HG.

Andrea

Quoted 8 lines · Takashi Iwai

At Thu, 08 Feb 2007 22:15:04 +0100,

Quoted 5 lines · Andrea Gozzi

Hi.
What does exactly this patch fix?
Since I bought my EasyNote V7900 I had audio troubles (no sound) and I was wondering if your work could help me someway.

Quoted 8 lines

If it's a PB laptop with ac97 codec, you may have a good chance.

If it's a HD-audio codec chip, it's a completely different thing (but likely with a Conexant HDA codec chip). It might be fixed by the recent HG version, though.

Takashi

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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