Thanks, thought I had libusb-dev installed but forgot that was in a different 
VM. Installed libusb-dev and it's working now. Thanks again!

Adam

________________________________
From: Lacy Rhoades <lacyrhoa...@gmail.com>
Sent: Saturday, November 10, 2018 8:27 AM
To: Horshack ??
Cc: gphoto-devel@lists.sourceforge.net
Subject: Re: [gphoto-devel] USB ports not listed in --list-ports for 
custom-built libgphoto2

Yeah you’ve got it. You’ve got to install “libusb” beforehand. Maybe something 
like libusb-dev depending on your distro.

On Sat, Nov 10, 2018 at 9:53 AM Horshack ?? 
<horsh...@live.com<mailto:horsh...@live.com>> wrote:
Hi,

I can successfully connect to USB cameras using gphoto2 with libgphoto2 v2.5.9.

However if I build and install libgphoto2 from the current source (v2.5.20.1), 
I can no longer connect to USB cameras, because the USB ports don't show up in 
the list of ports.

Here's the output of --list-ports using v2.5.9 (working case):

root@ubuntu:/# gphoto2 --list-ports
Devices found: 35
Path                             Description
--------------------------------------------------------------
ptpip:                           PTP/IP Connection
serial:/dev/ttyS0                Serial Port 0
serial:/dev/ttyS1                Serial Port 1
serial:/dev/ttyS2                Serial Port 2
serial:/dev/ttyS3                Serial Port 3
serial:/dev/ttyS4                Serial Port 4
serial:/dev/ttyS5                Serial Port 5
serial:/dev/ttyS6                Serial Port 6
serial:/dev/ttyS7                Serial Port 7
serial:/dev/ttyS8                Serial Port 8
serial:/dev/ttyS9                Serial Port 9
serial:/dev/ttyS10               Serial Port 10
serial:/dev/ttyS11               Serial Port 11
serial:/dev/ttyS12               Serial Port 12
serial:/dev/ttyS13               Serial Port 13
serial:/dev/ttyS14               Serial Port 14
serial:/dev/ttyS15               Serial Port 15
serial:/dev/ttyS16               Serial Port 16
serial:/dev/ttyS17               Serial Port 17
serial:/dev/ttyS18               Serial Port 18
serial:/dev/ttyS19               Serial Port 19
serial:/dev/ttyS20               Serial Port 20
serial:/dev/ttyS21               Serial Port 21
serial:/dev/ttyS22               Serial Port 22
serial:/dev/ttyS23               Serial Port 23
serial:/dev/ttyS24               Serial Port 24
serial:/dev/ttyS25               Serial Port 25
serial:/dev/ttyS26               Serial Port 26
serial:/dev/ttyS27               Serial Port 27
serial:/dev/ttyS28               Serial Port 28
serial:/dev/ttyS29               Serial Port 29
serial:/dev/ttyS30               Serial Port 30
serial:/dev/ttyS31               Serial Port 31
usb:001,003                      Universal Serial Bus
usb:002,004                      Universal Serial Bus

Here's the output of --list-ports using v2.5.20.1 libgphoto2 I built (USB ports 
not listed):
root@ubuntu:/# gphoto2 --list-ports
Devices found: 34
Path                             Description
--------------------------------------------------------------
ptpip:                           PTP/IP Connection
serial:/dev/ttyS0                Serial Port 0
serial:/dev/ttyS1                Serial Port 1
serial:/dev/ttyS2                Serial Port 2
serial:/dev/ttyS3                Serial Port 3
serial:/dev/ttyS4                Serial Port 4
serial:/dev/ttyS5                Serial Port 5
serial:/dev/ttyS6                Serial Port 6
serial:/dev/ttyS7                Serial Port 7
serial:/dev/ttyS8                Serial Port 8
serial:/dev/ttyS9                Serial Port 9
serial:/dev/ttyS10               Serial Port 10
serial:/dev/ttyS11               Serial Port 11
serial:/dev/ttyS12               Serial Port 12
serial:/dev/ttyS13               Serial Port 13
serial:/dev/ttyS14               Serial Port 14
serial:/dev/ttyS15               Serial Port 15
serial:/dev/ttyS16               Serial Port 16
serial:/dev/ttyS17               Serial Port 17
serial:/dev/ttyS18               Serial Port 18
serial:/dev/ttyS19               Serial Port 19
serial:/dev/ttyS20               Serial Port 20
serial:/dev/ttyS21               Serial Port 21
serial:/dev/ttyS22               Serial Port 22
serial:/dev/ttyS23               Serial Port 23
serial:/dev/ttyS24               Serial Port 24
serial:/dev/ttyS25               Serial Port 25
serial:/dev/ttyS26               Serial Port 26
serial:/dev/ttyS27               Serial Port 27
serial:/dev/ttyS28               Serial Port 28
serial:/dev/ttyS29               Serial Port 29
serial:/dev/ttyS30               Serial Port 30
serial:/dev/ttyS31               Serial Port 31
serial:                          Serial Port Device

Is there something I need to do for the newly-built libgphoto2 to have 
recognize the USB ports?

Thanks!

Adam
_______________________________________________
Gphoto-devel mailing list
Gphoto-devel@lists.sourceforge.net<mailto: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