Hi Marcus,

Thank you for your help. The camera was in Mass Storage mode. I changed it to 
PC Remote mode and lsusb -v results:

Bus 001 Device 011: ID 054c:0caa Sony Corp.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x054c Sony Corp.
  idProduct          0x0caa
  bcdDevice            1.00
  iManufacturer           1 Sony
  iProduct                2 ILCE-6400
  iSerial                 3 CF986034256D
  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     0x0200  1x 512 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     0x0200  1x 512 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     0x0020  1x 32 bytes
        bInterval               7
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:     0x0000
  (Bus Powered)


Auto-detect gives this:

Model                          Port
----------------------------------------------------------
USB PTP Class Camera           usb:001,011


LANG=C gphoto2 --summary >summary.txt
LANG=C gphoto2 --list-all-config >config.txt
Both commands don't return anything.

Sometimes I can take a picture using capture-image and I see this:
New file is in location /capt0000.jpg on the camera

But I don't see the file on the camera storage.

Other times I will try to take a picture and it will disconnect the camera


________________________________
From: Marcus Meissner <mar...@jet.franken.de>
Sent: Monday, October 14, 2019 10:32 PM
To: orbital sailor <gamerdude1...@hotmail.com>
Cc: gphoto-devel@lists.sourceforge.net <gphoto-devel@lists.sourceforge.net>
Subject: Re: [gphoto-devel] Sony a6400 Unknown Model

Hi,

It might be in Mass Storage or Charger Mode.

What does "lsusb -v" report for the camera?

Can you switch the A6400 to "PC Control mode" and try again?

Ciao, Marcus
On Mon, Oct 14, 2019 at 05:49:45PM +0000, orbital sailor wrote:
> Hi there- I have a Sony a6400 and it seems to be unsupported
>
> Here are the output results
>
> pi@cr10mini:~ $ lsusb
> Bus 001 Device 008: ID 054c:0ca8 Sony Corp.
> Bus 001 Device 004: ID 0c45:6366 Microdia
> Bus 001 Device 005: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
> Bus 001 Device 006: ID 0424:7800 Standard Microsystems Corp.
> Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
> Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> pi@cr10mini:~ $ gphoto2 --auto-detect
> Model                          Port
> ----------------------------------------------------------
> pi@cr10mini:~ $ LANG=C gphoto2 --summary >summary.txt
>
> *** Error ***
> Could not detect any camera
> *** Error (-105: 'Unknown model') ***
>
> pi@cr10mini:~ $ LANG=C gphoto2 --list-all-config >config.txt
>
> *** Error ***
> Could not detect any camera
>
> *** Error ***
> An error occurred in the io-library ('Unknown error'): No error description 
> avai                lable
> *** Error (-105: 'Unknown model') ***
>
> pi@cr10mini:~ $ gphoto2 --capture-image
>
> *** Error ***
> Could not detect any camera
> *** Error (-105: 'Unknown model') ***
>
> For debugging messages, please use the --debug option.
> Debugging messages may help finding a solution to your problem.
> If you intend to send any error or debug messages to the gphoto
> developer mailing list 
> <gphoto-devel@lists.sourceforge.net<mailto:gphoto-devel@lists.sourceforge.net>>,
>  please run
> gphoto2 as follows:
>
>     env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --capture-image
>
> Please make sure there is sufficient quoting around the arguments.


> _______________________________________________
> Gphoto-devel mailing list
> Gphoto-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gphoto-devel

_______________________________________________
Gphoto-devel mailing list
Gphoto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gphoto-devel

Reply via email to