Bug 68215 - Connecting usb-dac causes "failed to load module module-udev-detect.c"
Summary: Connecting usb-dac causes "failed to load module module-udev-detect.c"
Status: RESOLVED NOTABUG
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: daemon (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL: http://bugs.debian.org/cgi-bin/bugrep...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-17 10:54 UTC by cac2s
Modified: 2013-08-17 14:32 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
config files (3.17 KB, application/x-tgz)
2013-08-17 10:54 UTC, cac2s
Details

Description cac2s 2013-08-17 10:54:12 UTC
Created attachment 84168 [details]
config files

System: Debian Wheezy

PulseAudio is configured as a system-wide daemon and does not define usb-dac while connecting it to the computer.

$ pactl list short cards
0	alsa_card.pci-0000_00_01.1	module-alsa-card.c
1	alsa_card.pci-0000_00_14.2	module-alsa-card.c

After restart pulseaudio daemon (without detaching dec) the device appears in list cards as it should be:

$ pactl list short cards
0	alsa_card.pci-0000_00_01.1	module-alsa-card.c
1	alsa_card.usb-Burr-Brown_from_TI_USB_Audio_DAC-00-DAC	module-alsa-card.c
2	alsa_card.pci-0000_00_14.2	module-alsa-card.c

PulseAudio 4.0 from testing (Debian Jessie) has same issue. 

========================
Additional information
========================

# tail -f /var/log/messages

Aug 17 13:46:32 cac2s-tp kernel: [ 5487.416304] usb 3-2: new full-speed USB device number 16 using ohci_hcd
Aug 17 13:46:32 cac2s-tp kernel: [ 5487.583046] usb 3-2: New USB device found, idVendor=08bb, idProduct=2706
Aug 17 13:46:32 cac2s-tp kernel: [ 5487.583062] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Aug 17 13:46:32 cac2s-tp kernel: [ 5487.583071] usb 3-2: Product: USB Audio DAC   
Aug 17 13:46:32 cac2s-tp kernel: [ 5487.583078] usb 3-2: Manufacturer: Burr-Brown from TI              
Aug 17 13:46:32 cac2s-tp kernel: [ 5487.637310] input: Burr-Brown from TI               USB Audio DAC    as /devices/pci0000:00/0000:00:12.0/usb3/3-2/3-2:1.2/input/input25
Aug 17 13:46:32 cac2s-tp kernel: [ 5487.638042] generic-usb 0003:08BB:2706.000E: input,hidraw0: USB HID v1.00 Device [Burr-Brown from TI               USB Audio DAC   ] on usb-0000:00:12.0-2/input2
Aug 17 13:46:33 cac2s-tp pulseaudio[1606]: [pulseaudio] client.c: Created 1 "Native client (UNIX socket client)"
Aug 17 13:46:33 cac2s-tp pulseaudio[1606]: [pulseaudio] client.c: Freed 1 "Native client (UNIX socket client)"
Aug 17 13:46:33 cac2s-tp pulseaudio[1606]: [pulseaudio] protocol-native.c: Connection died.
Aug 17 13:46:33 cac2s-tp pulseaudio[1606]: [pulseaudio] module-udev-detect.c: Card /devices/pci0000:00/0000:00:12.0/usb3/3-2/3-2:1.0/sound/card2 (alsa_card.usb-Burr-Brown_from_TI_USB_Audio_DAC-00-DAC) failed to load module.
Comment 1 Arun Raghavan 2013-08-17 13:58:29 UTC
Could you post more verbose output? You can do this by starting pulseaudio on the command line as: pulseaudio -vvvv --system in your case.
Comment 2 cac2s 2013-08-17 14:32:59 UTC
Thank you so much! Thanks to your request, I found the cause of malfunction:

default command line for system-wide mode is

/usr/bin/pulseaudio --system --disallow-exit --disallow-module-loading=1 --daemonize --log-target=syslog --high-priority

pay attention to the "disallow-module-loading=1"

This parameter is defined in /etc/default/pulseaudio (debian based dist) and it takes precedence over parameter "allow-module-loading" in /etc/pulse/daemon.conf

So when I changed "allow-module-loading" to "yes", it did not give the expected result.

Thank you once more.


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.