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 ...
1
vote
1answer
41 views

Attaching two network cards two different drivers

I have an Ubuntu 12.04 server that has two 10 Gb ethernet cards that are using the ixgbe driver. I'm installing the PF_RING DNA drivers for these cards (what that is isn't important). I want interface ...
0
votes
1answer
32 views

Rmmod module reappeared after plugging back device

I have an arduino that talks to my computer through the serial-usb driver ftdi. I want to use my own module instead when I plug my arduino. I did : sudo rmmod usbserial sudo rmmod ftdi_sio I wrote ...
2
votes
2answers
103 views

Kernel module parameters vs /sys/class/… explanation

I was making (my first) kernel module to play with the gpio pins of my pandaboard and interrupts. Already "built-in", I noticed you can do (briefly) cd /sys/class/gpio echo 138 > export # a file ...
1
vote
1answer
2k 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 ...
3
votes
2answers
3k 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 ...
1
vote
2answers
186 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: ...
2
votes
1answer
8k 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 ...