Skip to content

Commit

Permalink
update README.md about Troubleshooting.
Browse files Browse the repository at this point in the history
  • Loading branch information
edward-ardu authored and ArduCAM committed Jul 3, 2023
1 parent ec6b825 commit 5e84900
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,18 @@ python3 ArduCam_Demo.py -v --preview-width 1280 -f <path for camera cfg>
python3 ArduCam_Demo.py -v --preview-width 1280 -f IMX477/4032x3040/IMX477_2Lane_4032x3040_RAW8_A.cfg
```

**Note: Configuration files can be found here: [ArduCAM_USB_Camera_Shield](https://github.com/ArduCAM/ArduCAM_USB_Camera_Shield/tree/master/Config)**
**Note: Configuration files can be found here: [ArduCAM_USB_Camera_Shield](https://github.com/ArduCAM/ArduCAM_USB_Camera_Shield/tree/master/Config)**

## Troubleshooting

When using the camera under **Linux**, there may be `Error beginning capture, rtn_val = 65312`

![error_65312](resources/images/error/error_65312.png)

This error may be caused by insufficient buffer of usbfs. You can solve this problem by increasing usbfs_memory_mb,

Example:
Set usbfs_memory_mb to 32 (default 16)
```
sudo sh -c 'echo 32 > /sys/module/usbcore/parameters/usbfs_memory_mb'
```
Binary file added resources/images/error/error_65312.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5e84900

Please sign in to comment.