probs after use idchanger

T2x/T3x series specific matters only
Post Reply
Message
Author
thunderbolt
Posts: 4
Joined: Sun Oct 22, 2006 5:07 pm
Location: germany

probs after use idchanger

#1 Post by thunderbolt » Mon Oct 23, 2006 2:25 am

Hi,

excuse me my bad english, but i hope you understand what i mean.

yesterday i change my wlan PCI ID from

PCI\VEN_168C&DEV_1014&SUBSYS_833117AB&REV_01\4&139E449D&0&10F0

to

PCI\VEN_168C&DEV_1013&SUBSYS_833117AB&REV_01\4&139E449D&0&10F0

an so i can use this with my T30. The Card work with Windows without any Problems. After install Airsnare the Card don´t work with this Software.

So i change the Device ID again from

PCI\VEN_168C&DEV_1013&SUBSYS_833117AB&REV_01\4&139E449D&0&10F0

to

PCI\VEN_168C&DEV_2022&SUBSYS_833117AB&REV_01\4&139E449D&0&10F0

now the card donßt work in windows. I can´t install anything. I thought i can change it back, but linux ( i use knoppix) don´t find this card to flash

if i try lspci -nv i see this

02:02.0 Class 0200: 168c:2022 (rev 01)
Subsystem: 17ab:8331
Flags: bus master, medium devsel, latency 168, IRQ 11
Memory at d0200000 (32-bit, non-prefetchable)
Capabilities: [44] Power Management version 2

if i try Idchanger
ich see

Reading 0 current value 0x2253
Reading 1 current value 0x2253
..
Reading 7 current value 0x2253
Reading 8 current value 0x2253

and so on ......

can anyone help me to flash my device back to the right on. With ich the best choise for this card.


PCI\VEN_168C&DEV_1014&SUBSYS_833117AB&REV_01\4&139E449D&0&10F0

... and ... i´m a very good windows use .. but Linux ... i have nothing ... no basics nothing ....

thx

ps. on windows i change in the net5211.inf
PCI\VEN_168C&DEV_1013
to
PCI\VEN_168C&DEV_2022

so i can install the driver ... but the card is not in the whitelist. I think that must be make with the madwifi driver. But i don´t know how..

help me pls


after i read this forum again and again i think the key is here

http://madwifi.org/ticket/436 but i don´t know how patch the driver in linux ......

danage
Junior Member
Junior Member
Posts: 311
Joined: Sun Jan 15, 2006 12:37 pm
Location: Hannover, Germany

#2 Post by danage » Mon Oct 23, 2006 3:20 am

uh oh, you might not be able to bring back the card.

in linux, in a shell/bash/console windows type the following:

Code: Select all

iwconfig
to see whether the madwifi atheros drivers are loaded.

if not, idchanger cannot operate. it relies on some of madwifis routines. what would be necessary is to change the madwifi sources so they load even with your changed id, compile them, patch ("modprobe") them into the kernel and execute idchanger again. i've seen it done by someone, somewhere, i think it was in this forum. unfortunately, i wouldnt know how to do it myself...

but having figured out what you did, i'd bet you find this out as well.

another possibility is that you entered a wrong address when idchanging and the atheros card's eeprom is messed up somewhere else. in that case, you would REALLY need to modify madwifi to allow for patching the eeprom without even recognizing the card.

good luck. post back if you have any other questions. i'll try to help the best i can.

danage
Junior Member
Junior Member
Posts: 311
Joined: Sun Jan 15, 2006 12:37 pm
Location: Hannover, Germany

#3 Post by danage » Mon Oct 23, 2006 3:21 am

or is the card still working in windows? what do you mean by "whitelist"? windows driver or BIOS?

thunderbolt
Posts: 4
Joined: Sun Oct 22, 2006 5:07 pm
Location: germany

#4 Post by thunderbolt » Mon Oct 23, 2006 3:25 am

if i change

in the net5211.inf

PCI\VEN_168C&DEV_1013
to
PCI\VEN_168C&DEV_2022

