Gentoo Archives: gentoo-user

From: Ralph Slooten <axllent@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Alsa question: hw:0,0 - hw:0,1
Date: Sat, 15 Apr 2006 09:39:24
Message-Id: 4440DAED.3080106@gmail.com
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hiya list.
5
6 I've been having issues with my current linux-2.6.14.3 kernel for a
7 while now (random lock-ups etc), and decided about a 2 months ago to try
8 the 2.6.15 branch. While the kernel worked well I did have one issue
9 which I thought was a bug in the kernel and went back to 2.6.14.3,
10 however yesterday while trying the latest stable (2.6.15.5) the same
11 issue remains.
12
13 The "issue" I have, which is most likely easy to solve for those who
14 understand alsa (yeah, I'm a n00b when it comes to alsa, lol), is that
15 my hw:0,0 does not produce sound any more (well it does, but the volume
16 must be at max to hear anything very faintly), and only my hw:0,1 works
17 normally with these later kernels.
18
19 With =< 2.6.14 hw:0,0 and hw:0,1 both work fine, and I guess everything
20 uses hw:0,0 as default. I have a "VIA 82C686A/B, 8233/8235 AC97
21 Controller" (integrated sound card).
22
23 While I have no understanding what the actual difference is of having
24 two devices on one soundcard, I believe it to be possible to set the
25 default for both alsa and oss (emulation) to use the second (hw:0,1),
26 but for the life of me cannot work it out.
27
28 Does anyone have an idea how I can set (system-wide thus in
29 /etc/asound.conf) *everything* to use the hw:0,1 device, including the
30 simple /dev/dsp (OSS) programs (like UT2004 and Skype)?
31
32
33 In my /etc/modules.conf I have:
34 =====================================
35 alias /dev/mixer snd-mixer-oss
36 alias /dev/dsp snd-pcm-oss
37 alias /dev/midi snd-seq-oss
38
39 # Set this to the correct number of cards.
40
41 # --- BEGIN: Generated by ALSACONF, do not edit. ---
42 # --- ALSACONF version 1.0.10 ---
43 alias snd-card-0 snd-via82xx
44 alias sound-slot-0 snd-via82xx
45 # --- END: Generated by ALSACONF, do not edit. ---
46 =====================================
47
48 I tried in my /etc/asound.conf which only helped with xmms which uses
49 the "default" card, however all OSS programs still are using the hw:0,0:
50 =====================================
51 pcm.!default {
52 type hw
53 card 0
54 device 1
55 }
56
57 ctl.!default {
58 type hw
59 card 0
60 device 1
61 }
62 =====================================
63
64 beast sound # ls -l /dev/sound/
65 total 0
66 crw-rw---- 1 root audio 14, 12 Apr 15 11:07 adsp
67 crw-rw---- 1 root audio 14, 4 Apr 15 11:07 audio
68 crw-rw---- 1 root audio 14, 3 Apr 15 11:07 dsp
69 crw-rw---- 1 root audio 14, 0 Apr 15 11:07 mixer
70
71
72 Any pointers as to what the problem might be (very low sound in hw:0,0)
73 and how to switch *everything* to use hw:0,1 if hw:0,0 remains a problem
74 (no cure)?
75
76 Thanks.
77 Greetings,
78 Ralph
79
80 -----BEGIN PGP SIGNATURE-----
81 Version: GnuPG v1.4.2 (GNU/Linux)
82
83 iD8DBQFEQNrtCt0ZF9kLPvYRAobpAJ92Fz0FJ5qAeV6WmRQFrfIVc6y8WwCdEFKg
84 BdSoxlXY0qp9F421n9rMAv8=
85 =5mqw
86 -----END PGP SIGNATURE-----
87 --
88 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Alsa question: hw:0,0 - hw:0,1 Christoph Eckert <ce@×××××××××.de>
Re: [gentoo-user] Alsa question: hw:0,0 - hw:0,1 Christoph Eckert <ce@×××××××××.de>