Bug 90678

Summary: module-udev-detect should skip midi-only devices
Product: PulseAudio Reporter: muranyia
Component: modulesAssignee: pulseaudio-bugs
Status: RESOLVED MOVED QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: lennart
Version: unspecified   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Output of alsa-info.sh
Output of pulseaudio -vvvv

Description muranyia 2015-05-27 13:53:19 UTC
Created attachment 116075 [details]
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.
Comment 1 muranyia 2015-05-27 14:01:55 UTC
Created attachment 116077 [details]
Output of pulseaudio -vvvv
Comment 2 Raymond 2015-05-27 14:53:07 UTC
 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
Comment 3 Tanu Kaskinen 2015-05-30 10:06:26 UTC
Updated the bug title.

The error is harmless, as you found out.
Comment 4 GitLab Migration User 2018-07-30 10:05:00 UTC
-- 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.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.