[pulseaudio-discuss] udev detect not working with linux-3.0.3

John Frankish j-frankish at slb.com
Sun Sep 25 00:47:41 PDT 2011


>> I've tried pulseaudio-0.9.22/0.9.23/0.99.4 on two machines using linux-2.6.33.3 and the udev detection works.
>> 
>>If I try the above on the same machines using linux-3.0.3, udev detection does not detect my hardware (but I can use pulseaudio to stream >>music to Bluetooth headphones). Alsa works on the two machines with linux-2.6.33.3 and linux-3.0.3.
>> 
>> About the only difference between the linux-2.6.33.3 setup and the linux-3.0.3 setup is the version of libc - the udev version is the same on
>>both and the following look to be the same:
>> 
>> 25-alsa.rules
>> 78-sound-card.rules
>> 90-pulseaudio.rules
>> 
>> Does anyone have any ideas as to what troubleshooting I can try?
>> 
>> pulseaudio -vv
>> ....
>> D: [pulseaudio] cli-command.c: Checking for existence of '/usr/local/lib/pulse-0.99/modules/module-udev-detect.so': success
>> I: [pulseaudio] module-udev-detect.c: Found 0 cards.
>> I: [pulseaudio] module.c: Loaded "module-udev-detect" (index: #4; argument: "")
>
>  Pass more v's... try -vvvvv
>
> There will be more reasons as to why it fond 0 cards.
>
> Also check the output of:
>
> cat /proc/asound/cards
> getfacl /dev/snd/pcm*

Thanks for the feedback, but:

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

$ cat /proc/asound/cards
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xefebc000 irq 44

$ pulseaudio -vvvv
W: [pulseaudio] core-error.c: Unable to convert error string to locale, filtering.
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: [pulseaudio] core-error.c: Unable to convert error string to locale, filtering.
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
W: [pulseaudio] core-error.c: Unable to convert error string to locale, filtering.
I: [pulseaudio] core-util.c: Failed to acquire high-priority scheduling: No such file or directory
I: [pulseaudio] main.c: This is PulseAudio 0.99.4
D: [pulseaudio] main.c: Compilation host: x86_64-unknown-linux-gnu
D: [pulseaudio] main.c: Compilation CFLAGS: -march=i486 -mtune=i686 -Os -pipe -Wall -W -Wextra -Wno-long-long -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option
D: [pulseaudio] main.c: Running on host: Linux i686 3.0.3-tinycore #90210 SMP Thu Aug 18 11:28:07 EEST 2011
D: [pulseaudio] main.c: Found 2 CPUs.
I: [pulseaudio] main.c: Page size is 4096 bytes
D: [pulseaudio] main.c: Compiled with Valgrind support: no
D: [pulseaudio] main.c: Running in valgrind mode: no
D: [pulseaudio] main.c: Running in VM: no
D: [pulseaudio] main.c: Optimized build: yes
D: [pulseaudio] main.c: All asserts enabled.
I: [pulseaudio] main.c: Machine ID is 161a649d8731e51bd7f831350000004a.
I: [pulseaudio] main.c: Using runtime directory /home/tc/.pulse/161a649d8731e51bd7f831350000004a-runtime.
I: [pulseaudio] main.c: Using state directory /home/tc/.pulse.
I: [pulseaudio] main.c: Using modules directory /usr/local/lib/pulse-0.99/modules.
I: [pulseaudio] main.c: Running in system mode: no
W: [pulseaudio] pid.c: Stale PID file, overwriting.
I: [pulseaudio] main.c: Fresh high-resolution timers available! Bon appetit!
D: [pulseaudio] memblock.c: Using shared memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65496
I: [pulseaudio] cpu-x86.c: CPU flags: CMOV MMX SSE SSE2 SSE3 SSSE3 
I: [pulseaudio] svolume_mmx.c: Initialising MMX optimized volume functions.
I: [pulseaudio] remap_mmx.c: Initialising MMX optimized remappers.
I: [pulseaudio] svolume_sse.c: Initialising SSE2 optimized volume functions.
I: [pulseaudio] remap_sse.c: Initialising SSE2 optimized remappers.
I: [pulseaudio] sconv_sse.c: Initialising SSE2 optimized conversions.
I: [pulseaudio] module-device-restore.c: Successfully opened database file '/home/tc/.pulse/161a649d8731e51bd7f831350000004a-device-volumes'.
I: [pulseaudio] module.c: Loaded "module-device-restore" (index: #0; argument: "").
I: [pulseaudio] module-stream-restore.c: Successfully opened database file '/home/tc/.pulse/161a649d8731e51bd7f831350000004a-stream-volumes'.
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1 added for object /org/pulseaudio/stream_restore1
I: [pulseaudio] module.c: Loaded "module-stream-restore" (index: #1; argument: "").
I: [pulseaudio] module-card-restore.c: Successfully opened database file '/home/tc/.pulse/161a649d8731e51bd7f831350000004a-card-database'.
I: [pulseaudio] module.c: Loaded "module-card-restore" (index: #2; argument: "").
I: [pulseaudio] module.c: Loaded "module-augment-properties" (index: #3; argument: "").
D: [pulseaudio] cli-command.c: Checking for existence of '/usr/local/lib/pulse-0.99/modules/module-udev-detect.so': success
I: [pulseaudio] module-udev-detect.c: Found 0 cards.
I: [pulseaudio] module.c: Loaded "module-udev-detect" (index: #4; argument: "").
D: [pulseaudio] cli-command.c: Checking for existence of '/usr/local/lib/pulse-0.99/modules/module-jackdbus-detect.so': success
Inconsistency detected by ld.so: dl-open.c: 583: _dl_open: Assertion `_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed!

dmesg
...
HDA Intel 0000:00:1b.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
HDA Intel 0000:00:1b.0: irq 44 for MSI/MSI-X
HDA Intel 0000:00:1b.0: setting latency timer to 64
input: HDA Intel Line In at Ext Left Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
input: HDA Intel HP Out at Ext Left Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12

On the other machine, dmesg gives (eglibc-2.13):

pulseaudio[11774]: segfault at 0 ip 00000000f760b40d sp 00000000ff9f9cec error 4 in libX11-xcb.so.1.0.0[f760b000+1000]


More information about the pulseaudio-discuss mailing list