cdorn0 / lg4k-linux

Linux driver for the AverMedia Live Gamer 4K (based on cx511h driver)
10 stars 7 forks source link

VFL_TYPE_VIDEO error occurs on build.sh #2

Open nickcat03 opened 9 months ago

nickcat03 commented 9 months ago

I am encountering an error on Linux Mint 20.3 Cinnamon when running the build.sh script. I am assuming that the master branch is what I should be using given that I am on Mint.

I am unsure if this error could be from previously installing the drivers from the base repository, or if it could be due to installing drivers on Windows, as I saw in a previous thread that downgrading the firmware was involved in getting things to work.

Here is the error I am receiving:

/home/user/Downloads/lg4k-linux-master-update/driver//utils/v4l2/v4l2_model_device.c:155:28: error: ‘VFL_TYPE_VIDEO’ undeclared (first use in this function); did you mean ‘VFL_TYPE_RADIO’?
  155 |               devicetype = VFL_TYPE_VIDEO;
      |                            ^~~~~~~~~~~~~~
      |                            VFL_TYPE_RADIO
/home/user/Downloads/lg4k-linux-master-update/driver//utils/v4l2/v4l2_model_device.c:155:28: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [scripts/Makefile.build:270: /home/user/Downloads/lg4k-linux-master-update/driver//utils/v4l2/v4l2_model_device.o] Error 1
make[1]: *** [Makefile:1762: /home/user/Downloads/lg4k-linux-master-update/driver/] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-122-generic'
make: *** [Makefile:66: build] Error 2
make: Leaving directory '/home/user/Downloads/lg4k-linux-master-update/driver'
cp: cannot stat 'driver/gc573.ko': No such file or directory

The driver that this version was forked from accepts the captured audio at 41000kz, when 48000kz is expected, causing audio to be slowed down and lower pitched. I am looking forward to trying this updated driver to see if it would fix this audio bug. Any help appreciated.

nickcat03 commented 9 months ago

Hello again,

After updating Linux Mint 20.3 to Mint 21.1 I was able to install the drivers successfully.