Subject: playing audio CDs
To: None <netbsd-help@netbsd.org>
From: Jukka Salmi <jukka-netbsd@2003.salmi.ch>
List: netbsd-help
Date: 07/12/2003 02:15:29
Hi,
I'm running NetBSD 1.6.1 stable on a i386 box. It has two ATAPI CD-ROM
drives (which are connected to a sound card, which in turn is connected
to an amplifier):
$ dmesg | grep ^cd
cd0 at atapibus0 drive 0: <PLEXTOR CD-R PX-W4012A, 438146, 1.05> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd1 at atapibus0 drive 1: <ASUS CD-S520/A, , 1.6K> type 5 cdrom removable
cd1: 32-bit data port
cd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
I tried to play some audio CDs using cdplay(1):
$ sudo cdplay -f cd1 play
cd1(pciide0:1:1): illegal request, data = 00 00 00 00 64 00 00 00 00 00
cd1: dos partition I/O error
After that, the CD was spinning normally, but there was no sound. I could
skip between tracks, print the TOC, stop and eject the disk, and when I
plugged headphones directly into the drives jack I could listen to the music.
But no sound from the speakers...
$ sudo cdplay -f cd1 status
audio status: playing
current track: 5
current index: 1
position: 0:08.08
shuffle play: off
media catalog: none
left volume: 255
right volume: 255
Any help is appreciated!
Greetings, Jukka
--
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~