Re: [alsa-devel] [Alsa-user] is this card supported by ALSA?
Date: Wed, 16 Jul 2008 16:52:39 +0200 From: rene.herman@keyaccess.nl To: b3zdomny@hotmail.com CC: tiwai@suse.de; alsa-user@lists.sourceforge.net; alsa-devel@alsa-project.org; ALSA@sc8-sf-spam2.sourceforge.net Subject: Re: [Alsa-user] is this card supported by ALSA?
On 16-07-08 16:44, Rene Herman wrote:
On 16-07-08 16:40, Rene Herman wrote:
# moodprobe -r ens1371-ac97_reset_hack.diff # moodprobe -r ens1371-ac97.diff
I'm getting really sick of the fact that I seem to need to make at least one typo or other small error per post. 'modprobe' ofcourse.
Oh, I so love myself. Try this instead:
# patch -p1 -r < ens1371-ac97_reset_hack.diff # patch -p1 -r < ens1371-ac97.diff
I'll make sure I get some sleep before I post again.
Rene.
OK, this is interesting:
# patch -p1 -r < ens1371-ac97_reset_hack.diff= bash: ens1371-ac97_reset_hack.diff: No such file or directory
# patch -p1 -r < ens1371-ac97.diff bash: ens1371-ac97.diff: No such file or directory
Go figure.
Attached are two high-res pix of the card. The smallest chips were just too darned small for me to read the printing; maybe you can magnify the pix and make something of them. Thanks again for all your help. I think I'm just going to be happy with OSS for awhile and see if I can't get it to support Skype. If you decide to keep working on this and you want to test something, you're welcome to contact me.
best regards as always,
Landis
_________________________________________________________________ Keep your kids safer online with Windows Live Family Safety. http://www.windowslive.com/family_safety/overview.html?ocid=TXT_TAGLM_WL_fam...
On 16-07-08 20:00, Landis McGauhey wrote:
OK, this is interesting:
# patch -p1 -r < ens1371-ac97_reset_hack.diff= bash:ens1371-ac97_reset_hack.diff: No such file or directory
# patch -p1 -r < ens1371-ac97.diff bash: ens1371-ac97.diff: No such file or directory
Go figure.
Of course. You've done this a number of times now, so I took for granted that by now you'd understand to put in the path yourself. You saved these diff's from earlier mssages.
Attached are two high-res pix of the card. The smallest chips were just too darned small for me to read the printing; maybe you can magnify the pix and make something of them.
A CT4730. You have an onboard amp (and it's disabled -- setting both the jumpers to the SPK position enables it but keeping it disabled is better if you don't really need it; these opamps suck).
Moreover, the AC97 codec seems integrated in the EV1938. Just found a patch for FreeBSD following up a similar report for your card. Will look at it tomorrow.
Rene.
Date: Wed, 16 Jul 2008 20:50:21 +0200 From: rene.herman@keyaccess.nl To: b3zdomny@hotmail.com CC: tiwai@suse.de; alsa-user@lists.sourceforge.net; alsa-devel@alsa-project.org; alsa@sc8-sf-spam2.sourceforge.net Subject: Re: [Alsa-user] is this card supported by ALSA?
On 16-07-08 20:00, Landis McGauhey wrote:
OK, this is interesting:
# patch -p1 -r < ens1371-ac97_reset_hack.diff= bash:ens1371-ac97_reset_hack.diff: No such file or directory
# patch -p1 -r < ens1371-ac97.diff bash: ens1371-ac97.diff: No such file or directory
Go figure.
Of course. You've done this a number of times now, so I took for granted that by now you'd understand to put in the path yourself. You saved these diff's from earlier mssages.
Attached are two high-res pix of the card. The smallest chips were just too darned small for me to read the printing; maybe you can magnify the pix and make something of them.
A CT4730. You have an onboard amp (and it's disabled -- setting both the jumpers to the SPK position enables it but keeping it disabled is better if you don't really need it; these opamps suck).
Moreover, the AC97 codec seems integrated in the EV1938. Just found a patch for FreeBSD following up a similar report for your card. Will look at it tomorrow.
Rene.
OK, thanks! As for the "patch -p1 -r" commands, I see. I already had sent the diff's to the recycle bin, so following your message, I restored them and then ran the commands again with the paths. They erred out with a complaint that "option requires an argument -- r". I'm reading the manual now, I'll figure it out, you go get some sleep!
as always, many thanks and best regards,
Landis
_________________________________________________________________ Time for vacation? WIN what you need- enter now! http://www.gowindowslive.com/summergiveaway/?ocid=tag_jlyhm
On 16-07-08 20:50, Rene Herman wrote:
Moreover, the AC97 codec seems integrated in the EV1938. Just found a patch for FreeBSD following up a similar report for your card. Will look at it tomorrow.
Nothing interesting. Ready to give up on this. There is a communication problem with the AC97 codec and that's the kind of thing which is almost impossible to debug via email, especially since apparently this is not different for the OSS driver; it's also not getting back a valid ID at least.
I do wonder a bit if that might mean that the only difference is the ALSA "mute by default" behaviour. The attached patch does away with the default muting of the AC97 controls. You'd apply it as before (after reverting the previous 2 patches as written earlier), "make", "make modules_install" and then load snd-ens1371:
# modprobe -r es1371 # modprobe -r snd-ens1371 # modprobe snd-ens1371
and then "aplay foo.wav" (without first starting alsamixer). If no sound, adjust levels in alsamixer, retry aplay, if no sound, reboot (to get the card to a startup state) and retry after the above 3 modprobes.
If for some unimagineable reason you still need "alsaconf" instead of just modprobe snd-ens1371 to load the driver, adjust accordingly. Have no idea why that would be the case.
If as expected you still have no sound I give up. Stared at this stuff, but am not seeing anything stand out. If you ever decide to replace the card and can find an ALSA developer in your neighbourhood to donate it to that could be interesting. I've never seen an EV1938 locally here; distribution is probably limited to the US.
Rene.
diff --git a/sound/pci/ac97/ac97_codec.c b/sound/pci/ac97/ac97_codec.c index 4f4343d..97a4365 100644 --- a/sound/pci/ac97/ac97_codec.c +++ b/sound/pci/ac97/ac97_codec.c @@ -1196,8 +1196,6 @@ static int snd_ac97_cmute_new_stereo(struct snd_card *card, char *name, int reg, err = snd_ctl_add(card, kctl); if (err < 0) return err; - /* mute as default */ - snd_ac97_write_cache(ac97, reg, val | mute_mask); return 0; }
Date: Fri, 18 Jul 2008 18:31:14 +0200 From: rene.herman@keyaccess.nl To: b3zdomny@hotmail.com CC: tiwai@suse.de; alsa-user@lists.sourceforge.net; alsa-devel@alsa-project.org; alsa@sc8-sf-spam2.sourceforge.net Subject: Re: [Alsa-user] is this card supported by ALSA?
On 16-07-08 20:50, Rene Herman wrote:
Moreover, the AC97 codec seems integrated in the EV1938. Just found a patch for FreeBSD following up a similar report for your card. Will look at it tomorrow.
Nothing interesting. Ready to give up on this. There is a communication problem with the AC97 codec and that's the kind of thing which is almost impossible to debug via email, especially since apparently this is not different for the OSS driver; it's also not getting back a valid ID at least.
I do wonder a bit if that might mean that the only difference is the ALSA "mute by default" behaviour. The attached patch does away with the default muting of the AC97 controls. You'd apply it as before (after reverting the previous 2 patches as written earlier), "make", "make modules_install" and then load snd-ens1371:
# modprobe -r es1371 # modprobe -r snd-ens1371 # modprobe snd-ens1371
and then "aplay foo.wav" (without first starting alsamixer). If no sound, adjust levels in alsamixer, retry aplay, if no sound, reboot (to get the card to a startup state) and retry after the above 3 modprobes.
If for some unimagineable reason you still need "alsaconf" instead of just modprobe snd-ens1371 to load the driver, adjust accordingly. Have no idea why that would be the case.
If as expected you still have no sound I give up. Stared at this stuff, but am not seeing anything stand out. If you ever decide to replace the card and can find an ALSA developer in your neighbourhood to donate it to that could be interesting. I've never seen an EV1938 locally here; distribution is probably limited to the US.
Rene.
Thank you so much, Rene. I will do these procedures, but in the meantime I have OSS in full swing. Do I need to do something to turn off or uninstall OSS before proceeding with the above procedures? Thank you.
Best regards from North-Central California where the forest fires are increasingly under control and our skies are finally more clear,
Landis
_________________________________________________________________ Time for vacation? WIN what you need- enter now! http://www.gowindowslive.com/summergiveaway/?ocid=tag_jlyhm
Date: Fri, 18 Jul 2008 18:31:14 +0200 From: rene.herman@keyaccess.nl To: b3zdomny@hotmail.com CC: tiwai@suse.de; alsa-user@lists.sourceforge.net; alsa-devel@alsa-project.org; alsa@sc8-sf-spam2.sourceforge.net Subject: Re: [Alsa-user] is this card supported by ALSA?
On 16-07-08 20:50, Rene Herman wrote:
<snip>
# patch -p1 --dry-run < ac97_dont_mute.diff= "(Stripping trailing CRs from patch.) can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/sound/pci/ac97/ac97_codec.c b/sound/pci/ac97/ac97_codec.c |index 4f4343d..97a4365 100644 |--- a/sound/pci/ac97/ac97_codec.c |+++ b/sound/pci/ac97/ac97_codec.c -------------------------- File to patch:"
And I didn't know how to proceed and didn't want to mess things up by guessing, so I exited the process.
Thanks,
Landis
_________________________________________________________________ Keep your kids safer online with Windows Live Family Safety. http://www.windowslive.com/family_safety/overview.html?ocid=TXT_TAGLM_WL_fam...
Date: Fri, 18 Jul 2008 18:31:14 +0200 From: rene.herman@keyaccess.nl To: b3zdomny@hotmail.com CC: tiwai@suse.de; alsa-user@lists.sourceforge.net; alsa-devel@alsa-project.org; alsa@sc8-sf-spam2.sourceforge.net Subject: Re: [Alsa-user] is this card supported by ALSA?
<snip>
Thanks, Rene. You needn't bother yourself anymore on my account. Got all audio, including Skype, working in OSS. The Skype solution for OSS:
[code]ossdetect -d[/code]
[code]ossdevlinks -v -r[/code]
then download and install Skype 2.0.0.72-oss (emphasis on *oss"!) from [quote]http://download.skype.com/linux/skype_static-2.0.0.72-oss.tar.bz2%5B/quote%5... to the instructions in its ReadMe file.
Now I'm a happy voice-chatter!
thanks and best regards to all from North-Central California,
Landis
_________________________________________________________________ With Windows Live for mobile, your contacts travel with you. http://www.windowslive.com/mobile/overview.html?ocid=TXT_TAGLM_WL_mobile_072...
participants (2)
-
Landis McGauhey
-
Rene Herman