Project

General

Profile

Actions

Bug #887

closed

No Audio CD sound, but sound card works.

Added by elekktretterr almost 17 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Hi,
I have just discovered an interesting dillema. I load the snd_hda driver, and
sound works, mixer works, but when I try to play an audio cd either via
cdcontrol or in KDE, no sound comes out of the speakers.

Same thing occurs in FreeBSD 7. What can be done to fix it? Verbose dmesg
here:

pcm0: HDA_DEBUG: HDA Config: on=0x00000000 off=0x00000000
pcm0: HDA_DEBUG: Starting CORB Engine...
pcm0: HDA_DEBUG: Starting RIRB Engine...
pcm0: HDA_DEBUG: Enabling controller interrupt...
pcm0: HDA_DEBUG: Scanning HDA codecs [start index=0] ...
pcm0: HDA_DEBUG: Probing codec: 0
pcm0: HDA_DEBUG: startnode=1 endnode=2
pcm0: HDA_DEBUG: Found AFG nid=1 [startnode=1 endnode=2]
pcm0: HDA_DEBUG: Parsing AFG nid=1 cad=0
pcm0: Vendor: 0x000010ec
pcm0: Device: 0x00000268
pcm0: Revision: 0x00000000
pcm0: Stepping: 0x00000003
pcm0: PCI Subvendor: 0x144510cf
pcm0: Nodes: start=2 endnode=37 total=35
pcm0: CORB size: 256
pcm0: RIRB size: 256
pcm0: Streams: ISS=4 OSS=4 BSS=0
pcm0: GPIO: 0x40000004
pcm0: NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=7 entries=1 found=1
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=8 entries=1 found=1
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=14 entries=1 found=1
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=15 entries=2 found=2
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=16 entries=3 found=3
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=20 entries=1 found=1
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=21 entries=1 found=1
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=22 entries=1 found=1
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=24 entries=1 found=1
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=26 entries=1 found=1
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=30 entries=1 found=1
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=35 entries=7 found=7
pcm0: HDA_DEBUG: hdac_widget_connection_parse: nid=36 entries=7 found=7
pcm0: HDA_DEBUG: Parsing Ctls...
pcm0: HDA_DEBUG: Parsing vendor patch...
pcm0: HDA_DEBUG: Building AFG tree...
pcm0: HDA_DEBUG: HWiP: HDA Widget Parser - Revision 1
pcm0: HDA_DEBUG: HWiP: Found 2 DAC path using HDA_PARSE_MIXER strategy.
pcm0: HDA_DEBUG: AFG commit...
pcm0: HDA_DEBUG: Ctls commit...
pcm0: [ 3] Ctl nid=14 childnid=2 Bind to NONE
pcm0: [ 4] Ctl nid=15 childnid=2 Bind to NONE
pcm0: [ 5] Ctl nid=15 childnid=29 DISABLED
pcm0: [ 6] Ctl nid=16 childnid=3 Bind to NONE
pcm0: [ 7] Ctl nid=16 childnid=29 DISABLED
pcm0: [ 8] Ctl nid=16 childnid=2 Bind to NONE
pcm0: [ 9] Ctl nid=20 Bind to NONE
pcm0: [10] Ctl nid=21 Bind to NONE
pcm0: [11] Ctl nid=22 DISABLED
pcm0: [12] Ctl nid=24 Bind to NONE
pcm0: [13] Ctl nid=24 Bind to NONE
pcm0: [14] Ctl nid=25 DISABLED
pcm0: [15] Ctl nid=26 DISABLED
pcm0: [16] Ctl nid=26 DISABLED
pcm0: HDA_DEBUG: PCMDIR_PLAY setup...
pcm0: HDA_DEBUG: PCMDIR_REC setup...
pcm0: HDA_DEBUG: OSS mixer initialization...
pcm0: Mixer "vol":
pcm0: Mixer "pcm":
pcm0: Mixer "rec":
pcm0: HDA_DEBUG: Registering PCM channels...
pcm0: hdac_dma_alloc: size=4096 > roundsz=4096
pcm0: sndbuf_setmap 16000, 4000; 0xd2b56000 -> 16000
pcm0: hdac_dma_alloc: size=4096 -> roundsz=4096
pcm0: sndbuf_setmap 1a000, 4000; 0xd2e63000 -> 1a000
pcm0: <HDA Codec: Realtek ALC268>
pcm0: <HDA Codec ID: 0x10ec0268>
pcm0: <HDA Driver Revision: 20071129_0050>
pcm0:
pcm0: HDA config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
pcm0:
pcm0: ------------------

