Tag Info

New answers tagged

0

After discovering that the Ubuntu wiki I am using is referring to external modules, it was easier to find a solution by rtfm. Summary of external modules install paths External modules are installed with modules_install at /lib/modules/$(KERNELRELEASE)/extra/ by default. When installing external modules elsewhere, INSTALL_MOD_PATH is used to prefix ...


1

Kernel modules, whether in-tree or out-of-tree, are installed in directories specific to given kernel versions (/lib/modules/$(uname -r)), so you shouldn't need to clean up modules to upgrade to a new kernel: the new kernel simply won't consider the old modules. Nevertheless, as far as I'm aware in-tree modules go in /lib/modules/$(uname -r)/kernel, so ...


0

I had this happen to me once when I kept my USB camera plugged into the computer on the same bus. The camera was saturating the bus (even when not in use) and actually sending data right at the limit of that USB bus. Try unplugging the other USB devices. I noticed this by checking dmesg


1

It's the module code itself. Module metadata is usually either stored inside the module .ko or within flat files underneath /lib/modules/$(uname -r)/. If you want to know more about the module you're looking at you can do a modinfo iwlwifi


1

There isn't anywhere special the source code needs to be. Normally it'd be wherever your repository is. If you want to leave it somewhere for the next admin to find, the most obvious place would be a company VCS server. /usr/src would also be a reasonable place to look, as well as $HOME. Eventually, if you decide to submit the module for inclusion in the ...


1

mac here doesn't have any relation to Macs: MAC stands for Media Access Control. The module described in details here and it just provides a framework for Wi-Fi drivers to build upon. Also, cfg80211 provides the configuration layer. As I understand it, iwldvm just provides lower-level functionality for iwlwifi (thus the dependency) and other Intel WLAN ...


0

It is technically possible if one of the device supports USB OTG, in which a port may act as master or as slave. You may set up the OTG device as slave, and let it act as an USB hard disk drive (so you don't even need special driver on the master). This is what a lot of phones and some cameras do. If you connect them to a printer they become master; if ...


14

Yes this is possible, but it is not possible by cutting two USB cables with USB-A connectors (what is normally going into the USB on your motherboard) and cross connecting the data cables. If you connect the USB power lines on such a self made cable, you are likely to end up frying your on-board USB handling chip. Don't try this at home! On most computer ...


3

you could use a USB bridge device which is available in a cable form-factor like this ... http://www.usbgear.com/link/ (auto-play video warning)


10

Execute the command modinfo <kernel_module_name> and look for vermagic shw@shw:/tmp # modinfo btrfs filename: /lib/modules/3.13.0-36-generic/kernel/fs/btrfs/btrfs.ko license: GPL alias: devname:btrfs-control alias: char-major-10-234 alias: fs-btrfs srcversion: EA2C07F0B841AE2A6D8F91F ...


1

I think you can use /proc/modules. It contains information about all currently loaded modules in the kernel. For example: cat /proc/modules | grep i8k Result could be: i8k 14696 0 - Live 0xffffffffa03b8000 Where: The first column contains the name of the module. The second column refers to the memory size of the module, in bytes. The third column ...


0

On a current CentOS 7 minimal install you need: sudo yum install gcc kernel-devel-$(uname -r)


2

Make can read a makefile from stdin, so you can give it a here document that is a makefile. The following is a makefile that includes your kernel makefile and adds a new wildcard target, %.var, whose recipe will output the value of the given make variable. (This assumes you don't have any files or other targets that end in .var, of course). showvar() { make ...


4

If you need just simple things like your example, just grep them out of the Makefile. For more complicated things, GNU Make has a -p option which prints the database after running Make, which includes all the variable definitions (and a lot more). You can use it together with -n, which causes the actions to not actually run (so nothing gets built). You can ...


2

You may try to extract the values with grep and sed. For example: filename="$HOME/kernelbuild/linux-3.14.37/Makefile" version=$(grep -m 1 VERSION $filename | sed 's/^.*= //g') This greps for first occurrence of "VERSION" in Makefile


0

You can find it in /usr/src or you can download from here (src.txz). In FreeBSD the base system is outside of package manager. You can't install kernel package, system utils (cp, ls, etc.) package, etc.. They are part of base system - you can update with freebsd-update (it's part of base system, of course). Check documentation too!


0

This may be a duplicate of this just asked differently. Anyways, have you tried to find out if another process is using the camera(such as one of your previous attempts to use the camera not exiting properly...) Try this - (notice you have to take the output of the first line and edit the third line to match your output... sudo fuser /dev/video0 ...



Top 50 recent answers are included