Use this tag for questions about loading, configuring, or compiling them. See also /drivers for questions about which modules to use for specific hardware. A kernel module is a bit of code that can be added into the kernel by the administrator while the system is running, typically providing one ...

learn more… | top users | synonyms

1
vote
1answer
19 views

Where to put modules for different configurations of same kernel version?

To what I see the modules for different kernel versions are stored below /lib/modules, i.e as /lib/modules/{version}/...../...ko Now, while this makes it evident where to store the modules for each ...
1
vote
0answers
48 views

Kernel module inconsistency

everyone. I have special USB device (chinese touchscreen), what I need to connect to my computer with Linux. By default, Linux assign connected device to usbhid (I found this info by execute usb-...
1
vote
0answers
66 views

Installation doesn't happen on new kernel versions?

I have several modules setup in DKMS which should be automatically installing to new kernel versions, but aren't. I'm noticing the same problem on all four of my home-brewed DKMS modules. Here's an ...
0
votes
1answer
158 views

Unable to connect to USB CDC device

I have an 8 channel USB Relay board which I have connected via USB. The manual for the board states that: To use this product with Linux, USB CDC driver needs to be compiled in with the kernel. ...
1
vote
2answers
7k views

How to install AMD Catalyst 15.9 on Ubuntu 15.10?

today I tried to install the fglrx-updates package from the repositories of Ubuntu 15.10, but after rebooting my computer, did not start the display manager. It is assumed that the driver has patches ...
0
votes
0answers
200 views

Does systemd-modules-load.service recognise modprobe.blacklist option on the kernel command line?

I put modprobe.blacklist=configs into my kernel command line booting from gummiboot, and I checked if systemd is still trying to load the module configs, and indeed it is, because a module error ...
0
votes
0answers
20 views

Copying Driver Module files for manual install in another installation

Is it possible to extract the driver module files(including firmware files) from an installation(say i0) and place them manually in the same directory in another installation(say i1), and maybe edit ...
1
vote
0answers
40 views

How to automatically load a new VID&PID to module usb_serial

I have a 4G module that requires me to run echo '03f0 581d' > /sys/bus/usb-serial/drivers/generic/new_id after every startup/resume to make the modem visible. How should I make this automatic? ...
1
vote
1answer
41 views

Kernel not recognizing new devices from DKMS module?

I've done some work backporting the kernel modules for hid-apple and bcm5974 (with lots of help from SicVolo) and writing DKMS scripts for them so I can maintain compatibility across kernel upgrades: ...
1
vote
1answer
74 views

Determine which module is bound by a HID device?

I'm having a weird problem. I've done some hacking based on another person's work to backport support for the internal keyboard on a MacBook Pro 11,5 into kernel 3.19. My GitHub source can be found ...
1
vote
1answer
182 views

Does amdgpu support my Fury X and why isn't the driver loaded?

Currently my linux machine only can detect one monitor and seems to be running the bare minimum for graphic support. My system seems to recognize that the card is a Fury X but doesn't load any drivers ...
0
votes
1answer
63 views

ALSA sounds card volume range numbers, and Difference between Control Names

I'm developing my first sound card driver in Ubuntu with ALSA. Implementing a volume control for the sound card I stumbled upon a few questions. 1) For the function that is assigned to ...
0
votes
0answers
25 views

Driver Module Backup from a Running Installation

Is it theoretically possible to make a backup of all the driver modules (especially the ones that are not merged into the original kernel) from a running installation of LinuxMint? The source of the ...
7
votes
1answer
242 views

How to understand the modinfo output?

I'm just trying to understand the modinfo output that describes a kernel module. For instance, in the case of the module i915, the output looks like this: $ modinfo i915 filename: /lib/modules/...
2
votes
1answer
49 views

'modinfo --field' possible values?

modinfo --field allows filtering for fields like "autor", "description", which is nice. Question: Where can I find a complete list of possible values for --field What I've tried so far: man 8 ...
1
vote
1answer
59 views

Setting up a single driver to be automatically compiled with DKMS from kernel tree

I'm on Ubuntu 14.04 with the HWE from Vivid, meaning I'm running kernel 3.19 for now, until 15.10 hits and the kernel is made available through HWE. I'm on a MacBook Pro and my particular Bluetooth ...
1
vote
0answers
19 views

Specify driver for given device?

I have an interesting problem. I'm on Ubuntu 14.04 (distro: elementary OS Freya). I have a MacBook Pro in a dock which provides ethernet over USB 3. The USB ethernet device id is 0b95:1790 and uses ...
0
votes
0answers
44 views

There is possible to read 1-wire (ds18b20) without waiting for conversion?

I want to read temperature value from ds18b20 by 1-wire interface without blocking. There is any way to do that? I tried fnctl(fd, F_SETFL, O_NONBLOCK) but its not working. Actually I have a loop ...
0
votes
0answers
47 views

How do I find corresponding kernel virtual addresses and userspace virtual addresses for a coreboot table driver?

How does kernel virtual addresses relate to userspace virtual addresses and is there a way to map the two with a kernel function? Some background: Coreboot puts some information in a table structure ...
0
votes
0answers
95 views

Is it possible to hide processes from ps or top on modern day kernels?

I'm looking for a way to build a kernel module that can hide processes from ps and top commands. The kernel I'm working with is 3.13.0. I'm not sure what kind of kernel data structure I should be ...
1
vote
1answer
164 views

module issues with kernel

I am currently getting this error message:- iptables v1.4.12: can't initialize iptables table `filter': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be ...
0
votes
0answers
45 views

Help with printk

I know this problem has been asked many a time and I have researched this. But I don't know if there have been changes to the way things were done (the latest post on the subject I was able to find ...
17
votes
2answers
1k views

Is developing/testing a linux module safe using a virtual machine?

I'm in an operating systems class. Coming up, we have to do some work modifying kernel code. We have been advised not to use personal machines to test (I suppose this means install it) as we could ...
0
votes
1answer
68 views

Dummy Network Driver

I have failed to come up with a dummy network driver through google search.i am planning to write a network driver in C that is linked to protocol stack but not linked to any hardware The online ...
0
votes
0answers
39 views

Installing USB TV UTV383E card in linux

Recently I have bought a USB TV Card UTV383E. How can I install it in Debian Jessie or LUBUNTU. I have both the system installed in same machine, a HP Pro-book 420 ? Any help ?
0
votes
1answer
128 views

How to compile kernel module without a makefile?

Is it possible to compile a kernel module without a makefile and if so, how?
0
votes
2answers
70 views

difference between /lib/module/$(uname -r) and /sys/module

I apologize if the query is too simple. But I want to ask is there a difference between linux system modules and linux kernel modules. If there is a difference then where are both located. Is it that /...
3
votes
1answer
385 views

How to boot linux without an initramfs?

As the title says I'm looking for a way to boot an existing linux kernel without an initramfs. According to this link it should be possible simply by editing /boot/grub2/grub.cfg. But if I try this ...
7
votes
2answers
1k views

What decides which kernel modules are built in the kernel statically during compilation?

I just compiled a new kernel and asked myself: What decides during the compilation process which kernel modules are built in the kernel statically? I then deleted /lib/modules, rebooted and found ...
1
vote
0answers
142 views

weak-modules from module-init tools directory

I see in module-init directory, files named as weak-modules*. bash # ls /usr/lib/module-init-tools/weak-modules* /usr/lib/module-init-tools/weak-modules /usr/lib/module-init-tools/weak-modules2 ...
1
vote
1answer
383 views

How to install drivers for integrated intel graphics?

I am building a minimal Debian system. I installed Debian Wheezy with the netinstall iso, and selected to install only basic system utilities, no desktop environment. The computer that is running this ...
0
votes
0answers
51 views

rmmod/modprobe -r of nmi_watchdog but the module/device is still working

I have a theory that the mni_watchdog device is still operating on a system despite the given module being removed with modprobe -r. Is it possible, and under what conditions, that a module would ...
0
votes
1answer
334 views

USB WiFi adapter using ath9k_htc not working on Linux

I have a TL-WN821N wifi adapter that is supposed to work using purely free software. It used to work when I used the Trisquel Linux distribution but now when I have switched to Debian it does not ...
1
vote
1answer
67 views

Are Modules listed under /sys/module all the Loaded Modules?

I'm wondering if I can use the directory listing of /sys/module instead of lsmod to get a list of currently loaded modules. Is that the list of loaded modules only? Or maybe that combined with /sys/...
0
votes
0answers
108 views

Registering virtual SPI master device

I need to create a virtual SPI master device. Having a proprietary solution that communicates directly with a sensor using SPI I want to move the sensor away. To do so I want to create a kernel ...
2
votes
1answer
300 views

check-config errors on Linux 3.19.0 kernel, configured under Ubuntu 15.04 x86-64

I'm new to configuring Linux kernels, and am receiving the following errors when running config-check: check-config: /tmp/tmp.tnqExc0fHn/CONFIGS/amd64-config.flavour.generic: loading config check-...
1
vote
1answer
69 views

What module in the kernel that inform the DHCP client to start DHCP negotiation?

DHCP client is a process instead of kernel code. How the DHCP client know when to start sending DHCP discover message? Is it the IP module in the kernel that inform the DHCP client?
2
votes
1answer
325 views

Which system file is loading the “wl” (wifi) kernel module at boot time?

I've recently installed the "wl" (wifi) kernel module on my system. It's a driver that makes my Broadcom wifi card work. Unfortunately the module gets enabled at boot time (wifi light comes on), which ...
0
votes
0answers
587 views

How to downgrade VirtualBox after a kernel upgrade to 4.1.4-1?

I run Arch Linux and did a complete pacman sync and upgrade of my entire system. One of the updates was a kernel upgrade that I am happy with and had no other problems with. One of the packages that ...
1
vote
1answer
522 views

Unable to install new kernel in ubuntu server. “gzip: stdout: No space left on device” error even though abundant disk space

I am trying to install a new kernel on Ubuntu Server and I am unable to complete it due to a "gzip: stdout: no space left on device" error. The full error was produced after running sudo make ...
2
votes
1answer
45 views

Recompile kernel without modules that are not currently in use

Is there a neat way of stripping the Linux kernel to only support the devices that are currently in use. After NVIDIA complaining about GCC version mismatch, I decided to recompile the kernel with the ...
0
votes
0answers
33 views

microusb to rj45 usage

I just got these (generic) devices today: Micro USB 2.0 to Ethernet 10/100 M RJ45 Network Lan Adapter Card. No vendor listed. I came with a mini cd that is not readable from linux. I'm headed to a ...
3
votes
0answers
221 views

EDID - help to detect proper DPI and refresh rate values

I just tried to extract EDID file data with read-edid util; The thing is the output shows : $sudo get-edid | decode-edid ... Manufacturer: AUO Model 20ec Serial Number 0 Made week 0 of 2013 EDID ...
-1
votes
1answer
123 views

RAM Disk related questions [duplicate]

there is a developed kernel subsystem that needs a chunk of memory allocated to itself that only it could manipulate this chunk. this memory should be physically contiguous and also it need the access ...
1
vote
0answers
183 views

Binding/unbinding GPU between host OS and pci stub while host OS is running

Using a Debian 8 host, I'm interested in setting up a Windows VM guest which gets direct access to my dedicated/discrete graphics card, to see what sort of performance I can get out of it for games (...
3
votes
1answer
42 views

Is a disabled kernel option equivalent to not loading the corresponding module?

Suppose I set a tristate kernel configuration option to be built as a module, but I don't load the corresponding kernel module at runtime (and it doesn't get loaded automatically). Is the ...
1
vote
0answers
610 views

i915 - Intel BayTrail - graphics artifacts

I just noticed I have some kind of graphics artifacts which effect visual discomfort like so called "blurry"; And, moreover, I am not sure I have correct DPI settings right now (give me advise ...
3
votes
0answers
77 views

Signing a module for prebuilt kernel

I am developing linux driver for my own PCI device. I have stucked up on starting my module: [14941.205599] mymod321: module verification failed: signature and/or required key missing - tainting ...
1
vote
0answers
129 views

Linux: Two different drivers for two (mostly) identical PCI devices

For some obscure reason, I want to use two different drivers for two identical PCI devices on the same system. The drivers have different characteristics, which is why I want one physical device ...
0
votes
1answer
52 views

edit module requirements when compiling kernel

I would like to compile the realtime kernel for raspberry pi (https://github.com/emlid/linux-rt-rpi) and want to use the pi with a soundcard - the tascam us122l. The problem that I have is the ...