pcm0: | DUMPING HDA NODES |
pcm0: -----------------
pcm0:
pcm0: Default Parameter
pcm0: -----------------
pcm0: Stream cap: 0x00000001
pcm0: Format: PCM
pcm0: PCM cap: 0x000e0560
pcm0: PCM size: 16 20 24
pcm0: PCM rate: 44 48 96 192
pcm0: IN amp: 0x00000000
pcm0: OUT amp: 0x00000000
pcm0:
pcm0: nid: 2 [ANALOG]
pcm0: name: audio output
pcm0: widget_cap: 0x0000001d
pcm0: Parse flags: 0x00000001
pcm0: Ctl flags: 0x00000011
pcm0: Stream cap: 0x00000001
pcm0: Format: PCM
pcm0: PCM cap: 0x000e0560
pcm0: PCM size: 16 20 24
pcm0: PCM rate: 44 48 96 192
pcm0: Output amp: 0x00034040
pcm0: mute=0 step=64 size=3 offset=64
pcm0: connections: 0
pcm0:
pcm0: nid: 3 [ANALOG]
pcm0: name: audio output
pcm0: widget_cap: 0x0000001d
pcm0: Parse flags: 0x00000001
pcm0: Ctl flags: 0x00000011
pcm0: Stream cap: 0x00000001
pcm0: Format: PCM
pcm0: PCM cap: 0x000e0560
pcm0: PCM size: 16 20 24
pcm0: PCM rate: 44 48 96 192
pcm0: Output amp: 0x00034040
pcm0: mute=0 step=64 size=3 offset=64
pcm0: connections: 0
pcm0:
pcm0: nid: 4 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: nid: 5 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: nid: 6 [DIGITAL] [DISABLED]
pcm0: name: audio output
pcm0: widget_cap: 0x00000211
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Stream cap: 0x00000001
pcm0: Format: PCM
pcm0: PCM cap: 0x001e05e0
pcm0: PCM size: 16 20 24 32
pcm0: PCM rate: 44 48 88 96 192
pcm0: connections: 0
pcm0:
pcm0: nid: 7 [ANALOG]
pcm0: name: audio input
pcm0: widget_cap: 0x00100111
pcm0: Parse flags: 0x00000002
pcm0: Ctl flags: 0x00000800
pcm0: Stream cap: 0x00000001
pcm0: Format: PCM
pcm0: PCM cap: 0x00060160
pcm0: PCM size: 16 20
pcm0: PCM rate: 44 48 96
pcm0: connections: 1
pcm0: |
pcm0: + <- nid=36 [audio selector]
pcm0:
pcm0: nid: 8 [ANALOG]
pcm0: name: audio input
pcm0: widget_cap: 0x00100111
pcm0: Parse flags: 0x00000002
pcm0: Ctl flags: 0x00000800
pcm0: Stream cap: 0x00000001
pcm0: Format: PCM
pcm0: PCM cap: 0x00060160
pcm0: PCM size: 16 20
pcm0: PCM rate: 44 48 96
pcm0: connections: 1
pcm0: |
pcm0: + <- nid=35 [audio selector]
pcm0:
pcm0: nid: 9 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: nid: 10 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: nid: 11 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: nid: 12 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: nid: 13 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: nid: 14 [ANALOG]
pcm0: name: audio mixer
pcm0: widget_cap: 0x0020010a
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Input amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 1
pcm0: |
pcm0: + <- nid=2 [audio output]
pcm0:
pcm0: nid: 15 [ANALOG]
pcm0: name: audio mixer
pcm0: widget_cap: 0x0020010b
pcm0: Parse flags: 0x00000001
pcm0: Ctl flags: 0x00000011
pcm0: Input amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 2
pcm0: |
pcm0: + <- nid=2 [audio output]
pcm0: |
pcm0: + <- nid=29 [pin: speaker (none)] [DISABLED]
pcm0:
pcm0: nid: 16 [ANALOG]
pcm0: name: audio mixer
pcm0: widget_cap: 0x0020010b
pcm0: Parse flags: 0x00000001
pcm0: Ctl flags: 0x00000011
pcm0: Input amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 3
pcm0: |
pcm0: + <- nid=3 [audio output]
pcm0: |
pcm0: + <- nid=29 [pin: speaker (none)] [DISABLED]
pcm0: |
pcm0: + <- nid=2 [audio output]
pcm0:
pcm0: nid: 17 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: nid: 18 [ANALOG] [DISABLED]
pcm0: name: pin: speaker (none)
pcm0: widget_cap: 0x00400001
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Pin cap: 0x00000020
pcm0: IN
pcm0: Pin config: 0x411111f0
pcm0: Pin control: 0x00000020 IN
pcm0: connections: 0
pcm0:
pcm0: nid: 19 [ANALOG] [DISABLED]
pcm0: name: pin: speaker (none)
pcm0: widget_cap: 0x00400001
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Pin cap: 0x00000020
pcm0: IN
pcm0: Pin config: 0x411111f0
pcm0: Pin control: 0x00000020 IN
pcm0: connections: 0
pcm0:
pcm0: nid: 20 [ANALOG]
pcm0: name: pin: speaker (fixed)
pcm0: widget_cap: 0x0040018d
pcm0: Parse flags: 0x00000001
pcm0: Ctl flags: 0x00000000
pcm0: Pin cap: 0x0001003c
pcm0: HP OUT IN EAPD : UNSOL
pcm0: Pin config: 0x90170110
pcm0: Pin control: 0x00000040 OUT
pcm0: EAPD: 0x00000002
pcm0: Output amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 1
pcm0: |
pcm0: + <- nid=15 [audio mixer]
pcm0:
pcm0: nid: 21 [ANALOG]
pcm0: name: pin: headphones out (jack)
pcm0: widget_cap: 0x0040018d
pcm0: Parse flags: 0x00000001
pcm0: Ctl flags: 0x00000000
pcm0: Pin cap: 0x0001003c
pcm0: HP OUT IN EAPD : UNSOL
pcm0: Pin config: 0x04211020
pcm0: Pin control: 0x000000c0 HP OUT
pcm0: EAPD: 0x00000002
pcm0: Output amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 1
pcm0: |
pcm0: + <- nid=16 [audio mixer]
pcm0:
pcm0: nid: 22 [ANALOG] [DISABLED]
pcm0: name: pin: speaker (none)
pcm0: widget_cap: 0x0040010c
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Pin cap: 0x00000010
pcm0: OUT
pcm0: Pin config: 0x411111f0
pcm0: Pin control: 0x00000040 OUT
pcm0: Output amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: connections: 1
pcm0: |
pcm0: + <- nid=14 [audio mixer]
pcm0:
pcm0: nid: 23 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: name: pin: Mic in (jack)
pcm0: widget_cap: 0x0040018f
pcm0: Parse flags: 0x00000002
pcm0: Ctl flags: 0x00000000
pcm0: Pin cap: 0x00003734
pcm0: OUT IN VREF[ 50 80 100 GROUND HIZ ] : UNSOL
pcm0: Pin config: 0x04a11030
pcm0: Pin control: 0x00000025 IN
pcm0: Output amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: Input amp: 0x004f0200
pcm0: mute=0 step=2 size=79 offset=0
pcm0: connections: 1
pcm0: |
pcm0: + <- nid=2 [audio output]
pcm0:
pcm0: nid: 25 [ANALOG] [DISABLED]
pcm0: name: pin: speaker (none)
pcm0: widget_cap: 0x0040008b
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Pin cap: 0x00003724
pcm0: IN VREF[ 50 80 100 GROUND HIZ ] : UNSOL
pcm0: Pin config: 0x411111f0
pcm0: Pin control: 0x00000020 IN
pcm0: Input amp: 0x004f0200
pcm0: mute=0 step=2 size=79 offset=0
pcm0: connections: 0
pcm0:
pcm0: nid: 26 [ANALOG] [DISABLED]
pcm0: name: pin: speaker (none)
pcm0: widget_cap: 0x0040018f
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Pin cap: 0x00003734
pcm0: OUT IN VREF[ 50 80 100 GROUND HIZ ] : UNSOL
pcm0: Pin config: 0x411111f0
pcm0: Pin control: 0x00000060 IN OUT
pcm0: Output amp: 0x80000000
pcm0: mute=1 step=0 size=0 offset=0
pcm0: Input amp: 0x004f0200
pcm0: mute=0 step=2 size=79 offset=0
pcm0: connections: 1
pcm0: |
pcm0: + <- nid=2 [audio output]
pcm0:
pcm0: nid: 27 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: nid: 28 [ANALOG] [DISABLED]
pcm0: name: pin: speaker (none)
pcm0: widget_cap: 0x00400001
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Pin cap: 0x00000020
pcm0: IN
pcm0: Pin config: 0x411111f0
pcm0: Pin control: 0x00000020 IN
pcm0: connections: 0
pcm0:
pcm0: nid: 29 [ANALOG] [DISABLED]
pcm0: name: pin: speaker (none)
pcm0: widget_cap: 0x00400000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Pin cap: 0x00000020
pcm0: IN
pcm0: Pin config: 0x411111f0
pcm0: Pin control: 0x00000020 IN
pcm0: connections: 0
pcm0:
pcm0: nid: 30 [DIGITAL] [DISABLED]
pcm0: name: pin: speaker (none)
pcm0: widget_cap: 0x00400380
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: Pin cap: 0x00000010
pcm0: OUT : UNSOL
pcm0: Pin config: 0x411111f0
pcm0: Pin control: 0x00000040 OUT
pcm0: connections: 1
pcm0: |
pcm0: + <- nid=6 [audio output] [DISABLED]
pcm0:
pcm0: nid: 31 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: nid: 32 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00040
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: nid: 33 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: nid: 34 [ANALOG]
pcm0: name: vendor widget
pcm0: widget_cap: 0x00f00000
pcm0: Parse flags: 0x00000000
pcm0: Ctl flags: 0x00000000
pcm0: connections: 0
pcm0:
pcm0: nid: 35 [ANALOG]
pcm0: name: audio selector
pcm0: widget_cap: 0x0030010d
pcm0: Parse flags: 0x00000006
pcm0: Ctl flags: 0x00000800
pcm0: Output amp: 0x80051f0b
pcm0: mute=1 step=31 size=5 offset=11
pcm0: connections: 7
pcm0: |
pcm0: + <- nid=24 [pin: Mic in (jack)] (selected)
pcm0: |
pcm0: + <- nid=25 [pin: speaker (none)] [DISABLED]
pcm0: |
pcm0: + <- nid=26 [pin: speaker (none)] [DISABLED]
pcm0: |
pcm0: + <- nid=28 [pin: speaker (none)] [DISABLED]
pcm0: |
pcm0: + <- nid=20 [pin: speaker (fixed)]
pcm0: |
pcm0: + <- nid=21 [pin: headphones out (jack)]
pcm0: |
pcm0: + <- nid=18 [pin: speaker (none)] [DISABLED]
pcm0:
pcm0: nid: 36 [ANALOG]
pcm0: name: audio selector
pcm0: widget_cap: 0x0030010d
pcm0: Parse flags: 0x00000006
pcm0: Ctl flags: 0x00000800
pcm0: Output amp: 0x80051f0b
pcm0: mute=1 step=31 size=5 offset=11
pcm0: connections: 7
pcm0: |
pcm0: + <- nid=24 [pin: Mic in (jack)] (selected)
pcm0: |
pcm0: + <- nid=25 [pin: speaker (none)] [DISABLED]
pcm0: |
pcm0: + <- nid=26 [pin: speaker (none)] [DISABLED]
pcm0: |
pcm0: + <- nid=28 [pin: speaker (none)] [DISABLED]
pcm0: |
pcm0: + <- nid=20 [pin: speaker (fixed)]
pcm0: |
pcm0: + <- nid=21 [pin: headphones out (jack)]
pcm0: |
pcm0: + <- nid=19 [pin: speaker (none)] [DISABLED]
pcm0:
pcm0: ----------------------
pcm0: | DUMPING HDA AMPLIFIERS |
pcm0: ----------------------
pcm0:
pcm0: 1: nid=2 dir=0x1 index=0 ossmask=0x00000011 ossdev=4
pcm0: 2: nid=3 dir=0x1 index=0 ossmask=0x00000011 ossdev=4
pcm0: 3: nid=14 cnid=2 dir=0x2 index=0 ossmask=0x00000000 ossdev=0
pcm0: 4: nid=15 cnid=2 dir=0x2 index=0 ossmask=0x00000000 ossdev=0
pcm0: 5: nid=15 cnid=29 dir=0x2 index=1 ossmask=0x00000000 ossdev=0
[DISABLED]
pcm0: 6: nid=16 cnid=3 dir=0x2 index=0 ossmask=0x00000000 ossdev=0
pcm0: 7: nid=16 cnid=29 dir=0x2 index=1 ossmask=0x00000000 ossdev=0
[DISABLED]
pcm0: 8: nid=16 cnid=2 dir=0x2 index=2 ossmask=0x00000000 ossdev=0
pcm0: 9: nid=20 dir=0x1 index=0 ossmask=0x00000000 ossdev=0
pcm0: 10: nid=21 dir=0x1 index=0 ossmask=0x00000000 ossdev=0
pcm0: 11: nid=22 dir=0x1 index=0 ossmask=0x00000000 ossdev=0 [DISABLED]
pcm0: 12: nid=24 dir=0x1 index=0 ossmask=0x00000000 ossdev=0
pcm0: 13: nid=24 dir=0x2 index=0 ossmask=0x00000000 ossdev=0
pcm0: 14: nid=25 dir=0x2 index=0 ossmask=0x00000000 ossdev=0 [DISABLED]
pcm0: 15: nid=26 dir=0x1 index=0 ossmask=0x00000000 ossdev=0 [DISABLED]
pcm0: 16: nid=26 dir=0x2 index=0 ossmask=0x00000000 ossdev=0 [DISABLED]
pcm0: 17: nid=35 dir=0x1 index=0 ossmask=0x00000800 ossdev=0
pcm0: 18: nid=36 dir=0x1 index=0 ossmask=0x00000800 ossdev=0
pcm0:
pcm0: ---------------------------------
pcm0: | DUMPING HDA AUDIO/VOLUME CONTROLS |
pcm0: ---------------------------------
pcm0:
pcm0: Master Volume (OSS: vol)
pcm0: |
pcm0: - nid: 2 index: 0 mute: 0 step: 64 size: 3 off: 64
dir=0x1 ossmask=0x00000011
pcm0: |
pcm0: +- nid: 3 index: 0 mute: 0 step: 64 size: 3 off: 64
dir=0x1 ossmask=0x00000011
pcm0:
pcm0: PCM Volume (OSS: pcm)
pcm0: |
pcm0: +- nid: 2 index: 0 mute: 0 step: 64 size: 3 off: 64
dir=0x1 ossmask=0x00000011
pcm0: |
pcm0: +- nid: 3 index: 0 mute: 0 step: 64 size: 3 off: 64
dir=0x1 ossmask=0x00000011
pcm0:
pcm0: Recording Level (OSS: rec)
pcm0: |
pcm0: +- nid: 35 index: 0 mute: 1 step: 31 size: 5 off: 11
dir=0x1 ossmask=0x00000800
pcm0: |
pcm0: +- nid: 36 index: 0 mute: 1 step: 31 size: 5 off: 11
dir=0x1 ossmask=0x00000800
pcm0:
pcm0: Playback path:
pcm0:
pcm0: nid=20 [pin: speaker (fixed)]
pcm0: ^
pcm0: |
pcm0: +---<------

