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)

5
votes
1answer
175 views

Is there a way to determine what kernel version a kernel module was compiled against?

I have recently been playing around with creating kernel modules using some crosstools for an embedded setup. It would be helpful to me in future to have the ability to identify the version of the ...
5
votes
4answers
235 views

Why are Linux installs bigger than I've read? Some beginner questions

I've read in different textbooks that say Linux is light-weight(e.g. It could fit on a 1.4MB floppy). So why is the download from the Ubuntu or Fedora CD sized or larger? Do the device drivers extend ...
5
votes
3answers
956 views

How does libusb access kernel stuff?

From what I understand: Generally speaking, a driver runs in kernel space and can be called from user space. Only code in kernel space can call usb low level things / ioctl libusb is a library, so ...
5
votes
1answer
326 views

How are drivers for peripheral hardware installed in Linux?

I have acquired a new wireless keyboard, and I've tested it out on both a Windows and a Linux box. It worked on both, but with an initial difference - Windows took a minute or two, to look up the ...
5
votes
3answers
4k 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 ...
5
votes
1answer
222 views

Writing a driver to fool *nix systems about having a GPU

I'm into something about writing a "Mock GPU driver" for *nix based systems. What I mean is that, simply I want to write a driver (Behind X-server obviously) to answer X's API calls with some ...
5
votes
2answers
2k 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 + ...
5
votes
2answers
233 views

What software or drivers do I need to shut off to use `flashrom`?

I have backed myself into a corner with a new system I'm building. The current BIOS is completely broken (it locks up after drawing half the screen if you enter settings during POST, locks up if any ...
5
votes
2answers
1k views

Can hardware be accessed directly from user space?

At work we have some embedded devices controlled by DOS software. I have been tasked with the responsibility of assessing the use of Linux as a replacement OS for DOS on a next generation of hardware. ...
5
votes
2answers
2k views

What's the next step in troubleshooting this wireless connection failure?

I just installed Ubuntu 10.04.3 to dual-boot with Windows. I can connect to the Internet using a wired connection, but not through wireless. The first time I booted, the wireless notification bar ...
5
votes
1answer
2k views

Choose at GRUB menu whether NVidia driver should be used

For some games, I need the nvidia-current driver, but when it's enabled, I can't get my work done as it messes up everything. So is there a way I can get two options in my GRUB menu? One wich will ...
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 ...
5
votes
1answer
2k views

Cinnamon 2.0.14 crashing when a second monitor is enabled with NVIDIA drivers (Mint 16)

Here's the set-up: 2x identical GTX460 cards 1x BenQ 144hz monitor (1920x1080) 1x Asus 60hz monitor (1920x1080) I was told to avoid installing the NVIDIA driver myself and use the ...
5
votes
1answer
779 views

What's the difference between the drivers r8169 and r8168?

