Closed mangelajo closed 1 month ago
As a result, the new ustreamer can't access the video device:
Oct 06 23:49:24 f41 majopela-rpi4-exporter[23580]: INFO:jumpstarter.exporter.exporter:Handling new connection request Oct 06 23:49:24 f41 majopela-rpi4-exporter[23580]: -- INFO [173404.105 ] -- Starting PiKVM uStreamer 6.12 ... Oct 06 23:49:24 f41 majopela-rpi4-exporter[23580]: -- INFO [173404.105 ] -- HTTP: Listening HTTP on UNIX socket '/tmp/tmpee3z9efq/socket' Oct 06 23:49:24 f41 majopela-rpi4-exporter[23580]: -- INFO [173404.105 ] -- Using V4L2 device: /dev/video0 Oct 06 23:49:24 f41 majopela-rpi4-exporter[23580]: -- INFO [173404.105 ] -- CAP: Using capture type: single-planar Oct 06 23:49:24 f41 majopela-rpi4-exporter[23580]: -- INFO [173404.105 ] -- CAP: Using input channel: 0 Oct 06 23:49:24 f41 majopela-rpi4-exporter[23580]: -- ERROR [173404.105 ] -- CAP: Can't set input channel Oct 06 23:49:24 f41 majopela-rpi4-exporter[23580]: -- INFO [173404.105 ] -- HTTP: Starting eventloop ... Oct 06 23:49:24 f41 majopela-rpi4-exporter[23580]: ERROR:asyncio:Unclosed client session Oct 06 23:49:24 f41 majopela-rpi4-exporter[23580]: client_session: <aiohttp.client.ClientSession object at 0x7fa09c5e65d0> Oct 06 23:49:24 f41 majopela-rpi4-exporter[23580]: ERROR:asyncio:Unclosed connector Oct 06 23:49:24 f41 majopela-rpi4-exporter[23580]: connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x7fa09c5bd670>, 173404.322510515)]'] Oct 06 23:49:24 f41 majopela-rpi4-exporter[23580]: connector: <aiohttp.connector.UnixConnector object at 0x7fa09c5e6330> Oct 06 23:49:25 f41 majopela-rpi4-exporter[23580]: -- INFO [173405.108 ] -- Using V4L2 device: /dev/video0 Oct 06 23:49:25 f41 majopela-rpi4-exporter[23580]: -- INFO [173405.109 ] -- CAP: Using capture type: single-planar Oct 06 23:49:25 f41 majopela-rpi4-exporter[23580]: -- INFO [173405.109 ] -- CAP: Using input channel: 0 Oct 06 23:49:25 f41 majopela-rpi4-exporter[23580]: -- ERROR [173405.109 ] -- CAP: Can't set input channel Oct 06 23:49:26 f41 majopela-rpi4-exporter[23580]: -- INFO [173406.115 ] -- Using V4L2 device: /dev/video0 Oct 06 23:49:26 f41 majopela-rpi4-exporter[23580]: -- INFO [173406.115 ] -- CAP: Using capture type: single-planar Oct 06 23:49:26 f41 majopela-rpi4-exporter[23580]: -- INFO [173406.115 ] -- CAP: Using input channel: 0 Oct 06 23:49:26 f41 majopela-rpi4-exporter[23580]: -- ERROR [173406.115 ] -- CAP: Can't set input channel Oct 06 23:49:27 f41 majopela-rpi4-exporter[23580]: -- INFO [173407.121 ] -- Using V4L2 device: /dev/video0 Oct 06 23:49:27 f41 majopela-rpi4-exporter[23580]: -- INFO [173407.121 ] -- CAP: Using capture type: single-planar Oct 06 23:49:27 f41 majopela-rpi4-exporter[23580]: -- INFO [173407.121 ] -- CAP: Using input channel: 0 Oct 06 23:49:27 f41 majopela-rpi4-exporter[23580]: -- ERROR [173407.121 ] -- CAP: Can't set input channel Oct 06 23:49:28 f41 majopela-rpi4-exporter[23580]: -- INFO [173408.127 ] -- Using V4L2 device: /dev/video0 Oct 06 23:49:28 f41 majopela-rpi4-exporter[23580]: -- INFO [173408.127 ] -- CAP: Using capture type: single-planar Oct 06 23:49:28 f41 majopela-rpi4-exporter[23580]: -- INFO [173408.127 ] -- CAP: Using input channel: 0
Still reproduces.
https://github.com/jumpstarter-dev/jumpstarter/pull/119 fixed it
As a result, the new ustreamer can't access the video device: