You are not logged in.
Pages: 1
In trying to get my MIDI keyboard to play in Rosegarden, ALSA stopped working like it used to. I used a USB MIDI cable to connect my MIDI controller to my computer.
Looks as if snd-usb-audio is now card 0. To make a long story short, finally got sound to work by creating a /etc/asound.conf
pcm.!default {
type hw
card 1
}
ctl.!default {
type hw
card 1
}
Everything seems to be working fine except for flash, which I'm using nspluginwrapper. Tried reinstalling nspluginwrapper and nspluginwrapper-flash, still no sound. I'm at a loss. Here's some pertinent info:
> lsmod | grep '^snd'
snd_seq_midi 7744 2
snd_seq_oss 33408 0
snd_seq_midi_event 7936 2 snd_seq_midi,snd_seq_oss
snd_seq 55936 5 snd_seq_midi,snd_seq_oss,snd_seq_midi_event
snd_mpu401 8744 2
snd_mpu401_uart 8576 1 snd_mpu401
snd_pcm_oss 42400 0
snd_mixer_oss 17024 2 snd_pcm_oss
snd_intel8x0 34600 0
snd_ac97_codec 117848 1 snd_intel8x0
snd_usb_audio 92192 1
snd_pcm 82312 4 snd_pcm_oss,snd_intel8x0,snd_ac97_codec,snd_usb_audio
snd_timer 22536 2 snd_seq,snd_pcm
snd_page_alloc 9232 2 snd_intel8x0,snd_pcm
snd_usb_lib 17664 1 snd_usb_audio
snd_rawmidi 23328 3 snd_seq_midi,snd_mpu401_uart,snd_usb_lib
snd_seq_device 7956 4 snd_seq_midi,snd_seq_oss,snd_seq,snd_rawmidi
snd_hwdep 9096 1 snd_usb_audio
snd 57320 14 snd_seq_oss,snd_seq,snd_mpu401,snd_mpu401_uart,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_usb_audio,snd_pcm,snd_timer,snd_rawmidi,snd_seq_device,snd_hwdep
> aplay -L
front:CARD=U0x46d0x8da,DEV=0
USB Device 0x46d:0x8da, USB Audio
Front speakers
surround40:CARD=U0x46d0x8da,DEV=0
USB Device 0x46d:0x8da, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=U0x46d0x8da,DEV=0
USB Device 0x46d:0x8da, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=U0x46d0x8da,DEV=0
USB Device 0x46d:0x8da, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=U0x46d0x8da,DEV=0
USB Device 0x46d:0x8da, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=U0x46d0x8da,DEV=0
USB Device 0x46d:0x8da, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=U0x46d0x8da,DEV=0
USB Device 0x46d:0x8da, USB Audio
IEC958 (S/PDIF) Digital Audio Output
null
Discard all samples (playback) or generate zero samples (capture)
front:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
Front speakers
surround40:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
4.0 Surround output to Front and Rear speakers
surround41:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=CK804,DEV=0
NVidia CK804, NVidia CK804
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
> ls -lahtr /dev/dsp*
lrwxrwxrwx 1 root root 9 Mar 25 18:18 /dev/dsp -> sound/dsp
lrwxrwxrwx 1 root root 10 Mar 25 18:18 /dev/dsp1 -> sound/dsp1
FIXED
I re-edited my /etc/asound.conf:
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dsp1 {
type plug
slave.pcm "dmixer"
}
pcm.dsp0 {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:1,0"
period_time 0
period_size 1024
buffer_size 8192
rate 48000 #many new cards are 48000 only
}
bindings {
0 0
1 1
}
}
ctl.dmixer {
type hw
card 1
}
And flash is now working.
Last edited by lnxgrl (2008-03-26 00:14:40)
Offline
Pages: 1