Questions tagged [drivers]

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

Filter by
Sorted by
Tagged with
5
votes
0answers
8k 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
2answers
1k views

Problem when trying to cross-compile an ethernet driver on an old Linux kernel

I'm currently trying to cross-compile a network driver against an old Linux kernel, in version 2.6.27.7 but the compilation fails and prints: make[1]: entering directory « /home/johann/Desktop/linux-...
5
votes
1answer
494 views

Is there a Linux for an MSM7227 tablet with USB keyboard and touchscreen stylus drivers?

I have a ZTE V9C 7" tablet with 800MHz MSM7227 processor, Snapdragon family (ARM architecture?), Android 2.3, and I want to have a (very lightweight) Linux running on it (I know Android uses a Linux ...
4
votes
3answers
27k views

Missing “version.h” when installing fglrx

I have downloaded the fglrx driver installer from the ATI drivers page. when I start the installation, everything goes smoothly until I hit an error message, telling me to check /usr/share/ati/fglrx-...
4
votes
2answers
3k views

Are Linux drivers part of the kernel or the rootfs

I have been working on a board with an embedded ARM processor. To get it to boot I have to add a bootloader, a linux kernel and a disk image containing the root file system. This disk image is ...
4
votes
3answers
28k 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/...
4
votes
2answers
183 views

Installing drivers in ubuntu

I just installed Ubuntu 10.4LTS on my machine and I'm having trouble following the driver install directions. I am told to execute this command in the 'linux source tree': make include/linux/version....
4
votes
2answers
7k views

What is a device controller, and where does it fit in between the kernel and the device?

Can someone please explain the concept of a device controller (hard disc controller, NEC PD765 compatible controller etc.). Here are some definition of key terms which might be needed for the ...
4
votes
2answers
1k views

When to use /dev and /sys for userspace-kernel communication?

I am just getting in Linux driver development and I have a conceptual question, which I think will help other newcomers into kernel development as well. I am reading through the Linux Device Drivers ...
4
votes
4answers
15k views

Acer Aspire touchpad not detected

I have been searching for days and can only find threads about the touchpad not working or not being enabled but it seems Kali cannot find it all. I have both Windows and Mint and the touchpad works ...
4
votes
3answers
9k views

Where can I find a list of USB error codes?

Every time I boot Debian, the boot log shows a bunch of xhci_hcd problems, and messages like usb 3-13: hub failed to enable device, error -22 usb 3-13: device descriptor read/8, error -61 I'm ...
4
votes
4answers
4k 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
3k 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
2answers
11k views

What is the GPU driver I am currently running?

I have installed latest nVidia graphic driver via this PPA "xorg-edgers/ppa". Now in Nvidia X server setting showing the driver version is 346.35. But in Ubuntu's Additional Drivers there is no such ...
4
votes
2answers
2k views

does a user program always use system calls to access a device driver

In Linux, does a user program always use system calls to the OS kernel, to access a device driver indirectly? When the driver is implemented as a module which can be loaded and unloaded, does a user ...
4
votes
3answers
3k 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
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 ...
4
votes
1answer
6k 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/...
4
votes
1answer
10k views

How to get a list of major number -> driver associations

The Linux Programming Interface states: Each device driver registers its association with a specific major device ID, and this association provides the connection between the device special file ...
4
votes
1answer
8k views

How to see driver parameters? [duplicate]

Drivers often support various parameters. For example NIC driver e1000 supports flow-control (FlowControl) or auto-negotiation (AutoNeg) parameters. Is there a way to see which parameters were passed ...
4
votes
1answer
11k 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 ...
4
votes
2answers
436 views

What happens when you press an extra key on a keyboard?

I am interested in knowing how a keyboard with extra keys work. So for example say I have the following keyboard: You can see that it has extra keys. Now say that I pressed the mute key, what will ...
4
votes
2answers
9k 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
2k views

SD card reader on Linux: SPI or SD protocol underneath

I've a notebook with a SD card reader and I was wondering if the GNU/Linux driver is using the SPI protocol or the proprietary SD protocol (one or four bits). I'm asking this because I'm testing a SPI ...
4
votes
1answer
440 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
1answer
1k views

