1. お使いの USB デバイスの正式名称、メーカー。
   できれば製品への URL、どんなデバイスか簡単な説明。

   メーカー: Nikon
   商品名: COOLPIX S6
   型番: ?
   製品へのURL: 
http://www.nikon-image.com/jpn/products/camera/digital/coolpix/s6/index.htm
   説明: デジタルカメラ

2. お使いの OS の バージョン(出来れば-CURRENT、-STABLE の場合はいつ頃 cvsup したかも)。

   FreeBSD 6.1-RELEASE

3. USB デバイスを認識しているところの /var/log/messages

   このデジタルカメラを USB ケーブルで接続するとき、PTP (Picture Transfer
   Protocol) で通信する方法と Mass Storage として扱う 2 つの手段が提供されて
   います。

   初期設定では PTP を使うようになっており、Mass Storage でアクセスするには
   MENU ボタンを押して次の順で設定を変更します。

     SET UP -> Interface -> USB -> Mass Storage

   [PTP でアクセスした場合]
     ugen0: NIKON NIKON DSC COOLPIX S6-PTP, rev 2.00/1.00, addr 2

   [Mass Storage としてアクセスした場合]
     umass0: NIKON NIKON DSC COOLPIX S6, rev 2.00/1.00, addr 2
     da0 at umass-sim0 bus 0 target 0 lun 0
     da0: <NIKON DSC COOLPIX S6 1.00> Removable Direct Access SCSI-2 device
     da0: 1.000MB/s transfers
     da0: 30MB (61614 512 byte sectors: 64H 32S/T 30C)

4. usbdevs -v の結果

   [PTP でアクセスした場合]
     % usbdevs -v
     Controller /dev/usb0:
     addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
Intel(0x0000), rev 1.00
      port 1 powered
      port 2 powered
     Controller /dev/usb1:
     addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
Intel(0x0000), rev 1.00
      port 1 addr 2: full speed, self powered, config 1, NIKON DSC COOLPIX 
S6-PTP(0x014e), NIKON(0x04b0), rev 1.00
      port 2 powered
     Controller /dev/usb2:
     addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
Intel(0x0000), rev 1.00
      port 1 powered
      port 2 powered
     Controller /dev/usb3:
     addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), 
Intel(0x0000), rev 1.00
      port 1 powered
      port 2 powered
      port 3 powered
      port 4 powered
      port 5 powered
      port 6 powered

   [Mass Storage としてアクセスした場合]
     % usbdevs -v
     Controller /dev/usb0:
     addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
Intel(0x0000), rev 1.00
      port 1 powered
      port 2 powered
     Controller /dev/usb1:
     addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
Intel(0x0000), rev 1.00
      port 1 addr 2: full speed, self powered, config 1, NIKON DSC COOLPIX 
S6(0x014d), NIKON(0x04b0), rev 1.00
      port 2 powered
     Controller /dev/usb2:
     addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), 
Intel(0x0000), rev 1.00
      port 1 powered
      port 2 powered
     Controller /dev/usb3:
     addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), 
Intel(0x0000), rev 1.00
      port 1 powered
      port 2 powered
      port 3 powered
      port 4 powered
      port 5 powered
      port 6 powered

5. 動作したか、しないか。

   動作しました。

   [PTP でアクセスした場合]
     ports/graphics/gphoto2 を使うと操作できます。

       % gphoto2 --auto-detect
       型式                           ポート
       ----------------------------------------------------------
       USB PTP Class Camera           usb:

     と認識され、

       % sudo gphoto2 --get-all-files

     でデジタルカメラから写真を取り出すことができます。

     ports/graphics/gtkam でも OK です。

   [Mass Storage としてアクセスした場合]
     da デバイスとして認識され、mount_msdosfs でマウントすれば本体内蔵の
     メモリ (SD カードを入れていればそちら) にアクセスできます。

6. 他に気になる点、注意点について。

   本製品には無線 LAN アダプタが内蔵されており、Windows では PTP/IP を
   使ってケーブルなしで写真を転送できます (印刷もできるようです)。

   gphoto2 がバージョン 2.2.0 で PTP/IP に対応 (要 mDNSresponder) して
   いますが、まだ試していません。

7. プライベートメールを公開してよいか(記述なければ載せます。
   情報の確度を高めるため FreeBSD-users-jp@jp.FreeBSD.org, [EMAIL PROTECTED]
   への投稿を推奨します。ML投稿の場合はリンクをはります)。

   OK です。

8. 謝辞に名前を載せてもよいかどうか(記述がなければ載せます)。

   OK です。

以下動かなかった場合

9. Linux では動いているかどうか

   調べていません。

10. USBデバイスを分解してみて、どのチップが使われているか

    勘弁してください。

11. udesc_dump の結果をつける。

    % ls /dev/ugen*
    /dev/ugen0      /dev/ugen0.1    /dev/ugen0.2    /dev/ugen0.5
    % sudo udesc_dump
    Standard Device Descriptor:
      bLength            18
      bDescriptorType    01
      bcdUSB             0200
      bDeviceClass       00
      bDeviceSubClass    00
      bDeviceProtocol    00
      bMaxPacketSize     64
      idVendor           04b0
      idProduct          014e
      bcdDevice          0100
      iManufacturer      1
      iProduct           2
      iSerialNumber      3
      bNumConfigurations 1

    Configuration 0:
        Standard Configuration Descriptor:
          bLength             9
          bDescriptorType     02
          wTotalLength        39
          bNumInterface       1
          bConfigurationValue 1
          iConfiguration      0
          bmAttributes        c0 (self-powered)
          bMaxPower           0 (0 mA)

        Standard Interface Descriptor:
          bLength            9
          bDescriptorType    04
          bInterfaceNumber   0
          bAlternateSetting  0
          bNumEndpoints      3
          bInterfaceClass    06
          bInterfaceSubClass 01
          bInterfaceProtocol 01
          iInterface         0

        Standard Endpoint Descriptor:
          bLength          7
          bDescriptorType  05
          bEndpointAddress 01 (out)
          bmAttributes     02 (Bulk)
          wMaxPacketSize   64
          bInterval        0

        Standard Endpoint Descriptor:
          bLength          7
          bDescriptorType  05
          bEndpointAddress 82 (in)
          bmAttributes     02 (Bulk)
          wMaxPacketSize   64
          bInterval        0

        Standard Endpoint Descriptor:
          bLength          7
          bDescriptorType  05
          bEndpointAddress 85 (in)
          bmAttributes     03 (Interrupt)
          wMaxPacketSize   8
          bInterval        100

    Codes Representing Languages by the Device:
      bLength          4
      bDescriptorType  03
      wLANGID[0]       0409

    String (index 1): NIKON

    String (index 2): NIKON DSC COOLPIX S6-PTP

    String (index 3): 000025108223

12. 規格書があればその場所

    調べていません。

-- rushani

メールによる返信