pcm0: ^
pcm0: |
pcm0: nid=15 [audio mixer]
pcm0: ^
pcm0: |
pcm0: nid=2 [audio output]
pcm0:
pcm0: nid=21 [pin: headphones out (jack)]
pcm0: ^
pcm0: |
pcm0: ---<------
pcm0: ^
pcm0: |
pcm0: nid=16 [audio mixer]
pcm0: ^
pcm0: |
pcm0: nid=3 [audio output]
pcm0:
pcm0: Recording sources:
pcm0:
pcm0: nid=35 [audio selector]
pcm0: |
pcm0: + <- nid=24 [pin: Mic in (jack)]
pcm0: |
pcm0: + <- nid=20 [pin: speaker (fixed)]
pcm0: |
pcm0: + <- nid=21 [pin: headphones out (jack)]
pcm0:
pcm0: nid=36 [audio selector]
pcm0: |
pcm0: + <- nid=24 [pin: Mic in (jack)]
pcm0: |
pcm0: + <- nid=20 [pin: speaker (fixed)]
pcm0: |
pcm0: + <- nid=21 [pin: headphones out (jack)]
pcm0:
pcm0: ------------------------------------
pcm0: | DUMPING PCM Playback/Record Channels |
pcm0: ------------------------------------
pcm0:
pcm0: PCM Playback: 1
pcm0: Stream cap: 0x00000001
pcm0: Format: PCM
pcm0: PCM cap: 0x000e0560
pcm0: PCM size: 16 20 24
pcm0: PCM rate: 44 48 96 192
pcm0: DAC: 2 3
pcm0:
pcm0: PCM Record: 1
pcm0: Stream cap: 0x00000001
pcm0: Format: PCM
pcm0: PCM cap: 0x00060160
pcm0: PCM size: 16 20
pcm0: PCM rate: 44 48 96
pcm0: ADC: 7 8

