Hardware :: Bind Device To Compiled-in Driver?

Jul 25, 2010

It's easy to bind a device to a usb driver by doing something like

Code:
modprobe driver vendor=vid product=pid. I'm wondering if this can be done with a compiled-in module: is there a way to dynamically tell Linux to use a specific module for a device?

View 1 Replies


ADVERTISEMENT

Ubuntu :: Load A Compiled Driver On Boot?

May 8, 2010

I wanted to know if there is any way of adding a driver that i compiled during boot apart from adding it in

Code:
/lib/modules/<kernel version>/kernel/drivers

It works fine till i update to a newer kernel...then i have to add it in the new kernel file....so is there a permanent method?

View 3 Replies View Related

General :: Nvidia Driver Is Not Working After Using A Self Compiled Kernel (2.6.38)?

Mar 19, 2011

About a month ago, I decided to go deeper in my Linux knowledge. I've been reading a lot and found out that Arch linux would be my learning distro. As I was installing Arch, it was a pain at first but I really learned a lot which I would never ever learn with Mint. Now I decided to take a step further is which "compiling your own kernel".

MY PROBLEM:

Everything was smooth in my Arch for a 2 weeks until I decided to compile my own kernel. I currently have a Nvidia GTX 460 1GB card.

BTW, the method I used to install nvidia with 2.6.37 was

Code:
pacman -S nvidia nvidia-utils
and that worked with all of the .37 kernels (-1 -2 -3 -4) which was download from kernel.org.

When I compiled the .38 (using the same .config of .37), it just boots up to the terminal (not loading gdm). However, I could still login by typing my username and password. So I've checked dmesg of both .37 and .38 and noticed that the Nvidia driver is not loaded in .38.

I tried reinstall it by running pacman and it doesn't do anything. It was thinking of uninstalling nvidia and nvidia-utils but there are so many dependencies conflicts (like screensaver, compiz, etc).

Since, I didn't want to mess up my .37 install, I just grabbed an old HDD and installed from scratch again. This time, I compiled the .38 kernel first (without gui) and then installed nvidia nvidia-utils. It was the same problem.

With this observation, I'm concluding that the nvidia and nvidia-utils from pacman is not compatible with .38.

I've read that I have to wait for nvidia to release a driver that will be compatible with the .38 kernel. Is that true? Does it mean I have to wait for nvidia/nvidia-utils to be updated from pacman? How would I know when it is updated?

I've also read about nouveau, but I guess that is not for me because it doesn't support 3D.

Is there a work around for me to use nvidia/nvidia-utils with .38?

Is nvidia and nvidia-utils proprietary drivers? What is the difference with these two and the one you download directly from nvidia?

First of all, I apologize for the bombardment of questions. As you can tell, I'm so clueless on how nvidia drivers work on linux in general (since it was spoon fed by mint) and I really would love to learn about this is a deeper level. Could someone please explain to me (LAYMANS terms) how nvidia works (and possibly a solution to my issue).

EDIT: Additional info - I have a netbook that also runs arch. It uses an Intel GMA integrated video chip which I used "xf86-video-intel" from pacman and I believe since it is open source, it works with .38 fine. So does that mean if you use an open source driver, it will work with all other kernels?

View 6 Replies View Related

Networking :: Bind No Such Device

Mar 15, 2010

I am trying to create the ipv6 socket to send the frame but I am getting the error while binding to my local addrss.When I did ifconfig I do see this interface's ipv6 address.Am I missing something ?

View 1 Replies View Related

Ubuntu Networking :: Compiled Driver For WUSB600N But It Won't Load On Start-up Or On Inserting

Jan 4, 2011

I managed to find an older version of the rt3572 driver to compile to get this dongle to work fine, and it did. After that I added "module rt3572sta" (or whatever it is, not on Ubuntu to check now) to the end of /etc/modules. However, when I boot up Ubuntu, most of the time the driver won't load. If I run 'modprobe rt3572sta' from the terminal, I get this message -

[Code]....

View 6 Replies View Related

Hardware :: Copy A Compiled A Module/driver For USB Wifi Router To Another Distro

Jun 23, 2010

Recently I bought a Usb wifi router Belkin F6D4050 as my old laptop does not have a wifi chip. Unfortunately Belkin does not give Linux drivers for their products. I searched around the web and found a solution where after downloading the ralink drivers and making some modifications it worked under ubuntu

As my laptop is a PIII I decided to install Arch core image and build on it. I followed the same instructions in compiling the drivers for the usb router and yes it worked under arch linux.

It generated a .ko file and it loads at boot time.

Now say I want to use Puppy/Ubuntu etc instead of Arch and I want to access wifi through the router.

