Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panasonic Lumix DMC-G70 not detected #612

Open
departet opened this issue Nov 10, 2023 · 4 comments
Open

Panasonic Lumix DMC-G70 not detected #612

departet opened this issue Nov 10, 2023 · 4 comments
Assignees

Comments

@departet
Copy link

departet commented Nov 10, 2023

Describe the bug

Pretty much the same as here. BUT i do use WSL with usb passthrough. The camera gets detected when running lsusb.
I ran the command while setting up photobooth 4.

michael@DESKTOP-P6P1GFE:/mnt/c/Windows/system32$ sudo lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 04da:2370 Panasonic (Matsushita) DMC-G70
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

michael@DESKTOP-P6P1GFE:/mnt/c/Windows/system32$ gphoto2 --auto-detect
Model                          Port
----------------------------------------------------------

michael@DESKTOP-P6P1GFE:/mnt/c/Windows/system32$ sudo gphoto2 --capture-image
*** Error ***
Could not detect any camera
*** Error (-105: 'Unknown model') ***

Name the camera
Panasonic Lumix DMC-G70

libgphoto2 and gphoto2 version
gphoto2 2.5.27 gcc, popt(m), exif, cdk, aa, jpeg, readline
libgphoto2 2.5.27 standard camlibs, gcc, ltdl, EXIF
libgphoto2_port 0.12.0 iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, ltdl, EXIF, USB, serial without locking

To Reproduce
Attach camera in pc connection mode or in ptp mode. Same result with both modes.

@hfiguiere
Copy link
Member

and pretty much the same answer #596 (comment)

tl;dr try the latest version of libgphoto2 first.

@departet
Copy link
Author

When installing from source it excludes lumix. Is this needed when using ptp mode? If so, how do i get it to include lumix. Linux noob here...
libgphoto2 2.5.31 standard camlibs (SKIPPING docupen lumix), gcc, no ltdl, EXIF

@msmeissn
Copy link
Contributor

When installing from source it excludes lumix. Is this needed when using ptp mode? If so, how do i get it to include lumix. Linux noob here... libgphoto2 2.5.31 standard camlibs (SKIPPING docupen lumix), gcc, no ltdl, EXIF

No, the lumix driver is only for the Lumix WIFI mode. The USB Lumix stuff is in the ptp2 driver.

Can you attach lsusb -v output for the camnera in PTP mode?

@msmeissn msmeissn self-assigned this Nov 11, 2023
@departet
Copy link
Author

Same result as before with the current version

Bus 001 Device 002: ID 04da:2370 Panasonic (Matsushita) DMC-G70
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x04da Panasonic (Matsushita)
  idProduct          0x2370
  bcdDevice            1.00
  iManufacturer           1 Panasonic
  iProduct                2 DMC-G70
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0027
    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       255 Vendor Specific Class
      bInterfaceSubClass    160
      bInterfaceProtocol    176
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 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     0x82  EP 2 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     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval              16
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants