[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:24347] Problems with ALSA (potato/Sound Blaster PCI 128 rev07)



渡辺といいます。

potatoでALSAのインストールに挑戦しております。
Sound card: CreativeLabs, Sound Blaster PCI 128(rev 07)です。
( 武藤さんの『改訂版 Debian GNU/Linux 徹底入門 -Potato対応-』で学習しています。 )

本の手順にならい、
カーネルを再構築し、ALSAモジュール(alsa-base0.4.li-5)のインストールを行いました。

初歩的な質問かも知れませんが、よろしくお願い致します。

---
$ gmix
/dev/dsp: 許可がありません

** ERROR **: No mixers found.
aborting...
中断しました

window>No mixers found.
window>Make sure you have sound support compiled into the kernel.

# gmix
Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server

Gtk-WARNING **: cannot open display: :0.0

---
$ cat /proc/asound/cards
0 [CARD_1         ]: AudioPCI - Ensoniq AudioPCI

---
 $ cat /proc/asound/sndstat
Sound Driver:3.8.1a-980706 (ALSA v0.4.1i emulation code)
Kernel: Linux cuv4x 2.2.17 #1 SMP Thu Oct 5 14:25:08 JST 2000 i686
Config options: 0

Installed drivers: 
Type 10: ALSA emulation

Card config: 
Ensoniq AudioPCI ES1371 at 0xa400, irq 10

Audio devices:
0: ES1371 DAC2/ADC (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices:
0: ES1371

Timers:
7: system timer

Mixers: NOT ENABLED IN CONFIG
                    Ensoniq AudioPCI ES1371 at 0xa400, irq 10
---
$ dmesg
[snip]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec read timeout at 0xa414 [0x40000000]
snd: es1371: codec read timeout at 0xa414 [0x40000000]
snd: es1371: codec read timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec read timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec read timeout at 0xa414 [0x40000000]
snd: es1371: codec read timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec read timeout at 0xa414 [0x40000000]
snd: es1371: codec read timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec read timeout at 0xa414 [0x40000000]
snd: es1371: codec read timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec read timeout at 0xa414 [0x40000000]
snd: es1371: codec read timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec read timeout at 0xa414 [0x40000000]
snd: es1371: codec read timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec read timeout at 0xa414 [0x40000000]
snd: es1371: codec read timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec read timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec read timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec read timeout at 0xa414 [0x40000000]
snd: es1371: codec read timeout at 0xa414 [0x40000000]
snd: es1371: codec read timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec read timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]
snd: es1371: codec write timeout at 0xa414 [0x40000000]

---
$ more /etc/modutils/alsa

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 0.4.2 ---
alias char-major-116 snd
alias snd-card-0 snd-card-ens1371
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm1-oss
alias sound-service-0-12 snd-pcm1-oss
options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0660 snd_device_gid=
29 snd_device_uid=0
options snd-card-ens1371 snd_index=1 snd_id=CARD_1 snd_dac1_frame_size=128 snd_d
ac2_frame_size=128 snd_adc_frame_size=128
# --- END: Generated by ALSACONF, do not edit. ---

---
$ more /etc/modules.conf
[snip]

### update-modules: start processing /etc/modutils/alsa

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 0.4.2 ---
alias char-major-116 snd
alias snd-card-0 snd-card-ens1371
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm1-oss
alias sound-service-0-12 snd-pcm1-oss
options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0660 snd_device_gid=
29 snd_device_uid=0
options snd-card-ens1371 snd_index=1 snd_id=CARD_1 snd_dac1_frame_size=128 snd_d
ac2_frame_size=128 snd_adc_frame_size=128
# --- END: Generated by ALSACONF, do not edit. ---

[snip]

---
$ /sbin/lsmod
Module                  Size  Used by
snd-pcm1-oss           13960   0 (autoclean)
snd-card-ens1371        2576   0
snd-seq-device          3428   1 [snd-card-ens1371]
snd-ens1371             8144   0 [snd-card-ens1371]
snd-pcm1               17724   0 [snd-pcm1-oss snd-ens1371]
snd-timer               8540   0 [snd-pcm1]
snd-ac97-codec         20480   0 [snd-ens1371]
snd-mixer              25152   0 [snd-card-ens1371 snd-ac97-codec]
snd-midi               13708   0 [snd-card-ens1371 snd-ens1371]
snd-pcm                 8972   0 [snd-pcm1-oss snd-card-ens1371 snd-pcm1]
snd                    34368   1 [snd-pcm1-oss snd-card-ens1371 snd-seq-device snd-ens1371 snd-pcm1 snd-timer snd-ac97-codec snd-mixer snd-midi snd-pcm]