My question is whether copying this .ko file specific to the device to another distro puppy/ubuntu in the similar path make it work or it needs to be recompiled on the new distro

View 3 Replies View Related

General :: Bind Static IP To A MAC Address Of The Device?

Mar 16, 2011

Ubuntu was a good choice for free server O/S. I am currently downloading it. My ISP wants to bind my static IP to a MAC address of the device that will be making my connection for me. Should my server be behind my router or in front of it? I kinda wanted it to be the access point and be able to monitor the usage from all the terminals in my house. We have 4 other PC's, a laptop and a PS3. My server is a Acer Altos G530 with 3.2 Xeon Processor, 4 gb of ECC DDR,

View 7 Replies View Related

Fedora Networking :: How To Select Which Bluetooth Adapter To Bind As Rfcomm0 Device?

Apr 28, 2009

I have two BT USB adapters on my fedora9 (2.6.27.19-78.2.30.fc9.x86_64).How i can tell which of them to bind as /dev/rfcomm0 device.It seems that rfcomm.conf doesn't say me too much about.

View 3 Replies View Related

Fedora Installation :: Device Driver For Usb To Detect Device?

Sep 19, 2009

I am currently using fedora 11 kernel 2.6.29 version, i wanted to write device driver for usb to detect my own device. My project is radio with computer. My fm radio get connected to usb port so i need to write h/w interfacing program.

View 1 Replies View Related

Hardware :: USB Device Is Not Claimed By Any Active Driver For Every Device

Nov 10, 2010

The error "USB device 6 (vend/prod 0x603/0xf2) is not claimed by any active driver." is in dmesg every time I connect my Logitech keyboard to my system. I also tried (all with the same error):
- Memory stick
- DVD-burner
- Compaq mouse

View 3 Replies View Related

Fedora Servers :: Mysql Driver For Bind In RPM Format?

May 14, 2011

anyone come across a mysql driver for Bind that is already in RPM format? I know there is one that you can compile, but i was just curious if anyone knew of a MAINTAINED package that does that same thing?

==Edit== While i'm at it, does anyone know of a way to have bind call a STORED PROCEDURE, instead of directly querying a table? That'd be sweet. --Or, even having bind query a php file, or a webhost, would be good... I'm going to google that one now....

==Edit== Screw the mysql driver: [URL]

how to use php to serve dns requests...

View 1 Replies View Related

CentOS 5 :: Specify The Device Driver When Mounting A Device?

Jul 28, 2010

I have installed live cd on usb pendrive. Everything works great. How can I find out which device driver it is using? Where are the device driver files stored? How do you specify the device driver when mounting a device?

View 3 Replies View Related

Networking :: Creating Domain Name In Bind Exposing Bind To Internal Network

Sep 3, 2009

I am configuring bind9 on fedora 9(sulphur).I have configured /etc/named.conf and created zone file in /var/named/I have started the service but when I am executing the command nslookup mydomain.com it is not able to resolve the name.Another problem I am facing when I do telnet localhost 53,I am able to connect.but when I do telnet myip 53 it does not connect.Seems to be a firewall problem but I ve disabled iptables selinux completely even I ve disabled dnsmasq but still not working.

View 1 Replies View Related

Server :: What Is Bind Vs Bind-chroot Vs Caching-nameserver?

Jul 8, 2011

what is bind vs bind-chroot vs caching-nameserver ?what is the different between eatch others ?

View 7 Replies View Related

General :: Write Device Driver For Pen?

Apr 6, 2010

If I were asked to write a linux device driver for a pen, How should I start?

View 4 Replies View Related

Kernel :: Write A USB Device Driver?

Jul 9, 2010

Quote:

Originally Posted by anishakaul

When you copy paste the Makefile from post 7, make sure you delete the spaces shown in RED below by Backspace key and then press TAB

Code:
obj-m += hello.o
all:
........make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
........make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean

how to write a device driver for USB

View 9 Replies View Related

Programming :: Write USB Device Driver?

Oct 11, 2010

I know, I know..."How long is a piece of string"?

I have one of these devices:

[URL]

Of course, it's Windows only, and XP only at that. However, the data that needs transferred between the device and the computer should be fairly basic, unless it offloads a lot of processing to the computer. I'm not a programmer, nor do I play one on TV, but I have written some fairly complicated microcontroller programs and some basic Java GUIs. Besides writing the actual code, how hard is it to do whatever needs done to make a Linux device driver, apart from the code to make the device work?

View 2 Replies View Related

Programming :: Block Device Driver ?

Nov 30, 2010

Is there an easy example of a block device driver I could follow as a guide to write my own module?

View 5 Replies View Related

Ubuntu :: How To Do Device Driver Programming

Jan 14, 2011

How to do device driver programming in Ubuntu 10.04?

View 2 Replies View Related

Fedora Installation :: Device Driver To Load ?

Jan 22, 2009

I am totally new to Linux and have a PC here with 128 MB Ram and a 10 GB HDD. It has Windows Millenium installed but I presume this will be wiped during the install process if I so wish.,

I am part way through the install using CD's and have just chosen my required alnguage and then keyboard layout. The next option is asking me to choose what device drivers to load and most appear to be HDD Drivers. I haven't a clue what to choose here?

View 8 Replies View Related

Programming :: Character Device Driver And Mknod?

Mar 31, 2010

I've a problem with character device mounting. I've a character device module code. Here is the code

Code: /* chardev.c: Creates a read-only char device that says how many times
* you've read from the dev file
*/
#if defined(CONFIG_MODVERSIONS) && ! defined(MODVERSIONS)
#include <linux/modversions.h>
#define MODVERSIONS

[Code]...

View 1 Replies View Related

Ubuntu :: Detect And Install A Mic Device Driver?

Jan 8, 2010

how to detect and install a mic device driver? i only plug and play the mic in xp.

View 1 Replies View Related

Hardware :: Accessing Device Driver From C Application

Jun 14, 2011

I wrote device driver to USB device, I can see it is alive and sending the data that I set it to send from the shell

Code:
cat /dev/myDev
How can I read from the device using C code?
I've tried to open it as a file and read it's content to buffer but noting returns..

Code:
char bufferin[500];
FILE* myDev = fopen("/dev/myDev", "r+");
size = fread(bufferin, 500, 500, myDev);

View 2 Replies View Related

Hardware :: USB Device Driver Notification Using Libusb V0.1 API?

Jan 18, 2010

I have an application that reads data from a medical device connected using usb.

I am writing the driver for this device since it is a vendor specific device.

I am using libusb v0.1 API and get notification to the application when the device is connected/disconnected.

I am using Linux Ubuntu with kernel 2.6.*

View 1 Replies View Related

General :: Can Device Driver Work On Windows?

May 2, 2010

I am facing a serious problem.. i want a linux-device driver to work on windows is it possible.. see windows has device driver files as .sys and linux has .ko so is it possible..??

View 5 Replies View Related

General :: Write A Device Driver For A Pen - Start?

Mar 3, 2010

If I were asked to write a linux device driver for a pen, How should I start???

View 5 Replies View Related

Programming :: Device Driver Is Dropping Characters?

Sep 23, 2010

I wrote a small hello world type of character device driver. When I type echo -n "abcdef" > /dev/bond and do a cat /dev/bond then only last "f" of above input abcdef is displayed rest nothing is displayed. I asked this question earlier and some people suggested me some modifications I have done and experimented all that but I am unable to catch the error.

Here is the code

Code:
/* Necessary includes for device drivers */
#include <linux/init.h>
//#include <linux/config.h>
#include <linux/module.h>

[Code].....

View 3 Replies View Related

Fedora Installation :: Select Device Driver To Load ?

Apr 10, 2009

I downloaded the full install of Fedora 10. I burned the DVD and it booted okay. Going through the startup stuff, select language, keyboard, ect and then I choose the dvd as the source of the image. Then I get "no driver found" and gives me the option to choose from a list of drivers or to use a driver disk. I saw something in the forums about someone having the same problem but theirs was a video card issue. On the list of drivers it looks like they are network card drivers. I have no idea what to do. I am using a NVIDIA Geforce FX 5500 if that helps. I also did not verify the iso, though wouldn't it not boot at all if the iso image was broken?

View 7 Replies View Related

OpenSUSE Hardware :: Find Out Which Driver Has Been Loaded For A Device?

Feb 2, 2010

How do you find out which driver is being used for a certain device. Say that I run lsusb and I find "Bus 007 Device 002: ID 046d:c043 Logitech, Inc. MX320/MX400 Laser Mouse", how can I find out what the active driver for the device is?Also, is there some way to list all available drivers for a device? Is there a way to change the driver at runtime?

View 1 Replies View Related

OpenSUSE Install :: DPT PM3334UW RAID Device Driver Available?

Aug 14, 2010

I am hoping there is somebody out there who might recall DPT hardware and be able to get it to work under Linux. DPT were bought up by Adaptec but made great SCSI cards. The PM3334UW is a true hardware raid device which I have been using in SOHO environment for the last 7 years or so with IBM Warp 4.52 (MCP2). The box, although legacy hardware is sound and I wish to keep it running but hoped to have an openSUSE option. Unfortunately I cannot find a driver for the SCSI RAID card. There are a good deal of posts concerning eata_dma.c and other eata based drivers as possibles but when I load the eata driver that is available when loading openSUSE 11.3 I am asked for parameters and I haven't a clue what these should be.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved