Jerry Geis wrote: > I am searching for a solution to a usb-audio crash... > > I thought it was debian specific but it seems related to usb-audio. > > I have a computer running centos fine, with onboard audio fine. > I disabled the onboard audio and put my usb -audio device in this unit > and I get the same crash. > > aplay reports 48000 rate. does it help to change to 44100? how is that > done? I havent found it. > > Is there a "general" fix anyone is aware of. > > lsusb reports > Bus 002 Device 003: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter > > Jerry > I found this asound.conf file that appears to work (file 1): defaults.ctl.card 0 defaults.pcm.card 0 pcm.card0 { type hw card 0 } pcm.dmixer { type dmix ipc_key 1025 slave { pcm "hw:0,0" period_time 0 period_size 2048 buffer_size 32768 rate 48000 } bindings { 0 0 1 1 } } pcm.skype { type asym playback.pcm "dmixer" capture.pcm "card0" } pcm.!default { type plug slave.pcm "skype" ------------------ compared to this asound.conf that does not (file 2): # Set default sound card # Useful so that all settings can be changed to a different card here. pcm.snd_card { type hw card 0 device 0 } # Allow mixing of multiple output streams to this device pcm.output { type dmix ipc_key 1024 ipc_perm 0660 # Sound for everybody in your group! slave.pcm "snd_card" slave { # This stuff provides some fixes for latency issues. # buffer_size should be set for your audio chipset. period_time 0 period_size 1024 buffer_size 32768 } bindings { 0 0 1 1 } } # Allow reading from the default device. # Also known as record or capture. pcm.input { type dsnoop ipc_key 2048 slave.pcm "snd_card" ## Possible artsd full duplex fix: # slave { # period_time 0 # period_size 1024 # buffer_size 8192 # } bindings { 0 0 1 1 } } # This is what we want as our default device # a fully duplex (read/write) audio device. pcm.duplex { type asym playback.pcm "output" capture.pcm "input" } ################### # CONVERSION PLUG # ################### # Setting the default pcm device allows the conversion # rate to be selected on the fly. # duplex mode allows any alsa enabled app to read/write # to the dmix plug (Fixes a problem with wine). pcm.!default { type plug slave.pcm "duplex" } # Apparently this is wrong (breaks mplayer for me opening the device) #ctl.!default { # type plug # slave.pcm "snd_card" #} ######## # AOSS # ######## # OSS dsp0 device (OSS needs only output support, duplex will break some stuff) pcm.dsp0 { type plug slave.pcm "output" } # OSS control for dsp0 (needed?...this might not be useful) ctl.dsp0 { type plug slave.pcm "snd_card" } # OSS control for dsp0 (default old OSS is mixer0) ctl.mixer0 { type plug slave.pcm "snd_card" } } Can someone tell me why file 2 did not work. I have used it for a long time on NON-USB audio devices. Using file 1 does work now with the usb device. Jerry ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user