On Fri, Sep 16, 2011 at 9:12 AM, Mark Nordstrand <m.a.nordstrand@xxxxxxxxx> wrote: > On Fri, Sep 16, 2011 at 6:47 AM, Clemens Ladisch > <cladisch@xxxxxxxxxxxxxx> wrote: >> Mark Nordstrand wrote: >>> On Mon, Sep 12, 2011 at 8:42 AM, Clemens Ladisch <cladisch@xxxxxxxxxxxxxx> wrote: >>> > Mark Nordstrand wrote: >>> >> On Fri, Sep 2, 2011 at 6:16 AM, Clemens Ladisch <cladisch@xxxxxxxxxxxxxx> wrote: >>> >> > Does "aplay something.wav" work? >>> >> >>> >> Only on the spare speakers and by turning on "In Monitor". >>> > >>> > What happens with "aplay -D plug:spdif something.wav"? >>> >>> Nothing. Silence. >> >> Okay, I managed to find my old cmipci-based card, but when I tried to >> play something, it died. >> >> Anyway, I checked the source code, and what you've done should have been >> sufficient to enable the digital output (and besides, there is nothing >> else that you could configure). >> > From everything I can find, that's what I thought. From when it > worked, I don't remember doing much more. > >> Try using the card in another computer, and/or with Windows. >> > Yeah, the earlier, working, setup was with a different motherboard. > I've been thinking of swapping it out. That HP board has given me > quite a bit of grief anyway. > > If/when I get a chance to do this, I'll let you know, and thanks for > looking into this. > So, went back to the motherboard this worked with before. It was running 2.6.27. I don't know what version of ALSA that corresponds to. The results are the same: nothing out the optical, but I can get the right and left channels by turning on In Monitor. upload=true&script=true&cardinfo= !!################################ !!ALSA Information Script v 0.4.60 !!################################ !!Script ran on: Sun Sep 25 21:45:39 UTC 2011 !!Linux Distribution !!------------------ Debian GNU/Linux 6.0 \n \l !!DMI Information !!--------------- Manufacturer: FUJITSU SIEMENS Product Name: D1522 Product Version: !!Kernel Information !!------------------ Kernel release: 2.6.38-custom Operating System: GNU/Linux Architecture: i686 Processor: unknown SMP Enabled: Yes !!ALSA Version !!------------ Driver version: 1.0.23 Library version: 1.0.23 Utilities version: 1.0.23 !!Loaded ALSA modules !!------------------- snd_cmipci !!Sound Servers on this system !!---------------------------- No sound servers found. !!Soundcards recognised by ALSA !!----------------------------- 0 [CMI8738 ]: CMI8738-MC6 - C-Media CMI8738 C-Media CMI8738 (model 55) at 0x4800, irq 19 !!PCI Soundcards installed in the system !!-------------------------------------- 02:09.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10) !!Advanced information - PCI Vendor/Device/Subsystem ID's !!-------------------------------------------------------- 02:09.0 0401: 13f6:0111 (rev 10) Subsystem: 13f6:0111 !!Modprobe options (Sound related) !!-------------------------------- snd-atiixp-modem: index=-2 snd-intel8x0m: index=-2 snd-via82xx-modem: index=-2 snd-pcsp: index=-2 snd-usb-audio: index=-2 !!Loaded sound module options !!-------------------------- !!Module: snd_cmipci enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y fm_port : 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null) index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 joystick_port : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 mpu_port : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 soft_ac3 : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y !!ALSA Device nodes !!----------------- crw-rw----+ 1 root audio 116, 9 Sep 25 16:27 /dev/snd/controlC0 crw-rw----+ 1 root audio 116, 8 Sep 25 16:27 /dev/snd/hwC0D0 crw-rw----+ 1 root audio 116, 2 Sep 25 16:27 /dev/snd/midiC0D0 crw-rw----+ 1 root audio 116, 7 Sep 25 16:27 /dev/snd/pcmC0D0c crw-rw----+ 1 root audio 116, 6 Sep 25 16:27 /dev/snd/pcmC0D0p crw-rw----+ 1 root audio 116, 5 Sep 25 16:27 /dev/snd/pcmC0D1p crw-rw----+ 1 root audio 116, 4 Sep 25 16:27 /dev/snd/pcmC0D2c crw-rw----+ 1 root audio 116, 3 Sep 25 16:44 /dev/snd/pcmC0D2p crw-rw----+ 1 root audio 116, 1 Sep 25 16:27 /dev/snd/seq crw-rw----+ 1 root audio 116, 33 Sep 25 16:27 /dev/snd/timer /dev/snd/by-path: total 0 drwxr-xr-x 2 root root 60 Sep 25 16:27 . drwxr-xr-x 3 root root 260 Sep 25 16:27 .. lrwxrwxrwx 1 root root 12 Sep 25 16:27 pci-0000:02:09.0 -> ../controlC0 !!Aplay/Arecord output !!------------ APLAY **** List of PLAYBACK Hardware Devices **** card 0: CMI8738 [C-Media CMI8738], device 0: CMI8738-MC6 [C-Media PCI DAC/ADC] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: CMI8738 [C-Media CMI8738], device 1: CMI8738-MC6 [C-Media PCI 2nd DAC] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: CMI8738 [C-Media CMI8738], device 2: CMI8738-MC6 [C-Media PCI IEC958] Subdevices: 1/1 Subdevice #0: subdevice #0 ARECORD **** List of CAPTURE Hardware Devices **** card 0: CMI8738 [C-Media CMI8738], device 0: CMI8738-MC6 [C-Media PCI DAC/ADC] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: CMI8738 [C-Media CMI8738], device 2: CMI8738-MC6 [C-Media PCI IEC958] Subdevices: 1/1 Subdevice #0: subdevice #0 !!Amixer output !!------------- !!-------Mixer controls for card 0 [CMI8738] Card hw:0 'CMI8738'/'C-Media CMI8738 (model 55) at 0x4800, irq 19' Mixer name : 'CMedia PCI' Components : '' Controls : 41 Simple ctrls : 22 Simple mixer control 'Master',0 Capabilities: pvolume penum Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 25 [81%] Front Right: Playback 25 [81%] Simple mixer control '3D Control - Switch',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [off] Simple mixer control 'PCM',0 Capabilities: pvolume pswitch pswitch-joined cswitch penum Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: Playback 0 - 31 Front Left: Playback 25 [81%] [on] Capture [off] Front Right: Playback 25 [81%] [on] Capture [off] Simple mixer control 'Synth',0 Capabilities: pvolume pswitch pswitch-joined cswitch penum Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: Playback 0 - 31 Front Left: Playback 25 [81%] [on] Capture [off] Front Right: Playback 25 [81%] [on] Capture [off] Simple mixer control 'Line',0 Capabilities: pvolume pswitch cswitch penum Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: Playback 0 - 31 Front Left: Playback 25 [81%] [on] Capture [off] Front Right: Playback 25 [81%] [on] Capture [off] Simple mixer control 'Line-In Mode',0 Capabilities: enum Items: 'Line-In' 'Rear Output' 'Bass Output' Item0: 'Line-In' Simple mixer control 'CD',0 Capabilities: pvolume pswitch cswitch penum Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: Playback 0 - 31 Front Left: Playback 25 [81%] [on] Capture [off] Front Right: Playback 25 [81%] [on] Capture [off] Simple mixer control 'Mic',0 Capabilities: pvolume pvolume-joined cvolume cvolume-joined pswitch pswitch-joined cswitch cswitch-joined penum Playback channels: Mono Capture channels: Mono Limits: Playback 0 - 31 Capture 0 - 7 Mono: Playback 0 [0%] [off] Capture 0 [0%] [off] Simple mixer control 'Mic Boost',0 Capabilities: pswitch pswitch-joined cswitch cswitch-joined penum Playback channels: Mono Capture channels: Mono Mono: Playback [off] Capture [off] Simple mixer control 'Mic-In Mode',0 Capabilities: enum Items: 'Mic-In' 'Center/LFE Output' Item0: 'Mic-In' Simple mixer control 'Phone',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 7 Mono: Playback 0 [0%] [off] Simple mixer control 'IEC958 5V',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [off] Simple mixer control 'IEC958 Copyright',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [off] Simple mixer control 'IEC958 In Monitor',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Simple mixer control 'IEC958 In Phase Inverse',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [off] Simple mixer control 'IEC958 In Select',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [off] Simple mixer control 'IEC958 In Valid',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [off] Simple mixer control 'IEC958 Loop',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [off] Simple mixer control 'IEC958 Output',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Simple mixer control 'Beep',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 3 Mono: Playback 2 [67%] [on] Simple mixer control 'Aux',0 Capabilities: pvolume pswitch cswitch penum Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: Playback 0 - 15 Front Left: Playback 0 [0%] [off] Capture [off] Front Right: Playback 0 [0%] [off] Capture [off] Simple mixer control 'Four Channel Mode',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [off] !!Alsactl output !!------------- --startcollapse-- state.CMI8738 { control.1 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' iface MIXER name 'Master Playback Volume' value.0 25 value.1 25 } control.2 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name '3D Control - Switch' value false } control.3 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' iface MIXER name 'PCM Playback Volume' value.0 25 value.1 25 } control.4 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'PCM Playback Switch' value true } control.5 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'PCM Capture Switch' value.0 false value.1 false } control.6 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' iface MIXER name 'Synth Playback Volume' value.0 25 value.1 25 } control.7 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Synth Playback Switch' value true } control.8 { comment.access 'read write' comment.type BOOLEAN comment.count 4 iface MIXER name 'Synth Capture Route' value.0 false value.1 false value.2 false value.3 false } control.9 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' iface MIXER name 'CD Playback Volume' value.0 25 value.1 25 } control.10 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'CD Playback Switch' value.0 true value.1 true } control.11 { comment.access 'read write' comment.type BOOLEAN comment.count 4 iface MIXER name 'CD Capture Route' value.0 false value.1 false value.2 false value.3 false } control.12 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' iface MIXER name 'Line Playback Volume' value.0 25 value.1 25 } control.13 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Line Playback Switch' value.0 true value.1 true } control.14 { comment.access 'read write' comment.type BOOLEAN comment.count 4 iface MIXER name 'Line Capture Route' value.0 false value.1 false value.2 false value.3 false } control.15 { comment.access 'read write' comment.type INTEGER comment.count 1 comment.range '0 - 31' iface MIXER name 'Mic Playback Volume' value 0 } control.16 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Mic Playback Switch' value false } control.17 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Mic Capture Switch' value false } control.18 { comment.access 'read write' comment.type INTEGER comment.count 1 comment.range '0 - 3' iface MIXER name 'Beep Playback Volume' value 2 } control.19 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 15' iface MIXER name 'Aux Playback Volume' value.0 0 value.1 0 } control.20 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Aux Playback Switch' value.0 false value.1 false } control.21 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Aux Capture Switch' value.0 false value.1 false } control.22 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Mic Boost Playback Switch' value false } control.23 { comment.access 'read write' comment.type INTEGER comment.count 1 comment.range '0 - 7' iface MIXER name 'Mic Capture Volume' value 0 } control.24 { comment.access 'read write' comment.type INTEGER comment.count 1 comment.range '0 - 7' iface MIXER name 'Phone Playback Volume' value 0 } control.25 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Phone Playback Switch' value false } control.26 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Beep Playback Switch' value true } control.27 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Mic Boost Capture Switch' value false } control.28 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Four Channel Mode' value false } control.29 { comment.access 'read write' comment.type ENUMERATED comment.count 1 comment.item.0 Line-In comment.item.1 'Rear Output' comment.item.2 'Bass Output' iface MIXER name 'Line-In Mode' value Line-In } control.30 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'IEC958 Output Switch' value true } control.31 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'IEC958 In Valid' value false } control.32 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'IEC958 Copyright' value false } control.33 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'IEC958 5V' value false } control.34 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'IEC958 Loop' value false } control.35 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'IEC958 In Monitor' value true } control.36 { comment.access 'read write' comment.type IEC958 comment.count 1 iface PCM device 2 name 'IEC958 Playback Default' value '0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.37 { comment.access read comment.type IEC958 comment.count 1 iface PCM device 2 name 'IEC958 Playback Con Mask' value ffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 } control.39 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'IEC958 In Select' value false } control.40 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'IEC958 In Phase Inverse' value false } control.41 { comment.access 'read write' comment.type ENUMERATED comment.count 1 comment.item.0 Mic-In comment.item.1 'Center/LFE Output' iface MIXER name 'Mic-In Mode' value Mic-In } } --endcollapse-- !!All Loaded Modules !!------------------ Module mperf speedstep_lib cpufreq_userspace cpufreq_powersave cpufreq_stats cpufreq_conservative ppdev lp nfs fscache nfsd lockd nfs_acl auth_rpcgss sunrpc fuse xfs exportfs loop nvidia snd_cmipci gameport snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_opl3_lib snd_hwdep snd_mpu401_uart snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq parport_pc parport joydev evdev snd_timer snd_seq_device snd soundcore psmouse usbhid i2c_i801 processor hid tpm_tis pcspkr container button i2c_core rng_core thermal_sys tpm tpm_bios shpchp serio_raw pci_hotplug usb_storage ext3 jbd mbcache ide_cd_mod ide_gd_mod cdrom ata_generic ata_piix sd_mod crc_t10dif sata_sil libata uhci_hcd ehci_hcd piix scsi_mod usbcore firewire_ohci e100 floppy ide_core firewire_core mii crc_itu_t nls_base !!ALSA/HDA dmesg !!------------------ >> >> Regards, >> Clemens >> > > > > -- > Mark > -- Mark ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user