Bug 90678 - module-udev-detect should skip midi-only devices
Summary: module-udev-detect should skip midi-only devices
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: modules (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-27 13:53 UTC by muranyia
Modified: 2018-07-30 10:05 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Output of alsa-info.sh (98.09 KB, text/plain)
2015-05-27 13:53 UTC, muranyia
Details
Output of pulseaudio -vvvv (370.24 KB, text/plain)
2015-05-27 14:01 UTC, muranyia
Details

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.