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
Sent: Monday, December 13, 2021 3:59 PM
To: 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>
Subject: Re: arv-tools not detecting USB3 camera
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.
"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
Is the version of aravis that you are using built with the USB3 support enabled?
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
[11:52:14.710] 🅸 interface> [GvDiscoverSocket::new] Add interface 127.0.0.1 (127.0.0.1)
[11:52:14.710] 🅸 interface> [GvDiscoverSocket::new] Add interface 192.168.11.1 (192.168.11.255)
[11:52:14.710] 🅸 interface> [GvDiscoverSocket::new] Add interface 10.69.24.152 (10.69.24.255)
[11:52:14.711] 🅸 interface> [GvDiscoverSocket::new] Add interface 10.66.83.36 (10.66.83.255)
[11:52:14.711] 🅸 interface> [GvDiscoverSocket::new] Add interface 192.168.122.1 (192.168.122.255)
[11:52:14.712] 🅸 interface> [GvInterface::discovery] Device 'Point Grey Research-Blackfly
BFLY-PGE-50S5C-18457368' found (interface 192.168.11.1) user_id '' - MAC '00:b0:9d:19:a3:18'
[11:52:14.712] 🅸 interface> [GvInterface::discovery] Device 'Point Grey Research-Blackfly
BFLY-PGE-50S5C-18481534' found (interface 192.168.11.1) user_id '' - MAC '00:b0:9d:1a:01:7e'
Point Grey Research-Blackfly BFLY-PGE-50S5C-18457368 (192.168.11.11)
Point Grey Research-Blackfly BFLY-PGE-50S5C-18481534 (192.168.11.12)
=====
Something else is missing on RedHat...
Do you have the aravis udev rules installed so that non root accounts can actually see the usb3 hardware?
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,
{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
[15:02:46.093] ?? interface> [GvDiscoverSocket::new] Add interface 127.0.0.1 (127.0.0.1)
{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
Bus 002 Device 003: ID 1e10:3300 Point Grey Research, Inc.
kgofron@xf11id-m3:/epics/iocs$ ls /dev/bus/usb/002/003
/dev/bus/usb/002/003
{USB camera is on bus 002 device 003}
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
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:
Any suggestions about this problem?
|
- Replies:
- Re: arv-tools not detecting USB3 camera Gofron, Kazimierz via Tech-talk
- References:
- arv-tools not detecting USB3 camera Gofron, Kazimierz via Tech-talk
- RE: arv-tools not detecting USB3 camera Engbretson, Mark S. via Tech-talk
- Re: arv-tools not detecting USB3 camera Gofron, Kazimierz via Tech-talk
- RE: arv-tools not detecting USB3 camera Engbretson, Mark S. via Tech-talk
- Re: arv-tools not detecting USB3 camera Gofron, Kazimierz via Tech-talk
- Navigate by Date:
- Prev:
Re: arv-tools not detecting USB3 camera Gofron, Kazimierz via Tech-talk
- Next:
Re: Can single soft-IOC control multiple OMS SPI-MAXnet controllers? Kevin Peterson via Tech-talk
- 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
- Navigate by Thread:
- Prev:
Re: arv-tools not detecting USB3 camera Gofron, Kazimierz via Tech-talk
- Next:
Re: arv-tools not detecting USB3 camera Gofron, Kazimierz via Tech-talk
- 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
|