General :: See Which Device Uses Which Kernel Module?

Aug 18, 2010

I have a Samsung phone GT-B3210. For some time I was unable to find working Windows drivers for it. I eventually gave up looking. Then one time I was charging phone over its USB port and booted Ubuntu and was pleasantly surprised when I saw phone's μSD card reader on my desktop. I now need to switch to Gento and would like to be able to work with phone there too. Lsusb tells me it's detected as Bus 007 Device 006: ID 04e8:663f Samsung Electronics Co., Ltd SGH-E720/SGH-E840but lsmod wasn't very helpful. On the list of loaded modules, I wasn't able to find one which looks like it's related to the phone.

View 1 Replies


ADVERTISEMENT

General :: Adding A New Kernel Module To Wireless Driver Module?

Apr 22, 2010

I want to add some code in existing linux2.6.33.2 to enhance kernelI want to know how to start and where to add code.

View 2 Replies View Related

General :: Install Module U32 Into The Netfilter Module For Kernel 2.6.27

Jan 30, 2011

I need to install module u32 into the netfilter module for kernel 2.6.27.

I did not see the source code in the kernel version I have. where can I find the code for U32 module.

I have checked "netfilter.org" and looks like POM is discontinued. Is the u32 module committed to kernel version 2.6.27 or need to patch it. If yes, where can I find the patch?

I building the kernel for a MIPS processor.

View 3 Replies View Related

Hardware :: Partport Module Is Seeing Parallel Port But Lp Module Doesn't Found Any Device

Mar 3, 2011

I am trying to install a Sunix 4018T dual parallel port card on a pc with Mandriva Linux 2010.1: Dealer told me that linux has driver for this card already so I inserted it and turned on my pc. Unfortunately when I try to install my Okidata ML320, cups it's not showing any parallel ports. I try to update all the system with last patches and packages :I tested the card on a pc with windows xp, installed my printer and it works perfectly.

View 3 Replies View Related

General :: How To Tell Xorg To Reload Input Device Module

May 14, 2010

When X.org boots up, Synaptics touchpad works well. But when I remove the module it falls back to /dev/input/mice and don't use normal driver even when touchpad is available again.

Xorg.0.log:
...
(II) XINPUT: Adding extended input device "Synaptics Touchpad" (type: TOUCHPAD)
(--) Synaptics Touchpad: touchpad found
# { rmmod psmouse && echo mem > /sys/power/state && modprobe psmouse; }
(WW) : No Device specified, looking for one...
(II) : Setting Device option to "/dev/input/mice"
...

How to tell X.org to try it's InputDevice again (without restarting X server)? rmmod psmouse is needed to prevent crashing of Acer Extensa 5220 when resuming from suspend-to-ram. Found answer myself: Doing xinput set-int-prop "Synaptics Touchpad" "Device Enabled" 8 1 after reloading the kernel module reloads touchpad. Now suspend-to-ram works OK.

View 1 Replies View Related

General :: Getting Error "invalid Module Format" And "insert Kernel Module" / What Is This?

Feb 22, 2010

What is the error "invalid module format" and the message "insert kernel module" mean? And whats the reason for the same?

View 8 Replies View Related

General :: Automatically Load Kernel Module?

Aug 6, 2010

I'd like openSUSE to automatically load a kernel module (e.g. libsas) at boot time even no device requires it. In Ubuntu, you would add the module name to the file /etc/modules. Is this the correct place for openSUSE as well?

View 1 Replies View Related

General :: Kernel Module Run In It / User Space?

Oct 25, 2010

I'm pretty new to this whole (micro)kernel architecture story.

Im wondering if a kernel module is running in kernel or in user space?

Is a driver running as kernel module slower than a driver build into kernel?
If so, are there some current articles, benchmarks?

View 4 Replies View Related

General :: What Is The Module That Is Used To Process Font In Kernel

Oct 28, 2010

what is the module that is used to process font in Linux kernel?

View 4 Replies View Related

General :: Recompile A Kernel Module Without Rebuiling It?

Jul 24, 2011

I wish to recompile serial_core module to make a change in the way ioctl works. I don't wish to rebuild the whole kernel package. Can someone point me to the proper method?? I know I will need to download the kernel headers etc. But I would like to avoid the unneeded compiles of things I don't need to recompile.

View 1 Replies View Related

General :: Error During Kernel Module Compiling

Mar 13, 2011

