本体内蔵のUSBカメラが動きません

Linux Mintの初心者向けフォーラム

本体内蔵のUSBカメラが動きません

投稿記事by 定年後の学習者 » 2022年2月13日(日) 19:09

Sony VGN TZ90NSにLMDE 4(debbie)をインストールして使い始めましたが、本体搭載のいくつかのインターフェース、ハードウエアが機能しません
自分なりにネット検索してUbuntu系のOSなら対処方法がありそうなことが記載されていました。またソースをmakeしてインストールするような記載もあったのですが、リンク先のソースにたどり着けませんでした。

動かないハードウエアはMOTION CAMERA(いわゆるWebカメラ:以下webカメラと記載)とSDカードリーダーです。
webカメラはUSB接続されています
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-pci/8p, 480M
|__ Port 6: Dev 2, If 0, Class=Hub, Driver=hub/3p, 480M
|__ Port 2: Dev 5, If 0, Class=Wireless, Driver=btusb, 12M
|__ Port 2: Dev 5, If 1, Class=Wireless, Driver=btusb, 12M
|__ Port 2: Dev 5, If 2, Class=Application Specific Interface, Driver=, 12M
|__ Port 3: Dev 6, If 0, Class=Vendor Specific Class, Driver=, 1.5M
|__ Port 1: Dev 4, If 0, Class=Vendor Specific Class, Driver=, 480M
|__ Port 8: Dev 3, If 0, Class=Video, Driver=, 480M
|__ Port 8: Dev 3, If 1, Class=Video, Driver=, 480M

lsusb -vs001:003の結果が以下です
Bus 001 Device 003: ID 05ca:183a Ricoh Co., Ltd Visual Communication Camera VGP-VCC7 [R5U870]
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x05ca Ricoh Co., Ltd
idProduct 0x183a Visual Communication Camera VGP-VCC7 [R5U870]
bcdDevice 1.00
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x015e
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 14 Video
bFunctionSubClass 3 Video Interface Collection
bFunctionProtocol 0
iFunction 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 1 Video Control
bInterfaceProtocol 0
iInterface 0
VideoControl Interface Descriptor:
bLength 13
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdUVC 1.00
wTotalLength 0x004e
dwClockFrequency 24.000000MHz
bInCollection 1
baInterfaceNr( 0) 1
VideoControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 3
wTerminalType 0x0101 USB Streaming
bAssocTerminal 1
bSourceID 4
iTerminal 0
VideoControl Interface Descriptor:
bLength 26
bDescriptorType 36
bDescriptorSubtype 6 (EXTENSION_UNIT)
bUnitID 4
guidExtensionCode {4441621c-8989-4346-afb3-20f37590304e}
bNumControl 1
bNrPins 1
baSourceID( 0) 2
bControlSize 1
bmControls( 0) 0xff
iExtension 0
VideoControl Interface Descriptor:
bLength 18
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType 0x0201 Camera Sensor
bAssocTerminal 3
iTerminal 0
wObjectiveFocalLengthMin 0
wObjectiveFocalLengthMax 0
wOcularFocalLength 0
bControlSize 3
bmControls 0x00000000
VideoControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 5 (PROCESSING_UNIT)
Warning: Descriptor too short
bUnitID 2
bSourceID 1
wMaxMultiplier 0
bControlSize 3
bmControls 0x0000053f
Brightness
Contrast
Hue
Saturation
Sharpness
Gamma
Backlight Compensation
Power Line Frequency
iProcessing 0
bmVideoStandards 0x00
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 6
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
VideoStreaming Interface Descriptor:
bLength 14
bDescriptorType 36
bDescriptorSubtype 1 (INPUT_HEADER)
bNumFormats 1
wTotalLength 0x00a1
bEndPointAddress 134
bmInfo 1
bTerminalLink 3
bStillCaptureMethod 0
bTriggerSupport 0
bTriggerUsage 0
bControlSize 1
bmaControls( 0) 0
VideoStreaming Interface Descriptor:
bLength 27
bDescriptorType 36
bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED)
bFormatIndex 1
bNumFrameDescriptors 4
guidFormat {32595559-0000-0010-8000-00aa00389b71}
bBitsPerPixel 16
bDefaultFrameIndex 1
bAspectRatioX 0
bAspectRatioY 0
bmInterlaceFlags 0x02
Interlaced stream or variable: No
Fields per frame: 1 fields
Field 1 first: No
Field pattern: Field 1 only
bCopyProtect 0
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 1
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 480
dwMinBitRate 147456000
dwMaxBitRate 147456000
dwMaxVideoFrameBufferSize 614400
dwDefaultFrameInterval 666666
bFrameIntervalType 1
dwFrameInterval( 0) 666666
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 2
bmCapabilities 0x00
Still image unsupported
wWidth 320
wHeight 240
dwMinBitRate 36864000
dwMaxBitRate 36864000
dwMaxVideoFrameBufferSize 153600
dwDefaultFrameInterval 666666
bFrameIntervalType 1
dwFrameInterval( 0) 666666
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 3
bmCapabilities 0x00
Still image unsupported
wWidth 176
wHeight 144
dwMinBitRate 12165120
dwMaxBitRate 12165120
dwMaxVideoFrameBufferSize 50688
dwDefaultFrameInterval 666666
bFrameIntervalType 1
dwFrameInterval( 0) 666666
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 4
bmCapabilities 0x00
Still image unsupported
wWidth 160
wHeight 120
dwMinBitRate 9216000
dwMaxBitRate 9216000
dwMaxVideoFrameBufferSize 38400
dwDefaultFrameInterval 666666
bFrameIntervalType 1
dwFrameInterval( 0) 666666
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x13d4 3x 980 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 2
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0364 1x 868 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 3
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0278 1x 632 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 4
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0320 1x 800 bytes
bInterval 1

