Gentoo Archives: gentoo-user

From: Alan Mackenzie <acm@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] mdev: sound is only working some of the time.
Date: Wed, 21 Mar 2012 13:05:30
Message-Id: 20120321130247.GA3112@acm.acm
In Reply to: Re: [gentoo-user] mdev: sound is only working some of the time. by Pandu Poluan
1 On Wed, Mar 21, 2012 at 07:49:02PM +0700, Pandu Poluan wrote:
2 > On Mar 21, 2012 6:22 PM, "Alan Mackenzie" <acm@×××.de> wrote:
3
4 > > Hello, Pandu.
5
6 > > On Wed, Mar 21, 2012 at 07:35:14AM +0700, Pandu Poluan wrote:
7 > > > On Mar 21, 2012 5:36 AM, "Alan Mackenzie" <acm@×××.de> wrote:
8
9 > > > > Hi, all.
10
11 > > > > Got a problem with my system running under mdev. When I try to
12 > > > > play CDs (with aqualung feeding into PulseAudio), no sound comes
13 > > > > out. However, when I listen to an audio section from a newspaper
14 > > > > page such as www.tagesschau.de (no idea what audio format) it
15 > > > > works.
16
17 > > > > Clearly this is something to do with mdev. I had a look at the
18 > > > > devices in /dev, searching for those in group audio. Under udev,
19 > > > > I find the following as device nodes:
20
21 > > > > adsp audio dsp mixer mixer1 sequencer sequencer2.
22
23 > > > > Under mdev, all of these bar one are symlinks into the real nodes
24 > > > > in a subdirectory. The odd man out is mixer1 which is a device
25 > > > > node, but with owner/group begin root/root (rather than
26 > > > > root/audio).
27
28 > > > > Can anybody suggest any fix, or further areas of exploration?
29 > > > > Thanks!
30
31
32 > > > That's indicative that it's the kernel doing the populating (that
33 > > > is, everything belongs to root:root).
34
35 > > No, it was just that one device belonging to root:root. This is
36 > > mysterious indeed.
37
38 > > > That means, mdev hasn't got the chance to 'restructure' the /dev
39 > > > directory (that is, rename and/or move and/or chown devices).
40
41 > > > Does 'mdev -s' exist in your /sbin/linuxrc? Can you post your
42 > > > linuxrc here?
43
44 > > mdev -s wasn't in my /sbin/linuxrc. It is now. It hasn't made any
45 > > difference to that wayward device.
46
47 > > As I said to Walt, I've solved the problem by turfing out pulseaudio.
48
49
50 > Strange...
51
52 > Do you use mdev to handle hotplugs, btw?
53
54 You mean, like sticking in a USB stick, or turning my printer on? Yes, I
55 do.
56
57 > Rgds,
58
59 --
60 Alan Mackenzie (Nuremberg, Germany).

Replies

Subject Author
Re: [gentoo-user] mdev: sound is only working some of the time. Pandu Poluan <pandu@××××××.info>
Re: [gentoo-user] mdev: sound is only working some of the time. Pandu Poluan <pandu@××××××.info>