Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [drivers]

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

64
votes
4answers
67k 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 ...
3
votes
2answers
4k 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 ...
64
votes
3answers
87k 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,...
45
votes
4answers
52k 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 discover ...
5
votes
1answer
21k views

Realtek rtl8821ce wifi driver problem in Linux Mint 18.2

I've installed Linux Mint 18.2 on my ThinkPad E470. I can't connect to wifi as no wireless option shows up. I searched around and found an old post with the exact problems as mine - https://...
62
votes
6answers
54k 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: ...
34
votes
4answers
55k 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.
20
votes
5answers
30k views

How do character device or character special files work?

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 ...
4
votes
1answer
2k views

How does the linux kernel know device major and minor numbers?

As far as I know, the kernel detects hardware, adds information to sysfs creates a device in /dev and then generates a udev event. My question is, do device drivers do all of this or it is the kernel ...
1
vote
2answers
1k views

Debian Jessie Wireless Driver Broadcom Restart (rmmod modprobe) BCM43142 [14e4:4365]

My Dell laptop, running Debian 8 (Jessie), has this wireless device: $ lspci -nn -d 14e4: 02:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01) And it ...
18
votes
3answers
24k 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 ...
6
votes
5answers
23k 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 ...
3
votes
2answers
6k views

Issue while installing driver for Archer T4U AC1300 on Mint 17

Original question I could not find any specific answer for my question, all driver installation issues I found for the T4U are related to the kernel version and work around can be proposed, mine is ...
6
votes
2answers
419 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 ...
6
votes
2answers
2k views

How to block drivers built-into Kernel, i.e. drivers who are not a module

I configured and compiled Linux kernel with nouveau driver built-into kernel, i.e. with <*> as opposed to <M> when doing make menuconfig inside Linux kernel source directory. Now, I ...
2
votes
3answers
13k views

How do I install/update drivers on Debian 9?

I just installed Debian 9 on my laptop, however Wifi isn't working and I'm not sure if my graphic card is either. I'm sure that it's just a lack of drivers, but I've never actually had to update ...
2
votes
2answers
1k views

Blacklisting / Removing driver for a particular VID/PID

This is in continuation of my previous problem. Accessing a USB device under Non - Privilaged user with FTDI2XX Driver Here i have 2 usbserial hardware modules and it is provisionised that only one ...
30
votes
1answer
41k 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-...
19
votes
2answers
36k 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, ...
26
votes
1answer
35k 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 ...
9
votes
2answers
18k 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
2answers
8k views

Capturing key input from events device and mapping it (toggle TouchPad key is unmapped)

I have a Lenovo IdeaPad Yoga 13 with Ubuntu 13.10 Installed. The device has a "Toggle TouchPad" button on the keyboard (F5). The keyboard's F* buttons are reversed (so to get F5, I need to press Fn + ...
22
votes
2answers
13k 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?
25
votes
3answers
3k views

Why are some Intel family 6 CPU models (Core 2, Pentium M) not supported by intel_idle?

I've been tuning my Linux kernel for Intel Core 2 Quad (Yorkfield) processors, and I noticed the following messages from dmesg: [ 0.019526] cpuidle: using governor menu [ 0.531691] clocksource: ...
5
votes
3answers
18k 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, ...
4
votes
1answer
5k 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 ...
4
votes
3answers
14k 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 "...
5
votes
2answers
11k 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 ...
4
votes
1answer
1k views

Do vendor id and product id alone determine the driver used for a USB device?

Say I have a USB device with a vendor id (VID) of 0123 and a product id (PID) of abcd. 0123:abcd According to USB.org, product id assignment is entirely up to a manufacturer. Product IDs (PIDs) ...
3
votes
0answers
507 views

r8169 stops working after a while

This issue appeared after the CentOS installation. Server becomes unavailable completely neither through ssh nor through smb protocol. It happens randomly and there is no exact regularity. It can ...
3
votes
2answers
190 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 ...
3
votes
2answers
5k views

Asus USB N10 wireless adapter works on Ubuntu but not Fedora

I could make it work in Ubuntu, due to this answer. But the same approach shows no result in Fedora 15 (64 bits). The device is an Asus USB N10 (wireless-usb converter): Bus 001 Device 003: ID 0b05:...
2
votes
1answer
141 views

mtrack: how to get vertical button zones?

In trying to solve this problem about resting my thumb on a clickpad, I've come across an alternative driver for touchpads/clickpads called mtrack, which tracks individual fingers and has an option to ...
2
votes
4answers
29k views

Cinnamon crashed after nvidia drivers installation

I have installed Linux Mint 15 Cinnamon and I have installed Nvidia drivers using this question. After rebooting the system this message appeared: Cinnamon just crashed. You are currently running ...
1
vote
1answer
241 views

Broadcom driver for Solaris

I just installed Solaris 11.3 on the laptop. This laptop have Broadcom BCM4312 WiFi card. It looks like the install does not have a driver for this card just like 11.1 version. I have a Linux ...
1
vote
1answer
22k views

realtek RTL8811AU wifi adaptor working on XUbuntu [closed]

I am setting up a pc running XUbuntu and so far it is going pretty well. I am having issues getting wifi working though. Initially I tried with my existing Netgear A6200 but was told that basically ...
51
votes
3answers
16k 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 ...
34
votes
2answers
49k 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 ...
19
votes
2answers
14k views

Connection problem with USB3 external storage on Linux (UAS driver problem)

On Ubuntu 15.10, when I want to format using the NTFS file system an external 4TO disk connected by USB3 (on a StarTech USB/eSATA hard disk dock), I have a lot of I/O errors, and the format fails. I ...
30
votes
7answers
206k views

How to close X Server, to avoid errors while updating nVidia driver?

I tried to update my nVidia driver but I got an error when I ran the driver installation. See the error: ERROR: You appear to be running an X server; please exit X before ...
23
votes
5answers
18k 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 ...
16
votes
4answers
5k 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?
18
votes
2answers
28k views

How to debug the input from an input-device (/dev/input/event*)

I have a IR receiver that is using the imon-driver and I would like to get it working with the kernel. Right now half of the keys on the remote (image) works, but an all important think like the ...
12
votes
1answer
1k views

Why need drivers for both x server and the linux kernel?

Can someone explain why two sets of drivers are needed, one in the Linux kernel and one in X? I understand that the device drivers are in the kernel, but what is the role of those in the xserver? ...
8
votes
1answer
10k 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 ...
7
votes
3answers
14k 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 ...
5
votes
1answer
26k 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, ...
4
votes
1answer
8k 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 ...
4
votes
3answers
27k 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/usb/...
3
votes
2answers
4k views

Fedora installation - nouveau issue

I downloaded Fedora and created a bootable USB following the official guide. When I boot from USB the system starts loading and the "F" icon completes. Immediately after that I get into console mode ...