Hello, I have a generic webcam that I’d like to work in combination with MotionEye.
I use the latest stable version of Hassio and HomeAssistant as the day of today.
But unfortunately, I can not make it work, I need my webcam to create some kind of stream file under /dev/video*, but unfortunately, there is none and I do not know how to proceed.
If I were using some Debian based system and not hassio+buildroot I could probably install v4l-utils
as many forums suggest, but I have no idea how to do this in Buildroot.
Do you guys know how to install v4l-utils in Buildroot, or any other approach in order to make my webcam available in MotionEye?
I have searched quite some pages in google but could not fix it, the only alternative I know would go back to Raspbian + Homeassistant which is not supported anymore.
Hardware Info
serial:
- /dev/ttyAMA0
- /dev/ttyACM0
- >-
/dev/serial/by-id/usb-Texas_Instruments_XDS110__03.00.00.12__Embed_with_CMSIS-DAP_L430036W-if00
- /dev/ttyACM1
- >-
/dev/serial/by-id/usb-Texas_Instruments_XDS110__03.00.00.12__Embed_with_CMSIS-DAP_L430036W-if03
input:
- 'Streaming Webcam: Streaming Web'
disk:
- /dev/mmcblk0
- /dev/mmcblk0p1
- /dev/mmcblk0p2
- /dev/mmcblk0p3
- /dev/mmcblk0p4
- /dev/mmcblk0p5
- /dev/mmcblk0p6
- /dev/mmcblk0p7
- /dev/mmcblk0p8
gpio:
- gpiochip100
- gpiochip504
- gpiochip0
usb:
- /dev/bus/usb/001/001
- /dev/bus/usb/001/002
- /dev/bus/usb/001/003
- /dev/bus/usb/001/004
- /dev/bus/usb/001/005
audio:
'0':
name: bcm2835_alsa - bcm2835 ALSA
type: ALSA
devices:
- chan_id: '0'
chan_type: digital audio playback
- chan_id: '1'
chan_type: digital audio playback
- chan_id: '2'
chan_type: digital audio playback
'1':
name: USB-Audio - Streaming Webcam
type: Webcam
devices:
- chan_id: '0'
chan_type: digital audio capture
ls /dev
total 4K
drwxr-xr-x 6 root root 400 Sep 18 11:32 .
drwxr-xr-x 1 root root 4.0K Sep 18 11:32 ..
lrwxrwxrwx 1 root root 13 Sep 18 11:32 fd -> /proc/self/fd
crw-rw-rw- 1 root root 1, 7 Sep 18 11:32 full
drwxrwxrwt 2 root root 40 Sep 18 11:32 mqueue
crw-rw-rw- 1 root root 1, 3 Sep 18 11:32 null
lrwxrwxrwx 1 root root 8 Sep 18 11:32 ptmx -> pts/ptmx
drwxr-xr-x 2 root root 0 Sep 18 11:32 pts
crw-rw-rw- 1 root root 1, 8 Sep 18 11:32 random
drwxr-xr-x 3 root root 60 Sep 18 11:32 serial
drwxrwxrwt 3 root root 60 Sep 18 11:32 shm
lrwxrwxrwx 1 root root 15 Sep 18 11:32 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Sep 18 11:32 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Sep 18 11:32 stdout -> /proc/self/fd/1
crw-rw-rw- 1 root root 5, 0 Sep 18 11:32 tty
crw-rw---- 1 root audio 166, 0 Sep 18 11:32 ttyACM0
crw-rw---- 1 root audio 166, 1 Sep 18 11:32 ttyACM1
crw-rw---- 1 root audio 204, 64 Sep 18 11:32 ttyAMA0
crw-rw-rw- 1 root root 1, 9 Sep 18 11:32 urandom
crw-rw-rw- 1 root root 1, 5 Sep 18 11:32 zero
lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 003: ID 0424:ec00
Bus 001 Device 002: ID 0424:9514
Bus 001 Device 005: ID 0451:bef3
Bus 001 Device 004: ID 0bda:5822
motion eye not showing /dev/video (it doesn’t exist)