LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-26-2004, 03:54 AM   #1
linjia
LQ Newbie
 
Registered: Sep 2004
Location: China
Distribution: Debian
Posts: 19

Rep: Reputation: 0
how to compile a single module?


My 2.6.8 kernel can't support usb ,It is said that one can add the usb support to kernel by compiling the usb module without rebuild the it .But I not familar with C programing under linux ,anyone can tell me the exact step to do it?thanks!
 
Old 12-26-2004, 05:30 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
Is there a specific usb function you are looking for. USB mass storage, usb printers, usb card readers, HID devices, serial -> usb adapters......
Is there an error you are getting that you didn't post?

Following how I compiled a single module before, you would

cd /usr/src/linux-2.6.8/drivers/usb

read the README and look at the Makefile. If you don't understand it, just look for sight review and post questions

make
make install


I'm running 2.6.9 and the Makefile in my directory would create all the selected drivers that were chosen in menuconfig, so there may be more detail involved that what I've posted.
Give us a little more information please
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you rebuild a single kernel module? rollo Linux - General 3 01-29-2006 01:19 AM
compile 2.6.10 with sata, sg as a module disleyg Debian 2 02-14-2005 07:18 PM
Compile A Single Module leohuang Linux - General 4 05-02-2004 06:20 AM
Installing a single module sushant18 Linux - Software 1 04-03-2004 01:36 PM
compile a single kernel module wr3ck3d Linux - General 10 03-01-2003 12:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration