
Ubuntu日本語フォーラム

ログインしていません。
先日、マイクが壊れてUSBマイクを購入してきました。
それでそのマイクをいざ使おうと思ったのですがマイクのきり変え方がわかりません
切り替え方がわからないをは、使うマイクの変更方法がわからないということです
ちなみにそのマイクが認識していないのではと思い端末でlsusbを実行したところしっかりと認識していました。
ちなみに使っているPCは、ゲートウエイの1001jです
わかりにくい説明ですが回答よろしくおねがいします。
オフライン
壊れたマイクもUSB接続でした?
オフライン
以下の2点を教えて下さい。
・お買い求めになったUSBマイクの型番や商品紹介URL
・USBマイクを接続した上で、コマンド「$ lsusb -t;」の出力結果
おそらくVideo4Linuxのバージョンの影響でSkypeでマイクが使えなくなっているのだろうと推察しますが、今提示されている情報だけでは判断つかないです。。。
オフライン
funatogawaさん壊れたマイクは3,5ミリプラグです
オフライン
Mocchiさん今回購入したマイクはPlayStation®EyeのCEJH-15007です。
公式ページはhttp://www.jp.playstation.com/ps3/peripheral/cejh15007.htmlです。
lsusb -t;の執行結果は
you@you-LT-10Q:~$ lsusb -t;
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/8p, 480M
|__ Port 1: Dev 5, If 0, Class=vend., Driver=ov534, 480M
|__ Port 1: Dev 5, If 1, Class=audio, Driver=snd-usb-audio, 480M
|__ Port 1: Dev 5, If 2, Class=audio, Driver=snd-usb-audio, 480M
|__ Port 5: Dev 2, If 0, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
|__ Port 5: Dev 2, If 1, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
です。
オフライン
mjww による投稿:
Mocchiさん今回購入したマイクはPlayStation®EyeのCEJH-15007です。
公式ページはhttp://www.jp.playstation.com/ps3/peripheral/cejh15007.htmlです。
lsusb -t;の実行結果は
you@you-LT-10Q:~$ lsusb -t;
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/8p, 480M
|__ Port 1: Dev 5, If 0, Class=vend., Driver=ov534, 480M
|__ Port 1: Dev 5, If 1, Class=audio, Driver=snd-usb-audio, 480M
|__ Port 1: Dev 5, If 2, Class=audio, Driver=snd-usb-audio, 480M
|__ Port 5: Dev 2, If 0, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
|__ Port 5: Dev 2, If 1, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
です。
オフライン
見たところ、お使いのUSBデバイスに対するドライバーとして、カーネルモジュールがちゃんと割り当てられている感じですね。考え直してみると、video4linuxのバージョンは映像に関して影響するのでした。。。
SkypeはUbuntuの標準状態であればPulseAudioを音声入出力先とするので、skypeを起動後、「サウンドの設定」の「入力」タブでUSBサウンドデバイスを選択してあげれば問題が解決しそうな気がします。「サウンドの設定」はデスクトップ画面の右上のスピーカーアイコンから起動できますので、試してみてください。
オフライン
Mocchiさんすみませんlsusb -t;の実行の時にUSBマイクを接続するのを忘れていました
ちゃんとUSBマイクを接続した結果がこれです。
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/8p, 480M
|__ Port 1: Dev 7, If 0, Class=vend., Driver=ov534, 480M
|__ Port 1: Dev 7, If 1, Class=audio, Driver=snd-usb-audio, 480M
|__ Port 1: Dev 7, If 2, Class=audio, Driver=snd-usb-audio, 480M
|__ Port 5: Dev 2, If 0, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
|__ Port 5: Dev 2, If 1, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
r=uvcvideo, 480M
|__ Port 5: Dev 2, If 1, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
r=uvcvideo, 480M
オフライン
ちょっとよくわからなくなってきたので、仕切り直ししてもいいでしょうか?CEJH-15007を接続した上で、以下の2つのコマンドの出力を教えて下さい。
$ lsusb;
$ lsusb -t;
オフライン
lsusb;と実行した結果がこれです↓
you@you-LT-10Q:~$ lsusb;
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 1415:2000 Nam Tai E&E Products Ltd. or OmniVision Technologies, Inc. Sony Playstation Eye
Bus 001 Device 002: ID 0c45:62c0 Microdia Sonix USB 2.0 Camera
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
そしてlsusb-t;の実行結果がこれです↓
you@you-LT-10Q:~$ lsusb -t;
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/8p, 480M
|__ Port 1: Dev 3, If 0, Class=vend., Driver=ov534, 480M
|__ Port 1: Dev 3, If 1, Class=audio, Driver=snd-usb-audio, 480M
|__ Port 1: Dev 3, If 2, Class=audio, Driver=snd-usb-audio, 480M
|__ Port 5: Dev 2, If 0, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
|__ Port 5: Dev 2, If 1, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
オフライン
mjww による投稿:
Bus 001 Device 003: ID 1415:2000 Nam Tai E&E Products Ltd. or OmniVision Technologies, Inc. Sony Playstation Eye
これが今回使いたいUSBデバイスです。
mjww による投稿:
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/8p, 480M
|__ Port 1: Dev 3, If 0, Class=vend., Driver=ov534, 480M
|__ Port 1: Dev 3, If 1, Class=audio, Driver=snd-usb-audio, 480M
|__ Port 1: Dev 3, If 2, Class=audio, Driver=snd-usb-audio, 480M
これがドライバーの適用状況です。
見たところもう使える状態になっていると思いますので、#8を参考に、入力の切り替えを試してみて下さい。
オフライン
#8を参考にしたのですが「サウンド設定」の「入力」のタブにはInternal Audio Analog Stereoという選択ししかありませんでした
オフライン
mjww による投稿:
#8を参考にしたのですが「サウンド設定」の「入力」のタブにはInternal Audio Analog Stereoという選択ししかありませんでした
わかりました。現状としては以下かなと思います。
1. USBデバイスとしてシステムに認識されている(lsusb)
2. サウンドドライバーがあてがわれている(lsusb -t)
3. PulseAudioサウンドサーバーには認識されていない
2と3の間にもうひとつレイヤーがあるので、そこをチェックしてみたいと思います。以下の2つのコマンドをそれぞれ実行して、その出力を教えて下さい。
$ arecord -l;
$ arecord -L;
オフライン
arecord -l;の実行結果がこれです↓
you@you-LT-10Q:~$ arecord -l;
**** ハードウェアデバイス CAPTURE のリスト ****
カード 0: Intel [HDA Intel], デバイス 0: ALC268 Analog [ALC268 Analog]
サブデバイス: 1/1
サブデバイス #0: subdevice #0
カード 1: CameraB409241 [USB Camera-B4.09.24.1], デバイス 0: USB Audio [USB Audio]
サブデバイス: 1/1
サブデバイス #0: subdevice #0
そしてarecord -L;の実行結果がこれです↓
you@you-LT-10Q:~$ arecord -L;
default
pulse
Playback/recording through the PulseAudio sound server
front:CARD=Intel,DEV=0
HDA Intel, ALC268 Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, ALC268 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, ALC268 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, ALC268 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, ALC268 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, ALC268 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
dmix:CARD=Intel,DEV=0
HDA Intel, ALC268 Analog
Direct sample mixing device
dsnoop:CARD=Intel,DEV=0
HDA Intel, ALC268 Analog
Direct sample snooping device
hw:CARD=Intel,DEV=0
HDA Intel, ALC268 Analog
Direct hardware device without any conversions
plughw:CARD=Intel,DEV=0
HDA Intel, ALC268 Analog
Hardware device with all software conversions
front:CARD=CameraB409241,DEV=0
USB Camera-B4.09.24.1, USB Audio
Front speakers
surround40:CARD=CameraB409241,DEV=0
USB Camera-B4.09.24.1, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=CameraB409241,DEV=0
USB Camera-B4.09.24.1, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=CameraB409241,DEV=0
USB Camera-B4.09.24.1, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=CameraB409241,DEV=0
USB Camera-B4.09.24.1, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=CameraB409241,DEV=0
USB Camera-B4.09.24.1, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=CameraB409241,DEV=0
USB Camera-B4.09.24.1, USB Audio
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=CameraB409241,DEV=0
USB Camera-B4.09.24.1, USB Audio
Direct sample mixing device
dsnoop:CARD=CameraB409241,DEV=0
USB Camera-B4.09.24.1, USB Audio
Direct sample snooping device
hw:CARD=CameraB409241,DEV=0
USB Camera-B4.09.24.1, USB Audio
Direct hardware device without any conversions
plughw:CARD=CameraB409241,DEV=0
USB Camera-B4.09.24.1, USB Audio
Hardware device with all software conversions
オフライン
大丈夫なようですね。
それではこのコマンドの出力を教えて下さい。
$ pacmd list-cards;
オフライン
pacmd list-cards;の実行結果です↓
you@you-LT-10Q:~$ pacmd list-cards;
Welcome to PulseAudio! Use "help" for usage information.
>>> 1 card(s) available.
index: 0
name: <alsa_card.pci-0000_00_1b.0>
driver: <module-alsa-card.c>
owner module: 4
properties:
alsa.card = "0"
alsa.card_name = "HDA Intel"
alsa.long_card_name = "HDA Intel at 0x58540000 irq 45"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "27d8"
device.product.name = "N10/ICH 7 Family High Definition Audio Controller"
device.form_factor = "internal"
device.string = "0"
device.description = "Internal Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
output:analog-stereo: Analog Stereo Output (priority 6000)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060)
input:analog-stereo: Analog Stereo Input (priority 60)
off: オフ (priority 0)
active profile: <output:analog-stereo+input:analog-stereo>
sinks:
alsa_output.pci-0000_00_1b.0.analog-stereo/#0: Internal Audio Analog Stereo
sources:
alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#0: Monitor of Internal Audio Analog Stereo
alsa_input.pci-0000_00_1b.0.analog-stereo/#1: Internal Audio Analog Stereo
オフライン
ここまでの出力を見る限り、システム上で使えるようにはなっているようですが、肝心のPulseAudioが認識してくれてないようですね。
PulseAudioはモジュールによるプラグイン形式でサウンドデバイスを扱うように作られています。おそらく、自動では認識されないUSBデバイスをお使いなのでしょう。
Loadable Modules @ pulseaudio.org
というわけで、強制的にモジュールをロードしてPulseAudioに認識させてみたいと思います。USBデバイスをつないだ上で、以下のコマンドを実行して下さい。
$ pacmd load-module module-alsa-card device_id=CameraB409241;
device_idは先のarecordの出力を参照しました。正攻法はファイル「/proc/asound/card」からカード名を調べます。
これでおそらくPulseAudioがお使いのUSBを認識するようになると思いますので、「サウンドの設定」のタブ「ハードウェア」でUSBデバイスに適用するプロファイルを指定し、タブ「入力」でUSBデバイスを指定して下さい。そこから先は、このスレッドの#3でfunatogawaさんが紹介して下さったURLが参考になるかと思います。
もし認識されないようであれば、その旨、教えて下さい。
オフライン
mjww による投稿:
サウンド設定の中にハードウェアのタブがないのですが?
これはプラグインをロードするしないに関わらず、常に表示されてなかったりしますでしょうか?
オフライン
mjww による投稿:
はい常時表示されていません
申し訳ないのですが、こういうケースのトラブルは初めてです。。。何かご自身で設定など変更されたりしたでしょうか?もしくは何か特別なパッケージをインストールされたとかありませんでしょうか?
オフライン
申し訳ありませんハードウェアのタブは見落としていただけでサウンド設定の中にちゃんと表示されていました
それで次の疑問なんですがpacmd load-module module-alsa-card device_id=CameraB409241;を実行してもハードウェアのタブにも入力のタブにも変化はありませんでした
オフライン
mjww による投稿:
それで次の疑問なんですがpacmd load-module module-alsa-card device_id=CameraB409241;を実行してもハードウェアのタブにも入力のタブにも変化はありませんでした
そうでしたか。。。どうも何らかの理由で、PulseAudioからこのサウンドデバイスを使うことはできないようです。
ログに何か情報が残っているかもしれませんので、「ログ・ビュアー」(gnome-system-log)で探してみると、思わぬヒントが得られるかもしれません。
オフライン
gnome-system-logを見てみるとこの使おうとしているUSBマイクは無効な引数だそうです
pacmd load-module module-alsa-card device_id=CameraB409241;を実行してから見てみても同じ結果でした
オフライン