You are not logged in.

#1 2014-09-15 06:17:23

lboyer
Member
Registered: 2014-09-12
Posts: 22

[SOLVED] OSS /dev/mixer no such file or directory

Following the wiki I had to use OSS because of ALSA would not work. I install oss in my /home/user/AUR/ folder I have for making packages from ABS and AUR. I then added myself to the audio group just incase I wasn't for whatever reason. I am using a Behringer xenyx 302 Mixer. My set up goes from motherboard to mixer then out of the mixer to speakers. This setup worked on a previous OS so I know its not that.

I installed OSS from /home/user/AUR/oss with pacman -U. I made the entry in alsa_blacklist.conf as it instructed but when I enter

 ossdetect -v 

This comes out

/proc/bus/pci/02/00.1: No such file or directory
/proc/bus/pci/02/00.0: No such file or directory
/proc/bus/pci/00/18.4: No such file or directory
/proc/bus/pci/00/18.3: No such file or directory
/proc/bus/pci/00/18.2: No such file or directory
/proc/bus/pci/00/18.1: No such file or directory
/proc/bus/pci/00/18.0: No such file or directory
/proc/bus/pci/00/0c.0: No such file or directory
/proc/bus/pci/00/0b.0: No such file or directory
/proc/bus/pci/00/09.0: No such file or directory
/proc/bus/pci/00/08.1: No such file or directory
/proc/bus/pci/00/08.0: No such file or directory
/proc/bus/pci/00/07.0: No such file or directory
/proc/bus/pci/00/06.0: No such file or directory
/proc/bus/pci/00/05.0: No such file or directory
/proc/bus/pci/00/04.0: No such file or directory
/proc/bus/pci/00/02.1: No such file or directory
/proc/bus/pci/00/02.0: No such file or directory
/proc/bus/pci/00/01.2: No such file or directory
/proc/bus/pci/00/01.1: No such file or directory
/proc/bus/pci/00/01.0: No such file or directory
/proc/bus/pci/00/00.0: No such file or directory
Detected Generic USB audio/MIDI device (BETA)
USB support available in the system, adding USB driver
Detected Generic USB audio/MIDI device (BETA)
/usr/lib/oss/etc/installed_drivers: Permission denied

When run with sudo it produced:

Detected Nvidia High Definition Audio (MCP61)
Detected Generic USB audio/MIDI device (BETA)
USB support available in the system, adding USB driver
Detected Generic USB audio/MIDI device (BETA)

Then going further I go onto test with osstest (even with sudo) gave:

/dev/mixer: No such file or directory

soundoff && soundon gives me

 OSS not loaded 

Additional information:

lspci -nn | grep -i audio

00:05.0 Audio device [0403]: NVIDIA Corporation MCP61 High Definition Audio [10de:03f0] (rev a2)
02:00.1 Audio device [0403]: NVIDIA Corporation GF114 HDMI Audio Controller [10de:0e0c] (rev a1)

lsusb

lsusb
Bus 001 Device 005: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 045e:074b Microsoft Corp. 
Bus 002 Device 003: ID 08bb:2902 Texas Instruments PCM2902 Audio Codec
Bus 002 Device 002: ID 046d:c051 Logitech, Inc. G3 (MX518) Optical Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Sorry if this isn't in the right section.

Last edited by lboyer (2014-09-15 12:51:40)

Offline

#2 2014-09-15 09:00:00

lboyer
Member
Registered: 2014-09-12
Posts: 22

Re: [SOLVED] OSS /dev/mixer no such file or directory

I installed audiopulse and it looks real nice an all but it won't detect my usb mixer.

I found this in "dmesg"

[    3.167429] input: Burr-Brown from TI               USB Audio CODEC  as /devices/pci0000:00/0000:00:02.0/usb2/2-2/2-2:1.3/0003:08BB:2902.0002/input/input3
[    3.167489] hid-generic 0003:08BB:2902.0002: input,hidraw1: USB HID v1.00 Device [Burr-Brown from TI               USB Audio CODEC ] on usb-0000:00:02.0-2/input3

