Login

logo6


RTL81xx Patching Download

Description:
Instructions on how to patch the RTL81xx network driver to working with hardware with a diffirent revision number.  Should be useful to anyone who has not done such patches before.

Note: The method also applies to other network drivers.

Note 2: Revised for new Alpha 2 release.  Added an quick guide.
Submitted On:
12 May 2010
Submitted By:
Earl_Colby_Pottinger (Earl Colby Pottinger)
Submitted On:
12 May 2010
File Size:
4.10 Kb
Downloads:
4897
File Version:
0.2
File Author:
Earl_Colby_Pottinger
Rating:
Total Votes:1

Comments  

 
+6 # RE: RTL81xx PatchingNickos 2010-04-23 22:43
I wanted to patch rtl81xx. I searched for revision numbers but could not find them. I even looked at the offsets you provided and did not see any revisions listed.

Not sure what I am doing wrong. Seems simple enough from the info you provided. You use diskprobe with rtl81xx driver. Then text search for revision number. I tried different searches but found no revisions - too tired now. Any help?
 
 
+1 # RE: RTL81xx PatchingNickos 2010-04-23 23:08
I searched and could not find any revision numbers in rtl81xx driver (hidden?). Also, checked the offsets you gave and the revisions were not listed there. Can you post screenshot(s)? Any help?

I used diskprobe on rtl81xx. I searched for two different revision numbers with different combinations but not listed in rtl81xx driver.
 
 
0 # RE: RTL81xx Patchingtonestone57 2010-04-24 12:08
I could not find the revision #s in the rtl81xx driver. I tried searching for two different revisions in different ways. I also looked at the offsets you gave and no revision numbers showed there.

Can you provide 1 or 2 screenshots here to see what you see in diskprobe?

Can't figure out what I am doing wrong or what is going on because revisions are not listed in my rtl81xx driver.
 
 
+1 # RE: RE: RTL81xx Patchingtonestone57 2010-04-26 09:37
I figured it out.

Use diskprobe - load rtl81xx. Do hex search but for the revision # in reverse. Then replace with revision # of your network card which you can find in syslog.

Two revisions in rtl81xx driver are:
0x34000000
0x30800000

You would search for:
00008030

Then change it. For me I needed following revision:
0x24c00000

So, changed one of the above revisons to:
0000c024

Now rtl81xx driver works in Haiku and I have networking. For 1 Haiku revision I changed it in one spot and worked, but for another I had to change it in two spots to work. To be sure you are making changes to revision # and not something else, write down two or three revisions and make sure they are located somewhat close together.
 
 
+1 # Quick GuideEarl Colby Pottinger 2010-05-12 05:48
Quick guide to getting your rtl81xx driver working on the Toshiba NB205.

Open folder: /boot/system/add-ons/kernel/drivers/bin

Open the file rtl81xx using diskprobe.

Press ALT-F to bring up the search window.

If the mode says TEXT switch it to HEXADECIMAL.

Type in 00 00 80 24 and don't worry about the spaces, the program will put them in for you.

Hit ENTER. This will find the first matching byte string. Leave this alone.

Press ALT-G. This will find the second copy, this is the one you want to change.

Using your mouse select the 80 and type in C0.

Choose 'SAVE' in the 'FILE' menu.

Reboot Haiku. The wired network should work now.
 


Please register to post comments

Search Files

Search For: 
Search File Titles: 
Search File Descriptions: 

The Largest BeOS/Haiku Software Repository