Re: [alsa-devel] [Alsa-user] is this card supported by ALSA?
Date: Wed, 16 Jul 2008 11:16:32 +0200 From: rene.herman@keyaccess.nl To: b3zdomny@hotmail.com CC: tiwai@suse.de; alsa-user@lists.sourceforge.net; alsa-devel@alsa-project.org Subject: Re: [Alsa-user] is this card supported by ALSA?
<snip>
OK, here we go:
# patch -p1 --dry-run < /home/bezdomny/Desktop/ens1371-ac97_reset_hack.diff= no errors
# patch -p1 < /home/bezdomny/Desktop/ens1371-ac97_reset_hack.diff= no errors
# make= no errors
# make modules_install= no errors
# modprobe -r snd-ens1371= no errors
# modprobe -r es1371= no errors
# modprobe snd-ens1371= no errors
# alsamixer= usb mic in webcam
#alsamixer -c 1= PCI card. Checked for good levels and no mutes-- all is well.
# speaker-test=
speaker-test 1.0.16
Playback device is default Stream parameters are 48000Hz, S16_LE, 1 channels Using 16 octaves of pink noise ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave
silence
# aplay -D hw:AudioPCI /usr/share/sounds/startup3.wav=
Playing WAVE '/usr/share/sounds/startup3.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
but with silence
running dmesg and attaching the result
alsaconf= Unloading ALSA sound driver modules: snd-ens1371 snd-ac97-codec snd-usb-audio snd-pcm snd-timer snd-page-alloc snd-usb-lib snd-rawmidi snd-seq-device snd-hwdep. building card database...
following cards are found on your system:
ens1371 Creative Labs Ective 1938 legacy Probe legacy ISA (non-PnP) chips
(OK)
Configuring snd-ens1371 │ │ Do you want to modify /etc/modprobe.d/sound │ │ (and /etc/modprobe.conf if present)?
(yes)
"pop" in speaker as alsaconf loads snd-ens1371
running alsamixer-- no mute toggle underneath mic, that's a first
and just so you know, there's no mute toggle under "master", "master-m", and "PCM", either, but that's nominal. There was one time, however, that "master" and/or "PCM" had a mute toggle. Perhaps "master" and/or "PCM" are muted and we can't tell because there are supposed to be mute toggles there, but they are missing? Something to consider...
#speaker -test=
speaker-test 1.0.16
Playback device is default Stream parameters are 48000Hz, S16_LE, 1 channels Using 16 octaves of pink noise Rate set to 48000Hz (requested 48000Hz) Buffer size range from 2048 to 16384 Period size range from 1024 to 1024 Using max buffer size 16384 Periods = 4 was set period_size = 1024 was set buffer_size = 16384 0 - Front Left Time per period = 2.653267
but with silence
# aplay -D hw:AudioPCI /usr/share/sounds/startup3.wav=Playing WAVE '/usr/share/sounds/startup3.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo Playing WAVE '/usr/share/sounds/startup3.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
but with silence.
tried to run audacity, but it doesn't appear. go to process table-- there's audacity, killed it.
ran xmms, changed preferences to ALSA, it runs, you can see the volume bars pumping, but it's silent.
and that's about it.
Not going to reboot.
Rene & Takashi: I fear this is taking up too much of our time and this effort may have long passed the point of diminishing returns. Personally, my goal is to have audio with Skype, whether with OSS or ALSA, I don't care. If you want to continue to work on this for the sake of the community at large and others who have this same card and this same problem, then I'm willing and would be honored to be the guinea pig and be an active participant in the community. I'm sorry this problem is so stubborn and if you have better things to do, I understand. If you don't care to work on this anymore, I would understand and if you could perhaps just help me get sound in Skype (that is, to have /dev/dsp appear as I/O options in Skype configuration) with OSS, then I would be a happy camper indeed.
thank you as always for your persistence, expertise, and patience,
Landis
_________________________________________________________________ Use video conversation to talk face-to-face with Windows Live Messenger. http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL...
On 16-07-08 15:38, Landis McGauhey wrote:
"pop" in speaker as alsaconf loads snd-ens1371
running alsamixer-- no mute toggle underneath mic, that's a first
and just so you know, there's no mute toggle under "master", "master-m", and "PCM", either, but that's nominal. There was one time, however, that "master" and/or "PCM" had a mute toggle. Perhaps "master" and/or "PCM" are muted and we can't tell because there are supposed to be mute toggles there, but they are missing? Something to consider...
I'm afraid that codec communication is just really messed up and the last two patches seem to have made things worse, so in preparation for any possible follow ups, you might as well revert those:
from /usr/src/linux-2.6.25.9:
# moodprobe -r ens1371-ac97_reset_hack.diff # moodprobe -r ens1371-ac97.diff
do please again run "make" and "make modules_install" after this but that's just so that I'm satisfied you're back at the start. No need to test anything, you'd just find the old behaviour again.
One thing I am noticing now that we've been looking at the codec ID in ALSA in the OSS driver output there:
=== es1371: found chip, vendor id 0x1102 device id 0x8938 revision 0x00 es1371: found es1371 rev 0 at io 0xde80 irq 23 es1371: Enabling internal amplifier. ac97_codec: AC97 Audio codec, id: (Unknown) gameport: ESS1371 Gameport is isa0218/gameport0, io 0x218, speed 1125kHz ===
is the "id: (Unknown)" bit. The OSS driver also definitely knows about the Sigmatel STAC9704 codec so it seems _this_ problam might not be unique to the ALSA driver. The OSS driver does produce sound, so perhaps we're chasing something not maximally productive right now...
It would be sort of interesting to have you look at the physical card and verify that it's indeed a Sigmatel STAC9704. It should be a tiny chip with a greek sigma sign and "STAC9704" in small enough letters that you might even need a magnifying glass. If it's hard or clumsy to take it out, don't bother though, it's not that important. You had 76058384 as an ID and a STAC9704 is 83847605 (upper/lower 16-bit switched) but that will not have gotten to be there by accident.
Yes, before anyone wonders, I verified that the ALSA driver does that "Enabling internal amplifier" thing (that might be that pop that you hear; is the pop also present when loading the OSS driver?)
Rene & Takashi: I fear this is taking up too much of our time and this effort may have long passed the point of diminishing returns. Personally, my goal is to have audio with Skype, whether with OSS or ALSA, I don't care. If you want to continue to work on this for the sake of the community at large and others who have this same card and this same problem, then I'm willing and would be honored to be the guinea pig and be an active participant in the community. I'm sorry this problem is so stubborn and if you have better things to do, I understand. If you don't care to work on this anymore, I would understand and if you could perhaps just help me get sound in Skype (that is, to have /dev/dsp appear as I/O options in Skype configuration) with OSS, then I would be a happy camper indeed.
I'm afraid I don't know Skype. Older versions of it couldn't use ALSA but needed the OSS emulation. If newer version now can't use OSS but need ALSA, lovely...
I'll keep looking for a bit but ofcourse you don't have to wait around for anything. If I find anything with a good chance of success I'll let you know. Please conform that you've reverted the last two patches as mentioned above.
Rene.
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.
Rene.
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.
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.
Yes, you deserve it! Thanks for all your hard work-- it must be, what, 1710 hrs there? Here's 0810 hrs and today is my grass-cutting day, so it's time for me to do that before it gets hot. I will do everything you've mentioned in your recent messages, including removing and examing the card-- I'll even take a macro photograph of it-- later on this evening Netherlands time, perhaps while you're getting a much-deserved night's sleep. My feedback should be ready for you when you awaken Thursday morning Netherlands time.
Best regards,
Landis
PS -- I'm going to laugh my arse off if the external USB soundcard I got for my old laptop with WinXP Home, works in this old desktop with ALSA! If that happens, I will ask my treasurer (my dear wife, she's the breadwinner, I'm a stay-at-home dad on disability) if I can buy another of those USB soundcards for this old desktop. Then I will install the PCI card in our teenager's old desktop with WinXP Home-- it would represent an upgrade for them as presently they have only onboard sound. According to the United Parcel Service website, I should take delivery today of that USB card.
_________________________________________________________________ Keep your kids safer online with Windows Live Family Safety. http://www.windowslive.com/family_safety/overview.html?ocid=TXT_TAGLM_WL_fam...
participants (2)
-
Landis McGauhey
-
Rene Herman