Is there a way to get pulseaudio to recognize it? It detects my hdmi port on my graphics card. Its almost as if audiopulse only likes pci.  I've tried searching just about all types of searches but its for headsets and bluetooth.

Last edited by lboyer (2014-09-15 09:02:58)

Offline

#3 2014-09-15 09:26:48

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] OSS /dev/mixer no such file or directory

 This is more suited for Multimedia & Games forums.

 @OP why exactly do you want to use oss? What part of wiki that you mentioned, do you mean? Link it here. PA is a sound server that runs on top of a sound architecture, so if the underlying system does not recognize your hardware, the system above will not also.

Edit: Clarification.

Last edited by emeres (2014-09-15 09:27:44)

Offline

#4 2014-09-15 09:38:07

lboyer
Member
Registered: 2014-09-12
Posts: 22

Re: [SOLVED] OSS /dev/mixer no such file or directory

I used OSS because I couldnt get alsa to work so I thought as an alternative. I was following these for alsa, oss, and pulseaudio
https://wiki.archlinux.org/index.php/Alsa
https://wiki.archlinux.org/index.php/OSS
https://wiki.archlinux.org/index.php/Pulseaudio

It don't really matter to me what I use just as long as it works. I was just trying all and anything I could find.

Last edited by lboyer (2014-09-15 09:40:35)

Offline

#5 2014-09-15 09:48:08

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] OSS /dev/mixer no such file or directory

 How exactly does is not work with alsa? Can you pinpoint the part in the alsa wiki? I would start with alsa again, oss has reputation for poor usb support, which is what you want.

Edit:

OSS wiki wrote:

OSS has experimental output support for USB audio devices, but no input.

Last edited by emeres (2014-09-15 09:49:33)

Offline

#6 2014-09-15 09:50:42

NotaName
Member
Registered: 2014-08-11
Posts: 39

Re: [SOLVED] OSS /dev/mixer no such file or directory

Is this an usb audio card/mixer? Or do you run on internal motherboard audio card?

If it's an usb audio card, for alsa,  you should try to configure your alsa-base.conf file, putting -1 infront of usb-snd... something. My system always loads the default mainboard audio, so i always have to tinker with the alsa-base.conf file, so that it would load my audio card first.

Last edited by NotaName (2014-09-15 09:52:13)

Offline

#7 2014-09-15 09:54:51

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] OSS /dev/mixer no such file or directory

@NotaName then use alsa runtime and environment variables. The module is called snd-usb-audio not usb-snd... something.

Offline

#8 2014-09-15 10:07:10

lboyer
Member
Registered: 2014-09-12
Posts: 22

Re: [SOLVED] OSS /dev/mixer no such file or directory

I changed the order of the alsa-base file and it caused my system to not start it would hang with a bunch of random code like maybe hex values or something it zipped by so I couldnt read anything. I had to use live disk to remount partitions and chroot back in to change it back to what it was. So strange

Last edited by lboyer (2014-09-15 10:07:35)

Offline

#9 2014-09-15 10:12:32

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] OSS /dev/mixer no such file or directory

 Start using some methodology, not hit and run attempts. Uninstall oss, delete any configuration associated with it. [Re]Install alsa, delete any configuration associated with it including any /etc/modprobe.d/*alsa* settings. Run this after a reboot:

aplay -lL;
lspci -vvnn | grep -A1 '040[1-3]';
cat /proc/asound/modules;
for i in $(awk '{print $2}' /proc/asound/modules | sort | uniq); do echo "--- $i ---"; systool -vm $i; done;
lsmod | grep ^snd;
fuser -v /dev/snd/*;
for i in /proc/asound/card[0-9]*; do echo "--- $i ---";amixer -c $(cat $i/id); done;
lsusb #if there is a usb sound card;
# or use the alsa-info script

 Skip what you already posted. Which is your usb card from the lsusb output? Run speaker-test to check if alsa is functioning properly. Right now PA is not needed and will be interfering.

Last edited by emeres (2014-09-15 10:13:02)

Offline

#10 2014-09-15 10:22:11

lboyer
Member
Registered: 2014-09-12
Posts: 22

Re: [SOLVED] OSS /dev/mixer no such file or directory

This is the device from lsusb

Bus 002 Device 003: ID 08bb:2902 Texas Instruments PCM2902 Audio Codec

Offline

#11 2014-09-15 10:31:45

lboyer
Member
Registered: 2014-09-12
Posts: 22

Re: [SOLVED] OSS /dev/mixer no such file or directory

null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default:CARD=NVidia_1
    HDA NVidia, VT1708S Analog
    Default Audio Device
sysdefault:CARD=NVidia_1
    HDA NVidia, VT1708S Analog
    Default Audio Device
front:CARD=NVidia_1,DEV=0
    HDA NVidia, VT1708S Analog
    Front speakers
surround21:CARD=NVidia_1,DEV=0
    HDA NVidia, VT1708S Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=NVidia_1,DEV=0
    HDA NVidia, VT1708S Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia_1,DEV=0
    HDA NVidia, VT1708S Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia_1,DEV=0
    HDA NVidia, VT1708S Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia_1,DEV=0
    HDA NVidia, VT1708S Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia_1,DEV=0
    HDA NVidia, VT1708S Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=NVidia_1,DEV=0
    HDA NVidia, VT1708S Digital
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    HDMI Audio Output
default:CARD=CODEC
    USB Audio CODEC, USB Audio
    Default Audio Device
sysdefault:CARD=CODEC
    USB Audio CODEC, USB Audio
    Default Audio Device
front:CARD=CODEC,DEV=0
    USB Audio CODEC, USB Audio
    Front speakers
surround21:CARD=CODEC,DEV=0
    USB Audio CODEC, USB Audio
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=CODEC,DEV=0
    USB Audio CODEC, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=CODEC,DEV=0
    USB Audio CODEC, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=CODEC,DEV=0
    USB Audio CODEC, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=CODEC,DEV=0
 USB Audio CODEC, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=CODEC,DEV=0
    USB Audio CODEC, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=CODEC,DEV=0
    USB Audio CODEC, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia_1 [HDA NVidia], device 0: VT1708S Analog [VT1708S Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia_1 [HDA NVidia], device 2: VT1708S Alt Analog [VT1708S Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia_1 [HDA NVidia], device 3: VT1708S Digital [VT1708S Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
00:05.0 Audio device [0403]: NVIDIA Corporation MCP61 High Definition Audio [10de:03f0] (rev a2)
        Subsystem: ASUSTeK Computer Inc. M4N68T series motherboard [1043:8415]
--
02:00.1 Audio device [0403]: NVIDIA Corporation GF114 HDMI Audio Controller [10de:0e0c] (rev a1)
        Subsystem: eVga.com. Corp. Device [3842:1463]
 0 snd_hda_intel
 1 snd_hda_intel
 2 snd_usb_audio
--- snd_hda_intel ---
Module = "snd_hda_intel"

  Attributes:
    coresize            = "26327"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "0"
    taint               = ""
    uevent              = <store method only>

  Parameters:
    align_buffer_size   = "-1"
    bdl_pos_adj         = "32,32,-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"
    beep_mode           = "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"
    enable_msi          = "-1"
    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"
    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"
    jackpoll_ms         = "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"
    model               = "(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)"
    patch               = "(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)"
    position_fix        = "-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"
    power_save          = "0"
    power_save_controller= "Y"
    probe_mask          = "-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"
    probe_only          = "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"
    single_cmd          = "N"
    snoop               = "Y"

  Sections:
    .bss                = "0xffffffffa0295a80"
    .data               = "0xffffffffa0295000"
    .data.unlikely      = "0xffffffffa02957d0"
    .exit.text          = "0xffffffffa0292930"
    .gnu.linkonce.this_module= "0xffffffffa0295800"
    .init.text          = "0xffffffffa0298000"
    .note.gnu.build-id  = "0xffffffffa0293000"
    .rodata             = "0xffffffffa0293040"
    .rodata.str1.1      = "0xffffffffa0293f02"
    .rodata.str1.8      = "0xffffffffa02942e0"
    .smp_locks          = "0xffffffffa0294618"
    .strtab             = "0xffffffffa029b508"
    .symtab             = "0xffffffffa0299000"
    .text               = "0xffffffffa0290000"
    __mcount_loc        = "0xffffffffa0294848"
    __param             = "0xffffffffa0294628"
    __verbose           = "0xffffffffa0295640"

--- snd_usb_audio ---
Module = "snd_usb_audio"

  Attributes:
    coresize            = "135316"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "1"
    taint               = ""
    uevent              = <store method only>

  Parameters:
    autoclock           = "Y"
    device_setup        = "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"
    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"
    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)"
    ignore_ctl_error    = "N"
    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"
    pid                 = "-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"
    vid                 = "-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"

  Sections:
    .bss                = "0xffffffffa03eb100"
    .data               = "0xffffffffa03e6000"
    .exit.text          = "0xffffffffa03dcee9"
    .gnu.linkonce.this_module= "0xffffffffa03eae80"
    .init.text          = "0xffffffffa032d000"
    .note.gnu.build-id  = "0xffffffffa03dd000"
    .rodata             = "0xffffffffa03dd040"
    .rodata.str1.1      = "0xffffffffa03e2dbe"
    .rodata.str1.8      = "0xffffffffa03e4420"
    .smp_locks          = "0xffffffffa03e5f98"
    .strtab             = "0xffffffffa0334d68"
    .symtab             = "0xffffffffa032e000"
    .text               = "0xffffffffa03cd000"
snd_hda_codec_via      30990  1 
snd_hda_codec_generic    63126  1 snd_hda_codec_via
snd_usb_audio         135316  1 
snd_usbmidi_lib        27484  1 snd_usb_audio
snd_rawmidi            26806  1 snd_usbmidi_lib
snd_seq_device         13132  1 snd_rawmidi
snd_hda_intel          26327  0 
snd_hda_controller     26727  1 snd_hda_intel
snd_hda_codec         108552  5 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep              17244  2 snd_usb_audio,snd_hda_codec
snd_pcm                88487  5 snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer              26614  1 snd_pcm
snd                    69340  14 snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_via,snd_pcm,snd_rawmidi,snd_hda_codec_generic,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device
                     USER        PID ACCESS COMMAND
/dev/snd/controlC2:  lane        509 F.... alsamixer
--- /proc/asound/card0 ---
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 42
  Mono: Playback 37 [88%] [-7.50dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 42
  Mono:
  Front Left: Playback 42 [100%] [0.00dB] [on]
  Front Right: Playback 42 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 252 [99%] [-0.60dB]
  Front Right: Playback 252 [99%] [-0.60dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 42
  Mono:
  Front Left: Playback 42 [100%] [0.00dB] [on]
  Front Right: Playback 42 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic',0
  Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Mono
  Limits: Playback 0 - 31
  Mono: Capture [off]
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Front Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 42
  Mono:
  Front Left: Playback 42 [100%] [0.00dB] [on]
  Front Right: Playback 42 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
 Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 42
  Mono: Playback 42 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 42
  Mono: Playback 42 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Mono
  Limits: Playback 0 - 31
  Mono: Capture [off]
  Front Left: Playback 26 [84%] [4.50dB] [on]
  Front Right: Playback 26 [84%] [4.50dB] [on]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 17 [55%] [9.00dB] [on]
  Front Right: Capture 17 [55%] [9.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Channel Mode',0
  Capabilities: enum
  Items: '2ch' '4ch' '6ch'
  Item0: '2ch'
Simple mixer control 'Dynamic Power-Control',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Independent HP',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Rear Mic',0
  Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Mono
  Limits: Playback 0 - 31
  Mono: Capture [on]
  Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Rear Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Stereo Mix',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
--- /proc/asound/card1 ---
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
--- /proc/asound/card2 ---
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 128
  Mono:
  Front Left: Playback 110 [86%] [-18.00dB] [on]
  Front Right: Playback 106 [83%] [-22.00dB] [on]
Bus 001 Device 005: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 045e:074b Microsoft Corp. 
Bus 002 Device 003: ID 08bb:2902 Texas Instruments PCM2902 Audio Codec
Bus 002 Device 002: ID 046d:c051 Logitech, Inc. G3 (MX518) Optical Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Last edited by lboyer (2014-09-15 10:35:43)

Offline

#12 2014-09-15 10:36:43

lboyer
Member
Registered: 2014-09-12
Posts: 22

Re: [SOLVED] OSS /dev/mixer no such file or directory

Speaker test does not give any sound

Offline

#13 2014-09-15 10:48:26

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] OSS /dev/mixer no such file or directory

 Post its output and edit your posts instead of new ones for one sentence. The usb card appears to be recognized, but its volume are low ~-20 dB. Does it show up in 'alsamixer -c 2'?

Offline

#14 2014-09-15 11:01:55

lboyer
Member
Registered: 2014-09-12
Posts: 22

Re: [SOLVED] OSS /dev/mixer no such file or directory

Ok so I just plugged in my line in to my motherboard and it gave sound. I have it like this

Yes it showed up and I upped the levels.

line in /usb----> motherboard
(MIXER) mainmix/output ------>speakers
     ^
headphone

Speaker test -

speaker-test 1.0.28

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
 0 - Front Left
Time per period = 2.664138
 0 - Front Left
Time per period = 2.986597
 0 - Front Left
Time per period = 2.986605
 0 - Front Left
Time per period = 2.986599
 0 - Front Left
Time per period = 2.986597
 0 - Front Left
Time per period = 2.986598
 0 - Front Left
Time per period = 2.986604
 0 - Front Left
Time per period = 2.986607
 0 - Front Left
Time per period = 2.986601
 0 - Front Left
Time per period = 2.986610
 0 - Front Left
Time per period = 2.986607
 0 - Front Left
Time per period = 2.986604
 0 - Front Left
Time per period = 2.986611
 0 - Front Left
Time per period = 2.986412
 0 - Front Left
Time per period = 2.986867
 0 - Front Left
Time per period = 2.986412
 0 - Front Left
Time per period = 2.986816
 0 - Front Left
Time per period = 2.986474
 0 - Front Left
Time per period = 2.986613
 0 - Front Left
Time per period = 2.986816
 0 - Front Left
Time per period = 2.986412
 0 - Front Left
Time per period = 2.986862
 0 - Front Left
^CWrite error: -4,Interrupted system call
xrun_recovery failed: -4,Interrupted system call
Transfer failed: Interrupted system call

Having the line in works but the headphone button does not work. When the line in button is depressed it goes to "usb" but that isn't working. Just the line in is. I am pretty sure it HAS to go through as usb and not the line in

Last edited by lboyer (2014-09-15 11:07:30)

Offline

#15 2014-09-15 11:08:44

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] OSS /dev/mixer no such file or directory

 If I understand it correctly you connected the output of the mainboard sound card to the input of the usb card/mixer. That is the VT1708S Analog, so alsa works properly. Now try sending audio to the usb card directly:

speaker-test -c 2 -t wav -D plughw:CODEC

 I do not understand the last part, nor do I know about any headphone button.

Offline

#16 2014-09-15 11:17:53

lboyer
Member
Registered: 2014-09-12
Posts: 22

Re: [SOLVED] OSS /dev/mixer no such file or directory

Yes the VT is the motherboard

Sorry I didn't clarify. The headphone button on this mixer switches between headphone and main mix, main mix being the output to the speakers. I still dont think its being communicated through USB.  The line-in is for mp3 players and other things like that. It should be communicating through usb then going through the main mix. Instead of going through line in.

speaker-test -c 2 -t wav -D plughw:CODEC

speaker-test 1.0.28

Playback device is plughw:CODEC
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 262144
Period size range from 48 to 131072
Using max buffer size 262144
Periods = 4
was set period_size = 65536
was set buffer_size = 262144
 0 - Front Left
 1 - Front Right
Time per period = 5.519911
 0 - Front Left
 1 - Front Right
Time per period = 5.519946
 0 - Front Left
 1 - Front Right
Time per period = 5.519952
 0 - Front Left
 1 - Front Right
Time per period = 5.519940
 0 - Front Left
 1 - Front Right
Time per period = 5.519956
 0 - Front Left
 1 - Front Right
Time per period = 5.519925
 0 - Front Left
 1 - Front Right
Time per period = 5.519958
 0 - Front Left
 1 - Front Right
Time per period = 5.519959
 0 - Front Left
 1 - Front Right
Time per period = 5.519955
 0 - Front Left
 1 - Front Right
Time per period = 5.519950
 0 - Front Left
 1 - Front Right
Time per period = 5.519957
 0 - Front Left
 1 - Front Right
Time per period = 5.519937
 0 - Front Left
 1 - Front Right
Time per period = 5.519957
 0 - Front Left
 1 - Front Right
Time per period = 5.519911
 0 - Front Left
 1 - Front Right
Time per period = 5.519964
 0 - Front Left
 1 - Front Right
Time per period = 5.519998
 0 - Front Left
 1 - Front Right
Time per period = 5.519955
 0 - Front Left
 1 - Front Right
^CTime per period = 4.694473

Last edited by lboyer (2014-09-15 11:20:43)

Offline

#17 2014-09-15 11:38:39

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] OSS /dev/mixer no such file or directory

 Well does the last speaker-test output sound through the Behringer*? Have you corrected the volume levels that 'amixer -c 2' outputs? This might be directly related to the driver, it simply may not support certain functions [yet]. In which case you should head to alsa mailing list and ask there.

Edit: Is there any sound coming out with speaker-test -t wav -c 2 -D plughw:CODEC? If so, it goes through the usb device, which means it works.

Last edited by emeres (2014-09-15 11:43:20)

Offline

#18 2014-09-15 11:52:37

lboyer
Member
Registered: 2014-09-12
Posts: 22

Re: [SOLVED] OSS /dev/mixer no such file or directory

Yes there is sound. More interestingly, it only works when doing the test as youtube and others wont. Im sorry I have no idea where that is changed to alsa to what the USB is and  what I've been trying to figure out all day.

Last edited by lboyer (2014-09-15 11:55:01)

Offline

#19 2014-09-15 11:59:29

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] OSS /dev/mixer no such file or directory

 That is because the VT1708S Analog is the default card, all sound goes through it, unless specified otherwise. As I mentioned before, alsas runtime arguments and environment variables could be used here, but that requires a little setup. Maybe it would be simpler for you to use pulseaudio here. It has a module that switches sound to newly attached sink, which would be the usb card. You could use pavucotrnol also. I already asked if the sound card appears in alsamixer, you did not reply.

alsamixer -c CODEC;
#or
alsamixer -c 2; # in this case at at least

amixer -c CODEC; # to get current settings
amixer -c CODEC sset PCM 128; # to set PCM to 128

Offline

#20 2014-09-15 12:22:43

lboyer
Member
Registered: 2014-09-12
Posts: 22

Re: [SOLVED] OSS /dev/mixer no such file or directory

Yes its in there as USB AUDIO CODEC with MIXER below it. It works now, though the headphone button still don't I suppose its better than nothing. Thanks for your help

Last edited by lboyer (2014-09-15 12:30:22)

Offline

#21 2014-09-15 12:35:09

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] OSS /dev/mixer no such file or directory

 If you run the last speaker-test and change the volume, the volume of the sound should also change. There are two buttons for the LINE/USB section. Both should be down, while speaker-test is running, then sound should come out of the headphone output jack in the HEADSET section, unless there are more controls that I am not aware of. And this probably has little to nothing to do with the drivers, I would argue the hardware takes care of mixing those particular signals.

Offline

#22 2014-09-15 12:42:43

lboyer
Member
Registered: 2014-09-12
Posts: 22

Re: [SOLVED] OSS /dev/mixer no such file or directory

I just rebooted my computer and tried it again and everything works!!!  Man I can't thank you enough really appreciate it. How can I set this thread to solved ?

Last edited by lboyer (2014-09-15 12:46:48)

Offline

#23 2014-09-15 12:50:02

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] OSS /dev/mixer no such file or directory

Offline

Board footer

Powered by FluxBB