I update my last kernl to 2.6.38-rc7 but when I launch VirtualBox, on stdout.The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (2.6.38-rc7) or it failed to load. Please recompile the kernel module and install it by sudo /etc/init.d/vboxdrv setup.

View 1 Replies View Related

General :: Install New Module On Newly 2.6.35-rc5 Kernel?

Jul 16, 2010

Recently I was trying to look into vmware pvscsi modules for newly announced linux kernel 2.6.35-rc2. I compiled the kernel with option: make oldconfig where it asked me for various interactive options and all I did is Kept pressing the Enter ENTER key(Donno if that is the correct way to slect default ).The Kernel Compilation anyway went fine and I can see new kernel at grub screen, booted and it went fine.Now when I explored I found that nor the vmware_balloon and vmw_pvscsi modules are present which means I need to install these modules.I came to know that recently a new version of the vmware memory drivers being included through this page:

[URL]

where you can see an entry like:

Code:

MODULE_AUTHOR("VMware, Inc.");
MODULE_DESCRIPTION("VMware Memory Control (Balloon) Driver");
-MODULE_VERSION("1.2.1.0-K");
+MODULE_VERSION("1.2.1.1-k");

Doesn't it mean that the new kernel has new driver version inboxed?Also, I tried to install modules through modprobe and insmod(seems that this doesnt work) but couldnt do that.

View 15 Replies View Related

General :: Write Kernel Module That Will DMA Custom Card?

Aug 31, 2010

I am trying to write a kernel module that will DMA my custom card. Right now when i plug the card into linux no valid PCI device shows up (meaning I probably have a error on my end, i know) however, If I halt the system at startup in the bootloader (uboot) I am able to directly access the card as I know in uboot the physical memory address that is mapped to my device. Is there a way I can access the card in a simliar fashion in linux?

View 1 Replies View Related

General :: How To Load A Kernel 2.6 Module With F Force Option?

Jan 21, 2010

I have a loadable module, simple enough I believe it should run on any 2.6 kernel. I want to force the load and test that assumption. How can I do it?

ismod does not seem to notice the -f in 2.7 modprobe has -f but cannot locate the module.No go. So I read the manpage for modprobe which says: modprobe looks in the module directory /lib/modules/'uname -r'.So I copied MYMODULE.ko to /lib/modules/2.6.(the only directory in here) and type: modprobe -f MYMODULE.ko.Still can't locate MYMODULE.ko.I notice there are no other .ko modules in that directory; so I go in deeper to kernel/drivers/char, guessing about the char directory, and copy MYMODULE.ko there.

View 1 Replies View Related

General :: Making Sure A Module Is Loaded In The Kernel Upon Boot?

Dec 22, 2010

im doing a school assignement and i cant find any info about this anywhere. How do i make sure that a module is loaded into the kernel upon boot?

View 2 Replies View Related

General :: How To Recompile My Module On Boot Time With Kernel

Jan 25, 2010

I am using FC9, I want to write a module that will always show current time after booting.But for that I need not only to load module using insmod/modprobe, but also to compile that module during boot time.How can I perform this 2 steps correctly.

View 11 Replies View Related

General :: Writing A Kernel Module And Make Concepts

Mar 13, 2011

i have written some really basic loadable kernel modules. There are a couple of concepts that i'll like to get cleared.

In a tutorial, the Makefile was given as follows-
obj-m += try.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean

I understand that -C option of 'make' changes the current directory to /lib/modules/$(shell uname -r)/build (which depends on my kernel).

Now, my question is why to change to that particular directory? Also M=$(PWD) will hold the dir where i have written the module. Why is it required? What does 'modules' at the end of that line indicate?

Q2> We need to include <linux/module.h> and <linux/kernel.h> in a module. If i am right, the module uses kernel headers for these definitions. But how does 'make' find these definitions.

Q3> We are planning to write a custom scheduler for linux kernel. cat /sys/block/sda/queue/scheduler gives us the currently loaded schedulers. How do we expose our scheduler to linux kernel so that we can use it by switching to it.

View 3 Replies View Related

General :: Pass Options To A Kernel Module Through The Boot Parameter?

Nov 4, 2010

I have an issue that is fixed by changing the lpfc driver to run using MSI interrupts. This is done by adding "options lpfc lpfc_use_msi=2" /etc/modprobe.conf.local file.

Is there a way to make this change using kernel boot parameters?

View 1 Replies View Related

General :: Kernel Crashed When The Module Tries To Send IPv6 Packet?

Oct 10, 2010

