首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何为正确的应用安装数码相机?

如何为正确的应用安装数码相机?
EN

Ask Ubuntu用户
提问于 2010-09-10 17:54:04
回答 2查看 6.7K关注 0票数 6

每当我插入数码相机时,就会弹出一个很好的媒体图标。太棒了!

当我右击这个图标时,我只能打开节拍盒或VLC-媒体播放器。这两个应用程序在这里使用都是毫无意义的。当我想下载照片(无论是通过F点,Shotwell或Picasa),我必须先卸载相机。我觉得这有点不合逻辑吗?如果你必须卸下相机才能使用,为什么要安装它呢?我如何使数码相机被安装在正确的应用程序中?在我看来很奇怪,一个人必须卸载一个设备,然后才能使用它!

相机模型:佳能PowerShot SX20是(在libgphoto2 2.4.9中为这个相机添加了新的id。软件包告诉我,libgphoto2-2已经安装好了,版本2.4.8-0ubuntu2 =>看起来像libgphoto2看不懂相机吗?不管怎样,PTP/MTP模式工作得很好)

代码语言:javascript
复制
uname -a
Linux Ubuntu-Bernard **2.6.32-24-generic #42-Ubuntu** SMP Fri Aug 20 14:24:04 UTC 2010 i686 GNU/Linux

cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="**Ubuntu 10.04.1 LTS**"

lsusb
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 04a9:31e4 **Canon, Inc.** 
Bus 001 Device 003: ID 0b05:1706 ASUSTek Computer, Inc. WL-167G 802.11g Adapter [ralink]
Bus 001 Device 002: ID 050d:0234 Belkin Components F5U234 USB 2.0 4-Port Hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


Type filesystem = **gphoto2**

KernelLoggings (plug-in/plug-out)
Sep 11 19:23:55 Ubuntu-Bernard kernel: [ 1370.156803] usb 1-2.1: new full speed USB device using uhci_hcd and address 4
Sep 11 19:23:55 Ubuntu-Bernard kernel: [ 1370.282419] usb 1-2.1: configuration #1 chosen from 1 choice
Sep 11 19:31:59 Ubuntu-Bernard kernel: [ 1854.101144] usb 1-2.1: USB disconnect, address 4


Detailled Camera info
lsusb -v

Bus 001 Device 007: ID 04a9:31e4 Canon, Inc. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x04a9 Canon, Inc.
  idProduct          0x31e4 
  bcdDevice            0.02
  iManufacturer           1 Canon Inc.
  iProduct                2 Canon Digital Camera
  iSerial                 3 E2F5E9B80A584FFDA901B46ECBC87410
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
          bInterfaceClass         6 Imaging
      bInterfaceSubClass      1 Still Image Capture
      bInterfaceProtocol      1 Picture Transfer Protocol (PIMA 15470)
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              32
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered
EN

回答 2

Ask Ubuntu用户

发布于 2010-09-22 20:51:54

我想你可以通过Nautilus的偏好来处理这件事。

  1. 打开Nautilus (Place ->主文件夹)。
  2. 单击“编辑”下拉菜单。
  3. 选择偏好。
  4. 在“文件管理首选项”窗口中,单击“媒体”选项卡。
  5. “媒体处理”部分应允许您配置系统,使其在附加相机时以您希望的方式运行。1。

1下一个照片选项,包括:询问该做什么,什么都不做,打开文件夹,打开F点,打开与其他应用程序.

票数 2
EN

Ask Ubuntu用户

发布于 2010-09-14 22:23:54

只是在黑暗中尝试一下,但是如果您暂时注释掉了/lib/udev/rules.d/45-libmtp8.rules中的以下几行,这有帮助吗?

  • 佳能PowerShot SX20IS (PTP/MTP模式)# ATTR{idVendor}=="04a9",ATTR{idProduct}=="31e4",SYMLINK+="libmtp-%k",MODE="660",GROUP=“音频”
  • 佳能PowerShot SX20IS (PTP/MTP模式)# ATTRS{idVendor}=="04a9",ATTRS{idProduct}=="31e4",SYMLINK+="libmtp-%k",MODE="660",GROUP=“音频”
票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/3996

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档