Realtek provides the source code for the r8168 driver which is based on the r8169 driver from the kernel tree if I may believe their source: /* * This driver is modified from r8169.c in Linux kernel ...
5
votes
1answer
372 views

Blacklisting Drivers

What does it mean to blacklist a driver in Linux/Unix? How do you go about doing it?
5
votes
1answer
2k views

USB 3.0 ports not working

I have a Sager NP8130 notebook with two USB 3.0 ports which I cannot get to work in any linux distros I've tried. The distros I've tried so far are the latest 64-bit (where available) versions of the ...
5
votes
1answer
1k views

Usage of inb, inl, inw to access kernel space from user space

What are some user space examples of using inb, inl, and inw to access kernel space in Linux?
5
votes
3answers
3k views

Make OpenGL GLX work with Steam client on Debian jessie

I'm trying to install Steam Client on Debian 8 (Jessie) 64-bit because the instructions ask me to (and because I've tried without them and it fails... read on!). In following the instruction I've ...
5
votes
2answers
5k 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
1answer
622 views

getting an old logitech webcam to work in Linux

I'm trying to get an old Logitech QuickCam Web to work in Linux. There's a kernel module, but the last time it was updated was in 2006 and it doesn't compile against a recent kernel anymore. In ...
5
votes
1answer
119 views

How can I get this proprietary low-vision camera working in Linux?

I am a visually impaired Computer Science student, and use a special USB camera to zoom in on the board/projector during lectures. The camera only officially supports Windows, and I've been using it ...
5
votes
3answers
4k 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
818 views

What is the state of open-source Poulsbo/GMA 500 drivers?

Currently, a causal browse through a number of Linux distros show spotty Poulsbo drivers at best. Has any headway been made recently towards either convincing Intel to coax the driver source out of ...
5
votes
0answers
4k views

Switchable graphics drivers installation on Linux Mint [closed]

Firstly, sorry if there is something unclear in my question but English is not my native language and I will correct the question if needed. Here is my problem: I have a notebook with ATI RADEON ...
5
votes
1answer
3k views

Getting my Smart Card reader to work on Linux

I got a Smart Card reader, that I ripped from a Laptop the other day. It is an internal Smart Card reader, though it uses USB, so making a cable for it, was no problem. It seems it's recognized by ...
4
votes
3answers
9k views

How do I display the name of my audio card driver from the command line in Lubuntu 11.10?

I am running Lubuntu 11.10 and I want to display my Audio / Sound Card Driver from the command line.
4
votes
4answers
3k views

Linux on a tegra tablet for programming

I would like to use a tablet for some mobile programming. It would be nice to read a pdf and immediately try the code on the same device. I've found various videos and tutorials how to get Ubuntu ...
4
votes
2answers
9k 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?
4
votes
4answers
3k views

Cannot create “Hello World” module (and NVIDIA, and VirtualBox)

First off, the details. BEFORE: kernel: 3.2.0-2-amd64, nvidia driver: 295.59 AFTER: kernel: 3.2.0-3-amd64, nvidia driver: 302.17-3 My Debian wheezy is kept recent at all times. Actually, doing ...
4
votes
4answers
2k views

I have an ATI Radeon HD 6300 series video card; what do I use, radeon or radeonhd driver?

I want to install the correct driver for my video card under Debian and I don't know which to install, xserver-xorg-video-radeon or xserver-xorg-video-radeonhd? I've also read some of the ...
4
votes
1answer
1k 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, ...
4
votes
3answers
780 views

How to list all hardware supported by kernel

I want to see all hardware supported by the kernel in use. For example, if I have the 3.8.x.x version of the Linux kernel, how will I know what hardware is supported there. Tools like lspci, lshw, ...
4
votes
2answers
128 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
7k views

Difficulty with mobile broadband device being recognized (registered as CD ROM)

I am running Ubuntu 10.04 LTS on a Samsung n150 netbook. I have bought a vodafone pay-as-you-go mobile broadband dongle. It is a Huawei device. I have *usb_modeswitch* installed. I installed betavine ...
4
votes
1answer
342 views

Changes to input_get_keycode function in linux kernel (input/input.c)

I'm working on building a kernel module for an input device, and I noticed that in the module source, there's a couple calls to input_get_keycode(data->input_dev, scancode, &keycode); When I ...
4
votes
2answers
5k 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 ...
4
votes
1answer
5k views

How to verify hardware acceleration settings on Nvidia GeForce 9800

How can I verify whether hardware acceleration is available and whether it is enabled for my video card. If it makes a difference I am using Ubuntu 10.04.
4
votes
1answer
117 views

Error compiling custom kernel with a new usb serial driver

I have tried compile a driver for my kernel 3.13.0-40-generic. I have also tried compile a custom kernel with this driver but both have failed. The name of the driver is vizzini for Linux ...
4
votes
2answers
14k 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 ...
4
votes
3answers
1k 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 ...
4
votes
1answer
2k views

Unclaimed device in lshw

I have added in my computer a PCI Express controler card with 2 USB3 ports and 2 sata3 ports. (http://www.ldlc.be/fiche/PB00121886.html). The USB ports are working correctly but the HDD plugged in ...
4
votes
1answer
503 views

nVidia drivers in Xorg / KDE - performance and stability for different cards

I have a GeForce 250 GTS card and I am using the proprietary drivers in Linux (KDE on Debian Testing). Unfortunately recently I had a lot of issues with stability and performance - I had quite a few ...
4
votes
1answer
2k views

How to know whether the Linux driver for the real-time network device was built into the kernel?

From here: http://www.xenomai.org/index.php/RTnet:Installation_%26_Testing#Debugging_RTnet The Linux driver for the real-time network device was built into the kernel and blocks the hardware. ...
4
votes
1answer
1k views

Ubuntu 11.04 wireless driver not detected

When I run iwconfig I get: no wireless extensions How do I get Ubuntu to detect my wireless driver? Looking at the output from lspci and lsusb, here's the relevant line, from lsusb (so it's a ...
4
votes
1answer
1k views

Fullscreen game messes with my xrandr dual-monitor setup

I have Gentoo Linux, the Awesome window manager and an open-source ATI driver. Here's my xorg.conf: Section "Files" #ModulePath "/usr/lib64/xorg/modules" FontPath ...
4
votes
3answers
364 views

Kernel debugging

I would like to study the flow of some linux device drivers and some minimal flow of kernel (threading cum context switching and interrupt management). How can I debug the linux kernel? What are the ...
4
votes
1answer
556 views

Capturing OS/hardware communication / reverse engineering drivers

This may be too broad of a question, but I'm not really sure what exactly I'm looking for. My main question is how the open source community reverse engineers windows drivers (for say, video cards) to ...
4
votes
1answer
1k views

How do I extend my desktop to my 2nd monitor rather than just cloning it?

I have just installed Debian Wheezy for the first time and have had mixed success getting my system up and running. Currently my main issue is that I am unable to extend my desktop to my second ...
4
votes
2answers
10k views

Installing wireless driver (realtek 8188CE) on Debian wheezy

I had a hard time installing the wireless driver for my debian. My debian was Sqeeze but soon after I realized Wheezy was the one to support my wireless adapter, realtek 8188CE,I upgraded to wheezy. ...
4
votes
2answers
1k views

can't initialise/detect 16550A UART at unusual io port address

I've got a board based on the Vortex86DX CPU which is an x86 based microcontroller. It has five 16550A UARTS, four (COM1-COM4) of which are at the usual io port addresses (0x3f8, 0x2f8, 0x3e8, 0x2e8) ...