What does `/proc/irq/…/spurious` contain?

Here is the output from cat /proc/irq/79/spurious: count 28 unhandled 0 last_unhandled 0 ms What are these parameters indicating here — count, last_unhandled? Is this count indicating the number of ...
4
votes
2answers
479 views

How am I supposed to arrive at the conclusion that my video driver is called “intel”?

I have a NUC 5i3RYH and I wanted to set up a customized xorg.conf file, because using a mini DisplayPort to HDMI adapter (cheaper than mini HDMI to HDMI adapter) overscans (does not fit the screen). ...
4
votes
2answers
801 views

Nvidia graphics card

I have troubles with NvidiaGraphicCard on Linux Mint . So at first I have downloaded the cuda libs for Linux. Drivers are from the cuda NVIDIA-Linux-x86_64-352.39.run All have installed but I have ...
4
votes
1answer
658 views

kernel: pass option to driver, when not compiled as module

I had the driver for my sound card compiled as module, i.e.: CONFIG_SND_HDA_INTEL=m and I did pass following options to the module (via /etc/modprobe.d/alsa-base.conf): options snd-hda-intel enable=...
4
votes
2answers
7k 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
3k views

External screen recognized, but black

I have a brand new computer (i5-7200U, so Kabylake with a Intel HD Grpahics 620) running Ubuntu 16.10. And I use an external HDMI screen. For some reasons, this one is detected (I see it in the ...
4
votes
2answers
8k views

Cannot remove module nvidia nvidia-uvm in order to install drivers

I was trying to update the drivers of a system with a couple of Nvidia GTX 980 cards but somehow I messed up and now I encounter this error when I run the installer with Nvidia: ERROR: An NVIDIA ...
4
votes
1answer
700 views

Why modify the linux kernel instead of creating a kernel module?

I have a development board which has an older version of Linux installed on it. The vendor supplies an image for the device with a heavily modified linux kernel, some loadable kernel modules, and some ...
4
votes
2answers
6k views

Edimax EW-7811UN Debian

I just installed Debian with xfce and am loving it except my wifi adapter doesn't work. As mentioned in the description, it is an Edimax EW-7811UN. My laptop is Sony Vaio VGN-NR260E running Debian ...
4
votes
1answer
776 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 2.6.18-3.4....
4
votes
2answers
4k 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 ...
4
votes
1answer
4k views

buildroot compiling driver

I'm using Buildroot for compiling embedded linux. It works well because I have target Makefile configurations, but now I need driver for my usb devices. I manage to compile Qt appilactions(c++) on my ...
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 "...
4
votes
1answer
9k 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
2answers
7k views

Driver for Intel 2200BG wireless network card

I'm trying to make work my wireless network card Intel 2200BG in my laptop Acer Travelmate 4002WLMI. I tried so far: $ sudo lshw -C network *-network:1 description: Wireless interface ...
4
votes
2answers
21k 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
1answer
617 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. When ...
4
votes
1answer
2k 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 USB ...
4
votes
3answers
514 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
721 views

Capturing OS/hardware communication / reverse engineering drivers

My main question is how the open source community reverse engineers windows drivers (for say, video cards) to re-write them under linux. I'm an EE graduate, so I've taken courses in microprocessor ...
4
votes
1answer
2k 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) ...
4
votes
1answer
2k views

How do I read from and write to an ISA bus from a kernel module?

I am trying to communicate with a custom (not designed by me) ISA board with an x86 single board computer running redhat 6.2. The only information I have for how to communicate with this custom board ...
4
votes
1answer
837 views

Where does a device file come from?

I'm reading through the Linux Kernel Module programming guide and I am a bit onfused about how device drivers work. I tried following along and making a basic device driver, which shows up in /proc/...
4
votes
2answers
244 views

How does Linux handle drivers when changing systems?

This has always made me wonder but how does Linux handle device drivers from system to system, so say you plug it in on computer A and then move to computer B with completely different specs. In ...