Skip to main content

Questions tagged [drivers]

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

120 votes
3 answers
190k views

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,...
Poojan's user avatar
  • 1,311
97 votes
6 answers
108k views

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: ...
JohnnyFromBF's user avatar
  • 3,606
78 votes
12 answers
147k views

I recently installed Ubuntu 20.04 (Focal Fossa), and Bluetooth seemed to work out-of-the-box. Yesterday, it stopped working without any known reason. I can turn it on, but the settings still show it ...
Pe Dro's user avatar
  • 1,519
75 votes
4 answers
107k views

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 ...
Totor's user avatar
  • 21.2k
73 votes
12 answers
19k views

In Linux, a finished execution of a command such as cp or dd doesn't mean that the data has been written to the device. One has to, for example, call sync, or invoke the "Safely Remove" or "Eject" ...
marmistrz's user avatar
  • 2,792
72 votes
9 answers
473k views

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 ...
Rev3rse's user avatar
  • 981
61 votes
3 answers
29k views

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 ...
someone's user avatar
  • 713
57 votes
4 answers
116k views

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.
TheMeaningfulEngineer's user avatar
46 votes
2 answers
69k views

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 ...
Navaneeth Sen's user avatar
36 votes
3 answers
120k views

I know about lsmod, but how do I figure out which driver does what?
apoorv020's user avatar
  • 1,293
36 votes
5 answers
61k views

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 ...
bernie2436's user avatar
  • 6,855
36 votes
2 answers
25k views

Does this concept only apply to terminal drivers (which is what most sites cover) or to any driver in general?
soc's user avatar
  • 470
34 votes
7 answers
42k views

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 ...
the_Strider's user avatar
34 votes
1 answer
55k views

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 ...
ali1234's user avatar
  • 1,194
34 votes
1 answer
63k views

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-...
linsek's user avatar
  • 450

15 30 50 per page
1
2 3 4 5
157