Solved : /dev/snd/pcmC0D0p and /var/run/screen disappeared after reboot/kernel upgrade

Henk Postma henkpm at
Tue Jul 27 02:25:39 UTC 2010

On Sun, Jul 25, 2010 at 10:25 PM, Henk Postma <henkpm at> wrote:
>> "running ktorrent" is misnomer as "running ktorrent" doesn't mean
>> literally running it, running == installed, so in theory, it means this
>> can happen if you have ktorrent installed.  I would switch to
>> transmission anyways, it's tons of fun better, or utorrent, they have a
>> Linux build now, yes?
> Yeah I uninstalled it but it didn't make any difference. The link I
> found though talked explicitly about _running_, not just having it
> installed:
> Now I'm thinking the default ALSA output device has changed.
> /dev/snd/pcmC0D0p means it's trying to playback to device 0, which is
> actually the video tuner card. When I force mplayer to output to the
> right hardware device, mplayer works. Now I need to change the default
> alsa device so mythfrontend will pick it up as well.

Ok, notes for posterity:

my alsa cards look like (according to cat /proc/asound/cards):

 0 [SAA7134_1      ]: SAA7134 - SAA7134
                      saa7133[1] at 0xfe9ff000 irq 16
 1 [SAA7134        ]: SAA7134 - SAA7134
                      saa7133[0] at 0xfe9ff800 irq 17
 2 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfe8f8000 irq 23

The first two are tuner cards, the 3rd one (ID 2) is the actual audio card

So I created a file /etc/asound.conf with in it:

pcm.!default {
    type hw
    card 2
    device 0

That made sure that alsa:default now points to card 2. Then I
restarted mythfrontend and all is well.

And mplayer picks that up as well, so my videos play too.

I still don't know why the order of the devices has changes, but this
solves the issue.

-- Henk
Dr. Henk W.Ch. Postma, postma at
Assistant Professor, Department of Physics
California State University Northridge
18111 Nordhoff Street, Northridge, CA 91330-8268
phone: 1 818 677 6152, Office 1120C Live Oak Hall
fax: 1 818 677 3234

More information about the ubuntu-users mailing list