On another note, can some please port the sound device code from FreeBSD
which would allow me to play sound from multiple sources at the same time.
ie. theres just one /dev/audio or something, so when channel 1 is busy ->
sound is playing, go to channel 2 automatically (no manual configuration). It
would be great to have this before the release.

Thanks,
Petr

Actions #1

Updated by corecode almost 17 years ago

r, and=20

sound works, mixer works, but when I try to play an audio cd either via=

=20

cdcontrol or in KDE, no sound comes out of the speakers.

How is this a dilemma? Does CD sound work else? Is your CD drive
connected to the sound card via a dedicated wire?

eBSD=20

which would allow me to play sound from multiple sources at the same ti=

me.=20

ie. theres just one /dev/audio or something, so when channel 1 is busy =

->=20

sound is playing, go to channel 2 automatically (no manual configuratio=

n). It=20

would be great to have this before the release.

First, this is not as simple as you might think it is. We basically
need a devfs before we can do this. Second, it already works. Just
point your different players to /dev/dsp0.1 /dev/dsp0.2 etc. We even
have separate volume controls for these virtual channels.

cheers
simon

Actions #2

Updated by elekktretterr almost 17 years ago

This is a laptop. Audio CD sound doesn't work at all, all other sounds work.

I'm aware of this. But some applications don't allow to set audio output
device, and with the first channel being used by KDE's sounds (i believe), it
just becomes hassle.

