[SOLVED] LynxTwo-C with OSS (no sound)

OSS specific Linux discussion (x86/amd64)

Moderators: dev, hannu, cesium

exiteverything
Member
Posts: 10
Joined: Fri Aug 09, 2013 2:49 pm

[SOLVED] LynxTwo-C with OSS (no sound)

Postby exiteverything » Fri Aug 09, 2013 3:53 pm

I would really appreciate if someone could help me with this. I've been trying to get some sound of my LynxTwo-C for quite some time now...it's been working fine until I reinstalled the OS.
Nothing wrong with the card, it still works in Windows.
So, what I have is Linux Mint 14 x64 and the oss-linux-4.2-2008_amd64 driver.
I removed pulseaudio from my system and installed the driver. Then set the VLC output to /dev/oss/oss_hdaudio0/pcm0

ossinfo output:

Version info: OSS 4.2 (b 2008/201306140345) (0x00040100)
Platform: Linux/x86_64 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 (dk)

Number of audio devices: 27
Number of audio engines: 31
Number of MIDI devices: 0
Number of mixer devices: 4


Device objects
0: osscore0 OSS core services
1: lynxtwo0 LynxTWO-C
Firmware revision: 16 PCB Revision 0
2: oss_hdaudio0 Intel HD Audio interrupts=663 (663)
HD Audio controller Intel HD Audio
Vendor ID 0x80861e20
Subvendor ID 0x104384fb
Codec 0: ALC892 (0x10ec0892/0x104384fb)
Codec 3: Unknown (0x80862806/0x80860101)
3: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)

Mixer devices
0: LynxTWO-C Adapter (Mixer 0 of device object 1)
1: LynxTWO-C Record/Play (Mixer 1 of device object 1)
2: LynxTWO-C Outputs (Mixer 2 of device object 1)
3: High Definition Audio ALC892 (Mixer 0 of device object 2)

Audio devices
LynxTWO-C Play 1 /dev/oss/lynxtwo0/pcm0 (device index 0)
LynxTWO-C Play 2 /dev/oss/lynxtwo0/pcm1 (device index 1)
LynxTWO-C Play 3 /dev/oss/lynxtwo0/pcm2 (device index 2)
LynxTWO-C Play 4 /dev/oss/lynxtwo0/pcm3 (device index 3)
LynxTWO-C Play 5 /dev/oss/lynxtwo0/pcm4 (device index 4)
LynxTWO-C Play 6 /dev/oss/lynxtwo0/pcm5 (device index 5)
LynxTWO-C Play 7 /dev/oss/lynxtwo0/pcm6 (device index 6)
LynxTWO-C Play 8 /dev/oss/lynxtwo0/pcm7 (device index 7)
LynxTWO-C Record 1 /dev/oss/lynxtwo0/pcmin0 (device index 8)
LynxTWO-C Record 2 /dev/oss/lynxtwo0/pcmin1 (device index 9)
LynxTWO-C Record 3 /dev/oss/lynxtwo0/pcmin2 (device index 10)
LynxTWO-C Record 4 /dev/oss/lynxtwo0/pcmin3 (device index 11)
LynxTWO-C Record 5 /dev/oss/lynxtwo0/pcmin4 (device index 12)
LynxTWO-C Record 6 /dev/oss/lynxtwo0/pcmin5 (device index 13)
LynxTWO-C Record 7 /dev/oss/lynxtwo0/pcmin6 (device index 14)
LynxTWO-C Record 8 /dev/oss/lynxtwo0/pcmin7 (device index 15)
LynxTWO-C 7.1 output /dev/oss/lynxtwo0/pcm8 (device index 16)
HD Audio play front /dev/oss/oss_hdaudio0/pcm0 (device index 17)
HD Audio play rear /dev/oss/oss_hdaudio0/pcm1 (device index 18)
HD Audio play center/LFE /dev/oss/oss_hdaudio0/pcm2 (device index 19)
HD Audio play side /dev/oss/oss_hdaudio0/pcm3 (device index 20)
HD Audio play pcm4 /dev/oss/oss_hdaudio0/pcm4 (device index 21)
HD Audio play spdif-out /dev/oss/oss_hdaudio0/spdout0 (device index 22)
HD Audio play spdifout /dev/oss/oss_hdaudio0/spdout1 (device index 23)
HD Audio play spdifout /dev/oss/oss_hdaudio0/spdout2 (device index 24)
HD Audio rec mix /dev/oss/oss_hdaudio0/pcmin0 (device index 25)
HD Audio rec mix /dev/oss/oss_hdaudio0/pcmin1 (device index 26)

