2
votes
0answers
25 views

Opening a device node in a device driver in linux [migrated]

I am writing a device driver on Xillinux that will read and write data to an FPGA application over Xillybus. Basically I want to create device nodes such as /dev/pe1, and when I write to the nodes ...
0
votes
0answers
33 views

Updating a driver quirk in kernel

Os : Debian 6 Kernel Version : 2.6.32 I have been recently working with Linux application and now we have some little hard-disk issues where my motherboard doesn't support AHCI through bios. On ...
1
vote
1answer
111 views

Difference between Device file and device drivers

I am beginner in device driver programming. I don't get the difference between device drivers and device files in Linux. Can anyone explain the difference?
1
vote
1answer
32 views

Why have a fake LR-WPAN driver?

In the Linux kernel configuration, a fake LR-WPAN driver can be enabled and added to the kernel that will be compiled. Why would someone want a fake LR-WPAN driver? I assume it would be for debugging, ...
13
votes
1answer
3k views

What is difference between User space and Kernel space?

Is Kernel space used when Kernel is executing on the behalf of the user program i.e. System Call? Or is it the address space for all the Kernel threads (for example scheduler)? If it is the first ...
3
votes
1answer
229 views

How can I prevent drivers from binding USB devices on a certain bus?

I have a setup with two Logitech Unifying receivers, each receiver has a keyboard bound to it. One of the receiver is to be used by the physical machine to which the devices are connected, the other ...
1
vote
2answers
185 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 ...
1
vote
1answer
87 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 ...
19
votes
5answers
5k 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
2answers
342 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
500 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 ...
-2
votes
1answer
511 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
304 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: ...
11
votes
1answer
9k 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 ...
3
votes
1answer
99 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
7k 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?