USB 内窥镜未被识别为 MTP 设备。如何纠正?

USB 内窥镜未被识别为 MTP 设备。如何纠正?

我新买了一个 USB 内窥镜 (又名“蛇形照相机”),它在朋友的 Apple Mac 上运行良好,但在我运行 14.04 的戴尔笔记本电脑上却无法使用。

内窥镜被识别为以下设备:

$ ls -l /dev/video*
crw-rw----+ 1 root video 81, 0 Sep 18 21:05 /dev/video0
crw-rw----+ 1 root video 81, 1 Sep 18 22:11 /dev/video1

(第一个设备是笔记本电脑的内置网络摄像头)

Cheese 和 GTK UVC 查看器都无法“看到”内窥镜,问题似乎在于它不被视为 MTP 设备:-

mtp-probe: bus: 1, device: 8 was not an MTP device

查看了各种论坛和报告后,似乎 MTP 软件需要知道设备 ID。对吗?如何安排?

最后,是否可以使用除了 MTP 之外的其他东西,它似乎偏向于音乐设备?

按照要求:-

$ lsusb
Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 004: ID 0c45:64ad Microdia 
Bus 001 Device 009: ID 090c:f37d Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) 
Bus 001 Device 003: ID 046d:c016 Logitech, Inc. Optical Wheel Mouse
Bus 001 Device 002: ID 8087:07e6 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

我已经安装了 mtp-tools 套件,并从 mtp-detect 获得以下内容:-

~$ mtp-detect
Unable to open ~/.mtpz-data for reading, MTPZ disabled.libmtp version: 1.1.6

Listing raw device(s)
   No raw devices found.

此外,我在 Xorg 日志中发现以下内容可能相关:-

[   444.521] (II) config/udev: Adding input device HD Endoscope Camera (/dev/input/event11)
[   444.521] (**) HD Endoscope Camera: Applying InputClass "evdev keyboard catchall"
[   444.522] (II) Using input driver 'evdev' for 'HD Endoscope Camera'
[   444.522] (**) HD Endoscope Camera: always reports core events
[   444.522] (**) evdev: HD Endoscope Camera: Device: "/dev/input/event11"
[   444.522] (--) evdev: HD Endoscope Camera: Vendor 0x90c Product 0xf37d
[   444.522] (--) evdev: HD Endoscope Camera: Found keys
[   444.522] (II) evdev: HD Endoscope Camera: Configuring as keyboard
[   444.522] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2/1-1.2:1.0/input/input12/event11"
[   444.522] (II) XINPUT: Adding extended input device "HD Endoscope Camera" (type: KEYBOARD, id 14)
[   444.522] (**) Option "xkb_rules" "evdev"
[   444.522] (**) Option "xkb_model" "pc105"
[   444.522] (**) Option "xkb_layout" "gb"
[   444.537] (II) XKB: reuse xkmfile /var/lib/xkb/server-B8CD4FE5A1833D7AB4B402792017A55B628FCF2D.xkm

Ubuntu 肯定不应该将内窥镜视为键盘吗?或者这是某种默认设置,因为它没有被识别为 mtp 设备?

jmtpfs 的输出:-

$ jmtpfs -l
Unable to open ~/.mtpz-data for reading, MTPZ disabled.Available devices  (busLocation, devNum, productId, vendorId, product, vendor):

答案1

这不是答案,但可能会对你有所帮助。阅读以下man页面:

jmtpfs (1)           - FUSE based filesystem for accessing MTP devices
             from package jmtpfs
mtp-server (1)       - A simple MTP server implementation
                 from package mtp-server
mtp_basic (3)        - The basic device management API.
mtp_internals (3)    - The libmtp internals API.
                 from package libmtp-doc
qlix (1)             - Manage MTP devices
             from package qlix

相关内容