Then build it like that.
Hardcode tuner 0-11.
Why is it like this?
To do this, you would have to understand udev more precisely, mdev automatically generates it.
Certainly there is also a possibility to do this by the Udev itself, but that's how it worked.
Even if it doesn't look so nice, it doesn't matter.
It should work.
greetings
# There are a number of modifiers that are allowed to be used in some # of the different fields. They provide the following subsitutions: # # %n the "kernel number" of the device. # For example, 'sda3' has a "kernel number" of '3' # %e the smallest number for that name which does not matches an existing node # %k the kernel name for the device # %M the kernel major number for the device # %m the kernel minor number for the device # %b the bus id for the device # %c the string returned by the PROGRAM # %s{filename} the content of a sysfs attribute # %% the '%' char itself # The first rtc device is symlinked to /dev/rtc KERNEL=="rtc0", SYMLINK+="rtc" # Legacy paths for dbox devices KERNEL=="oled0", SYMLINK+="dbox/oled0" KERNEL=="fp0", SYMLINK+="dbox/fp0" KERNEL=="lcd0", SYMLINK+="dbox/lcd0" KERNEL=="vtuner0", SYMLINK+="misc/vtuner0" KERNEL=="vtuner1", SYMLINK+="misc/vtuner1" KERNEL=="vtuner2", SYMLINK+="misc/vtuner2" KERNEL=="vtuner3", SYMLINK+="misc/vtuner3" KERNEL=="vtuner4", SYMLINK+="misc/vtuner4" KERNEL=="vtuner5", SYMLINK+="misc/vtuner5" KERNEL=="vtuner6", SYMLINK+="misc/vtuner6" KERNEL=="vtuner7", SYMLINK+="misc/vtuner7" KERNEL=="vtuner8", SYMLINK+="misc/vtuner8" KERNEL=="vtuner9", SYMLINK+="misc/vtuner9" KERNEL=="vtuner10", SYMLINK+="misc/vtuner10" KERNEL=="vtuner11", SYMLINK+="misc/vtuner11" KERNEL=="pvr", SYMLINK+="misc/pvr" KERNEL=="i2c-[0-9]*", SYMLINK+="i2c/%n" # The first framebuffer is symlinked to /dev/fb KERNEL=="fb0", SYMLINK+="fb/0" # Make all input devices read-write to the input group SUBSYSTEM=="input", GROUP="input", MODE="660"
You could start another attempt and change the application of the Vtuner in the current script from 0-9 to 0-11 and see what comes out of it.
https://github.com/O...extra.rules#L23
Edited by rantanplan, 19 October 2020 - 11:01.