Subject: Sound in NEC VR4121 Mobilepro 780
To: None <port-hpcmips@netbsd.org>
From: JJ Bonilla <jjbinfor@tiscali.es>
List: port-hpcmips
Date: 02/14/2003 13:21:00
> > In the Web page of Netbsd/hpcmips is an audio Link "* to driver for
> > VR4121 (NetBSD-current, 2002 Jan.6 to later) by Katsuomi Hamajima", the
> > Link this broken one (was a file to aiu.tar with two "* diff*). IIs it
> > possible to correctly install the sound in Mobilepro 780?
>
> Please tell us your NetBSD version?
>
> On my
>    NetBSD 1.6.1_RC1 (GENERIC) #0: Thu Feb 13 11:37:13 JST 2003
> with
>    NEC MC-R530 (NEC VR4121 rev1.2 168.521MHz)
> have
>    vraiu0 at vr4102ip0 addr 0x0b000160-017f
>    audio0 at vraiu0: half duplex
> and
>    cat /netbsd > /dev/audio
>
> make many noise like some noise band.
>
>jun ebihara ,tokyo nakano

Hello thanks for your aid.

In my dmesg:
	NetBSD 1.6 (GENERIC) # Sun Sep 8 17:51:40 2002
	NEC Mobilepro 780 (NEC VR4121 rev1.2 168.521MHz)
	...
	vraiu0 at vr4102ip0 addr 0x0x0b000160-017f
	audio0 at vraiu0: half duplex
	.....
And (like user root ):
	cat /netbsd > /dev/audio  :No sound
	cat /chimes.wav > /dev/audio1 : Message - device not configured.
Devices are:
	/dev/audio, audio0, audio1, audio1, audio2, audio3 (audio as a link to
audio0)
	/dev/audioct1, audioct10, audioct11, audioct12, audioct13


Audio in WCE sound works correctly  ....
I have tested the sound, and I do not understand as if the sound is
recognized by kernel is not listened to absolutely anything, but the computer
reads the file and it does not give error message..., does not happen
anything to me that can hacer. In this same tread, in a previous message

miles Nordin says:
	>Audio does not work for me, but IIRC playing an auddio file results in
	>a delay the same length as the file.  Maybe the kernel does not
	>correctly power on the analog components when one opens the audio
	>driver.  An interesting test would be to boot NetBSD while WinCE is
	>playing a sound.

I believe that the problem can be in '/dev/mixer', if the volume this
extinguishing is not listened to anything. I have proven several programs to
fit to the volume (mixerctl, aumix, cam, xmix) and all give error in device.
In '/dev' they exist: 'dev/mixer, mixer0, mixer1, mixer2, mixer3' and the
permissions estan well. (It seems me stranger who the group to that the
devices belong audio and to mixer is "whell" and not "audio".)
I am without ideas. ...  :-((

The certain thing is that it is a great disadvantage of not having sound in
the M780.

A greeting and thanks again.