Nodes
/dev/dsp -> /dev/oss/oss_hdaudio0/pcm0
/dev/dsp_in -> /dev/oss/lynxtwo0/pcmin0
/dev/dsp_out -> /dev/oss/lynxtwo0/pcm0
/dev/dsp_ac3 -> /dev/oss/oss_hdaudio0/spdout0
/dev/dsp_mmap -> /dev/oss/lynxtwo0/pcm0
/dev/dsp_multich -> /dev/oss/lynxtwo0/pcm8
Last edited by exiteverything on Fri Aug 09, 2013 8:17 pm, edited 1 time in total.

igorzwx
Known Member
Posts: 1262
Joined: Sun Jun 28, 2009 9:31 pm

Re: LynxTwo-C with OSS (no sound)

Postby igorzwx » Fri Aug 09, 2013 4:44 pm

exiteverything wrote:I would really appreciate if someone could help me with this. I've been trying to get some sound of my LynxTwo-C for quite some time now...it's been working fine until I reinstalled the OS.
Nothing wrong with the card, it still works in Windows.
So, what I have is Linux Mint 14 x64 and the oss-linux-4.2-2008_amd64 driver.
I removed pulseaudio from my system and installed the driver. Then set the VLC output to /dev/oss/oss_hdaudio0/pcm0


/dev/oss/oss_hdaudio0/pcm0 has nothing to with LynxTwo-C, it is Intel HDA codec of your motherboard.

Does "osstest" play music?

Code: Select all

$ osstest


Type on terminal:

Code: Select all

$ dmesg | grep oss

$ lspci -vnn


and post the output here (mark it as "code").

exiteverything
Member
Posts: 10
Joined: Fri Aug 09, 2013 2:49 pm

Re: LynxTwo-C with OSS (no sound)

Postby exiteverything » Fri Aug 09, 2013 4:58 pm

Thanks for the quick reply!
osstest playback is very faint, barely audible.

$ dmesg | grep oss

Code: Select all

[    0.522843] vgaarb: bridge control possible 0000:00:02.0
[   17.729400] Adding 8270844k swap on /dev/sda5.  Priority:-1 extents:1 across:8270844k
[   20.319441] oss_hdaudio: HDA codec 0x80862806 not known yet
[   20.322408] oss_hdaudio: HDA codec 0x80862806 not known yet
[   20.334575] usbcore: registered new interface driver oss_usb


$ lspci -vnn

Code: Select all

00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller [8086:0150] (rev 09)
   Subsystem: ASUSTeK Computer Inc. Device [1043:84ca]
   Flags: bus master, fast devsel, latency 0
   Capabilities: <access denied>

00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:0151] (rev 09) (prog-if 00 [Normal decode])
   Flags: bus master, fast devsel, latency 0
   Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
   Capabilities: <access denied>
   Kernel driver in use: pcieport
   Kernel modules: shpchp

00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller [8086:0162] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Device [1043:84ca]
   Flags: bus master, fast devsel, latency 0, IRQ 62
   Memory at f7400000 (64-bit, non-prefetchable) [size=4M]
   Memory at e0000000 (64-bit, prefetchable) [size=256M]
   I/O ports at f000 [size=64]
   Expansion ROM at <unassigned> [disabled]
   Capabilities: <access denied>
   Kernel driver in use: i915
   Kernel modules: i915

00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04) (prog-if 30 [XHCI])
   Subsystem: ASUSTeK Computer Inc. Device [1043:84ca]
   Flags: bus master, medium devsel, latency 0, IRQ 43
   Memory at f7c20000 (64-bit, non-prefetchable) [size=64K]
   Capabilities: <access denied>
   Kernel driver in use: xhci_hcd

00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 [8086:1e3a] (rev 04)
   Subsystem: ASUSTeK Computer Inc. Device [1043:84ca]
   Flags: bus master, fast devsel, latency 0, IRQ 61
   Memory at f7c3b000 (64-bit, non-prefetchable) [size=16]
   Capabilities: <access denied>
   Kernel driver in use: mei
   Kernel modules: mei

