Subject: Re: audio driver [was]Re: Z50 - CF card or Microdrive?
To: None <port-hpcmips@netbsd.org>
From: Bernd Sieker <bsieker@freenet.de>
List: port-hpcmips
Date: 03/26/2002 20:50:37
On 26.03.02, 14:33:28, Adam K Kirchhoff wrote:
> 
> OK...  So here's my quick and dirty review of the differences, on my IBM
> z50, between NetBSD 1.5 and this latest snapshot (from yesterday) at:
> 
> http://kame.naobsd.org/snapshots
> 

apm would be _really_ nice. I don't think there's much portable stuff
here, I think much of x86 APM is BIOS stuff and I have no idea if, or
how much, NetBSD depends on what the BIOS has set up. dmesg also talks
about "pseudo power management module." Is that just a placeholder for
a future "real" power management module, or does it have to be
"pseudo" on hpc?

> 
> It detects an audio device when booting:
> 
> audio0 at vraiu0: half duplex
> 
> And it sort-of works :-)  esd doesn't like it, at least not completely.  I
> get just weird static.  I can use sox to play a .au file.  I bet I can get
> it to play wav files, too.  I'm still working on mp3 :-)

That sounds promising. Considering that even my fairly-mainstream
x86 Laptop has no audio support in NetBSD.

What does NetBSD's own "audioplay" do? If you can play .au (8kHz,
8-bit u-law?), then you can probably pipe mpg123 output through sox to
convert it to a suitable format.

> 
> The mouse still does not work on the Z50.  Last time I tried to build from
> CVS, and use Greg Hughe's patches for the mouse, I failed miserably.

I had no problem whatsoever to patch the 1.5.3_RC1 (and also earlier
1.5.3_ALPHA) sources to use Greg's track point driver. It has some
minor glitches, sometimes the cursor jumps back or gets false button
presses, but no panics, and overall works nicely.

> 
> And, interesting enough, typing reboot doesn't actually reboot the entire
> machine, just NetBSD :-)  It shuts down, and reloads the kernel, without
> the side trip through Windows CE land.  Obviously you can still shutdown
> and reboot into Windows CE if you want to.

Hm, here it reboots the machine and I have to go through the WinCE
round trip. (which, luckily, can be shortened by holding shift, and
there is no touch screen to be calibrated.)



-- 
Bernd Sieker

NetBSD - we put the Net in NetBSD.
		-- Julian Assange