Subject: Re: playing audio CDs
To: None <netbsd-users@NetBSD.org>
From: Louis Guillaume <lguillaume@berklee.edu>
List: netbsd-users
Date: 04/16/2004 15:49:05
Agh! Silly CD Cable in the wrong hole. All is well. Sorry,

Louis




Louis Guillaume wrote:

> Hello,
> 
> It's hard to know if this is a recent problem or if I've just forgotten 
> how to do this. Playing audio CDs used to be as simple as ...
> 
> $ cdplay -f cd0 play
> 
> ... and other apps like kscd would work as long as we set the correct 
> device and had read access to /dev/rcd0d.
> 
> For some reason I'm getting no output from either of these applications. 
> I haven't been able to find anything at Google or the Archives.
> 
> The permissions are correct.
> I can "cat <somefile> /dev/audio" and hear the device respond.
> The mixer has the master volume turned up and the inputs are un-muted.
> When playing CDs I see the light on the player running, but no sound.
> The applications think the cd is being played just fine.
> 
> This happens in kde/kscd and with cdplay on the console.
> 
> I'm running NetBSD 2.0C (ASTER) #0: Fri Apr 9 20:16:39 EDT 2004.
> 
> "ASTER" is very similar to GENERIC...
> 
> $ diff GENERIC ASTER
> 25,27c8
> < #ident                "GENERIC-$Revision: 1.596 $"
> <
> < maxusers      32              # estimated number of users
> ---
>  > maxusers      16              # estimated number of users
> 83c64
> < #options      SHMMAXPGS=2048  # 2048 pages is the default
> ---
>  > options       SHMMAXPGS=32768 # 2048 pages is the default
> 114,121c95,102
> < options       COMPAT_NOMID    # NetBSD 0.8, 386BSD, and BSDI
> < options       COMPAT_09       # NetBSD 0.9
> < options       COMPAT_10       # NetBSD 1.0
> < options       COMPAT_11       # NetBSD 1.1
> < options       COMPAT_12       # NetBSD 1.2, 386BSD, and BSDI
> < options       COMPAT_13       # NetBSD 1.3, 386BSD, and BSDI
> < options       COMPAT_14       # NetBSD 1.4
> < options       COMPAT_15       # NetBSD 1.5
> ---
>  > #options      COMPAT_NOMID    # NetBSD 0.8, 386BSD, and BSDI
>  > #options      COMPAT_09       # NetBSD 0.9
>  > #options      COMPAT_10       # NetBSD 1.0
>  > #options      COMPAT_11       # NetBSD 1.1
>  > #options      COMPAT_12       # NetBSD 1.2, 386BSD, and BSDI
>  > #options      COMPAT_13       # NetBSD 1.3, 386BSD, and BSDI
>  > #options      COMPAT_14       # NetBSD 1.4
>  > #options      COMPAT_15       # NetBSD 1.5
> 123,124c104,105
> < options       COMPAT_43       # 4.3BSD, 386BSD, and BSDI
> < options       COMPAT_386BSD_MBRPART # recognize old partition ID
> ---
>  > #options      COMPAT_43       # 4.3BSD, 386BSD, and BSDI
>  > #options      COMPAT_386BSD_MBRPART # recognize old partition ID
> 168c149
> < options       INET6           # IPV6
> ---
>  > #options      INET6           # IPV6
> 211c192
> < options       WS_KERNEL_FG=WSCOL_GREEN
> ---
>  > options       WS_KERNEL_FG=WSCOL_MAGENTA
> 
> 
> 
> 
> Here are the audio devices...
> 
> auvia0 at pci0 dev 7 function 5: VIA VT82C686A AC'97 Audio (rev 0x50)
> auvia0: interrupting at irq 10
> auvia0: ac97: SigmaTel STAC9756/57 codec; 18 bit DAC, 18 bit ADC, 
> SigmaTel 3D
> auvia0: ac97: ext id 205<AMAP,SPDIF,VRA>
> audio0 at auvia0: full duplex, mmap, independent
> 
> ...And the cd drives...
> 
> cd0 at atapibus1 drive 0: <MATSHITA CR-594, , YS0M> cdrom removable
> cd0: 32-bit data port
> cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
> cd1 at atapibus1 drive 1: <_NEC NR-7700A, , 1.23> cdrom removable
> cd1: 32-bit data port
> cd1: drive supports PIO mode 4, DMA mode 2
> cd0(viaide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using 
> DMA data transfers)
> cd1(viaide0:1:1): using PIO mode 4, DMA mode 2 (using DMA data transfers)
> 
> 
> 
> Am I just missing something simple?
> 
> Louis

-- 
Louis Guillaume
Administrative Systems
Berklee College of Music
lguillaume@berklee.edu