QinHeng Electronics CH345 MIDI adapter triggers error

Bug #1458947 reported by Andras Muranyi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PulseAudio
Unknown
Medium
pulseaudio (Ubuntu)
New
Undecided
Unassigned

Bug Description

Cheap oriental MIDI adapter starts up with the following error, but works as expected.*

E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="1" name="usb-1a86_USB2.0-MIDI-00-USB20MIDI" card_name="alsa_card.usb-1a86_USB2.0-MIDI-00-USB20MIDI" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1""): initialization failed.

The device:
1a86:752d QinHeng Electronics CH345 MIDI adapter

Of course i'm not sure whether this is a PA problem or an ALSA or UDEV bug.

Ubuntu 14.04.2 LTS
Pulseaudio 1:4.0-0ubuntu11.1

* works almost as expected: there is one physical input and one output, but in ALSA one input and two outputs appear.

Tags: trusty xenial
Revision history for this message
Raymond (superquad-vortex2) wrote :

post the output of alsa-info.sh

https://wiki.ubuntu.com/PulseAudio/Log

Changed in pulseaudio (Ubuntu):
status: New → Incomplete
Revision history for this message
Andras Muranyi (muranyia) wrote :
Revision history for this message
Raymond (superquad-vortex2) wrote :

are there any error message in pulseaudio verbose log ?

module-udev-detect should skip any card without pcm devices

youe have to file an upstream bug report

https://bugs.freedesktop.org/enter_bug.cgi?product=PulseAudio

Revision history for this message
Raymond (superquad-vortex2) wrote :

!!ALSA Device nodes
!!-----------------

crw-rw----+ 1 root audio 116, 6 May 27 13:00 /dev/snd/controlC0
crw-rw----+ 1 root audio 116, 3 May 27 13:00 /dev/snd/controlC1
crw-rw----+ 1 root audio 116, 25 May 27 13:00 /dev/snd/controlC2
crw-rw----+ 1 root audio 116, 17 May 27 13:00 /dev/snd/controlC3
crw-rw----+ 1 root audio 116, 8 May 27 13:00 /dev/snd/hwC3D0
crw-rw----+ 1 root audio 116, 18 May 27 13:00 /dev/snd/hwC3D2
crw-rw----+ 1 root audio 116, 7 May 27 13:00 /dev/snd/midiC0D0
crw-rw----+ 1 root audio 116, 2 May 27 13:00 /dev/snd/midiC1D0
crw-rw----+ 1 root audio 116, 10 May 27 13:00 /dev/snd/midiC3D0
crw-rw----+ 1 root audio 116, 9 May 27 13:00 /dev/snd/midiC3D1
crw-rw----+ 1 root audio 116, 19 May 27 13:00 /dev/snd/midiC3D2
crw-rw----+ 1 root audio 116, 20 May 27 13:00 /dev/snd/midiC3D3
crw-rw----+ 1 root audio 116, 5 May 27 13:01 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116, 4 May 27 13:01 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116, 24 May 27 13:01 /dev/snd/pcmC2D0c
crw-rw----+ 1 root audio 116, 23 May 27 13:01 /dev/snd/pcmC2D0p
crw-rw----+ 1 root audio 116, 22 May 27 13:00 /dev/snd/pcmC2D1c
crw-rw----+ 1 root audio 116, 21 May 27 13:01 /dev/snd/pcmC2D2p
crw-rw----+ 1 root audio 116, 16 May 27 13:01 /dev/snd/pcmC3D0c
crw-rw----+ 1 root audio 116, 15 May 27 13:01 /dev/snd/pcmC3D0p
crw-rw----+ 1 root audio 116, 14 May 27 13:00 /dev/snd/pcmC3D1c
crw-rw----+ 1 root audio 116, 13 May 27 13:00 /dev/snd/pcmC3D2c
crw-rw----+ 1 root audio 116, 12 May 27 13:00 /dev/snd/pcmC3D2p
crw-rw----+ 1 root audio 116, 11 May 27 13:00 /dev/snd/pcmC3D3p
crw-rw----+ 1 root audio 116, 1 May 27 13:00 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 May 27 13:00 /dev/snd/timer

Revision history for this message
In , Andras Muranyi (muranyia) wrote :

Created attachment 116075
Output of alsa-info.sh

Cheap oriental MIDI adapter starts up with the following error, but works as expected.*

E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="1" name="usb-1a86_USB2.0-MIDI-00-USB20MIDI" card_name="alsa_card.usb-1a86_USB2.0-MIDI-00-USB20MIDI" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1""): initialization failed.

The device:
1a86:752d QinHeng Electronics CH345 MIDI adapter

Ubuntu 14.04.2 LTS
Pulseaudio 1:4.0-0ubuntu11.1

* works almost as expected: there is one physical input and one output, but in ALSA one input and two outputs appear.

Revision history for this message
In , Andras Muranyi (muranyia) wrote :

Created attachment 116077
Output of pulseaudio -vvvv

Changed in pulseaudio:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
In , Raymond (superquad-vortex2) wrote :

 module-udev-detect should skip card 1 when there is no pcm devices

crw-rw----+ 1 root audio 116, 3 May 27 13:00 /dev/snd/controlC1
crw-rw----+ 1 root audio 116, 2 May 27 13:00 /dev/snd/midiC1D0

Revision history for this message
In , Tanu Kaskinen (tanuk) wrote :

Updated the bug title.

The error is harmless, as you found out.

tags: added: trusty
Revision history for this message
Andras Muranyi (muranyia) wrote :

In Xenial, the error message is still there, however the behavior has improved and only 1 MIDI out and 1 MIDI in ports are registered.

Revision history for this message
In , Gitlab-migration (gitlab-migration) wrote :

-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/200.

Changed in pulseaudio:
status: Confirmed → Unknown
tags: added: xenial
Changed in pulseaudio (Ubuntu):
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.