puhitaku / mtplvcap

Nikon to USB Webcam. Supports older models that Nikon WU does not. Windows/macOS/Linux. No HDMI capture dongle is needed. Ask me on Twitter @puhitaku
https://twitter.com/puhitaku
Other
251 stars 17 forks source link

Not Working with D7100 #35

Closed srimaln91 closed 3 years ago

srimaln91 commented 3 years ago

Hi,

I'm using a go binary built in my PC on Ubuntu 20.04. But getting the following error.

`[0000] INFO usb: found: 8087:0a2b [0000] INFO usb: found: 04b0:0430 [0000] WARN mtp: detected more than 1 device, opening the first device: 8087:0a2b [0000] ERROR mtp: fatal error LIBUSB_ERROR_IO; closing connection. [0000] FATAL mtp: failed to detect MTP devices: could not open 8087:0a2b: mtp: no MTP extensions in ''

Kindly let me know if there is a way to resolve this.

puhitaku commented 3 years ago

@srimaln91 There is Nikon DSLR 04b0:0430 but it's not selected. Please run it with -vendor-id option and see if it works.

$ ./mtplvcap -vendor-id 04b0

BTW I've pushed the new v1.3.0 that has an auto-selection feature that mitigates this issue.

Please reopen this if your problem persists.

srimaln91 commented 3 years ago

Thanks @puhitaku. The issue is resolved when I use vendor-id parameter.

Thanks a lot. 👍👍