You are not logged in.

#1 2016-01-10 13:46:25

moonlies
Member
Registered: 2016-01-09
Posts: 32

[SOLVED] SPDIF output Presonus Audiobox VSL1818

Hey Guys,

i installed arch linux and wanted to use pulseaudio with alsa. I also have jack installed which is not running, i wanted to use it later on for ardour. I installed pulseaudio pulseaudio-alsa pulseaudio-jack.

When i try to play sound with vlc or youtube videos (html5) in firefox or soundcloud the applications/tabs appear in pavucontrol and i can see moving bars, however nothing is comming out of my speakers, except, when i play the embedded html5 stream on specfic sites.

I have no clue why this is happening.

My asoundrc.conf looks like this:

# Use PulseAudio by default
pcm.!default {
  type pulse
  fallback "sysdefault"
  hint {
    show on
    description "Default ALSA Output (currently PulseAudio Sound Server)"
  }
}

ctl.!default {
  type pulse
  fallback "sysdefault"
}

# vim:set ft=alsaconf:

Edit:

I can hear the playback from the headphone jack, however my speakers are conected via SPDIF.
SPDIF still only works for the url i mentioned above, but i can hear everything with headphones. I am using an AudioBox 1818VSL.

Edit2:
Every mono sound source seems to work, the only problem seems to be with stereo sources.

Last edited by moonlies (2016-01-18 21:23:23)

Offline

#2 2016-01-10 17:11:43

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: [SOLVED] SPDIF output Presonus Audiobox VSL1818

Did you change output device to SPDIF in pavucontrol to get output in your speakers?

Offline

#3 2016-01-10 18:58:55

moonlies
Member
Registered: 2016-01-09
Posts: 32

Re: [SOLVED] SPDIF output Presonus Audiobox VSL1818

I could only choose the whole interface as output device. The Audiobox is selected as output device and i can controll the volume for the different outputs separately. Everything is at 100% volume.

Also mono sources work and it had nothing to do with the website.

Last edited by moonlies (2016-01-10 19:11:11)

Offline

#4 2016-01-11 09:03:41

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: [SOLVED] SPDIF output Presonus Audiobox VSL1818

Try a speaker-test first. Find the "iec958" of your card in aplay -L and run

speaker-test -D iec958:BLAH:BLAH

It might not work without the option "-c 2" (stereo), also add "-r 44100" after you've confirmed 48kHz (the default) works.

Offline

#5 2016-01-11 09:55:17

moonlies
Member
Registered: 2016-01-09
Posts: 32

Re: [SOLVED] SPDIF output Presonus Audiobox VSL1818

I get the error:

Playback device is iec958:CARD=VSL,DEV=0
Stream parameters are 48000 Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Playback open error: Device or resource busy

after Stopping pulseaudio i get:

Playback device is iec958:CARD=VSL,DEV=0
Stream parameters are 48000 Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
sample format not supported: Invalid argument
Setting of hwparams failed: Invalid argument

Tried it with 48 and 44.1 kHz, one and two channels, still the same result.

Offline

#6 2016-01-11 17:47:45

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: [SOLVED] SPDIF output Presonus Audiobox VSL1818

Weird. iec958 that does not support S16_LE? Try:

speaker-test -D plug:iec958:VSL -c 2

you may want to `cat /proc/asound/cardX/pcmYp/sub0/hw_params` while the speaker-test is running to see the format it requires. check `aplay -l` to see what's the card (X) and device (Y) number, for example this is card3/pcm1p:

card 3: STX [Xonar STX], device 1: Digital [Digital]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

Offline

#7 2016-01-11 22:34:29

moonlies
Member
Registered: 2016-01-09
Posts: 32

Re: [SOLVED] SPDIF output Presonus Audiobox VSL1818

cat /proc/asound/card2/pcm0p/sub0/hw_params

returned

format: S32_LE
subformat: STD
channels: 14
rate: 48000 (48000/1)
period_size: 4681
buffer_size: 18724

Offline

#8 2016-01-12 07:28:37

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: [SOLVED] SPDIF output Presonus Audiobox VSL1818

This doesn't seem right, S/PDIF that REQUIRES S32_LE and 14-channel? Can you paste the output of:

aplay -l
aplay -L

Btw do you hear anything when you run the last speaker-test I suggested?

Last edited by tom.ty89 (2016-01-12 08:37:31)

Offline

#9 2016-01-12 20:47:41

moonlies
Member
Registered: 2016-01-09
Posts: 32

Re: [SOLVED] SPDIF output Presonus Audiobox VSL1818

No, i can see the playback on the LED-meter of the soundcard but i do not hear anything from the speakers.

aplay -l

Karte 0: SB [HDA ATI SB], Gerät 0: ALC887-VD Analog [ALC887-VD Analog]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: SB [HDA ATI SB], Gerät 1: ALC887-VD Digital [ALC887-VD Digital]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 1: NVidia [HDA NVidia], Gerät 3: HDMI 0 [HDMI 0]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 1: NVidia [HDA NVidia], Gerät 7: HDMI 0 [HDMI 0]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 1: NVidia [HDA NVidia], Gerät 8: HDMI 0 [HDMI 0]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 1: NVidia [HDA NVidia], Gerät 9: HDMI 0 [HDMI 0]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 2: VSL [AudioBox 1818 VSL], Gerät 0: USB Audio [USB Audio]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0

aplay -L

null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=SB
    HDA ATI SB, ALC887-VD Analog
    Default Audio Device
front:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Analog
    Front speakers
surround21:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=SB,DEV=0
    HDA ATI SB, ALC887-VD Digital
    IEC958 (S/PDIF) Digital 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
sysdefault:CARD=VSL
    AudioBox 1818 VSL, USB Audio
    Default Audio Device
front:CARD=VSL,DEV=0
    AudioBox 1818 VSL, USB Audio
    Front speakers
surround21:CARD=VSL,DEV=0
    AudioBox 1818 VSL, USB Audio
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=VSL,DEV=0
    AudioBox 1818 VSL, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=VSL,DEV=0
    AudioBox 1818 VSL, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=VSL,DEV=0
    AudioBox 1818 VSL, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=VSL,DEV=0
    AudioBox 1818 VSL, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=VSL,DEV=0
    AudioBox 1818 VSL, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=VSL,DEV=0
    AudioBox 1818 VSL, USB Audio
    IEC958 (S/PDIF) Digital Audio Output

Last edited by moonlies (2016-01-13 17:37:50)

Offline

#10 2016-01-13 12:22:28

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: [SOLVED] SPDIF output Presonus Audiobox VSL1818

Ugh...did you capture the outputs without the VSL connected...? Coz there listed only your builtin audio and nvidia hdmi sound...

Last edited by tom.ty89 (2016-01-13 18:04:20)

Offline

#11 2016-01-13 17:38:57

moonlies
Member
Registered: 2016-01-09
Posts: 32

Re: [SOLVED] SPDIF output Presonus Audiobox VSL1818

Sorry, sleep deprivation! big_smile
I updated my last post.

Offline

#12 2016-01-13 18:23:12

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: [SOLVED] SPDIF output Presonus Audiobox VSL1818

I am not sure if I still got an idea. But maybe you can try to play different sources as usual and capture this for each of them:

cat /proc/asound/card2/pcm0p/sub0/hw_params

And see if there's any difference/pattern between the outputs produced when it works and doesn't.

Offline

#13 2016-01-13 18:45:21

moonlies
Member
Registered: 2016-01-09
Posts: 32

Re: [SOLVED] SPDIF output Presonus Audiobox VSL1818

Playing: http://www.deutschlandradio.de/radiohoe … 19.de.html
Works.

access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 14
rate: 44100 (44100/1)
period_size: 1102
buffer_size: 4408

Playing a youtube video (HTML5):
Does not work.

access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 14
rate: 48000 (48000/1)
period_size: 1102
buffer_size: 4408

Playing spotify:
Does not work.

access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 14
rate: 44100 (44100/1)
period_size: 1102
buffer_size: 4408

Playing local file (Stereo WAV):
Does not work.

access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 14
rate: 44100 (44100/1)
period_size: 1102
buffer_size: 4408

Offline

#14 2016-01-13 19:12:19

moonlies
Member
Registered: 2016-01-09
Posts: 32

Re: [SOLVED] SPDIF output Presonus Audiobox VSL1818

Someone told me, Presonus Interfaces were using CMEDIA chipsets. I looked at the alsa project site and found this:

http://www.alsa-project.org/main/index. … or-C-Media
"S/PDIF output not supported"

I am not convinced because mono sources still seem to work.

Offline

#15 2016-01-13 20:02:37

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: [SOLVED] SPDIF output Presonus Audiobox VSL1818

No idea, but apparently the ALSA driver is not handling the different I/O interfaces properly anyway.

In any case, you can try to do speaker-test on all 14-channel and see if you get sound from any of them:

speaker-test -D iec958:CARD=VSL,DEV=0 -c 14 -F S32_LE -r 44100 -l 1
speaker-test -D hw:VSL -c 14 -F S32_LE -r 44100 -l 1

You should be able to see how the channels are mapped in the text output too so maybe you'll get a hint on what's exactly wrong.

Offline

#16 2016-01-13 20:34:58

moonlies
Member
Registered: 2016-01-09
Posts: 32

Re: [SOLVED] SPDIF output Presonus Audiobox VSL1818

After entering:

speaker-test -D iec958:CARD=VSL,DEV=0 -c 14 -F S32_LE -r 44100 -l 1

i got this output:

speaker-test 1.1.0

Wiedergabe-Gerät ist iec958:CARD=VSL,DEV=0
Stream-Parameter sind 44100 Hz, S32_LE, 14 Kanäle
Verwende 16 Oktaven rosa Rauschen
Rate ist 44100 Hz (angefordert: 44100 Hz)
Puffergröße von 12 bis 18724
Periodengröße von 6 bis 9362
Verwende maximale Puffergröße 18724
Perioden = 4
gesetzt: period_size = 4681
gesetzt: buffer_size = 18724
 0 - Vorne links
 1 - Vorne rechts
 2 - Hinten links
 3 - Hinten rechts
 4 - Mitte
 5 - Bass
 6 - Seitlich links
 7 - Seitlich rechts
 8 - Kanal 9
 9 - Kanal 10
 10 - Kanal 11
 11 - Kanal 12
 12 - Kanal 13
 13 - Kanal 14
Zeit pro Periode = 41,190489

and on channel 9 and 10 i heard noise in both speakers!!!
So at least i can be sure that the interface is not completely unusable.

The same goes for:

speaker-test -D hw:VSL -c 14 -F S32_LE -r 44100 -l 1

Last edited by moonlies (2016-01-13 20:35:17)

Offline

#17 2016-01-14 08:58:56

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: [SOLVED] SPDIF output Presonus Audiobox VSL1818

By both do you mean channel 9 for left speaker ONLY and channel 10 for right speaker ONLY?

I guess you can set up some alternative PCMs with ttable in your alsa conf. Btw how does pulseaudio treat your card? Can you paste your `pacmd list-cards`?

Offline

#18 2016-01-14 09:04:56

moonlies
Member
Registered: 2016-01-09
Posts: 32

Re: [SOLVED] SPDIF output Presonus Audiobox VSL1818

tom.ty89 wrote:

By both do you mean channel 9 for left speaker ONLY and channel 10 for right speaker ONLY?

Yes, exactly.

There you go:

3 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_01_00.1>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "1"
		alsa.card_name = "HDA NVidia"
		alsa.long_card_name = "HDA NVidia at 0xfebf8000 irq 19"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:01:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card1"
		device.bus = "pci"
		device.vendor.id = "10de"
		device.vendor.name = "NVIDIA Corporation"
		device.product.id = "0e0c"
		device.product.name = "GF114 HDMI Audio Controller"
		device.string = "1"
		device.description = "GF114 HDMI Audio Controller"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: unknown)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: unknown)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 300, available: unknown)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5200, available: unknown)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5200, available: unknown)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 100, available: unknown)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 100, available: unknown)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5200, available: unknown)
		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 100, available: unknown)
		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 100, available: unknown)
		off: Aus (priority 0, available: unknown)
	active profile: <off>
	ports:
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
				device.product.name = "BenQ VW2430"
		hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
    index: 1
	name: <alsa_card.usb-PreSonus_AudioBox_1818_VSL_2209-00>
	driver: <module-alsa-card.c>
	owner module: 7
	properties:
		alsa.card = "2"
		alsa.card_name = "AudioBox 1818 VSL"
		alsa.long_card_name = "PreSonus AudioBox 1818 VSL at usb-0000:00:12.2-1, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:12.2-usb-0:1:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1:1.0/sound/card2"
		udev.id = "usb-PreSonus_AudioBox_1818_VSL_2209-00"
		device.bus = "usb"
		device.vendor.id = "194f"
		device.vendor.name = "PreSonus Audio Electronics, Inc."
		device.product.id = "0103"
		device.product.name = "AudioBox 1818 VSL"
		device.serial = "PreSonus_AudioBox_1818_VSL_2209"
		device.string = "2"
		device.description = "AudioBox 1818 VSL"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	profiles:
		input:multichannel-input: Multichannel Input (priority 1, available: unknown)
		output:multichannel-output: Multichannel Output (priority 100, available: unknown)
		output:multichannel-output+input:multichannel-input: Multichannel Duplex (priority 101, available: unknown)
		off: Aus (priority 0, available: unknown)
	active profile: <output:multichannel-output+input:multichannel-input>
	sinks:
		alsa_output.usb-PreSonus_AudioBox_1818_VSL_2209-00.multichannel-output/#0: AudioBox 1818 VSL Multichannel
	sources:
		alsa_output.usb-PreSonus_AudioBox_1818_VSL_2209-00.multichannel-output.monitor/#0: Monitor of AudioBox 1818 VSL Multichannel
		alsa_input.usb-PreSonus_AudioBox_1818_VSL_2209-00.multichannel-input/#1: AudioBox 1818 VSL Multichannel
	ports:
		multichannel-input: Multichannel Input (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
		multichannel-output: Multichannel Output (priority 0, latency offset -40000 usec, available: unknown)
			properties:
				
    index: 2
	name: <alsa_card.pci-0000_00_14.2>
	driver: <module-alsa-card.c>
	owner module: 8
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA ATI SB"
		alsa.long_card_name = "HDA ATI SB at 0xfbff4000 irq 16"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:14.2"
		sysfs.path = "/devices/pci0000:00/0000:00:14.2/sound/card0"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "4383"
		device.product.name = "SBx00 Azalia (Intel HDA)"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Internes Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
		output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
		output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
		output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5560, available: unknown)
		off: Aus (priority 0, available: unknown)
	active profile: <off>
	ports:
		analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
			properties:
				
		analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: no)
			properties:
				
		analog-output-headphones: Analoge Kopfhörer (priority 9000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
		iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:

Offline

#19 2016-01-14 09:12:37

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: [SOLVED] SPDIF output Presonus Audiobox VSL1818

":multichannel-output". never seen this kind of profile before...(either stereo/surround/surround71).

Mind pasting `pacmd list-sinks` as well? And maybe also `pacmd list-sink-inputs` when you have mono and stereo sources playing respectively.

Last edited by tom.ty89 (2016-01-14 09:15:33)

Offline

#20 2016-01-14 09:15:59

moonlies
Member
Registered: 2016-01-09
Posts: 32

Re: [SOLVED] SPDIF output Presonus Audiobox VSL1818

I switched off the profiles for the other cards in pavucontrol.

1 sink(s) available.
  * index: 0
	name: <alsa_output.usb-PreSonus_AudioBox_1818_VSL_2209-00.multichannel-output>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY 
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9040
	volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB,   rear-left: 65536 / 100% / 0,00 dB,   rear-right: 65534 / 100% / -0,00 dB,   front-center: 65531 / 100% / -0,00 dB,   lfe: 65531 / 100% / -0,00 dB,   side-left: 65536 / 100% / 0,00 dB,   side-right: 65536 / 100% / 0,00 dB,   aux0: 65536 / 100% / 0,00 dB,   aux1: 65536 / 100% / 0,00 dB,   aux2: 65536 / 100% / 0,00 dB,   aux3: 65536 / 100% / 0,00 dB,   aux4: 65536 / 100% / 0,00 dB,   aux5: 65536 / 100% / 0,00 dB
	        balance -0,00
	base volume: 65536 / 100% / 0,00 dB
	volume steps: 65537
	muted: no
	current latency: 0,00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 0
	sample spec: s32le 14ch 44100Hz
	channel map: front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right,aux0,aux1,aux2,aux3,aux4,aux5
	used by: 0
	linked by: 0
	fixed latency: 99,95 ms
	card: 1 <alsa_card.usb-PreSonus_AudioBox_1818_VSL_2209-00>
	module: 7
	properties:
		alsa.resolution_bits = "32"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "USB Audio"
		alsa.id = "USB Audio"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "2"
		alsa.card_name = "AudioBox 1818 VSL"
		alsa.long_card_name = "PreSonus AudioBox 1818 VSL at usb-0000:00:12.2-1, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:12.2-usb-0:1:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1:1.0/sound/card2"
		udev.id = "usb-PreSonus_AudioBox_1818_VSL_2209-00"
		device.bus = "usb"
		device.vendor.id = "194f"
		device.vendor.name = "PreSonus Audio Electronics, Inc."
		device.product.id = "0103"
		device.product.name = "AudioBox 1818 VSL"
		device.serial = "PreSonus_AudioBox_1818_VSL_2209"
		device.string = "hw:2"
		device.buffering.buffer_size = "246848"
		device.buffering.fragment_size = "61712"
		device.access_mode = "mmap"
		device.profile.name = "multichannel-output"
		device.profile.description = "Multichannel"
		device.description = "AudioBox 1818 VSL Multichannel"
		alsa.mixer_name = "USB Mixer"
		alsa.components = "USB194f:0103"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-usb"
	ports:
		multichannel-output: Multichannel Output (priority 0, latency offset -40000 usec, available: unknown)
			properties:
				
	active port: <multichannel-output>

Offline

#21 2016-01-14 09:26:35

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,740

Re: [SOLVED] SPDIF output Presonus Audiobox VSL1818

Multichannel profiles might be something you have to flip in alsamixer. You might have a control there to define how output should be handled.

alsamixer -Dhw:2

if your aplay -l indices are still the same.

Offline

#22 2016-01-14 10:05:36

moonlies
Member
Registered: 2016-01-09
Posts: 32

Re: [SOLVED] SPDIF output Presonus Audiobox VSL1818

I did not find any switch except the one on the right, which switches between internal, S/PDIF and ADAT Clock.

FluxBB BBCode-Test

Last edited by moonlies (2016-01-14 10:06:26)

Offline

#23 2016-01-14 12:08:50

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: [SOLVED] SPDIF output Presonus Audiobox VSL1818

I doubt that you can do anything meaningful in alsamixer. (Well you can try to change the clock source to S/PDIF to see if some miracle would happen, but I doubt that.)

Apparently you need an alternative channel map set up in pulse / alsa, so that stereo sources will be routed to "aux0" (8 - channel 9) and "aux1" (9 - channel 10).

My guess is, pulse routes mono sink inputs to all 14-channels, while it either route stereo sink inputs to only "front-left" and "front-right" or upmix it to 7.1 surround sound and route the result to the the first eight channels, depending on whether enable-remixing is set to yes in daemon.conf.

In any case, using JACK to interact with device like this is probably much easier, coz channel configuration is basically arbitrary there just like how it is in the device.

P.S. The support to this device from the ALSA driver is not proper anyway. Your device support up to 18-channel I/O, while the driver only exposed 14, so 4 channels are not accessible (I wonder if it's the 4 extra channels that are only allowed in 44.1/48kHz ADAT). You can see that in alsamixer/pacmd that it wrongly treats the output as 7.1 surround + others, while it has basically nothing to do with surround sound.

Last edited by tom.ty89 (2016-01-14 14:27:32)

Offline

#24 2016-01-14 14:45:36

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: [SOLVED] SPDIF output Presonus Audiobox VSL1818

Try to create the following sink:

pacmd load-module module-alsa-sink sink_name="vsl_custom" device="hw:VSL" channels="14" channel_map="aux0,aux1,aux2,aux3,aux4,aux5,aux6,aux7,front-left,front-right,aux8,aux9,aux10,aux11"

OR

pacmd load-module module-remap-sink sink_name="vsl_custom" master="alsa_output.usb-PreSonus_AudioBox_1818_VSL_2209-00.multichannel-output" channels="2" channel_map="front-left,front-right" master_channel_map="aux0,aux1"

then set it as default

pacmd set-default-sink vsl_custom

then see if stereo sources (maybe even this http://www.lynnemusic.com/surround/www_ … _test.ac3) work now.

Last edited by tom.ty89 (2016-01-14 19:00:21)

Offline

#25 2016-01-15 10:03:57

moonlies
Member
Registered: 2016-01-09
Posts: 32

Re: [SOLVED] SPDIF output Presonus Audiobox VSL1818

Awesome, you did it!
The first line worked until i rebooted. Now i get "module load failed".
Then i tried the second line and after choosing the remapped stream in pavucontrol it works too.
The second line does still work after rebooting.
Is there a recommended way to make this default or can i just put the 2 lines into the autorun for my wm?

Offline

Board footer

Powered by FluxBB