Portál AbcLinuxu, 7. května 2025 12:40
modprobe it87 force_id=0x8728
Řešení dotazu:
it87 force_id=0x8728
dmesg | grep it87
[ 711.979678] it87: Found IT8728F chip at 0x290, revision 6
[ 711.979710] it87: Beeping is supported
[ 711.980064] it87: Found IT8728F chip at 0xfff8, revision 15
[ 711.980095] it87: Beeping is supported
modprobe it87 force_id=0x8728
V tomto tvaru to má podle návodu fungovat a tak to funguje při ručním vložení.MODPROBE.D(5) modprobe.d MODPROBE.D(5) NAME modprobe.d - Configuration directory for modprobe SYNOPSIS /lib/modprobe.d/*.conf /etc/modprobe.d/*.conf /run/modprobe.d/*.conf DESCRIPTION Because the modprobe command can add or remove more than one module, due to modules having dependencies, we need a method of specifying what options are to be used with those modules. All files underneath the /etc/modprobe.d directory which end with the .conf extension specify those options as required. They can also be used to create convenient aliases: alternate names for a module, or they can override the normal modprobe behavior altogether for those with special requirements (such as inserting more than one module). Note that module and alias names (like other module names) can have - or _ in them: both are interchangeable throughout all the module commands as underscore conversion happens automatically. The format of and files under modprobe.d is simple: one command per line, with blank lines and lines starting with '#' ignored (useful for adding comments). A '\' at the end of a line causes it to continue on the next line, which makes the file a bit neater. COMMANDS alias wildcard modulename This allows you to give alternate names for a module. For example: "alias my-mod really_long_modulename" means you can use "modprobe my-mod" instead of "modprobe really_long_modulename". You can also use shell-style wildcards, so "alias my-mod* really_long_modulename" means that "modprobe my-mod-something" has the same effect. You can't have aliases to other aliases (that way lies madness), but aliases can have options, which will be added to any other options. Note that modules can also contain their own aliases, which you can see using modinfo. These aliases are used as a last resort (ie. if there is no real module, install, remove, or alias command in the configuration). blacklist modulename Modules can contain their own aliases: usually these are aliases describing the devices they support, such as "pci:123...". These "internal" aliases can be overridden by normal "alias" keywords, but there are cases where two or more modules both support the same devices, or a module invalidly claims to support a device that it does not: the blacklist keyword indicates that all of that particular module's internal aliases are to be ignored. ...
Ano, to je standardní postup. Jen je potřeba dát pozor na dvě věci:
1. Je to konfigurace pro modprobe
, takže se parametr nepoužije např. při ručním použití insmod
, ale to většinou není problém.
2. Pokud se modul loaduje už v rámci initrd, je potřeba, aby byl příslušný konfigurační soubor i v něm. Distribuční mkinitrd (nebo dracut) se o to obvykle postará, ale je potřeba mít na paměti, že po editaci je potřeba ho spustit ručně, aby se tam změna promítla hned.
it87.force_id=0x8728
. To by mělo fungovat také. Ani nemusíš nikde nic upravovat, na ozkoušení to tam stačí při bootu připsat na konec za ostatní parametry předávané jádru.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.