LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-04-2004, 01:50 AM   #1
GM287
LQ Newbie
 
Registered: Apr 2004
Location: Sydney - OZ
Distribution: Slackware 9.1
Posts: 16

Rep: Reputation: 0
I need to edit "usb.c" and can't find it


In order to use a speedtouch usb modem, it appears I need to modify one
file : drivers/usb/core/usb.c

Now the path to this file is meant to begin (I think)
/usr/src/linux/.../drivers/usb/core/usb.c

But I can't find this path. I fear I need to compile the kernel or do something horrid like that (for a total noobie) in order to create the path.

What should I do?

I'm running Mandrake 10.0 Community on the specs below.
 
Old 04-04-2004, 01:51 AM   #2
coder_ma
LQ Newbie
 
Registered: Mar 2004
Distribution: redhat9
Posts: 18

Rep: Reputation: 0
try this
#updatedb
#locate usb.c
 
Old 04-04-2004, 03:07 AM   #3
GM287
LQ Newbie
 
Registered: Apr 2004
Location: Sydney - OZ
Distribution: Slackware 9.1
Posts: 16

Original Poster
Rep: Reputation: 0
I went updatedb and it whirred for a bit...

Then I went locate usb.c and got two listings for 'usb.conf', one listed in /etc/makedev.

But no 'usb.c'.
 
Old 04-04-2004, 04:07 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
you need to install the linux kernel source. grab it from your distro cd's or kernel.org
 
Old 04-04-2004, 12:34 PM   #5
sh1ft
Member
 
Registered: Feb 2004
Location: Ottawa, Ontario, Can
Distribution: Slackware, ubuntu
Posts: 391

Rep: Reputation: 31
you will have to recompile for the changes to usb.c to take effect because you are altering the kernel source code.

Don't worry it really isn't that hard at all.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 03:32 PM
"Can't find KNOPPIX image" when booting from USB Pendrive goldenratiophi DamnSmallLinux 2 01-11-2005 04:23 PM
Writing to "/dev/usb/hiddev*" and to "/proc/bus/usb/00B/00S" throw an arror EI stpg Programming 0 07-14-2004 06:44 AM
Help,I can't find my USB mouse when I run "kudzu" command in RH9. aeolus Red Hat 0 03-27-2004 10:14 PM
find, edit and save "startup" file chaoticanuck Linux - Newbie 2 12-19-2002 11:56 AM


All times are GMT -5. The time now is 11:43 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration