Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER for Linux

Reply
 
Thread Tools Display Modes
Old 01-31-2020, 11:46 AM   #1
biopsin
Human being with feelings
 
Join Date: Sep 2010
Location: oslo
Posts: 142
Default [SOLVED] NI Komplete Audio 2 - alsa only and no output

EDIT: All workin fine with alsa only,
however I suspect it was actually earlier too,
I had a loopback/dmix in .asound.conf which it does not like..


So got a new NI audio device since old trusty HDSP Hammerfall device started to act up, either Firewire card or Interface is busted.
I ran it without a poweradapter for a long time, maybe it's the cause of misbehavement lately.

However the NI has issues, I get no sound out in both Reaper or term even tho it's recognized, I can select it, but I get no meters feedback or sound thru it.

Suspecting so far it's either a old kernel or wrong usb version or
simply need to go with jack2 again ontop..
More test will follow when new PC is up and running.

If anyone is running it successfully please pitch in

NI states device is class compliant on forum
Gathered some info so far.

[spoiler]
$ uname -r
linux-4.9.212 linux5.4.19

..also user is in audio group

$ dmesg | grep usb
usbcore: registered new interface driver snd-usb-audio
usb 3-2: new high-speed USB device number 7 using xhci_hcd

comment: mainboard spec states USB Port 7 & 8 are usb.2.0


$ lsmod | grep "audio\|snd"
snd_seq_dummy 16384 0
snd_seq_midi 16384 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_usb_audio 151552 0
snd_usbmidi_lib 24576 1 snd_usb_audio
snd_rawmidi 28672 2 snd_seq_midi,snd_usbmidi_lib
snd_hda_codec_hdmi 49152 1
snd_hda_codec_realtek 73728 1
snd_hda_codec_generic 65536 1 snd_hda_codec_realtek
snd_hda_intel 32768 0
snd_hda_codec 98304 4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_gen eric,snd_hda_codec_realtek
snd_hda_core 65536 5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd _hda_codec_generic,snd_hda_codec_realtek
snd_hwdep 16384 2 snd_hda_codec,snd_usb_audio
snd_aloop 24576 0
snd_pcm 90112 6 snd_hda_intel,snd_hda_codec,snd_usb_audio,snd_hda_ core,snd_hda_codec_hdmi,snd_aloop
snd_seq 61440 3 snd_seq_midi_event,snd_seq_dummy,snd_seq_midi
snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 28672 2 snd_seq,snd_pcm
snd 65536 14 snd_hda_intel,snd_hwdep,snd_seq,snd_hda_codec,snd_ usb_audio,snd_timer,snd_rawmidi,snd_hda_codec_hdmi ,snd_hda_codec_generic,snd_usbmidi_lib,snd_seq_dev ice,snd_aloop,snd_hda_codec_realtek,snd_pcm
soundcore 16384 1 snd
usbcore 204800 9 usbmouse,usbhid,snd_usb_audio,ehci_hcd,usbkbd,xhci _pci,snd_usbmidi_lib,xhci_hcd,ehci_pci


$ lsusb
Bus 003 Device 007: ID 17cc:1840 Native Instruments Komplete Audio 2


$ aplay -l
card 3: K2 [Komplete Audio 2], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0


$ aplay -L
sysdefault:CARD=K2
Komplete Audio 2, USB Audio
Default Audio Device
front:CARD=K2,DEV=0
Komplete Audio 2, USB Audio
Front speakers

comment: skipped all surround devices, only interested in stereo from K2


$ speaker-test -c2 -Dsysdefault:CARD=K2
Stream parameters are 48000Hz, S16_LE, 2 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
1 - Front Right

comment : -> however test runs but no sound and no meter output
(and volume wheel set to 100% too)


$ speaker-test -c2 -Dfront:CARD=K2
Playback device is front:CARD=K2
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Sample format not available for playback: Invalid argument
Setting of hwparams failed: Invalid argument


$ alsamixer -> OK shows 2 input and 2 output
$ alsactl store -> OK
$ alsactl restore -> FAILS
alsactl set_control:1461: Cannot write control '2:0:0:Native Instruments Internal Clock Validity:0' : Operation not permitted

comment: because "Clock Validity Control" is (read-only)


$ amixer -D hw:K2
Simple mixer control 'Mic',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 127
Front Left: Capture 127 [100%] [0.00dB] [on]
Front Right: Capture 127 [100%] [0.00dB] [on]
Simple mixer control 'Mic',1
Capabilities: cvolume cvolume-joined cswitch cswitch-joined
Capture channels: Mono
Limits: Capture 0 - 127
Mono: Capture 127 [100%] [0.00dB] [on]
Simple mixer control 'Komplete Audio 2 ',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 127 [100%] [0.00dB] [on]
Front Right: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'Komplete Audio 2 ',1
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 127
Mono: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'Native Instruments Internal Clock Validity',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]


$ lsusb -v -d 17cc:1840
Bus 003 Device 007: ID 17cc:1840 Native Instruments Komplete Audio 2
Device Descriptor: ...and shows nothing out of place
[/spoiler]
__________________
Voidlinux_glibc / gcc_12.2. / libSwell_GDK2 - 250423 /
Reaper_6.82 / NI_KA2 / Dynaudio_BM6

Last edited by biopsin; 02-15-2020 at 12:53 PM. Reason: sorry spoiler not working for me..
biopsin is offline   Reply With Quote
Old 01-31-2020, 12:47 PM   #2
JamesPeters
Human being with feelings
 
Join Date: Aug 2011
Location: Near a big lake
Posts: 3,943
Default

Your kernel version is older than the audio device, so maybe try a later kernel first to see if it has proper support for the device.

There have also been updates to ALSA and PulseAudio in the last year. Perhaps some of those would help this issue, if it's not solely about the audio driver in the kernel.

Generally I'd recommend installing an updated distro.
JamesPeters is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:10 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.