---
さらに、
次のようなメッセージが出るということは、
libasound0.4-devのインストールに失敗していたということですか?

(抜粋:)Document `libasound0.4-dev' is not installed, cannot remove.

# apt-get --purge remove alsa-base
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  alsa-base* alsa-modules-2.2.17* alsaconf* alsautils* libasound0.4* libasound0.4-dev* 
0 packages upgraded, 0 newly installed, 6 to remove and 1 not upgraded.
Need to get 0B of archives. After unpacking 1232kB will be freed.
Do you want to continue? [Y/n] 
(データベースを読み込んでいます... 現在 38609 個のファイルとディレクトリがインストールされています。)
alsa-modules-2.2.17 を削除しています...
Shutting down sound driver: done.
libasound0.4-dev を削除しています...
Document `libasound0.4-dev' is not installed, cannot remove.
alsautils を削除しています...
libasound0.4 を削除しています...
alsaconf を削除しています...
alsaconf の設定ファイルを削除しています...
alsa-base を削除しています...
ALSA driver isn't running.
alsa-base の設定ファイルを削除しています...

---
alsa-base0.5.8b-2
---

この前に、Tettei selection source-2のalsa0.5.8b-2を試したのですが、
libasound0.4-devのインストールに失敗したので、alsa0.4の方にしました。

alsa-base0.5.8b-2での試みは次の通りです。

まず、libasound0.5-devのインストールはできません。
パッケージが存在しないようです。

# apt-get install libasound0.5-dev
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package libasound0.5-dev

# apt-get install libasound0.4-dev
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

Sorry, but the following packages have unmet dependencies:
  libasound0.4-dev: Depends: libasound0.4 but it is not going to be installed
                    Depends: alsa-headers (< 0.5) but 0.5.8b-2 is to be installed
E: Sorry, broken packages

# apt-get install libasound0.4
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

Sorry, but the following packages have unmet dependencies:
  libasound0.4: Depends: alsa-base (< 0.5) but 0.5.8b-2 is to be installed
E: Sorry, broken packages

# apt-cache show alsa-base | more
Package: alsa-base
Version: 0.5.8b-2
Priority: extra
Section: sound
Maintainer: Masato Taruishi <taru@debian.org>
Depends: lsof-2.2, procps, awk, modutils
Suggests: alsadriver, alsa-utils, alsaconf
Conflicts: alsa-base-0.4, alsa-modules, modutils (<< 2.3.5), alsaconf (<< 0.4.3), alsaconf-0.4
Replaces: alsa-modules, alsa-base-0.4
Architecture: all
Filename: ./alsa-base_0.5.8b-2.deb
Size: 21658
MD5sum: d07930c20e5dad64f61073278318a318
Description: ALSA driver common files
 ALSA is an effort to create a modules sound system for Linux,
 while maintaining full compatibility with OSS/Lite.
 .
 This package contains common files to be used on ALSA such as
 the scripts used to load and unload the modules at boot time.
 In addition, this package is for mutex control between several
 ALSA versions.
installed-size: 49
source: alsa-driver

Package: alsa-base
Version: 0.4.1i-5
Priority: extra
Section: sound
Maintainer: Masato Taruishi <taru@debian.org>
Depends: makedev (>= 2.3.1-24)
Recommends: modutils
Suggests: alsadriver, alsautils, alsaconf, modutils
Conflicts: alsa-modules, modutils (<< 2.3.5)
Replaces: alsa-modules
Architecture: all
Filename: dists/potato/main/binary-i386/sound/alsa-base_0.4.1i-5.deb
Size: 50378
MD5sum: b4d2f0a8a8bb10da90cd0eebffdc8ed6
Description: ALSA driver common files
 ALSA is an effort to create a modules sound system for Linux,
 while maintaining full compatibility with OSS/Lite.
 .
 This package contains common files to be used on ALSA such as
 the scripts used to load and unload the modules at boot time.
 To configure ALSA easily, install alsaconf.
 To save/restore ALSA card configurations, install alsautils.
source: alsadriver
installed-size: 208

---
私は、alsa0.4で引続きインストール作業を行うつもりでいますが、
仮に、alsa-base0.5で、行う方が推奨されている場合、
libasound0.5は、必要でしょうか? どのように入手可能でしょうか?

Tettei selection source-2をapt-setupで読み込んでも無いようですが。

FTPの「unstable」以下にも、libasound0.4_0.4.1e-8.deb
しか見つけられませんでした。

------------
その他の情報
------------

$ /sbin/lspci
[snip]
00:0e.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 07)
[snip]

$ /sbin/lspci -n
[snip]
00:0e.0 Class 0401: 1274:1371 (rev 07)
[snip]