
Ubuntu日本語フォーラム

ログインしていません。
ubuntu 11.10(Amd64)でRoland UA-100をUSBで接続しようとしました。
ところが、ubuntu 11.04(Amd64)では認識されていたのにもかかわらず、サウンド設定のハードウェアに、UA-100が表示されない問題が発生しました。
同じUSB接続のEDIROL SD-90ならサウンド設定のハードウェアに表示され使用することができます。
何か、解決方法がございましたら、ご教示をお願いします。
オフライン
ima による投稿:
サウンド設定のハードウェアに、UA-100が表示されない問題が発生しました。
これはPulseAudioが、サウンドデバイスを見つけることができないために発生します。今回の場合、PulseAudioはUbuntu標準のサウンドサブシステムであるALSAが認識しているサウンドデバイスに対して接続を試みるわけなのですが、どちらかにトラブルがあるようですね。
まず、ALSAがお使いのサウンドデバイスを認識できているのかどうか確認してみたいと思います。以下のコマンドの出力結果を教えて下さい。
$ cat /proc/asound/cards;
私の場合は、こんな感じの出力となります。ALSAが、マザーボードのサウンドデバイスとUSB接続のサウンドデバイスを認識できていることがわかります。
$ cat /proc/asound/cards;
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xfbff4000 irq 54
1 [USB ]: USB-Audio - E-MU 0404 | USB
E-MU Systems, Inc. E-MU 0404 | USB at usb-0000:00:1a.7-4, high speedオフライン
ご返事ありがとうございます。
早速コマンドを実行したところ次の結果が表示されました。
一応、2に表示されているみたいですけど、サウンド設定のハードウェアには相変わらず表示されていない状態です。
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xf3ff8000 irq 54
1 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xf7afc000 irq 17
2 [UA100 ]: USB-Audio - UA-100
Roland UA-100 at usb-0000:00:1d.0-1.3.4.3, full speedオフライン
ALSAサブシステムではちゃんと認識できているようですね。
それでは次に、以下の出力を教えて下さい。ALSAサブシステムが設ける音声出力先です。
$ aplay -L;
オフライン
そうなのですね。仰るとおり$ aplay -L;を実行しました。
表示結果が長くなってしまいました。
default
Playback/recording through the PulseAudio sound server
pulse
Playback/recording through the PulseAudio sound server
front:CARD=Intel,DEV=0
HDA Intel, VT1828S Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, VT1828S Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, VT1828S Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, VT1828S Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, VT1828S Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, VT1828S Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
HDA Intel, VT1828S Digital
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Intel,DEV=0
HDA Intel, VT1828S Analog
Direct sample mixing device
dmix:CARD=Intel,DEV=1
HDA Intel, VT1828S Digital
Direct sample mixing device
dsnoop:CARD=Intel,DEV=0
HDA Intel, VT1828S Analog
Direct sample snooping device
dsnoop:CARD=Intel,DEV=1
HDA Intel, VT1828S Digital
Direct sample snooping device
hw:CARD=Intel,DEV=0
HDA Intel, VT1828S Analog
Direct hardware device without any conversions
hw:CARD=Intel,DEV=1
HDA Intel, VT1828S Digital
Direct hardware device without any conversions
plughw:CARD=Intel,DEV=0
HDA Intel, VT1828S Analog
Hardware device with all software conversions
plughw:CARD=Intel,DEV=1
HDA Intel, VT1828S Digital
Hardware device with all software conversions
hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
HDMI Audio Output
dmix:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample mixing device
dmix:CARD=NVidia,DEV=7
HDA NVidia, HDMI 0
Direct sample mixing device
dmix:CARD=NVidia,DEV=8
HDA NVidia, HDMI 0
Direct sample mixing device
dmix:CARD=NVidia,DEV=9
HDA NVidia, HDMI 0
Direct sample mixing device
dsnoop:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample snooping device
dsnoop:CARD=NVidia,DEV=7
HDA NVidia, HDMI 0
Direct sample snooping device
dsnoop:CARD=NVidia,DEV=8
HDA NVidia, HDMI 0
Direct sample snooping device
dsnoop:CARD=NVidia,DEV=9
HDA NVidia, HDMI 0
Direct sample snooping device
hw:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=7
HDA NVidia, HDMI 0
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=8
HDA NVidia, HDMI 0
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=9
HDA NVidia, HDMI 0
Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=7
HDA NVidia, HDMI 0
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=8
HDA NVidia, HDMI 0
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=9
HDA NVidia, HDMI 0
Hardware device with all software conversions
zero@zero:~$ aplay -L;
default
Playback/recording through the PulseAudio sound server
pulse
Playback/recording through the PulseAudio sound server
front:CARD=Intel,DEV=0
HDA Intel, VT1828S Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, VT1828S Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, VT1828S Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, VT1828S Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, VT1828S Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, VT1828S Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
HDA Intel, VT1828S Digital
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Intel,DEV=0
HDA Intel, VT1828S Analog
Direct sample mixing device
dmix:CARD=Intel,DEV=1
HDA Intel, VT1828S Digital
Direct sample mixing device
dsnoop:CARD=Intel,DEV=0
HDA Intel, VT1828S Analog
Direct sample snooping device
dsnoop:CARD=Intel,DEV=1
HDA Intel, VT1828S Digital
Direct sample snooping device
hw:CARD=Intel,DEV=0
HDA Intel, VT1828S Analog
Direct hardware device without any conversions
hw:CARD=Intel,DEV=1
HDA Intel, VT1828S Digital
Direct hardware device without any conversions
plughw:CARD=Intel,DEV=0
HDA Intel, VT1828S Analog
Hardware device with all software conversions
plughw:CARD=Intel,DEV=1
HDA Intel, VT1828S Digital
Hardware device with all software conversions
hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
HDMI Audio Output
dmix:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample mixing device
dmix:CARD=NVidia,DEV=7
HDA NVidia, HDMI 0
Direct sample mixing device
dmix:CARD=NVidia,DEV=8
HDA NVidia, HDMI 0
Direct sample mixing device
dmix:CARD=NVidia,DEV=9
HDA NVidia, HDMI 0
Direct sample mixing device
dsnoop:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample snooping device
dsnoop:CARD=NVidia,DEV=7
HDA NVidia, HDMI 0
Direct sample snooping device
dsnoop:CARD=NVidia,DEV=8
HDA NVidia, HDMI 0
Direct sample snooping device
dsnoop:CARD=NVidia,DEV=9
HDA NVidia, HDMI 0
Direct sample snooping device
hw:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=7
HDA NVidia, HDMI 0
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=8
HDA NVidia, HDMI 0
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=9
HDA NVidia, HDMI 0
Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=7
HDA NVidia, HDMI 0
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=8
HDA NVidia, HDMI 0
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=9
HDA NVidia, HDMI 0
Hardware device with all software conversions
front:CARD=UA100,DEV=0
UA-100, USB Audio
Front speakers
surround40:CARD=UA100,DEV=0
UA-100, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=UA100,DEV=0
UA-100, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=UA100,DEV=0
UA-100, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=UA100,DEV=0
UA-100, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=UA100,DEV=0
UA-100, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=UA100,DEV=0
UA-100, USB Audio
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=UA100,DEV=0
UA-100, USB Audio
Direct sample mixing device
dsnoop:CARD=UA100,DEV=0
UA-100, USB Audio
Direct sample snooping device
hw:CARD=UA100,DEV=0
UA-100, USB Audio
Direct hardware device without any conversions
plughw:CARD=UA100,DEV=0
UA-100, USB Audio
Hardware device with all software conversionsオフライン
この部分がお使いのUSB接続のサウンドデバイスに対する出力となるようですね。
front:CARD=UA100,DEV=0
UA-100, USB Audio
Front speakers
surround40:CARD=UA100,DEV=0
UA-100, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=UA100,DEV=0
UA-100, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=UA100,DEV=0
UA-100, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=UA100,DEV=0
UA-100, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=UA100,DEV=0
UA-100, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=UA100,DEV=0
UA-100, USB Audio
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=UA100,DEV=0
UA-100, USB Audio
Direct sample mixing device
dsnoop:CARD=UA100,DEV=0
UA-100, USB Audio
Direct sample snooping device
hw:CARD=UA100,DEV=0
UA-100, USB Audio
Direct hardware device without any conversions
plughw:CARD=UA100,DEV=0
UA-100, USB Audio
Hardware device with all software conversionsPulseAudioが、ALSAサブシステムのこれらを音声出力先(PulseAudioではsinkと呼んでいます)として使えるようになれば解決すると思います。
PulseAudioではALSAサブシステムとの接続をモジュール「module-alsa-sink」によって行っています。大抵の場合は自動で有効化されますが、今回は何らかの事情でうまくいってない様子ですので、手動で有効化してみましょう。以下のコマンドを実行してみて下さい。
$ pacmd load-module module-alsa-sink device=hw:UA100,0 sink_properties=device.description=MyUA100;
これで、デスクトップの右上から起動できる「サウンドの設定」のタブ「出力」にUA-100に対する出力(名前は「MyUA100」)が表示されるようになるかと思います。試してみて下さい。
オフライン
どうもありがとうございます。
実行した結果、次のエラーメッセージが表示され入力待ち状態になりました。頭にsudo をつけてじっこうしてみましたけど、それもエラーになってしまいました
$ pacmd load-module module-alsa-sink device=hw:UA100,0 sink_properties=device.description=MyUA100; Welcome to PulseAudio! Use "help" for usage information. >>> Module load failed. >>> zero@zero:~$ ^C $ sudo pacmd load-module module-alsa-sink device=hw:UA100,0 sink_properties=device.description=MyUA100; Home directory /home/zero not ours. PulseAudio デーモン自身が稼働していないか、又はセッションデーモンとして稼働していません。
オフライン
ima による投稿:
頭にsudo をつけてじっこうしてみましたけど、それもエラーになってしまいました
sudoを付けた場合rootが実行しているとみなされますが、PulseAudioデーモンはログイン時にログインユーザーが実行しているため、こういうエラーとなります。
Ima による投稿:
$ pacmd load-module module-alsa-sink device=hw:UA100,0 sink_properties=device.description=MyUA100;
Welcome to PulseAudio! Use "help" for usage information.
>>> Module load failed.
うーん。失敗するときっとログが記録されると思いますので、コマンド「$ dmesg」でログを見てみていただけますか?
オフライン
素早いご返事ありがとうございます!
$ dmesgを実行した結果について、表示結果をすべて掲載しきれないため、最後の20件を掲載いたします。次のようなメッセージが100件以上続いていました。
[ 88.741659] 7:1:1: usb_set_interface failed [ 88.742066] 7:1:1: usb_set_interface failed [ 88.742311] 7:1:1: usb_set_interface failed [ 88.742682] 7:1:1: usb_set_interface failed [ 88.743181] 7:1:1: usb_set_interface failed [ 88.743906] 7:1:1: usb_set_interface failed [ 88.744147] 7:1:1: usb_set_interface failed [ 88.744395] 7:1:1: usb_set_interface failed [ 88.744771] 7:1:1: usb_set_interface failed [ 88.745175] 7:1:1: usb_set_interface failed [ 88.746044] 7:1:1: usb_set_interface failed [ 88.746302] 7:1:1: usb_set_interface failed [ 88.746675] 7:1:1: usb_set_interface failed [ 88.747140] 7:1:1: usb_set_interface failed [ 88.747638] 7:1:1: usb_set_interface failed [ 88.748892] 7:1:1: usb_set_interface failed [ 88.749165] 7:1:1: usb_set_interface failed [ 88.749535] 7:1:1: usb_set_interface failed [ 88.750042] 7:1:1: usb_set_interface failed [ 88.750545] 7:1:1: usb_set_interface failed
オフライン