NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/45678: cdplay produces no sound



The following reply was made to PR bin/45678; it has been noted by GNATS.

From: "Jared McNeill" <jmcneill%invisible.ca@localhost>
To: <idleroux%fastmail.fm@localhost>
Cc: <gnats-bugs%NetBSD.org@localhost>
Subject: Re: bin/45678: cdplay produces no sound
Date: Sun, 4 Dec 2011 09:00:12 -0500

 cdplay uses analog output mode by default, which is unfortunately not a good 
 choice for anything remotely modern. In analog mode cdplay tells the disc 
 drive to start playing, and relies on a pass-through audio cable from the 
 CD-ROM device to a capture port on the sound card, and the sound card 
 redirecting that output to your speakers. On newer systems, you want to 
 simply read PCM data from the CD-ROM device and play it to the sound card's 
 PCM playback port. cdplay supports this with the "digital" command, see 
 http://netbsd.gw.com/cgi-bin/man-cgi?cdplay++NetBSD-current
 
 
 -----Original Message----- 
 From: idleroux%fastmail.fm@localhost
 Sent: Saturday, December 03, 2011 6:20 AM Newsgroups: gmane.os.netbsd.bugs
 To: gnats-admin%netbsd.org@localhost ; netbsd-bugs%netbsd.org@localhost
 Subject: bin/45678: cdplay produces no sound
 
 >Number:         45678
 >Category:       bin
 >Synopsis:       cdplay produces no sound
 >Confidential:   no
 >Severity:       non-critical
 >Priority:       medium
 >Responsible:    bin-bug-people
 >State:          open
 >Class:          sw-bug
 >Submitter-Id:   net
 >Arrival-Date:   Sat Dec 03 11:20:00 +0000 2011
 >Originator:     Ian D. Leroux
 >Release:        -current, sources checked out 2011/11/14
 >Organization:
 Aarhus Universitet
 >Environment:
 NetBSD scrameustache.dyndns.org 5.99.56 NetBSD 5.99.56 (SCRAMEUSTACHE) #1: 
 Mon Nov 14 20:48:20 CET 2011 
 
idleroux%scrameustache.dyndns.org@localhost:/build/obj/sys/arch/amd64/compile/SCRAMEUSTACHE
 
 amd64
 
 >Description:
 Playing an audio CD with cdplay no longer produces audible output.
 The status output looks normal:
   $ cdplay status
   audio status: playing
   current track: 1
   current index: 1
   position: 0:11.73
   shuffle play: off
   digital xfer: off
   media catalog: active (0602498840399)
   left volume: 255
   right volume: 255
 and the "position" counter increases as it should, but no sound is produced.
 
 Playing the same audio CD on the same machine running under another 
 operating system produces music as expected, which indicates that the 
 hardware is still ok.
 
 Playing digital music files with mplayer under NetBSD produces music as 
 expected, so the speakers and audio card seem to be working.  For reference:
   $ dmesg |grep audio
   hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
   hdaudio0: interrupting at ioapic0 pin 17
   hdafg0 at hdaudio0: Conexant CX20585
   audio0 at hdafg0: full duplex, playback, capture, independent
   hdvsmfg at hdaudio0 not configured
   hdafg1 at hdaudio0: Intel G45 HDMI
   audio at pad0 not configured
 
 I can obtain a track list using
   $ cdplay info
   track     start  duration   block  length     type
   --------------------------------------------------
       1   0:02.00   2:47.63       0   12588    audio
       2   2:49.63   2:44.52   12588   12352    audio
       3   5:34.40   2:57.03   24940   13278    audio
       4   8:31.43   2:57.67   38218   13342    audio
       5  11:29.35   4:25.08   51560   19883    audio
       6  15:54.43   2:36.25   71443   11725    audio
       7  18:30.68   2:04.50   83168    9350    audio
       8  20:35.43   3:13.07   92518   14482    audio
       9  23:48.50   3:21.63  107000   15138    audio
      10  27:10.38   5:39.12  122138   25437    audio
      11  32:49.50   2:56.40  147575   13240    audio
       -  35:46.15         -  160815       - lead-out
 so communication with the drive also seems to be working.
 
 Perhaps a problem with the mixer settings?
   $ mixerctl -a
   outputs.master=129,129
   outputs.master.mute=off
   outputs.master2=129,129
   outputs.master2.mute=off
   inputs.beep=108,108
   inputs.reclvl=222,222
   inputs.reclvl.mute=off
   record.mic=0,0
   record.mic2=0,0
   inputs.reclvl2=0,0
   outputs.dacsel=DAC00,DAC02
   record.source=ADC01,ADC03
 >How-To-Repeat:
 cdplay play
 
 and note ensuing silence
 >Fix:
 


Home | Main Index | Thread Index | Old Index