jack audio kit

Brendan Jones brendan.jones.it at gmail.com
Tue Jul 19 01:41:57 UTC 2011


On 20/07/11 15:28, Zoran Spasojevic wrote:
> This is what I get when I execute
> pulseaudio -k;
> and then
>    pulseaudio -vv
>

Try it again after rm -rf ~/.pulse
This will remove previous state information.

Make sure #load-module module-alsa-source device=hw:1,0 is commented.
The card number is not guaranteed

Run alsa-info and attach the output to a *bugzilla report*. It will give 
you a place to keep your attachments rather than this list.

> I can say that when I look at System Settings>  multimedia
> the number of entries under phonon is the highest I have ever seen:
> M Audio Audiophile 24/96 (ICE 1712 multi)   (this one is shaded grey)
> default (highlighted)
> default (shaded)
> M Audio Audiophile 24/96/, ICE1712 multi (IEC958 9S/PDIF) Digital Audio
> Output) (shaded)
> M Audio Audiophile 24/96 (ICE 1712 multi) (highlighted)
>
>
> The one time I had sound I also had hw:0.0 but with fewer entries in the
> list above.
> I also disabled the onboard card in the bios.
> But I still get system notifications sounds.
> Thanks,
> zoran
>
> ]$ pulseaudio -k
> E: main.c: Failed to kill daemon: No such process
> ]$ pulseaudio -vv
> I: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
> I: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
> D: core-rtclock.c: Timer slack is set to 50 us.
> D: core-util.c: RealtimeKit worked.
> I: core-util.c: Successfully gained nice level -11.
> I: main.c: This is PulseAudio 0.9.22
> D: main.c: Compilation host: x86_64-redhat-linux-gnu
> D: main.c: Compilation CFLAGS: -O2 -g -pipe -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -W -Wextra -pipe
> -Wno-long-long -Winline -Wvla -Wno-overlength-strings
> -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op
> -Wsign-compare -Wformat-security -Wmissing-include-dirs
> -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self
> -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes
> -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations
> -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align
> -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math
> -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option
> D: main.c: Running on host: Linux x86_64 2.6.38.8-35.fc15.x86_64 #1 SMP
> Wed Jul 6 13:58:54 UTC 2011
> D: main.c: Found 2 CPUs.
> I: main.c: Page size is 4096 bytes
> D: main.c: Compiled with Valgrind support: no
> D: main.c: Running in valgrind mode: no
> D: main.c: Running in VM: no
> D: main.c: Optimized build: yes
> D: main.c: All asserts enabled.
> I: main.c: Machine ID is 86c1ac94fcf18f447a094d650000000b.
> I: main.c: Session ID is
> 86c1ac94fcf18f447a094d650000000b-1311138627.160660-2001006301.
> I: main.c: Using runtime directory
> /home/zoran/.pulse/86c1ac94fcf18f447a094d650000000b-runtime.
> I: main.c: Using state directory /home/zoran/.pulse.
> I: main.c: Using modules directory /usr/lib64/pulse-0.9.22/modules.
> I: main.c: Running in system mode: no
> I: main.c: Fresh high-resolution timers available! Bon appetit!
> I: cpu-x86.c: CPU flags: CMOV MMX SSE SSE2 SSE3 SSSE3 SSE4_1
> I: svolume_mmx.c: Initialising MMX optimized functions.
> I: remap_mmx.c: Initialising MMX optimized remappers.
> I: svolume_sse.c: Initialising SSE2 optimized functions.
> I: remap_sse.c: Initialising SSE2 optimized remappers.
> I: sconv_sse.c: Initialising SSE2 optimized conversions.
> D: 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 65472
> D: database-tdb.c: Opened TDB database
> '/home/zoran/.pulse/86c1ac94fcf18f447a094d650000000b-device-volumes.tdb'
> I: module-device-restore.c: Sucessfully opened database file
> '/home/zoran/.pulse/86c1ac94fcf18f447a094d650000000b-device-volumes'.
> I: module.c: Loaded "module-device-restore" (index: #0; argument: "").
> D: database-tdb.c: Opened TDB database
> '/home/zoran/.pulse/86c1ac94fcf18f447a094d650000000b-stream-volumes.tdb'
> I: module-stream-restore.c: Sucessfully opened database file
> '/home/zoran/.pulse/86c1ac94fcf18f447a094d650000000b-stream-volumes'.
> I: module.c: Loaded "module-stream-restore" (index: #1; argument: "").
> D: database-tdb.c: Opened TDB database
> '/home/zoran/.pulse/86c1ac94fcf18f447a094d650000000b-card-database.tdb'
> I: module-card-restore.c: Sucessfully opened database file
> '/home/zoran/.pulse/86c1ac94fcf18f447a094d650000000b-card-database'.
> I: module.c: Loaded "module-card-restore" (index: #2; argument: "").
> I: module.c: Loaded "module-augment-properties" (index: #3; argument: "").
> D: alsa-util.c: Trying hw:1,0 with SND_PCM_NO_AUTO_FORMAT ...
> I: (alsa-lib)pcm_hw.c: Invalid value for card
> I: alsa-util.c: Error opening PCM device hw:1,0: No such file or directory
> E: module.c: Failed to load  module "module-alsa-source" (argument:
> "device=hw:1,0"): initialization failed.
> E: main.c: Module load failed.
> E: main.c: Failed to initialize daemon.
> I: module.c: Unloading "module-device-restore" (index: #0).
> I: module.c: Unloaded "module-device-restore" (index: #0).
> D: core-subscribe.c: Dropped redundant event due to remove event.
> I: module.c: Unloading "module-stream-restore" (index: #1).
> I: module.c: Unloaded "module-stream-restore" (index: #1).
> D: core-subscribe.c: Dropped redundant event due to remove event.
> I: module.c: Unloading "module-card-restore" (index: #2).
> I: module.c: Unloaded "module-card-restore" (index: #2).
> D: core-subscribe.c: Dropped redundant event due to remove event.
> I: module.c: Unloading "module-augment-properties" (index: #3).
> I: module.c: Unloaded "module-augment-properties" (index: #3).
> D: core-subscribe.c: Dropped redundant event due to remove event.
> I: main.c: Daemon terminated.
>
>
>
> On 07/19/2011 07:45 PM, Zoran Spasojevic wrote:
>> Brendan, thanks for your suggestions.
>> Unfortunately, none worked.
>> But I made some progress today.
>> I reinstalled pulseaudio and alsa-pulse-plugin, uncommented
>> the line
>> //#load-module module-alsa-source device=hw:1,0//
>> in//  /etc/pulse/default.pa//
>> and I got sound on firefox/flash.
>> The trouble began when I tried to play video with one of the video
>> players.
>> Xine crashed on start. Vlc played video but I got no sound.
>> I think pulseaudio got killed and I can not restart it any more.
>> When I try to restart pulseaudio this is what I get:
>> $ pulseaudio --start
>> E: main.c: Daemon startup failed.
>>
>> Even when the sounfd in firefox worked I still got
>> the warning message below on boot.
>> Any further suggestions?
>> Thanks in advance!
>>
>>
>> On 19/07/11 14:33, Zoran Spasojevic wrote:
>>> /  Actually on boot I get the following message before I start any
>> />/  applications:
>> />/
>> />/  KDE detected that one or more internal sound devices were removed.
>> />/
>> />/  *Do you want KDE to permanently forget about these devices?*
>> />/
>> />/  This is the list of devices KDE thinks can be removed:
>> />/
>> />/       *
>> />/
>> />/         Capture: Default
>> />/
>> />/       *
>> />/
>> />/         Output: Default
>> />/
>> />/       *
>> />/
>> />/         Output: M Audio Audiophile 24/96, ICE1712 multi (IEC958
>> (S/PDIF)
>> />/         Digital Audio Output
>> />/
>> />/
>> />/
>> />/  Only once I was able to get any sound from any audio/video
>> applications
>> />/  when I uncommented the line in /etc/pulse/default.pa
>> />/
>> />/  #load-module module-alsa-source device=hw:1,0
>> />/
>> />/  This was when pulseaudio was installed.
>> />/  Then the sound went away and I have not been able to recover it.
>> />/
>> />/  Thanks,
>> />/  Zoran
>> />/
>> />/
>> />/
>> /You can try the steps below. Also try look here:
>> https://fedoraproject.org/wiki/How_to_debug_sound_problems  and
>> http://fedoraproject.org/wiki/SoundTroubleshooting
>>
>> Determine your sound card:
>>
>> ~ $cat /proc/asound/cards
>>    0 [UA25EX         ]: USB-Audio - UA-25EX
>>                         EDIROL UA-25EX at usb-0000:00:1d.0-1.2, full speed
>>    1 [PCH            ]: HDA-Intel - HDA Intel PCH
>>                         HDA Intel PCH at 0xdf600000 irq 22
>>    2 [mini           ]: USB-Audio - MPK mini
>>                         AKAI PROFESSIONAL,LP MPK mini at
>> usb-0000:03:00.0-1, full speed
>>
>> In the setup of qjackctl in interface instead of hw:0 hw:1 etc use the
>> value in brackets above. In my case hw:UA25EX
>>
>> yum install alsa-plugins-jack and create the following file ~/.asoundrc.
>> Set card 0 to whatever number your card has been given above.
>>
>>
>> ~ $cat .asoundrc
>> ctl.!default {
>>           type hw
>>           card 0
>>
>> }
>>
>> pcm.!default {
>>           type plug
>>           slave { pcm "jack" }
>>
>> }
>>
>> pcm.jack {
>>           type jack
>>           playback_ports {
>>                   0 system:playback_1
>>                   1 system:playback_2
>>           }
>>           capture_ports {
>>                   0 system:capture_1
>>                   1 system:capture_2
>>           }
>>
>> }
>>
>>
>> ------------------------------------------------------------------------
>>
>>     * Previous message: jack audio kit
>> <http://lists.fedoraproject.org/pipermail/users/2011-July/401919.html>
>>     * *Messages sorted by:* [ date ]
>> <http://lists.fedoraproject.org/pipermail/users/2011-July/date.html#401920>
>>       [ thread ]
>> <http://lists.fedoraproject.org/pipermail/users/2011-July/thread.html#401920>
>>       [ subject ]
>> <http://lists.fedoraproject.org/pipermail/users/2011-July/subject.html#401920>
>>       [ author ]
>> <http://lists.fedoraproject.org/pipermail/users/2011-July/author.html#401920>
>>
>>
>> ------------------------------------------------------------------------
>> More information about the users mailing list
>> <https://admin.fedoraproject.org/mailman/listinfo/users>
>



More information about the users mailing list