I am facing problem(system gets crash) while I try to send IPv6 packet by using my kernel module. I have given the code and makefile for my module. I will appreciate if any one shares any tester module for sending IPv6 packets.The kernel version that I am using is 2.6.9 and it supports for IPv6.

file name: rtp_pkt_tx.c
#include "linux/kernel.h"
#include "linux/module.h"
#include "linux/skbuff.h"
#include "linux/init.h"

[Code]...

View 1 Replies View Related

General :: Lib/module/build And Set Kernel Path Error While Configuring Madwifi

Jul 25, 2010

I am trying to install atheros AR5007EG on my toshiba laptop -i figured out that best way to install this wireless card is through madwifi -while configuring madwifi i get this error

I am posting the output of different commands so you can understand better -i manually tried to link the build directories to kernel-source which failed - i am not sure exactly what kernel source is and how i can link to kernel source -

My output:

View 1 Replies View Related

OpenSUSE :: Kernel Module / Building VirtualBox Guest Additions Kernel Modules - Failed?

Feb 10, 2010

I installed openSUSE 11.2 on virtualbox. My host is windows 7. I tried to install the guest additions, but i get an error saying

Code:
Building VirtualBox Guest Additions Kernel Modules...Failed
(Your system does not seem to be set up to build kernel modules)

How should i go about to let my system build kernel modules?

View 7 Replies View Related

Debian Configuration :: Nvidia Kernel Module With Custom Kernel

Jan 24, 2010

I have a problem with my custom kernel when I want to create the Nvidia kernel module.After this finished I installed the image and headers and created the Nvidia kernel module. Everything worked fine.However, if I remove the linux-source from my home directory then I can't create the kernel module.Even though I have the headers for the kernel installed.

View 2 Replies View Related

Ubuntu :: VirtualBox Kernel Module Breaks After Each Kernel Update?

Jan 6, 2010

I'm running Virtualbox from the Sun website (need the USB support) and it breaks after each kernel update.The problem is that I installed a lot of Ubuntu systems for transitioning windows users with Windows in virtualbox to ease the migration but I have to rerun vboxdrv setup after each kernel patch.

View 2 Replies View Related

General :: Instruct The Kernel To Use A USB Keyboard And FB Device As It's Boot Console?

Jul 8, 2010

I'm guessing the answer to my question is in manipulating the kernel command line. But with what arguments? (and does the kernel have it's own fonts to be used on a FB device?)

The host is a ARM9 based embedded system with a 1-bit LCD screen.

This is a prelude question to: Naming a Frame buffer Device

View 1 Replies View Related

General :: Insmod: Getting "KIlled" Message While Inserting Kernel Module?

May 18, 2010

i created a sample module and while trying to insert it i am getting the message "Killed". But when I did lsmod my module was listed out there and was 'Used by' 1. Maybe because it is in use I cannot do a rmmod on my module. How to overcome this, that is do a rmmod while it is still in use?

View 3 Replies View Related

General :: Remove Kernel Lock From Unmounted Mass Storage USB Device

Jun 3, 2010

I've searched high and low, and can't figure this one out. I have a older Olympus Camera (2001 or so). When I plug in the USB connection, I get the following log output:
$ dmesg | grep sd
[20047.625076] sd 21:0:0:0: Attached scsi generic sg7 type 0
[20047.627922] sd 21:0:0:0: [sdg] Attached SCSI removable disk

Secondly, the drive is not mounted in the FS, but when I run gphoto2 I get the following error:
$ gphoto2 --list-config
*** Error ***
An error occurred in the io-library ('Could not lock the device'): Camera is already in use.
*** Error (-60: 'Could not lock the device') ***

What command will unmount the drive. For example in Nautilus, I can right click and select "Safely Remove Device". After doing that, the /dev/sg7 and /dev/sdg devices are removed.

The output of gphoto2 is then:
# gphoto2 --list-config
/Camera Configuration/Picture Settings/resolution
/Camera Configuration/Picture Settings/shutter
/Camera Configuration/Picture Settings/aperture
/Camera Configuration/Picture Settings/color
/Camera Configuration/Picture Settings/flash
/Camera Configuration/Picture Settings/whitebalance
/Camera Configuration/Picture Settings/focus-mode
/Camera Configuration/Picture Settings/focus-pos
/Camera Configuration/Picture Settings/exp
/Camera Configuration/Picture Settings/exp-meter
/Camera Configuration/Picture Settings/zoom
/Camera Configuration/Picture Settings/dzoom
/Camera Configuration/Picture Settings/iso
/Camera Configuration/Camera Settings/date-time
/Camera Configuration/Camera Settings/lcd-mode
/Camera Configuration/Camera Settings/lcd-brightness
/Camera Configuration/Camera Settings/lcd-auto-shutoff
/Camera Configuration/Camera Settings/camera-power-save
/Camera Configuration/Camera Settings/host-power-save
/Camera Configuration/Camera Settings/timefmt