windows find the card an install the driver. But i have the "error 10" so i think the decive PCI\VEN_168C&DEV_2022 is not in the BIOS whitelist

Code: Select all

root@0[knoppix]# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

now i have the original madwifi driver

i add my card to the "if_ath_pci.c" file

i think thats th solution but i can´t install the file ...

if i make install it come "Fehler 1" and he don´t find "ath_pci.ko" file ?

any help ?

danage
Junior Member
Junior Member
Posts: 311
Joined: Sun Jan 15, 2006 12:37 pm
Location: Hannover, Germany

#5 Post by danage » Mon Oct 23, 2006 4:51 am

thunderbolt wrote: windows find the card an install the driver. But i have the "error 10" so i think the decive PCI\VEN_168C&DEV_2022 is not in the BIOS whitelist
Until today, I have no clue as to the origin of this error. I can, however send you the PCI ID's of my card that works both under windows and linux without problems. I'll do when I get home.
The BIOS whitelist however is, in my opinion, unlikely to relate to the Code 10.

Code: Select all

root@0[knoppix]# iwconfig
eth0      no wireless extensions.
OK, madwifi isn't loaded, otherwise you'd have an ath0 device appearing there. Patching madwifi seems necessary. Note that you can't do that on a live CD (I think).
if i make install it come "Fehler 1" and he don´t find "ath_pci.ko" file ?
Yeah, that's the kind of error I got when trying to compile it from source. I think it relates to some modules not being found. Try searching the Ubuntu forums or the likes for solutions. Also try the Madwifi Mailing lists archives. You will definately need to recompile madwifi if you want to change ID's.

The best of luck. :)[/quote]

thunderbolt
Posts: 4
Joined: Sun Oct 22, 2006 5:07 pm
Location: germany

#6 Post by thunderbolt » Mon Oct 23, 2006 5:31 am

okay it works with many help from "dummvogel" user here ...

i change the following in the original madwifi "if_ath_pci.c" { 0x168c, 0x2022, PCI_ANY_ID, PCI_ANY_ID }, /* sonicwall */
{ 0 }
};

static u16 ath_devidmap[][2] = {
{ 0x2022, 0x1014 }

Code: Select all


deinstall old madwifi driver ( i use knoppix) compile new madwifi driver with my changed file ... install this driver and 

[quote]root@0[knoppix]# ./idchanger -r 0xd0200000
Accessing adapter at 0xD0200000
Reading 0 current value 0x2022
Reading 1 current value 0x168C
Reading 2 current value 0x0280
Reading 3 current value 0x0001
Reading 4 current value 0x0000
Reading 5 current value 0x5001
Reading 6 current value 0x0000
Reading 7 current value 0x8331
Reading 8 current value 0x17AB
[/quote]
change 0x2022 back to my old settings 0x1013

but i don't know .. is this the best choice for my card ?

PCI\VEN_168C&DEV_1014&SUBSYS_833117AB&REV_01\4&139E449D&0&10F0

this was my card, before i modify anything.

danage
Junior Member
Junior Member
Posts: 311
Joined: Sun Jan 15, 2006 12:37 pm
Location: Hannover, Germany

#7 Post by danage » Mon Oct 23, 2006 8:45 am

thunderbolt wrote:but i don't know .. is this the best choice for my card ?
Well, that depends on how you look at it. The IBM drivers for Windows are of a newer version than the generic Atheros ones floating around. Also, they offer more configuration options. You can actually use them with any card if you modify the driver's .inf file.

But to be honest, I don't think it makes much of a difference anyhow. You can just as well go ahead and stick with your non-IBM ID and just patch away the 01c9.

Would you mind telling me how you got madwifi to compile?

thunderbolt
Posts: 4
Joined: Sun Oct 22, 2006 5:07 pm
Location: germany

#8 Post by thunderbolt » Mon Oct 23, 2006 10:13 am

Hi,

at first i change my ID in the "if_ath_pci.c" file delete the old file

after this i use this

http://madwifi.org/wiki/UserDocs/FirstTimeHowTo

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “ThinkPad T2x & T3x Series”

Who is online

Users browsing this forum: No registered users and 4 guests