Audio on Ultra 1?

Torfinn Ingolfsen torfinn.ingolfsen at broadpark.no
Thu Nov 4 02:33:00 PST 2004


On Thu, 4 Nov 2004 14:26:00 +0900
Pyun YongHyeon <yongari at 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.

> 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

The machine is currently running 5.3-stable:

user at ultra1$ uname -a
FreeBSD ultra1.kg4.no 5.3-STABLE FreeBSD 5.3-STABLE #1: Thu Nov  4
03:21:39 CET 2004     root at ultra1.kg4.no:/usr/obj/usr/src/sys/ULTRA1E 
sparc64

Could that be the problem?
-- 
Regards,
Torfinn Ingolfsen,
Norway




More information about the freebsd-sparc64 mailing list