lsusb -vs001:003の2行目に
Couldn't open device・・・
そのあとに詳細の記載があるのですが初学者の私にはわからないことばかりです

動くようにするにはどうすればよいのかご教示いただけると幸いです
ネットでは『r5u870』のドライバーを入れれば解決するような記載もありました。
軽い環境にしたいのでDevianベースにしたのでこの環境下で実現したいので是非ご教示いただけると助かります。何卒よろしくおねがいします。
定年後の学習者
前相撲
 
記事: 3
登録日時: 2022年2月13日(日) 18:15

Re: 本体内蔵のUSBカメラが動きません

投稿記事by jpgreengreen » 2022年2月15日(火) 12:11

ライブUSBでのライブ起動でも十分なので、
LMDEではない、より汎用的なLinux MintやUbuntuでも起動してみて試し、
LMDEでは不動だったデバイスが、なんとかすれば通用するものなのかの見通しを持った方が良いかと思います。

また、ドライバーを探す前に以下のようなそもそも観点のチェックはいかがでしたか?
接続している他の周辺機器は一旦最低限にして動作チェックをする
UEFI設定
USBポートを変えてみる。
USBハブは使わない。
最新のカーネルが載った最新バージョンのisoにしてみる(LTS版でもXX.04.Y がある)
違う系統のLinuxライブUSBでチェックしてみる
USBポートが2.0の場合、デバイスは2.0対応か(3.0の場合も同様に)
jpgreengreen
三段目
 
記事: 35
登録日時: 2020年10月05日(月) 08:29

Re: 本体内蔵のUSBカメラが動きません

投稿記事by 定年後の学習者 » 2022年2月15日(火) 22:03

jpgreengreen様

ご連絡いただきありがとうございます。
この機体はWindows10⇒Ubuntu⇒Windows10⇒Debian11 KDE⇒Windows10⇒MX Linux XFce⇒Windows10⇒Linux Mint LMDE4と様々なディストリビューションで動作させています。
残念ながらどのディストリビューションでもカメラは起動せず、Windows10では動作しますがDebianベースのLinuxでは動作しません。
RedHat系例えばFedraなどは試していません。商用OSのTest versionのような位置づけにあるOSでは初学者には理解できないことが起きても全く対処できないと思い最初から試してはいません。

ちなみにUSBは2.0で、3.xではありません。

また、デバイスを少しづつ外して確認する方法がわかりません。少し勉強しなければなりません。
よろしければなにか良いサイトや書籍をご紹介いただけると助かります。

追伸:フォーラムに書き込んだあと、ネットでドライバーが見つかったので、インストールまで行いました。
   ただ、ドライバーと本体が紐ついていないので、まだ宝の持ち腐れです。
   もう少し自分なりにチャレンジしてみます。
   ありがとうございました。とはいえ、本文記載の参考サイトや書籍などをご紹介いただけると幸いです
定年後の学習者
前相撲
 
記事: 3
登録日時: 2022年2月13日(日) 18:15

Re: 本体内蔵のUSBカメラが動きません

投稿記事by jpgreengreen » 2022年2月16日(水) 05:21

定年後の学習者 さんが書きました:ちなみにUSBは2.0で、3.xではありません。

そのカメラは2.0に下位互換はありますか?
一般的に下位互換があるのは、ポート側の事であり、末端デバイス側は末端デバイス次第です。誤解されがち。

定年後の学習者 さんが書きました:また、デバイスを少しづつ外して確認する方法がわかりません。少し勉強しなければなりません。
よろしければなにか良いサイトや書籍をご紹介いただけると助かります。

逆です。一旦最小限にしてから、徐々に接続を増やし原因を探ります。
ノートPCならBiosの設定で接続デバイスの元栓を調整できます。
jpgreengreen
三段目
 
記事: 35
登録日時: 2020年10月05日(月) 08:29

Re: 本体内蔵のUSBカメラが動きません

投稿記事by 定年後の学習者 » 2022年2月16日(水) 21:05

jpgreengreen様

アドバイスありがとうございます。
さて、学習者ではありますがドライバーがあるかどうかやIDとドライバーが紐づけされるかどうかなどが知りたく
前回のお返事をさせていただいてからも最短解決する方法をいろいろ検索してみました。
すると、本体のLinuxMint Forumsにまさに同じ状態で、解決されている記事がありました。
Ricoh Camera Driver の質問と、その解決までの経緯の記載があり、途中うまく行かなかった内容は割愛して
うまく行ったことを実行するとしっかり認識し、動きました。

BIOSで最小構成にして阻害要因?なのか動かないものを探すことも必要なのかもしれませんが、PCを根底から
学習するというよりLinuxカーネルの構成をこれからじっくり勉強することにします。

ありがとうございました。
定年後の学習者
前相撲
 
記事: 3
登録日時: 2022年2月13日(日) 18:15


Return to 初心者サポート

オンラインデータ

このフォーラムを閲覧中のユーザー: なし & ゲスト[14人]