Subject: RE: New guy with lost of questions
To: Riccardo Carchedi <riccardo@riccy.com>
From: Hubert Feyrer <hubert@feyrer.de>
List: port-cobalt
Date: 04/11/2005 10:13:38
On Sun, 10 Apr 2005, Riccardo Carchedi wrote:
> I recompiled my kernel with the values you gave me but...
> Dmesg tells me this now:
>
> cmpci0 at pci0 dev 10 function 0: C-Media Electronics Inc CMI8738/C3DX PCI
> Audio Device (rev. 0x10)
> cmpci0: interrupting at irq 9
> audio0 at cmpci0: full duplex, mmap, independent
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> opl at cmpci0 not configured
> mpu at cmpci0 not configured

But what - the audio0 atachment looks fine. I don't know what opl and mpu 
are for, but I doubt you need them.


> I installed the pkg amp and tried to play an mp3 file but got this error:
>
> Playing: /home/riccardo/9pm.mp3
>
> Properties:    stereo 44100Hz
> Coding Method: MPEG1.0 layer3
> Bitrate:       160kbit/s
> unable to open the audio device
> Broken pipe

Would be interesting to know what ktrace says. Run "ktrace amp 9pm.mp3" 
(or whatever command you used), then "kdump >x" and try to look for the 
failed syscall in "x".


> Did I miss something?
>> P.S.: Please read http://www.netmeister.org/news/learn2quote.html, and
>>        apply it on the NetBSD lists!

That still applies.


  - Hubert

-- 
NetBSD - Free AND Open!      (And of course secure, portable, yadda yadda)