1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 <2021> 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 <2021> 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: arv-tools not detecting USB3 camera |
From: | Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> |
To: | "Gofron, Kazimierz" <kgofron at bnl.gov>, "Engbretson, Mark S." <engbretson at anl.gov> |
Cc: | "tech-talk at aps.anl.gov \(tech-talk at aps.anl.gov\)" <tech-talk at aps.anl.gov> |
Date: | Mon, 13 Dec 2021 22:09:48 +0000 |
Hi Kaz, I am running Centos8, which is basically the same as RHEL8. I have the same libusb-devel and libusbx-devel packages installed that you do, and no package with a name lib libusb-1.0. [epics@viper meson-logs]$ yum list installed | grep libusb libusb.x86_64 1:0.1.5-12.el8 @BaseOS libusb-devel.x86_64 1:0.1.5-12.el8 @PowerTools libusbmuxd.x86_64 1.0.10-9.el8 @AppStream libusbx.x86_64 1.0.22-1.el8 @anaconda libusbx-devel.x86_64 1.0.22-1.el8
@BaseOS But the meson build worked for me. This is the relevant part of meson-build.txt: Determining dependency 'libusb-1.0' with pkg-config executable '/usr/bin/pkg-config' Called `/usr/bin/pkg-config --modversion libusb-1.0` -> 0 1.0.22 Called `/usr/bin/pkg-config --cflags libusb-1.0` -> 0 -I/usr/include/libusb-1.0 Called `/usr/bin/pkg-config libusb-1.0 --libs` -> 0 -L/usr/lib64 -lusb-1.0 Called `/usr/bin/pkg-config libusb-1.0 --libs` -> 0 -lusb-1.0 Dependency libusb-1.0 found: YES 1.0.22 Did you try rebuilding aravis? Mark From: Tech-talk <tech-talk-bounces at aps.anl.gov>
On Behalf Of Gofron, Kazimierz via Tech-talk Hi Mark,
I am not sure if USB3 dependency is compiled in. Frankly, I am not sure how to check it. I looked at meson-log.txt, and it confirms it by looking for 'libusb-1.0' package, which
exists on debian, but not on RedHat (to my knowledge). I might be wrong here. In meson-log.txt "Preliminary CMake check failed. Aborting. Run-time dependency libusb-1.0 found: NO (tried pkgconfig and cmake)" ... "Called `/usr/bin/cmake --trace-expand --trace-format=json-v1 --no-warn-unused-cli --trace-redirect=cmake_trace.txt .` in /epics/src/modules/aravis/build/meson-private/cmake_libusb-1.0
-> 0 -- Module search paths: ['/', '/opt', '/usr', '/usr/local'] -- CMake root: /usr/share/cmake -- CMake architectures: [] -- CMake lib search paths: ['lib', 'lib32', 'lib64', 'libx32', 'share'] Preliminary CMake check failed. Aborting. Run-time dependency libusb-1.0 found: NO (tried pkgconfig and cmake)" That indicates that it is looking for libusb-1.0 package, which to my knowledge does not exist on RedHat. So maybe USB3 support is not compiled in, because libusb-1.0 does not exist (to my knowledge) on redhat. Kaz From: Engbretson, Mark S. <engbretson at anl.gov> Is the version of aravis that you are using built with the USB3 support enabled? From: Gofron, Kazimierz <kgofron at bnl.gov>
Hi Mark, Good point, and I did not install aravis udev rules yet. However, when arv-tools is run as root, it does not detect the USB3 camera either. [root@xf11id-m3 ~]# arv-tool-0.8 -d all ===== Something else is missing on RedHat... Kaz From: Engbretson, Mark S. <engbretson at anl.gov> Do you have the aravis udev rules installed so that non root accounts can actually see the usb3 hardware? From: Tech-talk <tech-talk-bounces at aps.anl.gov>
On Behalf Of Gofron, Kazimierz via Tech-talk Hi, I have a USB3 Grasshopper3 GS3-U3-51S5C camera that arv-tools-0.8 is not detecting. The GS3-U3-51S5C supports
USB3 Vision v1.0, OS: Redhat 8.4 {Aravis detects only my GigE cameras:} kgofron@xf11id-m3:/epics/iocs$ arv-tool-0.8
Point Grey Research-Blackfly BFLY-PGE-50S5C-18457368 (192.168.11.11) Point Grey Research-Blackfly BFLY-PGE-50S5C-18481534 (192.168.11.12) {arv-tools with options does not list usb camera either} kgofron@xf11id-m3:/epics/iocs$ arv-tool-0.8 -d all ---- ============ {The camera shows up in libusb and /dev/bus/usb, but is not found by arv-tool:} kgofron@xf11id-m3:/epics/iocs/cam-aravis1$ lsusb kgofron@xf11id-m3:/epics/iocs$ ls /dev/bus/usb/002/003 {USB camera is on bus 002 device 003} Camera details: kgofron@xf11id-m3:/dev/bus/usb/002$ usb-devices
T: Bus=02 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 3 Spd=5000 MxCh= 0 D: Ver= 3.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS= 9 #Cfgs= 1 P: Vendor=1e10 ProdID=3300 Rev=00.00 S: Manufacturer=Point Grey Research S: Product=Grasshopper3 GS3-U3-51S5C S: SerialNumber=0123EF71 C: #Ifs= 3 Cfg#= 1 Atr=80 MxPwr=896mA I: If#=0x0 Alt= 0 #EPs= 2 Cls=ef(misc ) Sub=05 Prot=00 Driver=(none) I: If#=0x1 Alt= 0 #EPs= 1 Cls=ef(misc ) Sub=05 Prot=01 Driver=(none) I: If#=0x2 Alt= 0 #EPs= 1 Cls=ef(misc ) Sub=05 Prot=02 Driver=(none) ============ USB support is installed: libusb-devel.x86_64 libusbx-devel.x86_64 ============= Any suggestions about this problem? Kazimierz Gofron |