The kernel-drivers tag has no wiki summary.
3
votes
0answers
35 views
What kernel module function gets called, when I say “cat myfile > /dev/sda” [migrated]
I've skimmed through the Linux Kernel Module Programming guide, but can't figure out:
When I say cat image.iso > /dev/sda, will it cause the write function of file_operations structure to be ...
0
votes
0answers
34 views
I need a step by step guide to build kernel modules in ChrUbuntu
I don't have experience building kernel modules. And worse, I'm trying to do it on ChrUbuntu, so it seems that I cannot follow the existing Ubuntu guides. For example, this command fails:
# apt-get ...
1
vote
1answer
64 views
Ubuntu make fails with No such file or directory /lib/modules/3.4.0/build
I am trying to build the CP210x driver for the 3.x.x kernel on ChrUbuntu.
Build instructions: Ubuntu:
make ( your cp210x driver )
cp cp210x.ko ...
3
votes
1answer
57 views
USB to Serial in Chrubuntu - /dev/ttyUSB0 missing
The usbserial stuff has been working so well for me in Ubuntu for a number of years that I have almost forgotten how to troubleshoot it. I just installed Chrubuntu, however, and now my usbserial is ...
1
vote
1answer
51 views
Virtualbox kernel modules not loading at boot - ubuntu 12.04
I have been running virtualbox on a ubuntu 12.04 laptop for a while and it has all worked smooth, but suddenly, probably after a kernel upgrade, the vbox* modules are not loading at boot, if I ...
1
vote
2answers
47 views
Does linux modules/drivers belong to kernal space or user space
Some articles say that modules/drivers belong to kernel space as it take part in forming the kernel; (reference: http://www.freesoftwaremagazine.com/articles/drivers_linux)
While others say that ...
0
votes
2answers
41 views
Install Fedora core 15 on HP Smart Array Controller HDD
I need to install "Fedora Core 15" Linux on to HP Smart Array Controller attached HDD.
Problem is Fedora Core 15 kernel do not has HPSA device driver. I tried to load (my own build) HPSA driver ...
0
votes
0answers
171 views
Turn off TCP checksum offload [closed]
I am programming a linux networking driver. It is almost done. When I ping between 2 PCs, everything is perfect. And then I try to use some TCP/UDP protocols, and the receiver never reply. I used ...
0
votes
0answers
44 views
How to install driver for my Intel series PC
I installed Linux on an Intel Panel PC. Jockey cannot detect any drivers. I do not know how to install my graphics driver first so that I am be able to install touch screen.
Here's some info from ...
0
votes
1answer
25 views
USB_HID is not working
How do I get a usb keyboard to work? I have already selected and compiled the USB HID transport layer and I don't know what else to do.
1
vote
0answers
104 views
Archbang can't connect to wireless
Last week I tried Crunchbang 11, it couldn't connect to wireless. Yesterday I removed it and installed Archbang from CD (final 2012 version). Everything was working perfectly, when I did pacman -Syu ...
2
votes
1answer
714 views
How to install much newer mpt2sas driver version in debian squeeze?
Linux debian squeeze 6.0.6 (2.6.32-5-amd64) is supplied with quite an old 02.100.03.00 version of the mpt2sas driver.
I do wish to install a much newer mpt2sas driver version. In know there are ...
1
vote
1answer
62 views
What happen when we plug a device in to computer
I'm currently learning about device developement for linux, I have glaced at some books such as LLD3, .. but I still can't understand what happen when we plug a device into computer, That's my ...
0
votes
0answers
98 views
Finisar SFP installation
I've Dell PowerEdge 1950 and have installed Finisar FCLF-8521-3 Module.
I want to install Finisar SFP module in CentOS 5.8x86_64 Kernel 2.6.18-208
I've Network controller Endace Measurement Systems ...
1
vote
0answers
117 views
Changing default line discipline at kernel level [closed]
How to assign line discipline to particular serial port at kernel level?
0
votes
0answers
137 views
Slave SPI kernel driver development [closed]
I would like to develop / modify a device driver that behaves as an SPI slave side.
I don't want to develop an official patch that fully implements a slave controller, I just need enough to get on ...
18
votes
1answer
372 views
How to get started writing drivers?
I have a throw-away cheap laptop I'd like to twiddle around, a Thinkpad SL 500.
What bothers me are two leds, the one for wireless connectivity, and the one for hibernation, which don't light up at ...
13
votes
4answers
2k views
What is the difference between kernel drivers and kernel modules?
When I do a lspci -k on my Kubuntu with a 3.2.0-29-generic kernel I can see something like this:
01:00.0 VGA compatible controller: NVIDIA Corporation G86 [Quadro NVS 290] (rev a1)
Subsystem: ...
1
vote
3answers
2k views
Debian wheezy: cannot create “Hello World” module (and NVIDIA, and VirtualBox)
(EDIT: This is now solved (see the accepted answer). The problem lied with GREP_OPTIONS='--color=always'. Changing the value to --color=never resolved the problem.)
First off, the details.
BEFORE: ...
2
votes
0answers
153 views
A problem with mknod when logged in as root
I am trying to load a char device driver written by myself. To achieve this I use a modified bash script published on this site: http://www.makelinux.net/ldd3/chp-3-sect-2. Here is my version of the ...
1
vote
1answer
98 views
Choose kernel for specific hardware
I have old system with an AMD Athlon 1,2 GHz processor and [SiS] 65x/M650/740 graphics (output from lspci).
Recently I discovered on a german ubuntu page that since version 10.10 some older ...
1
vote
2answers
202 views
Where to find source code of Linux NTFS driver?
Brief description :
Linux driver gives us a chance to interface with an NTFS filesystem. Thanks to this driver, we can use built-in Linux commands on an NTFS filesystem.
Ex : ls, chown, chmod, cd, ...
2
votes
2answers
295 views
Linux I/O shared memory access
I'm pretty confused on how linux manages I/O shared memory to communicate with devices that use it.
If I understood it correctly linux kernel starts mapped at 0x100000 (to avoid the first megabyte ...
5
votes
3answers
4k views
mptscsih: ioc0: task abort: SUCCESS (rv=2002) causes 30 seconds freezing
I/O to my software RAID6 often freezes for around 30 seconds after which everything is back to normal.
After the freeze is over this is put into syslog:
Mar 14 18:43:57 server kernel: [35649.816060] ...
2
votes
1answer
179 views
Chrooted drivers
If the host has the kernel drivers properly loaded, would the
chrooted enviroment be able to use them (ex. wireless, power)?
Does the chrooted enviroment need its Xorg drivers to be configured or ...
-1
votes
1answer
405 views
Best method for testing android kernel
I would like to test some of the features of android kernel like inserting a module and collecting certain parameters for research purpose. What would you think the best method for that?
2
votes
1answer
762 views
Atheros ar8151 driver for kernel 3.x (fedora 16)
Yesterday, I installed Fedora 16 and found no wireless connection available.
Then I found the ar81family driver
But it seems like it does not work with kernel 3. I changed the makefile to ignore ...
1
vote
2answers
779 views
Finding Linux distribution with proper hardware driver support
To me it is a jungle to find what Linux distribution to choose...
Of course one would like to use as much performance as possible from the machine. In my case I have a HP Pavilion dv6-6008eo - in ...
2
votes
1answer
209 views
Upgrading I2C client drivers to the newer binding model
I am trying to port some I2C device drivers I wrote for an other kernel to work with the newer I2C binding model. The kernel documentation goes through the steps of doing this: ...
9
votes
1answer
6k views
How to use Linux kernel driver bind/unbind interface for USB-HID devices?
First background. I am developing a driver for Logitech game-panel devices. It's a keyboard with a screen on it. The driver is working nicely but by default the device is handled by HID. In order to ...
1
vote
1answer
6k views
Xorg -configure doesn't work with nouveau drivers
I'm having problems setting up X.org on Gentoo.
At the moment I have kernel 2.6.37-gentoo-r4 installed and have built X against this kernel. I have nouveau drivers installed and they seem to be ...
3
votes
1answer
83 views
sources for doing profiling of kernel portions?
Related to my previous post. I did not find any specific driver for which I can do profiling and benchmarking. However there is a one driver jffs2 filesystem for flash devices but I didn't know about ...
3
votes
2answers
5k views
How to create .ko files in Linux
I have written one driver for one device in Linux. How can I create (using gcc) a .ko file so that I can insert it into the kernel?
