LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-19-2004, 04:34 PM   #1
cevjr
Member
 
Registered: Jul 2003
Location: USA
Distribution: Slack 12.2 and Ubuntu 9.04
Posts: 61

Rep: Reputation: 15
How to Apply patch for Mass Storage device to work? (uss725-2.4.20-rc2.patch)


I have a pockey USB Drive and found, through hours of searching, that I should apply a patch - uss725-2.4.20-rc2.patch to allow the prod/vendor code 0x05ab/0x0202 to work.

I went to the web site http://bjorn.haxx.se/uss725/ to download the patch and have been unsuccessful in applying it.

Can anyone suggest instructions ...I already did man patch
and did a patch -p1 < uss725-2.4.20-rc2.patch and I received NO results.

Thanks,
 
Old 04-20-2004, 12:39 AM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Do you have the 2.4.20-rc2 kernel source? Is that the exact kernel you're running? You do know this means applying the patch to the kernel source, then recompiling entirely? Actually, what kernel are you running?

uname -a

And also, what's the output of "dmesg" with this thing plugged in?

Also, what distro?

Cheers,

Finegan
 
Old 04-20-2004, 08:42 AM   #3
cevjr
Member
 
Registered: Jul 2003
Location: USA
Distribution: Slack 12.2 and Ubuntu 9.04
Posts: 61

Original Poster
Rep: Reputation: 15
I have Slackware 9.0
Kernel 2.4.20
kernel-source-2.4.20-noarch-5

when I plug the pockjey drive in and do a dmesg I get:
hub.c: new USB device 00:1d.2-2, assigned address 2
usb.c: USB device 2 (vend/prod 0x5ab/0x202) is not claimed by any active driver.
 
Old 04-20-2004, 11:14 PM   #4
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
an rc2 patch will probably apply against final alright, lets just guess...

cp /wherever/it/is/uss725-2.4.20-rc2.patch /usr/src/linux
cd /usr/src/linux
patch -p0 < uss725-2.4.20-rc2.patch

If that doesn't just pop on and asks about dirs... ctrl+c and try:

patch -p1 < uss725-2.4.20-rc2.patch

or move the patch up one directory level and try it there,

When it applies clean, its time to compile the kernel, best to look at the slack manual for a little help with that.

Cheers,

Finegan
 
  


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 to apply a patch? amwink Programming 2 11-25-2005 07:14 PM
how to apply patch? greythorne Fedora 1 03-09-2005 04:38 AM
Ho Do I Apply The CK Patch? AFI_Flame Linux - Software 1 11-14-2004 10:49 PM
How to apply PATCH? aurelio26 *BSD 3 10-07-2004 01:23 PM
Kernel: Can't apply patch 2.6.8-rc2 to a 2.6.8-rc1 thorax Linux - Software 1 07-18-2004 03:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:45 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