From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alien Subject: Re: Re: au88x0_synth Date: Sat, 23 Apr 2005 09:28:00 +0200 Message-ID: <200504230928.06494.alien999999999@users.sourceforge.net> References: <423CCDAC.80401@netvigator.com> <200503301013.30400.alien999999999@users.sourceforge.net> <4269C953.4050504@netvigator.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2195056.ERJHWoV1GI"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4269C953.4050504@netvigator.com> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@lists.sourceforge.net Cc: Raymond List-Id: alsa-devel@alsa-project.org --nextPart2195056.ERJHWoV1GI Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Op zaterdag 23 april 2005 06:04, schreef Raymond: > Alien wrote: > > while you guys are working on that driver, is there anyone that has a > > 64bit setup? if not, i'd like to test out your driver in 64bit. i still > > have a number of issues with it (my card is an au8810). > > I do not have any 64bit setup, are you sure that your 64bit patch is > correct ? well, i'm using it every day. and before the patch at modprobe time i got=20 kernel oops... so... I don't do much special things with it, I use it for line in and PCM and=20 stereo output, i don't use the equalizer or anything fancy... > http://kerneltrap.org/node/3848 I'm still using kernel 2.6.8, though it has a fairly large number of patche= s,=20 but since i didn't decide this, it may very well be in there and I may have= =20 just used this... you may want this implemented, since both PIO and MMIO is= =20 used in your driver. > snd-au88x0 use the following macros to perform read/write of 32bit data > from/to Memory Mapped I/O > > #define hwread(x,y) readl((x)+((y)>>2)) > #define hwwrite(x,y,z) writel((z),(x)+((y)>>2)) i think the memory mapped I/O is 64bit in 64bit CPU's. > Would you provide the result of "lspci -vvvn" to find out the content of > PCI BAR0 of your au8810 card ? ok: []# lspci -vvvn 00:00.0 Class 0600: 1106:3188 (rev 01) Subsystem: 1043:80a3 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Steppi= ng-=20 SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=3Dmedium >TAbort- SERR- TAbort- SERR- Reset- FastB2B- Capabilities: [80] Power Management version 2 Flags: PMEClk- DSI- D1+ D2- AuxCurrent=3D0mA PME(D0-,D1-,D2-,D3hot-,D3col= d-) Status: D0 PME-Enable- DSel=3D0 DScale=3D0 PME- 00:07.0 Class 0c00: 1106:3044 (rev 80) (prog-if 10) Subsystem: 1043:808a Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Steppi= ng-=20 SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=3Dmedium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- What is the model of your au8810 card (e.g. Vortex Advantage, SQ1500, > SoundCom V90) ? bulk model, Aureal Vortex something or other... lspci gives: 00:0c.0 Multimedia audio controller: Aureal Semiconductor AU88= 10=20 Vortex Digital Audio Processor (rev 02) > Do your 64bit machine has more than 4Gb memory ? no > > sometimes i start playing a song, and it starts playing a few second > > or so and hangs, then i kill the application and modprobe -r all sound > > modules and modprobe them again to make it work again. > > Do your configure all the sound-apps to use ALSA instead of OSS ? all of them do, but I do have a few that use OSS-emulation too > > BUT: sometimes not only that happens, but also when i try to kill the > > apps it will not kill. when that happens, all kill, killall, top, ps > > aux commands hang at the command line and cannot be killed by CTRL-C > > or otherwise, i have been able to see that when i stopped my display > > managener I did an lsmod and it gave something like this: > > > > snd-pcm-oss 59752 11 > > snd-mixer-oss 20480 1 snd-pcm-oss > > snd-au8810 43760 220 > > snd-ac97-codec 83408 1 snd-au8810 > > snd-pcm 108172 112 snd-pcm-oss,snd-au8810,snd-ac97-codec > > snd-page-alloc 10384 1 snd-pcm > > gameport 3840 1 snd-au8810 > > snd-mpu401-uart 11904 1 snd-au8810 > > > > > > as you can see the snd-au8810 module seem to have an impossible number > > of "dependencies" (i think has to do with the number of unclosed > > sound-apps trying to be played; this could be since gaim is programmed > > to execute an 'aplay %s') > > This is abnormal, au8810 has 16 SRC and snd-au8810 can play either 16 > mono streams or 8 stereo streams concurrently. of course it is abnormal... > Use alsamixer to find out which ac97 codec on your au8810. chip: Wolfson WM9701A > Do you have any application using gameport, mpu401 or OSS ? haven't gotten any gameport to work, not on the emu10k1 nor the au8810, nev= er=20 use MPU401 and i use OSS emulation on games like AA, ET, OpenAL... > > i've had this major crash below only 3 times; and the logs didn't > > detect anything specific at the time. the only thing the logs > > mentioned at that time was an ntpd sync going on; so the only thing i > > can think of is that at a certain moment when a sync is going on, some > > kind of lock is holding cause this to happen... the only thing that i > > can do to fix this is reset... > > Do the log indicate the snd-au8810 is loaded properly ? yes of course: it gives vortex: reg error as always ;-) > > it is interesting to note that i also have an snd-emu10k1 as second > > card, which never gave problems like this, and i am always able to > > "modprobe -r snd-emu10k1" ... > > snd-emu10k1 use PIO. > > Would you post the content of /etc/modprobe.conf ? I'm not using that right now: if i want to use sound after bootup (which doesn't happen often at all), I = do: modprobe snd-au8810 modprobe snd-emu10k1 modprobe snd-pcm-oss alsactl restore -f /data/path/mixer --nextPart2195056.ERJHWoV1GI Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBCafkGuBWKXETrtdcRArhlAKDSIHf+REqyj+61iEA48u6SpyW5OwCgmR+I FF7/+I/8JsZ/qQCJs3DtyzE= =AXsZ -----END PGP SIGNATURE----- --nextPart2195056.ERJHWoV1GI-- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click