Gentoo Archives: gentoo-sparc

From: "张韡武" <zhangweiwu@××××××.com>
To: gentoo-sparc@l.g.o
Subject: [gentoo-sparc] alsa sound do not work on Ultrasparc 5
Date: Mon, 18 Dec 2006 14:43:12
Message-Id: 1166452976.28017.24.camel@joe.realss.com
1 * To be straightforward: System behaviour:
2
3 sappho # amixer
4 amixer: Mixer attach default error: No such file or directory
5 sappho # mpg321 -o alsa 1.Allegro.mp3
6 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
7 Version 0.59q (2002/03/23). Written and copyrights by Joe Drew.
8 Uses code from various people. See 'README' for more!
9 THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
10 Title : Horowitz plays Tchaikovsky & B Artist: Beethoven
11 Album : Tchaikovsky: Concerto No.1/Bee Year : 1990
12 Comment: Horowitz/Reiner/Toscanini Genre : Classical
13
14 Playing MPEG stream from 1.Allegro.mp3 ...
15 MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo
16 ALSA lib confmisc.c:558:(snd_determine_driver) could not open control for card 0
17 ALSA lib conf.c:2712:(snd_config_hooks_call) function snd_config_hook_load_for_all_cards returned error: No such file or directory
18 ALSA lib pcm.c:2014:(snd_pcm_open_conf) Invalid type for PCM default definition (id: default, value: cards.pcm.default)
19 ALSA snd_pcm_open error: Invalid argument
20 Can't find a suitable libao driver. (Is device in use?)
21
22
23 What I have tried to get this problem solved:
24
25 == check dmesg ==
26 dmesg shows:
27 [ 26.551490] Advanced Linux Sound Architecture Driver Version
28 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).
29 [ 26.986597] ALSA device list:
30 [ 27.108836] #0: Sun CS4231 at 0x1fff1200000, irq 10
31
32 Also
33 sappho snd # dmesg | grep snd
34 [ 5250.225152] I7: <snd_pcm_lib_write_transfer+0x9c/0xc8>
35 [ 5250.225172] Caller[0000000000613078]: snd_pcm_lib_write_transfer+0x9c/0xc8
36 [ 5250.225204] Caller[00000000006133a4]: snd_pcm_lib_write1+0x300/0x43c
37 [ 5250.225235] Caller[0000000010026750]: snd_pcm_oss_sync+0x170/0x27c [snd_pcm_oss]
38 [ 5250.225307] Caller[00000000100271e4]: snd_pcm_oss_release+0x24/0x9c [snd_pcm_oss]
39
40
41 == check /etc/dev ==
42 No node with major ID = 116 exist in /etc/dev/
43
44 Try:
45 sappho /dev # MAKEDEV
46 no new node with major ID 116 created;
47 try
48 sappho /dev # MAKEDEV update
49 /usr/sbin/MAKEDEV: don't know what "alsa" is
50 /usr/sbin/MAKEDEV: don't know what "usb_device" is
51
52 My uname -a
53 sappho dev # uname -a
54 Linux sappho.realss.com 2.6.18-gentoo-r3 #11 Sun Dec 17 07:14:29 HKT
55 2006 sparc64 sun4u TI UltraSparc IIi (Sabre) GNU/Linux
56
57 Please point out my mistake. Thanks a lot!

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-sparc] alsa sound do not work on Ultrasparc 5 Will Simoneau <simoneau@×××××××.edu>