From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-136714-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1SALEI-0001xF-4S
	for garchives@archives.gentoo.org; Wed, 21 Mar 2012 13:05:30 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id AE72EE08D1;
	Wed, 21 Mar 2012 13:05:15 +0000 (UTC)
Received: from mail.muc.de (colin.muc.de [193.149.48.1])
	by pigeon.gentoo.org (Postfix) with ESMTP id C6D49E0859
	for <gentoo-user@lists.gentoo.org>; Wed, 21 Mar 2012 13:03:57 +0000 (UTC)
Received: (qmail 52478 invoked by uid 3782); 21 Mar 2012 13:03:56 -0000
Received: from acm.muc.de (pD951B9A6.dip.t-dialin.net [217.81.185.166]) by
	colin.muc.de (tmda-ofmipd) with ESMTP;
	Wed, 21 Mar 2012 14:03:54 +0100
Received: (qmail 3149 invoked by uid 1000); 21 Mar 2012 13:02:47 -0000
Date: Wed, 21 Mar 2012 13:02:47 +0000
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] mdev: sound is only working some of the time.
Message-ID: <20120321130247.GA3112@acm.acm>
References: <20120320223107.GA2961@acm.acm>
	<CAA2qdGV0NhcdtOigWHq99rKneYgfSUCH1oJ_v6mNf-a=RCUu4w@mail.gmail.com>
	<20120321111727.GB15011@acm.acm>
	<CAA2qdGV3D+xzNz7eb_4XpVQ9wH8wh5fQrN1WsaGNdExHhaQ7YQ@mail.gmail.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAA2qdGV3D+xzNz7eb_4XpVQ9wH8wh5fQrN1WsaGNdExHhaQ7YQ@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Delivery-Agent: TMDA/1.1.12 (Macallan)
From: Alan Mackenzie <acm@muc.de>
X-Primary-Address: acm@muc.de
X-Archives-Salt: 4fa3ff56-90b2-4acb-a1c4-ce3401cd6bcb
X-Archives-Hash: c572f977e6fc6d8d5ef240dfcaf7ec7f

On Wed, Mar 21, 2012 at 07:49:02PM +0700, Pandu Poluan wrote:
> On Mar 21, 2012 6:22 PM, "Alan Mackenzie" <acm@muc.de> wrote:

> > Hello, Pandu.

> > On Wed, Mar 21, 2012 at 07:35:14AM +0700, Pandu Poluan wrote:
> > > On Mar 21, 2012 5:36 AM, "Alan Mackenzie" <acm@muc.de> wrote:

> > > > Hi, all.

> > > > Got a problem with my system running under mdev.  When I try to
> > > > play CDs (with aqualung feeding into PulseAudio), no sound comes
> > > > out.  However, when I listen to an audio section from a newspaper
> > > > page such as www.tagesschau.de (no idea what audio format) it
> > > > works.

> > > > Clearly this is something to do with mdev.  I had a look at the
> > > > devices in /dev, searching for those in group audio.  Under udev,
> > > > I find the following as device nodes:

> > > > adsp audio dsp mixer mixer1 sequencer sequencer2.

> > > > Under mdev, all of these bar one are symlinks into the real nodes
> > > > in a subdirectory.  The odd man out is mixer1 which is a device
> > > > node, but with owner/group begin root/root (rather than
> > > > root/audio).

> > > > Can anybody suggest any fix, or further areas of exploration?
> > > > Thanks!


> > > That's indicative that it's the kernel doing the populating (that
> > > is, everything belongs to root:root).

> > No, it was just that one device belonging to root:root.  This is
> > mysterious indeed.

> > > That means, mdev hasn't got the chance to 'restructure' the /dev
> > > directory (that is, rename and/or move and/or chown devices).

> > > Does 'mdev -s' exist in your /sbin/linuxrc? Can you post your
> > > linuxrc here?

> > mdev -s wasn't in my /sbin/linuxrc.  It is now.  It hasn't made any
> > difference to that wayward device.

> > As I said to Walt, I've solved the problem by turfing out pulseaudio.


> Strange...

> Do you use mdev to handle hotplugs, btw?

You mean, like sticking in a USB stick, or turning my printer on?  Yes, I
do.

> Rgds,

-- 
Alan Mackenzie (Nuremberg, Germany).