LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   How to Apply patch for Mass Storage device to work? (uss725-2.4.20-rc2.patch) (https://www.linuxquestions.org/questions/linux-hardware-18/how-to-apply-patch-for-mass-storage-device-to-work-uss725-2-4-20-rc2-patch-172200/)

cevjr 04-19-2004 04:34 PM

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,

finegan 04-20-2004 12:39 AM

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

cevjr 04-20-2004 08:42 AM

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.

finegan 04-20-2004 11:14 PM

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


All times are GMT -5. The time now is 06:24 AM.