I could provide a small donation, around 50 euros. Obviously not for the work
itself as its not enough, but rather for a sign of good will to anyone who
can pick this up. We all need DragonFly moving forward :)

Perhaps we should set up a donation system on the website?

Actions #3

Updated by c.turner almost 17 years ago

Petr Janda wrote:

Perhaps you've already checked this out, but ...

I'd like to point out there are 2 ways to play cd audio on PC's
(and probably the same goes other platforms too)

1. via an analog audio cable connected from the ad converters of a
redbook compatible cd-rom drive to some analog mixer input on
the sound card (think like a computer controlled hi-fi)

2. By reading audio tracks from the cd via the CD-ROM (i.e. yellow book)
interface bus, buffering and converting appropriately, and
sending this to the sound card's dsp inputs
(typically through some kind of expansion bus, like ISA or PCI)

I'm not an expert on cdcontrol or what program you are using in KDE,
but based on a quick scan of /usr.sbin/cdcontrol/cdcontrol.c, it seems
like this program is designed to do #1, and perhaps the laptop hardware
doesn't support it, as most media players are capable of and use by
default #2 these days (for example IIRC windows media switched to #2
with XP, etc)

#1 wasn't possible with the advent of CD-ROM technology due to
processing and bus bandwith limitations, but now this is kind of a moot
point and implementing #2 is cheaper / easier / faster / more convenient
/ sounds better due-to-no-ad-conversion etc.

I'd be sure you're not getting these 2 confused before reporting it as a
bug, although I suppose the manual could be clearer in this reguard..

good luck in your tests..

- Chris

Actions #4

Updated by hasso almost 17 years ago

The same is true for KDE CD player - kscd. It doesn't support direct
digital playback of CD's.

Actions #5

Updated by elekktretterr almost 17 years ago

Can we make cdcontrol use #2 instead?

Petr

Actions #6

Updated by hasso almost 16 years ago

I don't think that it's reasonable, it requires a lot of more code than a
small "compact disc control utility" which cdcontrol(1) is. Closing bug at
least for now.

Actions

Also available in: Atom PDF