Some things I've tried already are sdparm and sg3_utils, however I am unfamiliar with them, so it's possible I just didn't find the right command.

# mount | grep sdg
# mount | grep sg7
# umount /dev/sg7
umount: /dev/sg7: not mounted
# umount /dev/sdg
umount: /dev/sdg: not mounted
# gphoto2 --list-config

*** Error ***
An error occurred in the io-library ('Could not lock the device'): Camera is already in use.
*** Error (-60: 'Could not lock the device') ***

View 4 Replies View Related

General :: Kernel Cooking: No Root Device Found Sleeping Forever?

May 3, 2011

I've taken the kernel 2.6.33.3 and edited the .config file to take out most of the compatibility etc. that I will not be using. I'm run the makes and updated grub. I go to boot it runs through most of the way until I get the following:Quote:/bin/plymouthd: symbol lookup error: /bin/plymouthd: undefined symbol:ply_chara could not read byte from child: SuccessNo root device foundBoot has failed, sleeping forever.'m fairly new to Linux and still more of a dabbler. (Though this seemed more difficult than "Who is root" so I didn't put this in the newbie thread.)Any ideas for what might be wrong?I've tried looking in the config file from something that relates, but they have all been included (Y) in the module.

View 2 Replies View Related

General :: Create A Sandbox For A "half GPL" Kernel Module?

Sep 10, 2010

There is a kernel module that connects a SCSI like hard disk to Linux computers, as well as windows and MAC. Some portions of the source code have a GPL license on them, but some remain property of the hardware inventor. The inventor does not agree to GPL the entire code, even just the Linux code. Consequently, the connection package falls behind, the existing users feel left out and the new opportunities fall by the wayside.

The confusing thing for me is that the company gives away the end product, (the compiled module and it's editable source code) but they won't let non-employees edit the official source to keep it up to date. Ultimately they only make money on the SCSI-like connection hardware. Several users have modified the existing package to keep it up with some distributions, but there are others that should be explored and new architectures to employ it.

1) Could I set up a sandbox that hides the non-gpl source code pages, but allows willing developers to join and modify the gpl sections and then compile the modules on different architectures?

2) I have trouble understanding the difference between working on this kind of kernel package for free and releasing the code. In other words, since the company gives away the end product, just as GPL developers do, why not just agree to the same requirements you would have if hired at the company, but do the development for free in the spare time anyway?

View 3 Replies View Related

General :: "KVM ... Consists Of A Loadable Kernel Module, Kvm.ko That Provides The Core Virtualization Infrastructure"

Feb 27, 2011

At linux-kvm.org it is stated: "KVM ... consists of a loadable kernel module, kvm.ko that provides the core virtualization infrastructure" and yet there's no mention of Xen, which runs as the hypervisor with KVM. The site seems to be implying the module is the hypervisor. My question to you is: What is the relationship between KVM and Xen on a server that is "running KVM"?

View 2 Replies View Related

Ubuntu :: Can't Login - Failed To Load Module 'dri' No Space Left On Device?

Jul 3, 2011

I'm unable to login to my Kubuntu Lucid. The login screen takes my password, blanks, then returns me to the login screen. I'm getting some graphics errors when running from recovery mode as well as the no space left on device error when attempting to start x from the terminal. Here are some outputs: When starting from recovery mode, selecting failsafeX from the Recovery Menu:

[Code]...

I've come to the conclusion that my root partition is full, but I'm not sure how to clear space, or how much to clear once I work out how to do it. I removed a few packages with apt, but it doesn't seem to have any effect. df -h shows that root is 100% full, yet it has 3GB free. I've grown comfortable with Ubuntu in the couple years I've been using it, yet this level of problem-solving is a bit nerve-wracking to me. I've been considering reinstalling (this machine is running Lucid upgraded from Karmic and Jaunty and has a few oddities), but I hate the idea of being forced to reinstall because I can't overcome this problem. If you need any other information or outputs from terminal commands, I'm happy to provide it.

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved