A device driver or software driver is a computer program allowing higher-level computer programs to interact with a hardware device.

learn more… | top users | synonyms (1)

40
votes
4answers
37k views

Moving linux install to a new computer

I know that it can, in some circumstances, be difficult to move a Windows installation from one computer to another (physically move the hard drive), but how does that work on linux? Aren't most of ...
2
votes
2answers
2k views

debian does not detect serial PCI card after reboot

I have installed a PCI card with two serial and one parallel port on it. the chipset is MCS9865. I downloaded the latest driver(V1.0.12) from here. I ran make and make install. now the two serial ...
22
votes
1answer
23k views

How to assign USB driver to device

This question is two-fold: First, how do you manually detach a driver from a USB device and attach a different one? For example, I have a device that when connected automatically uses the usb-...
4
votes
0answers
2k views

BCM43142 Won't Work With Mint 17.1 Cinnamon x64 [closed]

I have posted this on the official Mint forums as well, thought I'd cross-post here to see if I can get alternate suggestions I can try. I initially tried the bcmwl-kernel-source from 'Driver Manager'...
34
votes
2answers
30k 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 one,...
18
votes
3answers
16k views

Find out which modules are associated with a usb device?

Could you recommend a way to figure out which driver is being used for a USB device. Sort of a usb equivalent of lspci -k command.
2
votes
5answers
14k views

Fedora won't boot after installing Nvidia drivers

I followed this tutorial about Nvidia drivers installation and I accidentally forget to do 5th point (disabling nouveau drivers), so now I can't boot my system. I know I am idiot but is there anything ...
10
votes
2answers
7k views

Attaching USB-Serial device with custom PID to ttyUSB0 on embedded

I'm attempting to get an FTDI USB-Serial device with a custom PID to automatically (or even manually) attach to ttyUSB%n, without much success. The device's normal VID/PID is 0403/6001. When ...
3
votes
1answer
4k views

Hopelessly stuck on making Nvidia Driver work on Debian

Before I posted question here, I'd been hacking around for the solution for my problem, but none of them worked. Here is my situation. I had a Win7 OS before I put a Debian Squeeze on it, now I got a ...
7
votes
1answer
4k views

Webcam on Angström

I am running Angström on my BeagleBoard-xm. I want to use a webcam (I have Microsoft LifeCam Cinema and Logitech C310). I installed v4l-utils, libv4l-dev and kernel-module-uvcvideo with opkg. But the ...
4
votes
2answers
201 views

Why do some drivers still require firmware?

There are a ton of reverse-engineered drivers in the Linux kernel tree. Yet some drivers, especially wireless drivers, require firmware binary blobs to run properly. What prevents someone from ...
4
votes
2answers
10k views

Firmware for wireless card on Ubuntu/Debian?

This is a follow up to my previous question about Debian support for Linksys Wusb600n. I have tried running the Ubunut/Xubuntu LiveCDs and the WiFi does not come up. The Gnome Network Manager menu ...
2
votes
1answer
1k views

NVidia drivers on Macbook Pro (2008) Linux Mint?

Ok. I am literally installing it from scratch and tracking my process here and now. I've been fighting this for so long. Macbook Pro, 2008 I believe. ~200GB HD. I'm not dual booting. Mint and only ...
2
votes
2answers
107 views

why do some network cards need to load external firmware?

I have read this question/answer, but I still do not understand why some network cards work perfectly well without any additional firmware, whereas others need to load firmware to work. As a specific ...
1
vote
1answer
1k views

[Linux Debian 8]: Driver Installation asks me to insert a disc

So I recently installed Debian 8 and am currently trying to get the software configured with my NVIDIA video card. The official Debian page instructed me to do this: Add deb http://http.debian.net/...
1
vote
1answer
308 views

How to compile a third party driver into the kernel?

I am using Linux Mint 17.2 on Toshiba c640. As my LAN driver is no more functional, I am using a USB to LAN converter which was provided with some driver installation files. Every time i want to use ...
0
votes
0answers
40 views

Building Linux driver for a network card remotely, while being connected via the same card