00:19.0 Ethernet controller [0200]: Intel Corporation 82579V Gigabit Network Connection [8086:1503] (rev 04)
   Subsystem: ASUSTeK Computer Inc. P8P67 Deluxe Motherboard [1043:849c]
   Flags: bus master, fast devsel, latency 0, IRQ 60
   Memory at f7c00000 (32-bit, non-prefetchable) [size=128K]
   Memory at f7c39000 (32-bit, non-prefetchable) [size=4K]
   I/O ports at f080 [size=32]
   Capabilities: <access denied>
   Kernel driver in use: e1000e
   Kernel modules: e1000e

00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04) (prog-if 20 [EHCI])
   Subsystem: ASUSTeK Computer Inc. Device [1043:84ca]
   Flags: bus master, medium devsel, latency 0, IRQ 16
   Memory at f7c38000 (32-bit, non-prefetchable) [size=1K]
   Capabilities: <access denied>
   Kernel driver in use: ehci_hcd

00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
   Subsystem: ASUSTeK Computer Inc. Device [1043:84fb]
   Flags: bus master, fast devsel, latency 0, IRQ 22
   Memory at f7c30000 (64-bit, non-prefetchable) [size=16K]
   Capabilities: <access denied>
   Kernel driver in use: oss_hdaudio

00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 [8086:1e10] (rev c4) (prog-if 00 [Normal decode])
   Flags: bus master, fast devsel, latency 0
   Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
   I/O behind bridge: 00002000-00002fff
   Memory behind bridge: df300000-df4fffff
   Prefetchable memory behind bridge: 00000000df500000-00000000df6fffff
   Capabilities: <access denied>
   Kernel driver in use: pcieport
   Kernel modules: shpchp

00:1c.2 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 [8086:1e14] (rev c4) (prog-if 00 [Normal decode])
   Flags: bus master, fast devsel, latency 0
   Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
   Memory behind bridge: f7b00000-f7bfffff
   Capabilities: <access denied>
   Kernel driver in use: pcieport
   Kernel modules: shpchp

00:1c.3 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 [8086:1e16] (rev c4) (prog-if 00 [Normal decode])
   Flags: bus master, fast devsel, latency 0
   Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
   I/O behind bridge: 0000e000-0000efff
   Memory behind bridge: f7a00000-f7afffff
   Capabilities: <access denied>
   Kernel driver in use: pcieport
   Kernel modules: shpchp

00:1c.4 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev c4) (prog-if 01 [Subtractive decode])
   Flags: bus master, fast devsel, latency 0
   Bus: primary=00, secondary=05, subordinate=06, sec-latency=0
   Memory behind bridge: f7900000-f79fffff
   Capabilities: <access denied>

00:1c.7 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 8 [8086:1e1e] (rev c4) (prog-if 00 [Normal decode])
   Flags: bus master, fast devsel, latency 0
   Bus: primary=00, secondary=07, subordinate=07, sec-latency=0
   Memory behind bridge: f7800000-f78fffff
   Capabilities: <access denied>
   Kernel driver in use: pcieport
   Kernel modules: shpchp

00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04) (prog-if 20 [EHCI])
   Subsystem: ASUSTeK Computer Inc. Device [1043:84ca]
   Flags: bus master, medium devsel, latency 0, IRQ 23
   Memory at f7c37000 (32-bit, non-prefetchable) [size=1K]
   Capabilities: <access denied>
   Kernel driver in use: ehci_hcd

00:1f.0 ISA bridge [0601]: Intel Corporation Z77 Express Chipset LPC Controller [8086:1e44] (rev 04)
   Subsystem: ASUSTeK Computer Inc. Device [1043:84ca]
   Flags: bus master, medium devsel, latency 0
   Capabilities: <access denied>
   Kernel modules: lpc_ich

00:1f.2 SATA controller [0106]: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e02] (rev 04) (prog-if 01 [AHCI 1.0])
   Subsystem: ASUSTeK Computer Inc. Device [1043:84ca]
   Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 41
   I/O ports at f0d0 [size=8]
   I/O ports at f0c0 [size=4]
   I/O ports at f0b0 [size=8]
   I/O ports at f0a0 [size=4]
   I/O ports at f060 [size=32]
   Memory at f7c36000 (32-bit, non-prefetchable) [size=2K]
   Capabilities: <access denied>
   Kernel driver in use: ahci

00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller [8086:1e22] (rev 04)
   Subsystem: ASUSTeK Computer Inc. Device [1043:84ca]
   Flags: medium devsel, IRQ 4
   Memory at f7c35000 (64-bit, non-prefetchable) [size=256]
   I/O ports at f040 [size=32]
   Kernel modules: i2c-i801

03:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller [1b21:1042] (prog-if 30 [XHCI])
   Subsystem: ASUSTeK Computer Inc. Device [1043:8488]
   Flags: bus master, fast devsel, latency 0, IRQ 18
   Memory at f7b00000 (64-bit, non-prefetchable) [size=32K]
   Capabilities: <access denied>
   Kernel driver in use: xhci_hcd

04:00.0 SATA controller [0106]: ASMedia Technology Inc. ASM1062 Serial ATA Controller [1b21:0612] (rev 01) (prog-if 01 [AHCI 1.0])
   Subsystem: ASUSTeK Computer Inc. Device [1043:84b7]
   Flags: bus master, fast devsel, latency 0, IRQ 42
   I/O ports at e050 [size=8]
   I/O ports at e040 [size=4]
   I/O ports at e030 [size=8]
   I/O ports at e020 [size=4]
   I/O ports at e000 [size=32]
   Memory at f7a00000 (32-bit, non-prefetchable) [size=512]
   Capabilities: <access denied>
   Kernel driver in use: ahci

05:00.0 PCI bridge [0604]: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge [1b21:1080] (rev 03) (prog-if 01 [Subtractive decode])
   Flags: bus master, fast devsel, latency 0
   Bus: primary=05, secondary=06, subordinate=06, sec-latency=32
   Memory behind bridge: f7900000-f79fffff
   Capabilities: <access denied>

06:01.0 Multimedia audio controller [0401]: Device [1621:0022]
   Subsystem: Device [1621:0022]
   Flags: bus master, medium devsel, latency 32, IRQ 17
   Memory at f7940000 (32-bit, non-prefetchable) [size=2K]
   Memory at f7900000 (32-bit, non-prefetchable) [size=256K]
   Kernel driver in use: lynxtwo

07:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller [1b21:1042] (prog-if 30 [XHCI])
   Subsystem: ASUSTeK Computer Inc. Device [1043:8488]
   Flags: bus master, fast devsel, latency 0, IRQ 19
   Memory at f7800000 (64-bit, non-prefetchable) [size=32K]
   Capabilities: <access denied>
   Kernel driver in use: xhci_hcd

igorzwx
Known Member
Posts: 1262
Joined: Sun Jun 28, 2009 9:31 pm

Re: LynxTwo-C with OSS (no sound)

Postby igorzwx » Fri Aug 09, 2013 5:28 pm

exiteverything wrote:Thanks for the quick reply!
osstest playback is very faint, barely audible.


Type on terminal:

Code: Select all

$ ossxmix


It should produce mixer GUI with tabs. One of them should be for Intel HDA, other for LynxTwo.
Set proper sound output volume.
Then run osstest
It should try to play sound through all devices (of Intel HDA and of LynxTwo).

Post the output of osstest here.

See also the manual for osstest:
http://manuals.opensound.com/usersguide/osstest.html

and manual for LynxTwo:
http://manuals.opensound.com/usersguide/lynxtwo.html

exiteverything
Member
Posts: 10
Joined: Fri Aug 09, 2013 2:49 pm

Re: LynxTwo-C with OSS (no sound)

Postby exiteverything » Fri Aug 09, 2013 7:23 pm

That worked! Thank you so much!!!
Didn't know there was a GUI control, I've been using command line controls up until now.

igorzwx
Known Member
Posts: 1262
Joined: Sun Jun 28, 2009 9:31 pm

Re: LynxTwo-C with OSS (no sound)

Postby igorzwx » Fri Aug 09, 2013 7:43 pm

exiteverything wrote:That worked! Thank you so much!!!
Didn't know there was a GUI control, I've been using command line controls up until now.


Could you please rename the thread as "solved"?
For example: [SOLVED] LynxTwo-C with OSS (no sound)

It might be useful for other Linux Mint users.


Return to “Linux”

Who is online

Users browsing this forum: No registered users and 5 guests