LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-22-2003, 07:18 PM   #1
Crickit
Member
 
Registered: Apr 2003
Location: A whole lot of nowhere.
Distribution: Mandrake 9.1
Posts: 58

Rep: Reputation: 15
Recompiling the Kernel for USB?


Alright, I found out how to get my USB mass storage device to work. I found the info on www.linux-usb.com, but I'm not sure what to do next.

It says I have to add the following line to my /usr/src/linux/drivers/usb/storage/unusual_devs.h file:

UNUSUAL_DEV( 0x0aec, 0x5010, 0x0100, 0x0100, "Card Reader/Writer", "neodio card reader/writer", US_SC_SCSI, US_PR_BULK, NULL, US_FL_FIX_INQUIRY)

I don't know anything about compiling the linux kernel, but I figured that since this is placed into a source file for it, the kernel must be recompiled, right?

If so, what's the next step?
 
Old 04-22-2003, 07:26 PM   #2
onurb
Member
 
Registered: Dec 2002
Posts: 263

Rep: Reputation: 30
As you arre using Mandrake 9.1 your USB is already compiled in the kernel !
 
Old 04-22-2003, 07:28 PM   #3
Crickit
Member
 
Registered: Apr 2003
Location: A whole lot of nowhere.
Distribution: Mandrake 9.1
Posts: 58

Original Poster
Rep: Reputation: 15
But then how do I access the drive? I've already posted a thread on here a week or two ago with this USB mass storage device problem, and it ended with the conclusion that my card reader is unsupported.

So I did some searching, and came up with the info I mentioned.

I've added that line to the unusual_devs.h file. Do I have to recompile the kernel?
 
Old 04-22-2003, 07:33 PM   #4
onurb
Member
 
Registered: Dec 2002
Posts: 263

Rep: Reputation: 30
I guess, that if your card reader is not supported means that you'll have to buy another cardreader that is supported.
 
Old 04-22-2003, 07:39 PM   #5
Crickit
Member
 
Registered: Apr 2003
Location: A whole lot of nowhere.
Distribution: Mandrake 9.1
Posts: 58

Original Poster
Rep: Reputation: 15
But it is supported... thats what I found out...

And besides... where's the fun in just going out and buying one that's supported when I can spend my night trying to get this one to work?
 
Old 04-22-2003, 07:44 PM   #6
onurb
Member
 
Registered: Dec 2002
Posts: 263

Rep: Reputation: 30
Quote:
Originally posted by Crickit
.. where's the fun in just going out and buying one that's supported when I can spend my night trying to get this one to work?
You're right
 
  


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
recompiling kernel den15 Linux - Newbie 3 11-27-2005 12:53 PM
can i compile just one kernel module whithout recompiling the whole kernel? edman007 Linux - Software 3 02-17-2004 04:05 PM
Recompiling Kernel brokenflea Slackware 3 12-11-2003 08:43 PM
Recompiling Kernel VIP3R Linux - Software 6 06-03-2003 08:17 PM
USB-Driver Problems after recompiling the kernel Revenger Linux - Software 2 08-01-2001 03:31 AM


All times are GMT -5. The time now is 11:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration