You are not logged in.

#1 2017-06-27 23:39:36

saikia81
Member
Registered: 2017-06-27
Posts: 2

alsa error: /dev/snd/seq failed: No such device Cannot open sequencer

SITUATION
I've been struggling with midi on Arch. I have a USB midi device connected to my laptop with the latest Arch updates.
It seems that I can't connect my usb device anymore, but I'm not sure where the problem lies.

PROBLEM
I can't use alsa to investigate, because when I try to use some alsa CLI-tools I get an error.

Saikia81% aplaymidi -l                               

ALSA lib seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed: No such device
Cannot open sequencer - No such device
Saikia81% 

INFORMATION
ls -l /dev/snd/seq gives:

c-w-rw-r--+ 1 root audio 116,  1 Jun 28 01:11 seq

I'm in the 'audio' group.

I've tried modprobe, but don't know what to do with the error:

Saikia81% modprobe snd_seq 
sh: -c: line 1: syntax error: unexpected end of file
modprobe: ERROR: Error running install command for snd_seq
modprobe: ERROR: could not insert 'snd_seq': Operation not permitted

It used to work a few months ago, but I don't know why it doesn't work anymore, I've tried searching the errors, but don't seem to find any relevant solution

Any solutions, hints, recommendations and links are appreciated!
thank you

Offline

#2 2017-06-28 10:32:16

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,844

Re: alsa error: /dev/snd/seq failed: No such device Cannot open sequencer

post a dmesg excerpt from plugin in your midi interface and maybe also

uname .a
pacman -Q linux
lsmod
sudo fuser -v /dev/snd/*

Offline

#3 2017-06-28 15:46:37

saikia81
Member
Registered: 2017-06-27
Posts: 2

Re: alsa error: /dev/snd/seq failed: No such device Cannot open sequencer

Thank you for takin the time to help!

here are the results:

uname -a

Linux Saikia81 4.11.6-3-ARCH #1 SMP PREEMPT Thu Jun 22 12:21:46 CEST 2017 x86_64 GNU/Linux

pacman -Q linux

linux 4.11.6-3

lsmod

Module                  Size  Used by
snd_seq_device         16384  0
rfcomm                 69632  2
ctr                    16384  2
ccm                    20480  3
iptable_nat            16384  0
nf_conntrack_ipv4      16384  1
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
nf_nat_ipv4            16384  1 iptable_nat
nf_nat                 24576  1 nf_nat_ipv4
nf_conntrack          110592  3 nf_conntrack_ipv4,nf_nat_ipv4,nf_nat
libcrc32c              16384  2 nf_conntrack,nf_nat
crc32c_generic         16384  0
iptable_mangle         16384  0
iptable_filter         16384  0
bnep                   20480  2
bbswitch               16384  0
snd_hda_codec_hdmi     49152  1
arc4                   16384  2
nls_iso8859_1          16384  1
fuse                   98304  3
iwlmvm                286720  0
mac80211              696320  1 iwlmvm
intel_rapl             20480  0
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
i915                 1433600  63
coretemp               16384  0
snd_hda_codec_realtek    73728  1
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
uvcvideo               86016  0
snd_hda_codec_generic    69632  1 snd_hda_codec_realtek
kvm_intel             192512  0
asus_nb_wmi            24576  0
drm_kms_helper        126976  1 i915
btusb                  40960  0
snd_hda_intel          36864  6
kvm                   528384  1 kvm_intel
asus_wmi               24576  1 asus_nb_wmi
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
btrtl                  16384  1 btusb
sparse_keymap          16384  1 asus_wmi
iwlwifi               192512  1 iwlmvm
irqbypass              16384  1 kvm
videobuf2_v4l2         20480  1 uvcvideo
btbcm                  16384  1 btusb
snd_hda_codec         106496  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
drm                   299008  7 i915,drm_kms_helper
videobuf2_core         36864  2 uvcvideo,videobuf2_v4l2
intel_cstate           16384  0
btintel                16384  1 btusb
intel_rapl_perf        16384  0
snd_hda_core           65536  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
videodev              151552  3 uvcvideo,videobuf2_core,videobuf2_v4l2
bluetooth             487424  31 btrtl,btintel,bnep,btbcm,rfcomm,btusb
intel_gtt              20480  1 i915
snd_hwdep              16384  1 snd_hda_codec
snd_pcm                90112  5 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
r8169                  77824  0
syscopyarea            16384  1 drm_kms_helper
rtsx_pci_ms            20480  0
media                  32768  2 uvcvideo,videodev
cfg80211              520192  3 iwlmvm,iwlwifi,mac80211
sysfillrect            16384  1 drm_kms_helper
snd_timer              28672  1 snd_pcm
sysimgblt              16384  1 drm_kms_helper
joydev                 20480  0
mousedev               20480  0
snd                    65536  20 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_seq_device,snd_hda_codec_realtek,snd_pcm
fb_sys_fops            16384  1 drm_kms_helper
psmouse               126976  0
pcspkr                 16384  0
memstick               16384  1 rtsx_pci_ms
i2c_algo_bit           16384  1 i915
soundcore              16384  1 snd
i2c_i801               24576  0
mii                    16384  1 r8169
input_leds             16384  0
rfkill                 20480  8 asus_wmi,bluetooth,cfg80211
ie31200_edac           16384  0
mei_me                 36864  0
edac_core              45056  1 ie31200_edac
mei                    86016  1 mei_me
lpc_ich                24576  0
shpchp                 32768  0
asus_wireless          16384  0
battery                20480  0
led_class              16384  4 iwlmvm,asus_wmi,input_leds,asus_wireless
tpm_tis                16384  0
evdev                  24576  34
ac                     16384  0
thermal                20480  0
tpm_tis_core           20480  1 tpm_tis
mac_hid                16384  0
tpm                    40960  2 tpm_tis,tpm_tis_core
sch_fq_codel           20480  6
vboxnetflt             28672  0
vboxnetadp             28672  0
pci_stub               16384  1
vboxpci                24576  0
vboxdrv               385024  3 vboxnetadp,vboxnetflt,vboxpci
ip_tables              24576  3 iptable_mangle,iptable_filter,iptable_nat
x_tables               28672  3 iptable_mangle,ip_tables,iptable_filter
algif_skcipher         20480  0
af_alg                 16384  1 algif_skcipher
dm_crypt               28672  2
dm_mod                102400  5 dm_crypt
uas                    24576  0
usb_storage            65536  1 uas
hid_generic            16384  0
usbhid                 45056  0
hid                   110592  2 hid_generic,usbhid
sd_mod                 45056  9
rtsx_pci_sdmmc         24576  0
mmc_core              122880  1 rtsx_pci_sdmmc
serio_raw              16384  0
atkbd                  24576  0
libps2                 16384  2 atkbd,psmouse
mxm_wmi                16384  0
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
crc32c_intel           24576  1
ghash_clmulni_intel    16384  0
pcbc                   16384  0
aesni_intel           163840  6
ahci                   36864  7
aes_x86_64             20480  1 aesni_intel
libahci                28672  1 ahci
crypto_simd            16384  1 aesni_intel
glue_helper            16384  1 aesni_intel
cryptd                 20480  5 crypto_simd,ghash_clmulni_intel,aesni_intel
libata                208896  2 ahci,libahci
xhci_pci               16384  0
ehci_pci               16384  0
scsi_mod              155648  4 sd_mod,usb_storage,libata,uas
xhci_hcd              184320  1 xhci_pci
ehci_hcd               73728  1 ehci_pci
rtsx_pci               49152  2 rtsx_pci_sdmmc,rtsx_pci_ms
usbcore               208896  9 uvcvideo,usbhid,usb_storage,ehci_hcd,xhci_pci,btusb,uas,xhci_hcd,ehci_pci
usb_common             16384  1 usbcore
i8042                  24576  1 asus_nb_wmi
serio                  20480  9 serio_raw,atkbd,psmouse,i8042
wmi                    20480  2 asus_wmi,mxm_wmi
video                  36864  2 asus_wmi,i915
button                 16384  1 i915
ext4                  528384  4
crc16                  16384  2 bluetooth,ext4
jbd2                   90112  1 ext4
fscrypto               24576  1 ext4
mbcache                16384  1 ext4
vfat                   20480  1
fat                    65536  1 vfat
nls_cp437              20480  1

sudo fuser -v /dev/snd/*

USER        PID ACCESS COMMAND
/dev/snd/controlC0:  pablo       987 F.... pulseaudio
/dev/snd/controlC1:  pablo       987 F.... pulseaudio
/dev/snd/pcmC0D7p:   pablo       987 F...m pulseaudio

some information about the midi device (from 'lshw'):

description: Audio device
product: USB-MIDI
vendor: KAWAI
physical id: 1
bus info: usb@3:1
version: 1.00
capabilities: usb-2.00 midi audio-streaming
configuration: driver=snd-usb-audio maxpower=500mA speed=12Mbit/s

dmesg

[26142.610921] usb 3-1: new full-speed USB device number 6 using xhci_hcd

Offline

#4 2019-02-05 14:08:16

Zack Clark
Member
Registered: 2019-02-05
Posts: 1

Re: alsa error: /dev/snd/seq failed: No such device Cannot open sequencer

Thank you saikia81 for solving my same problem!  I simply redid your informative steps and that worked for me.  However, I executed "modprobe snd_seq" as root.

Offline

#5 2019-02-05 14:14:25

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,322
Website

Re: alsa error: /dev/snd/seq failed: No such device Cannot open sequencer


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB