If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:modinfo (lincmd)

From BoxMatrix


BoxMatrix >> Shell-Commands >> modinfo (lincmd) @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

Info
  
Name-Collision - multiple objects in this wiki use the name modinfo!
modinfo (bbcmd) Show information about a Linux Kernel module.
modinfo (lincmd) Show information about a Linux Kernel-Module

Linux-Command

Goto:   Examples  -  GPL-Browser  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

modinfo shows information about a Linux Kernel-Module. It is part of the kmod package

modinfo is not installed in FRITZ!OS, neither this kmod version nor the busybox version modinfo (bbcmd). However, modinfo
is compiled into kmod but lacks the symlink. Unlike busybox there's no way to call kmod builtins without symlink.
Creating a symlink in RAM makes it accessible, see the method to gather the help output below.

modinfo would also support infos on builtin modules from modules.builtin.modinfo, but this is not compiled in on FRITZ!OS.

See also the modinfo(8) and kmod(8) man pages.

modinfo fw 7.39 help:

root@fritz0:/var/mod/root# ln -s /usr/bin/kmod modinfo

root@fritz0:/var/mod/root# ./modinfo -h

Usage:
	modinfo [options] filename [args]

Options:
	-a, --author                Print only 'author'
	-d, --description           Print only 'description'
	-l, --license               Print only 'license'
	-p, --parameters            Print only 'parm'
	-n, --filename              Print only 'filename'
	-0, --null                  Use \0 instead of \n
	-F, --field=FIELD           Print only provided FIELD
	-k, --set-version=VERSION   Use VERSION instead of `uname -r`
	-b, --basedir=DIR           Use DIR as filesystem root for /lib/modules
	-V, --version               Show version
	-h, --help                  Show this help

Examples

modinfo fw 7.39 examples:

root@fritz0:/var/mod/root# ./modinfo drv_dsl_cpe_api

filename:       /lib/modules/4.4.271/kernel/drivers/dsl/drv_dsl_cpe_api.ko
license:        Dual BSD/GPL
depends:        
vermagic:       4.4.271 SMP preempt mod_unload ARMv7 p2v8 
parm:           g_MaxDeviceNumber:byte
parm:           g_LinesPerDevice:byte
parm:           g_ChannelsPerLine:byte
parm:           debug_level:set to get more (1) or fewer (4) debug outputs (byte)
parm:           g_avm_ptest:set to 1 in order to run in production test mode. (byte)
root@fritz0:/var/mod/root# ./modinfo pcmlink

filename:       /lib/modules/4.4.271/ubik2/pcmlink.ko
license:        
(C) Copyright 2007-2019 AVM

description:    PCMLINK 'Ultimate-Flexible-Router for PCM/Audio over MCSP/TDM/C55/ADSP/LANTIQ/ATH934x/QCA955x/IPQ40xx'
depends:        
vermagic:       4.4.271 SMP preempt mod_unload ARMv7 p2v8 
parm:           voiponly:work without isdn-hardware (only voip) (int)
parm:           prawda:prawda-mode (int)
parm:           ignore_nocapi:ignore_nocapi (int)
parm:           c55x_hexfile:string
parm:           nlrmode:work in repeater-nlr-mode (int)
parm:           adsp_file:string
parm:           vpe_file:string
parm:           remote:remote usage (int)
parm:           abmode:bit0: slic1 exist bit1: slic2 exist bit2: pots instead slic2 bit3: pots (clare2) instead slic2bit4: nt2 replace te, bit7: fpga bit8: fpga2 bit9: pef bit10: spitdm bit11: slot-shift-wa (int)
root@fritz0:/var/mod/root# ./modinfo isdn_fbox_fon5

filename:       /lib/modules/4.4.271/isdn_fon5/isdn_fbox_fon5.ko
license:        
(C) Copyright 2007-2016 AVM

description:    ISDN-Driver
depends:        pcmlink
vermagic:       4.4.271 SMP preempt mod_unload ARMv7 p2v8 
parm:           io_addr:io_addr: I/O address (int)
parm:           irq_num:irq_num: IRQ number (int)
parm:           dect_hw:dect_hw: DECT_HW_Version (int)
parm:           dect_on:dect_on: DECT activation (int)
parm:           local_ec:local_ec: 1: echo-canceler 2: dtmf-scanner 3: all (int)
parm:           debug_mode:debug mode (int)
parm:           trace_mode:trace mode (int)
parm:           patchvalue:patchvalue (int)

GPL-Browser

Daily updated index of all modinfo code findings on the GPL-Browser. Last update: 2024-04-17 18:54 GMT.
The Browse column points to the Path containing the respective source code on the gpl.boxmatrix.info service.
The SoC column lists the Chip-Codenames, the Model column lists the nicks of the Box-Models.
The Diff column links the comparison of the AVM Kernel to the pristine original from Kernel.org.
The Download column links the full tarball the respective directory content is extracted from.
The presence of the source does not mean it fits the respective model and architecture. See the Model-Matrix where it's used.

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-04-17 07:12 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
0 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-04-17 05:08 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom) label in the Model column shows which CPU is meant for models with multiple Linux instances.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmware Path Size
0 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-04-17 07:12 GMT.

Firmware Symbol
0 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.