Date: Thu, 4 Nov 2004 19:52:11 +0900 From: Pyun YongHyeon <yongari@kt-is.co.kr> To: Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> Cc: freebsd-sparc64@freebsd.org Subject: Re: Audio on Ultra 1? Message-ID: <20041104105211.GD12606@kt-is.co.kr> In-Reply-To: <20041104113255.139691c9.torfinn.ingolfsen@broadpark.no> References: <20041031135102.2f15b595.torfinn.ingolfsen@broadpark.no> <20041104052600.GF11500@kt-is.co.kr> <20041104113255.139691c9.torfinn.ingolfsen@broadpark.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 04, 2004 at 11:32:55AM +0100, Torfinn Ingolfsen wrote: > On Thu, 4 Nov 2004 14:26:00 +0900 > Pyun YongHyeon <yongari@kt-is.co.kr> wrote: > > > The driver was commited to HEAD. In 5.3R you need to apply the > > following patch. > > http://www.kr.freebsd.org/~yongari/cs4231.patch.53R > > Ok, I did that. > > > I don't know it can be applied cleanly in 5.3R. But I believe > > you can fix it easily. Since the driver name was changed, you > > It applied ok, except for two things; a reject in the sys/conf/NOTES > patch: > *************** > *** 1877,1882 **** > device snd_ad1816 > device snd_als4000 > #device snd_au88x0 > device snd_cmi > device snd_cs4281 > device snd_csa > --- 1878,1884 ---- > device snd_ad1816 > device snd_als4000 > #device snd_au88x0 > + #device snd_audiocs > device snd_cmi > device snd_cs4281 > device snd_csa > > I just applied the changes by hand (it's in the NOTES file, so it > doesn't matter anyway. > And the other thing was that patch complained about the patch for > sys/sparc64/isa/isa_dma.c being malformed, and left me with a zero > length file. I just manually created isa_dma.c from the patch file and > put it in place. > Did you patch against fresh src tree? > > should use snd_audiocs. If you encounter any issues please > > let me know. > > I changed my kernel config file to use snd_audiocs. However, make > buildkernel stops. Apparently, the patch wants a couple of files that > doesn't exist on my system: > > In file included from /usr/src/sys/dev/sound/pcm/sound.h:93, > from /usr/src/sys/dev/sound/sbus/cs4231.c:53: > /usr/src/sys/dev/sound/pcm/channel.h:69:24: channel_if.h: No such file > or directory/usr/src/sys/dev/sound/sbus/cs4231.c:60:22: mixer_if.h: No > such file or directory mkdep: compile failed > *** Error code 1 > Strange to me. Would you try the following? #cd /usr/src/sys/sparc64/conf #config YOUR_CONFIG #cd ../compile/YOUR_CONFIG #make clean && make depend && make && make install > The machine is currently running 5.3-stable: > > user@ultra1$ uname -a > FreeBSD ultra1.kg4.no 5.3-STABLE FreeBSD 5.3-STABLE #1: Thu Nov 4 > 03:21:39 CET 2004 root@ultra1.kg4.no:/usr/obj/usr/src/sys/ULTRA1E > sparc64 > > Could that be the problem? No. > -- > Regards, > Torfinn Ingolfsen, > Norway > -- Regards, Pyun YongHyeon http://www.kr.freebsd.org/~yongari | yongari@freebsd.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041104105211.GD12606>