Robobot camera
From Rsewiki
(Difference between revisions)
Line 2: | Line 2: | ||
== camera settings == | == camera settings == | ||
+ | |||
+ | === On Raspberry PI Debian OS. === | ||
The used camera has limited possibilities. | The used camera has limited possibilities. | ||
Line 8: | Line 10: | ||
All higher resolutions seem to crash the camera driver, requiring a reboot. | All higher resolutions seem to crash the camera driver, requiring a reboot. | ||
+ | |||
+ | BUT, after a few, sometimes, successful captures, things go wrong, and 'sudo dmesg' shows something like: | ||
+ | |||
+ | [ 237.889889] usb 1-1.5: new high-speed USB device number 6 using dwc2 | ||
+ | [ 237.991458] usb 1-1.5: New USB device found, idVendor=1224, idProduct=2a25, bcdDevice= 1.00 | ||
+ | [ 237.991505] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0 | ||
+ | [ 237.991524] usb 1-1.5: Product: USB PHY 2.0 | ||
+ | [ 237.991540] usb 1-1.5: Manufacturer: Jieli Technology | ||
+ | [ 237.993188] usb 1-1.5: Found UVC 1.00 device USB PHY 2.0 (1224:2a25) | ||
+ | [ 237.996497] input: USB PHY 2.0: GENERAL Webcam as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/input/input1 | ||
+ | [ 238.004536] usb 1-1.5: set resolution quirk: cval->res = 16 | ||
+ | [ 348.102430] dwc2 3f980000.usb: dwc2_hc_halt() Channel can't be halted | ||
+ | [ 348.109275] dwc2 3f980000.usb: dwc2_hc_halt() Channel can't be halted | ||
+ | |||
+ | A google search suggests that it is the USB driver 'dwc2_hc' that is to blame. | ||
+ | |||
+ | Trying Raspberry Pi OS instead. | ||
+ | |||
+ | === Raspberry Pi OS === | ||
+ | |||
+ | Under installation |
Revision as of 20:00, 26 November 2022
Back to Robobot
camera settings
On Raspberry PI Debian OS.
The used camera has limited possibilities.
640 x 480 at 25 FPS using MJPG coding seems like a working resolution.
All higher resolutions seem to crash the camera driver, requiring a reboot.
BUT, after a few, sometimes, successful captures, things go wrong, and 'sudo dmesg' shows something like:
[ 237.889889] usb 1-1.5: new high-speed USB device number 6 using dwc2 [ 237.991458] usb 1-1.5: New USB device found, idVendor=1224, idProduct=2a25, bcdDevice= 1.00 [ 237.991505] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 237.991524] usb 1-1.5: Product: USB PHY 2.0 [ 237.991540] usb 1-1.5: Manufacturer: Jieli Technology [ 237.993188] usb 1-1.5: Found UVC 1.00 device USB PHY 2.0 (1224:2a25) [ 237.996497] input: USB PHY 2.0: GENERAL Webcam as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/input/input1 [ 238.004536] usb 1-1.5: set resolution quirk: cval->res = 16 [ 348.102430] dwc2 3f980000.usb: dwc2_hc_halt() Channel can't be halted [ 348.109275] dwc2 3f980000.usb: dwc2_hc_halt() Channel can't be halted
A google search suggests that it is the USB driver 'dwc2_hc' that is to blame.
Trying Raspberry Pi OS instead.
Raspberry Pi OS
Under installation