I realize that the title alone sounds confusing, so let me provide the context. My current Linux machine configuration is Debian 7.9 (I need this specific version) with the default kernel 3.2, which ...
39
votes
5answers
22k 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: ...
28
votes
4answers
15k views

How to find the driver (module) associated with a device on Linux?

On Linux, given: a device, for example /dev/sda, and its major and minor numbers, for example 8, 0, how can I know which module / driver is "driving" it? Can I dig into /sys or /proc to ...
39
votes
3answers
6k views

Does the kernel have a main() function? [closed]

I am learning device drivers and Kernel programming. According to Jonathan Corbet's book, there is no main() function in device drivers. So I two questions: Why don't we need a main() function in ...
24
votes
2answers
35k views

What is the difference between ioctl(), unlocked_ioctl() and compat_ioctl()?

Going through the linux 2.6.36 source code at lxr.linux.no, I could not find the ioctl() method in file_operations. Instead I found two new calls: unlocked_ioctl() and compat_ioctl(). What is the ...
20
votes
1answer
21k 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 ...
15
votes
3answers
5k views

Is USB-to-USB data transfer between two Linux OSes possible?

I want to create a USB-to-USB data transfer system in Linux (preferably Ubuntu). For this I want to use no external hardware or switch (except this cable). It's going to be like mounting a USB drive ...
7
votes
2answers
8k views

How can I get xrandr to detect both nvidia cards: 2 x GTX480, triple-head?

I am running Linux Mint 16 (Petra) I am running the default driver nvidia-319 shipped with the distro I have 2x GTX480 cards I have 3 monitors Using the Nvidia driver, all monitors and GPUs are picked ...
10
votes
3answers
2k views

Should I restart after a pacman upgrade?

after running sudo pacman -Syyu or sudo pacman -S [something to install] should I restart just to be safe?
9
votes
3answers
9k views

Understanding character device (or character special) files

I am trying to understand character special files. From wikipedia, I understand that these files "provide an interface" for devices that transmit data one character at a time. My understanding is ...
3
votes
1answer
21k views

rtl8723be Realtek Wifi-Card driver not working on Ubuntu 14.04

I installed Ubuntu 14.04 on my new Lenovo G50-70. The wifi works perfectly in windows, however it behaves strangely on Ubuntu. It is slow, doesn't load heavier sites at all, and after a while, ...
6
votes
1answer
6k views

Which driver is handling my touchpad?

I would like to know how to determine which driver (out of those below) is handling my touchpad: appletouch.ko.gz, cyapa.ko.gz, sermouse.ko.gz, synaptics_usb.ko.gz, bcm5974.ko.gz, psmouse.ko.gz, ...
5
votes
2answers
9k views

Ideas how to get my usb audio interface to work with Linux?

PulseAudio does not appear to recognize the Focusrite Scarlett 6i6 USB audio interface. The 2i2, however, is properly recognized and it works as expected. I can't seem to get the 6i6 to work on the ...
3
votes
3answers
18k 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 /lib/modules/<kernel-version>/kernel/drivers/...
4
votes
1answer
5k views

Install Drivers Offline Arch Linux

I have been attempting to install Arch Linux on my Macbook Pro but the wireless and ethernet drivers don't work. Because of this, I cannot access the internet on it. So whilst searching for a solution ...
3
votes
1answer
6k views

ElementaryOS Gala using more than 100% CPU constantly

I am using ElementaryOS with the default Drivers and my Gala process is constantly using tons of CPU (sometimes more than 200%). I have looked everywhere but couldnt find a solution. I tried to ...
3
votes
1answer
4k views

How to disable the 2.4Ghz band wireless adapter

For debugging purposes, is it possible to disable the 2.4Ghz for wireless connections on Linux (Linux Mint 13 LTS, Cinnamon). I.e. to enforce the network driver to establish connections using the 5Ghz ...
3
votes
1answer
503 views

can't filter printk messages

I'm writing a driver and usually I implement my own log-level scheme. However, this time I figured that I would try to utilize the printk scheme that is built into Linux. I see that I can adjust the ...
3
votes
2answers
2k views

Where can I find the Linux driver for headphones in the kernel tree?

I have headphones with three buttons on them which allow me to control my music player with my phone. I want to write a driver for my headphones to make it control my music player on my pc (Ubuntu ...
2
votes
1answer
6k 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 ...
2
votes
2answers
6k views

No ethernet/wireless connection after dist upgrade - “network UNCLAIMED”

I did an upgrade from Xubuntu 12.04 to 12.10, and I can't connect to the internet now. When I press the network button on the panel, I see "No network devices available" on top (greyed out), then "...
2
votes
2answers
6k views

Despite all attempts fan is still running very loudly and fast

I am running DELL Vostro 3750, operating system Linux Mint and despite all my attempts the fan is still running very fast and loud. So far I have tried first edit Grub according to this article. Than ...
1
vote
2answers
4k views

Achieving full resolution with PowerVR SGX454 on Ubuntu 12.04

I have a Mini-PC with an ASRock AD2700B-ITX motherboard, which has an Intel PowerVR SGX545 on-board graphic chip. I installed Ubuntu 12.04 on it today. Everything is working properly and is quite ...
1
vote
1answer
11k views

How do I enable kernel to load Intel® Wireless 7260 card on NUC DC3217IYE with Debian 7?

Environment Next Unit of Computing NUC DC3217IYE with Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux 867Mbps 802.11ac Intel 7260 card, Dual band 5GHz + 2.4GHz Wireless 2x2 AC + Bluetooth4.0 Installing ...
1
vote
1answer
10k views

How would you install the RTS5139 Card Reader driver for use on Fedora 19

Is it possible to install the rts5139 driver in Fedora 19 3.11.8-200.fc19.i686.PAE kernel ? I have a Lenovo G570 laptop, on which I run Fedora 19 (3.11.8-200.fc19.i686.PAE kernel) on one hard disk, ...
16
votes
3answers
5k views

Why don't you need to update drivers? (Or do you?)

In my life I've not once updated drivers on any of my Linux systems, though they have all been desktops. A friend was asking me why one does not need to update Linux drivers and I found myself unable ...
12
votes
2answers
3k views

What’s the difference between a “raw” and a “cooked” device driver?

Does this concept only apply to terminal drivers (which is what most sites cover) or to any driver in general?
5
votes
2answers
18k views

Ubuntu 14.04 Nvidia proprietary drivers installation

I require some Help and Guidance in installing NVIDIA drivers on my system with a Dual Intel/Nvidia Graphics Processors. I am currently running Ubuntu 14.04 and i am aware that the OS is in its ...
5
votes
3answers
2k views

How can I find out what kind of wireless card I have from output of lspci

I am trying to install a wireless driver for a new laptop running ubuntu 12.04. If I run lspci I do not see any human readable mention of a wireless card. $ lspci 00:00.0 Host bridge: Intel ...
5
votes
2answers
7k views

Ricoh Aficio SP 100su E

After installing a Ricoh Aficio SP 100su E printer (it does scanning as well), I've tried a tenth of the GDI and PCL (5e/6) generic and Ricoh drivers without any success. I've learned from Ricoh that ...
5
votes
3answers
5k views

GNOME 3 fails to load (old ATI graphic card driver problem)

I'm delighted to find this version of StackExchange as I normally lurk in the GIS board. I would greatly appreciate help with the following problem (which seems to be quite common - but I am just ...
5
votes
2answers
1k views

ZONE_NORMAL and it's association with Kernel/User-pages?

Above is presented a case where I have only 512 MB of physical memory. What I have read up so far, is that ZONE_NORMAL is mapped to the kernel virtual address space as shown. Essentially I have a 512 ...
4
votes
2answers
4k views

How to enable Broadcom wireless BCM 4313 on OpenBSD?

Is there any hack/tip/trick to make this specific Broadcom Wireless work with OpenBSD? After digging some FreeBSD-wireless threads and OpenBSD-tech/OpenBSD-misc, I noticed that adding the PCI vendor ...
4
votes
2answers
5k views

Restart USB mouse driver?

Sometimes, after some event that I can't determine, my USB mouse gets stuttery - like the refresh rate drops down to about 5-10Hz. It still works fine other than that, but it's incredibly annoying, ...