IEC958 in - to - Analog out (xbox360)
Hello,
I am trying to make Xbox360 gaming experience a little more better than 2.0 channel sound. Generally what i am trying to do is: -get the optical output from Xbox360 -to optical IN (iec958 in) on cm106 - card 1 -analog out 5.1 (sb 24bit external) - card 2 xbox360 is connected with the optical on the cm106 card. SB24bit is connected with 3.5mm jacks. 5.1 speakers. OS used is ubuntu 10.10 I made this work on Windows with graphedit, now its a little tricky here. Outputs from cli: arecord -l andrej@atlantis:~$ arecord -l **** List of CAPTURE Hardware Devices **** card 1: External [SB Live! 24-bit External], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: default [USB Sound Device ], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0 andrej@atlantis:~$ arecord -L default pulse Playback/recording through the PulseAudio sound server a52:CARD=Generic HD-Audio Generic front:CARD=External,DEV=0 SB Live! 24-bit External, USB Audio Front speakers surround40:CARD=External,DEV=0 SB Live! 24-bit External, USB Audio 4.0 Surround output to Front and Rear speakers surround41:CARD=External,DEV=0 SB Live! 24-bit External, USB Audio 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=External,DEV=0 SB Live! 24-bit External, USB Audio 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=External,DEV=0 SB Live! 24-bit External, USB Audio 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=External,DEV=0 SB Live! 24-bit External, USB Audio 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers iec958:CARD=External,DEV=0 SB Live! 24-bit External, USB Audio IEC958 (S/PDIF) Digital Audio Output dmix:CARD=External,DEV=0 SB Live! 24-bit External, USB Audio Direct sample mixing device dsnoop:CARD=External,DEV=0 SB Live! 24-bit External, USB Audio Direct sample snooping device hw:CARD=External,DEV=0 SB Live! 24-bit External, USB Audio Direct hardware device without any conversions plughw:CARD=External,DEV=0 SB Live! 24-bit External, USB Audio Hardware device with all software conversions a52:CARD=External SB Live! 24-bit External front:CARD=default,DEV=0 USB Sound Device , USB Audio Front speakers surround40:CARD=default,DEV=0 USB Sound Device , USB Audio 4.0 Surround output to Front and Rear speakers surround41:CARD=default,DEV=0 USB Sound Device , USB Audio 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=default,DEV=0 USB Sound Device , USB Audio 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=default,DEV=0 USB Sound Device , USB Audio 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=default,DEV=0 USB Sound Device , USB Audio 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers iec958:CARD=default,DEV=0 USB Sound Device , USB Audio IEC958 (S/PDIF) Digital Audio Output dmix:CARD=default,DEV=0 USB Sound Device , USB Audio Direct sample mixing device dsnoop:CARD=default,DEV=0 USB Sound Device , USB Audio Direct sample snooping device hw:CARD=default,DEV=0 USB Sound Device , USB Audio Direct hardware device without any conversions plughw:CARD=default,DEV=0 USB Sound Device , USB Audio Hardware device with all software conversions a52:CARD=default USB Sound Device andrej@atlantis:~$ uname -a Linux atlantis 2.6.35-28-generic #50-Ubuntu SMP Fri Mar 18 18:42:20 UTC 2011 x86_64 GNU/Linux andrej@atlantis:~$ lspci 00:00.0 RAM memory: nVidia Corporation MCP65 Memory Controller (rev a3) 00:01.0 ISA bridge: nVidia Corporation MCP65 LPC Bridge (rev a3) 00:01.1 SMBus: nVidia Corporation MCP65 SMBus (rev a1) 00:01.2 RAM memory: nVidia Corporation MCP65 Memory Controller (rev a1) 00:02.0 USB Controller: nVidia Corporation MCP65 USB Controller (rev a3) 00:02.1 USB Controller: nVidia Corporation MCP65 USB Controller (rev a3) 00:06.0 Ethernet controller: nVidia Corporation MCP65 Ethernet (rev a3) 00:08.0 PCI bridge: nVidia Corporation MCP65 PCI bridge (rev a1) 00:09.0 IDE interface: nVidia Corporation MCP65 IDE (rev a1) 00:0a.0 SATA controller: nVidia Corporation MCP65 AHCI Controller (rev a3) 00:0d.0 PCI bridge: nVidia Corporation MCP65 PCI Express bridge (rev a1) 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control 01:06.0 RAID bus controller: Silicon Image, Inc. SiI 0649 Ultra ATA/100 PCI to ATA Host Controller (rev 02) 01:07.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01) 01:08.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01) 01:09.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62) 01:09.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62) 01:09.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 65) 02:00.0 VGA compatible controller: ATI Technologies Inc Juniper [Radeon HD 5700 Series] 02:00.1 Audio device: ATI Technologies Inc Juniper HDMI Audio [Radeon HD 5700 Series] Souncards are both USB andrej@atlantis:~$ lsusb Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 004: ID 0d8c:0102 C-Media Electronics, Inc. CM106 Like Sound Device - optical IN Bus 003 Device 002: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490 - analog OUT Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 002: ID 04fc:0c15 Sunplus Technology Co., Ltd SPIF215A SATA bridge Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 016: ID 056a:00d1 Wacom Co., Ltd Bus 001 Device 015: ID 04a9:10c4 Canon, Inc. Pixma iP4500 Printer Bus 001 Device 013: ID 046d:c316 Logitech, Inc. HID-Compliant Keyboard Bus 001 Device 012: ID 152d:2329 JMicron Technology Corp. / JMicron USA Technology Corp. transcend storejet 25P Bus 001 Device 011: ID 0cf2:6230 ENE Technology, Inc. Bus 001 Device 010: ID 046d:092f Logitech, Inc. QuickCam Express Plus Bus 001 Device 009: ID 0409:005a NEC Corp. HighSpeed Hub Bus 001 Device 008: ID 059b:0001 Iomega Corp. Zip 100 (Type 1) Bus 001 Device 007: ID 046d:c051 Logitech, Inc. G3 (MX518) Optical Mouse Bus 001 Device 004: ID 1a40:0101 TERMINUS TECHNOLOGY INC. USB-2.0 4-Port HUB Bus 001 Device 003: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub Bus 001 Device 002: ID 13fd:2040 Initio Corporation Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Alsamixer Card: USB Sound Device F1: Help │ │ Chip: USB Mixer F2: System information │ │ View: F3: Playback F4:[Capture] F5: All F6: Select sound card │ │ Item: PCM [dB gain: -1.68, -1.68] Esc: Exit │ │ │ │ │ │ │ │ ┌──┐ ┌──┐ ┌──┐ │ │ │ │ │▒▒│ │▒▒│ │ │ │ │ │▒▒│ │▒▒│ │ │ │ │ │▒▒│ │▒▒│ │ │ │ │ │▒▒│ │▒▒│ │ │ │ │ │▒▒│ │▒▒│ │ │ │ │ │▒▒│ │▒▒│ │ │ │ │ │▒▒│ │▒▒│ │ │ │▒▒│ │▒▒│ │▒▒│ │ │ │▒▒│ │▒▒│ │▒▒│ │ │ │▒▒│ │▒▒│ │▒▒│ │ │ │▒▒│ │▒▒│ │▒▒│ │ │ │▒▒│ │▒▒│ │▒▒│ │ │ │▒▒│ │▒▒│ │▒▒│ │ │ │▒▒│ │▒▒│ │▒▒│ │ │ │▒▒│ │▒▒│ │▒▒│ │ │ │▒▒│ │▒▒│ │▒▒│ │ │ L└──┘R └──┘ └──┘ L R │ │ CAPTURE ------- ------- CAPTURE │ │ 53<>53 100<>100 100<>100 │ │ < PCM > Line Mic S/PDIF In │ │ │ │ │ │ │ S/PDIF In is shown and unmuted. commands i have tryed: arecord -D hw:2,0 -f dat | aplay -D hw:1,0 arecord -D hw:2,0 -f dat | ac3dec Output: andrej@atlantis:/proc/asound$ arecord -D hw:2,0 -f dat | aplay -D hw:1,0 Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo ^CAborted by signal Interrupt... Aborted by signal Interrupt... andrej@atlantis:/proc/asound$ arecord -D hw:2,0 -f dat | ac3dec Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo 2.0 Mode 48.0 KHz 32 kbps Complete Main Audio Service Using PCM device 'default' -no sound - seems to be doing something ^CAborted... Aborted by signal Interrupt... Seems like something is still missing..... |
Hi,
Please use the vbcode tags # or Quote for long list/Data. This will make your post cleaner therefore easier to read. I will let the thread stay here in <Linux-Hardware>. If you get no help here then move to Ubuntu forum. Why use the capture mode, instead of play? |
All times are GMT -5. The time now is 06:21 AM. |