Conversation
… with an exported kernel symbol
… vfs_read to kernel_read as it is no longer exported
…ted makefile accordingly; added creation of .cmd files for shipped objects
|
Hey, first of all thanks, that seems like a decent amount of work. But have you checked if those patches also work with the newer driver version? Getting that one to work properly is imo more desireable since it finally added support for RGB/444 video modes rather than being limited to 422. |
|
Hi, |
|
Firstly I wanted to say thank you to both of you. I found this PR really useful, I'm on Archlinux and I can confirm this compiles and I can get the card working with the latest 5.11.12 kernel. Initial basic tests show video is playing back nicely - audio seems to drift a lot. There seems to be something up kworker as i'm getting a lot of: BUG: scheduling while atomic: kworker/3:3/1224/0x00000002 This version is a lot better because at least I can poweroff/reboot without forcing the machine off. |
| dkms.conf | ||
|
|
||
| #IntelliJ CLion Files | ||
| .idea/ |
There was a problem hiding this comment.
You can set up a global gitignore for all your local clones with this global gitignore being local to your computer this way:
git config --global core.excludesfile ~/some/path/to/your/global/gitignoreThis way you won't have to add lines specific to your own setup on any project you work on. =)
|
@derrod I will be creating an AUR package for ArchLinux this week to make it easier to use this driver. Take a look at this branch: https://github.com/antpk/lg4k-linux/tree/devwithlatestdriver This is @antpk's branch that adds the new driver to @cdorn0's branch. There are a couple of changes necessary. The install.sh script needs to be updated to point to cx511h.ko instead of gc573.ko (unless making other adjustments), and the comment at this commit needs to be reviewed/resolved: I will be doing testing tonight. It would be ideal if the AUR package referred to this repo rather than antpk's, assuming you intend to continue maintaining this driver. Please let me know your thoughts. Also, hi @illwieckz I see you everywhere I swear |
|
I don't see why it would be an issue if the AUR package referred to a different repo. This isn't my original work in the first place. If and when I can successfully test the work on any forks I'll merge it. |
|
Sounds good, thanks. |
|
I haven't managed to get the card working (i.e. with the driver not crashing the whole system) with any of the patches I tested (including this PR), but I haven't tested https://github.com/antpk/lg4k-linux/tree/devwithlatestdriver yet. Hi @Gelmo 👋, did you get something working and usable on your end? |
|
@illwieckz Not yet, no. I have the module building via dkms, but it is not functional. Looks like additional adjustments to the board binaries are needed: |
… work; fixed singleplane support for NV12 and YV12; fixed multiplane buffers; fixed ioctl for v4l2 compliance; started development on multiplane support
Changed board name to gc573; Changed printk to use the module name for kernel messages; extracted library and patched to a working version