@Edward It works
more /sys/module/usbcore/parameters/usbfs_memory_mb
32
@Edward Non, I have the same answer from the program
more /sys/module/usbcore/parameters/usbfs_memory_mb
32
[INFO] claim interface ret: 0
[INFO] Frame buffer size: 12000000
[INFO] Frame buffer size: 12000000
[INFO] Frame buffer size: 12000000
[INFO] Frame buffer size: 12000000
[INFO] Frame buffer size: 12000000
[ERROR] 0 alloc memory failed.
width: 4000, height: 3000
Sorry, I calculated, this camera needs at least 58MB, you can directly set it to 100, please try again.
Thanks! I’ll test it and give feedback.
BTW, could you please send me a version of this SDK to work also with RPI 4B?
@Edward I try to compile and I get the error below
/usr/lib//libarducam_usb_sdk.so: undefined reference to `[email protected]_2.30’
Is it not working on the Raspberry Pi, or other devices.
Because I’m off work now, and tomorrow is the weekend. I’ll try again next week and update you on the progress.
happy weekend
Hi @Edward
I test it the new sdk, but it doesn’t work, it can’t open the camera, as you ca see below:
[ERROR] open device failed.
width: 12000, height: 9000
Failed to open camera.
When I look for the camera I see it is connected:
lsusb >
Bus 002 Device 003: ID 04b4:03f2 Cypress Semiconductor Corp. FX3
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 001 Device 004: ID 1c4f:0034 SiGma Micro XM102K Optical Wheel Mouse
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
@Edward Btw, I guess to used this SDK on clasic Linux platform, I need to pass DMA as option to open camera function, right?
You can try both, mainly to see which format your hardware supports.
Can you tell me your arm64 hardware platform?
I also want to study why dma cannot be supported.
I use Qualcomm Snapdragon 821 4 cores with 4GB LPDDR4 PoP 1866MHz
thanks,this is indeed not the hardware I often use, I will pay more attention to this later.