Skip to contentSkip to conversation

Patch for Kernel and Ath5k

DISCUSSION Markus Feldmann 6 participants 18 messages Oct 10, 2007 – Oct 12, 2007 4 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hi All,

i tried to patch the Kernel to get the ATH5k Driver to work but without success.

It seems i miss some scripts like check.sh

Anybody knows how to get my Problem solved?

bye Markus

#1 lore raw
Quoted 10 lines · Markus Feldmann

Hi All,

i tried to patch the Kernel to get the ATH5k Driver to work but without success.

It seems i miss some scripts like check.sh

Anybody knows how to get my Problem solved?

bye Markus

Sorry i forgot to say that i am using the kernel Source 2.6.23-rc8 and wanna patch this with a Andrew Morton Patch, 2.6.23-rc8-mm1
2.6.23-rc8-mm2

Can anybody write what i have to do?

I am on Debian Etch. I have got an Atheros Wlan Chip with the ID 168c:001c (rev 01).

Thank you and
bye

#2 lore raw

2007/10/10, Markus Feldmann <[email protected]>:

Quoted 17 lines
Quoted 11 lines · Markus Feldmann

Hi All,

i tried to patch the Kernel to get the ATH5k Driver to work but without success.

It seems i miss some scripts like check.sh

Anybody knows how to get my Problem solved?

bye Markus

Sorry i forgot to say that i am using the kernel Source 2.6.23-rc8 and wanna patch this with a Andrew Morton Patch,
2.6.23-rc8-mm1
2.6.23-rc8-mm2

Quoted 7 lines

Can anybody write what i have to do?

I am on Debian Etch. I have got an Atheros Wlan Chip with the ID 168c:001c (rev 01).

Thank you and
bye

001c wont work anyway it uses the newer 5.3 EEPROM that we don't yet support ;-(

Signature · 3 lines
GPG ID: 0xD21DB2DB
As you read this post global entropy rises. Have Fun ;-)
Nick
#3 lore raw
Quoted 20 lines · Nick Kossifidis

2007/10/10, Markus Feldmann <[email protected]>:

Quoted 19 lines
Quoted 11 lines · Markus Feldmann

Hi All,

i tried to patch the Kernel to get the ATH5k Driver to work but without success.

It seems i miss some scripts like check.sh

Anybody knows how to get my Problem solved?

bye Markus

Sorry i forgot to say that i am using the kernel Source 2.6.23-rc8 and wanna patch this with a Andrew Morton Patch,
2.6.23-rc8-mm1
2.6.23-rc8-mm2

Can anybody write what i have to do?

Quoted 9 lines
Quoted 5 lines

I am on Debian Etch. I have got an Atheros Wlan Chip with the ID 168c:001c (rev 01).

Thank you and
bye

001c wont work anyway it uses the newer 5.3 EEPROM that we don't yet support ;-(

No Problem. Is there a need for Debugging? I would send you the debug. So maybe in the future it will work.

#4 lore raw

2007/10/10, Markus Feldmann <[email protected]>:

Quoted 24 lines
Quoted 23 lines · Nick Kossifidis

2007/10/10, Markus Feldmann <[email protected]>:

Quoted 22 lines
Quoted 11 lines · Markus Feldmann

Hi All,

i tried to patch the Kernel to get the ATH5k Driver to work but without success.

It seems i miss some scripts like check.sh

Anybody knows how to get my Problem solved?

bye Markus

Sorry i forgot to say that i am using the kernel Source 2.6.23-rc8 and wanna patch this with a Andrew Morton Patch,
2.6.23-rc8-mm1
2.6.23-rc8-mm2

Can anybody write what i have to do?

I am on Debian Etch. I have got an Atheros Wlan Chip with the ID 168c:001c (rev 01).

Quoted 9 lines
Quoted 6 lines
Quoted 2 lines

Thank you and
bye

001c wont work anyway it uses the newer 5.3 EEPROM that we don't yet support ;-(

No Problem. Is there a need for Debugging? I would send you the debug. So maybe in the future it will work.

Thanx a lot ! there are some things we need to fix first before we go for 5424/2424, i'll let you know if there is anything you can do to help ;-)

Signature · 3 lines
GPG ID: 0xD21DB2DB
As you read this post global entropy rises. Have Fun ;-)
Nick
#5 lore raw
In reply to Markus Feldmann

hi markus!

use git!

git-clone
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git

cd wireless-2.6

git checkout -b everything origin/everything

more info at:
http://linuxwireless.org/en/users/Drivers/ath5k#Hackingath5k

cheers,
bruno

Quoted 15 lines · On Wednesday 10 October 2007 20:51:06 Markus Feldmann wrote:

Hi All,

i tried to patch the Kernel to get the ATH5k Driver to work but without success.

It seems i miss some scripts like check.sh

Anybody knows how to get my Problem solved?

bye Markus

-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#6 lore raw
Quoted 10 lines · bruno randolf

hi markus!

use git!

git-clone git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git

cd wireless-2.6

git checkout -b everything origin/everything

Have i to change the dir to /usr/src/linux before i do this above? After this steps above do i have to activate the ath5k in the "make menuconfig"?

#7 lore raw
Quoted 1 line · On Wednesday 10 October 2007 21:14:51 Markus Feldmann wrote:

Have i to change the dir to /usr/src/linux before i do this above?

nope. just check it out into any directory - this will fetch the current 2.6.23-rc9 with the latest wireless developments.

Quoted 2 lines

After this steps above do i have to activate the ath5k in the "make menuconfig"?

sure. and don't expect too much ;) - the driver is under heavy development and pretty new.

bruno

#8 lore raw
Quoted 4 lines · bruno randolf
Quoted 1 line · On Wednesday 10 October 2007 21:14:51 Markus Feldmann wrote:

Have i to change the dir to /usr/src/linux before i do this above?

nope. just check it out into any directory - this will fetch the current 2.6.23-rc9 with the latest wireless developments.

Do you mean it will fetch the whole Kernel Sources, with the linux-wireless Sources?

#9 lore raw
Quoted 2 lines

Do you mean it will fetch the whole Kernel Sources, with the linux-wireless Sources?

Yes, it will.

If you already have a linux source tree in the form of a git-repository, you can speed up the cloning tremenduously by using "--reference". See "git clone --help"
or "git-clone --help".

#10 lore raw
Quoted 4 lines · Holger Schurig
Quoted 2 lines

Do you mean it will fetch the whole Kernel Sources, with the linux-wireless Sources?

Yes, it will.

I did what you said, but in the "make menuconfig" do not appear the Option,
<M> Atheros 5xxx wireless cards support

Maybe there is some Option Missing?

Here is what i did,

1.) cd /usr/src
2.) git-clone git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git
3.)cd wireless-2.6
4.)git checkout -b everything origin/everything
5.)make menuconfig
6.)
Networking --->
Wireless --->
<M> Improved wireless configuration API
<M> Generic IEEE 802.11 Networking Stack (mac80211)

Any Idea?

#11 lore raw
Quoted 23 lines · Markus Feldmann
Quoted 4 lines · Holger Schurig
Quoted 2 lines

Do you mean it will fetch the whole Kernel Sources, with the linux-wireless Sources?

Yes, it will.

I did what you said, but in the "make menuconfig" do not appear the Option,
<M> Atheros 5xxx wireless cards support

Maybe there is some Option Missing?

Here is what i did,

1.) cd /usr/src
2.) git-clone git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git
3.)cd wireless-2.6
4.)git checkout -b everything origin/everything
5.)make menuconfig
6.)
Networking --->
Wireless --->
<M> Improved wireless configuration API
<M> Generic IEEE 802.11 Networking Stack (mac80211)

Quoted 2 lines

Any Idea?

I do not find the Entry,
<M> Generic IEEE 802.11 Networking Stack (mac80211) in the ".config" File.
And i do not find any files in the Sources containig ATH5k?

What is the Name of the Docu File? Or the Source Code File?

#12 lore raw
Quoted 4 lines · Markus Feldmann

I do not find the Entry,
<M> Generic IEEE 802.11 Networking Stack (mac80211) in the ".config" File.
And i do not find any files in the Sources containig ATH5k?

config ATH5K
tristate "Atheros 5xxx wireless cards support" depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL

Did you select EXPERIMENTAL?

John

Signature · 2 lines
John W. Linville
[email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#14 lore raw

Please respond on the list...

Quoted 14 lines · Markus Feldmann
Quoted 11 lines · John W. Linville
Quoted 4 lines · Markus Feldmann

I do not find the Entry,
<M> Generic IEEE 802.11 Networking Stack (mac80211) in the ".config" File.
And i do not find any files in the Sources containig ATH5k?

config ATH5K
tristate "Atheros 5xxx wireless cards support" depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL

Quoted 5 lines
Quoted 1 line

Did you select EXPERIMENTAL?

What do you mean with EXPERIMENTAL?
Have i downloaded the wrong Sources with git ?

If so can you please post how you download the EXPERIMENTAL Sources?

I mean did you answer "y" to this:

Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [Y/n/?]

How about this?

	Wireless LAN (IEEE 802.11) (WLAN_80211) [Y/n/?]

And either "y" or "m" to this?

	Generic IEEE 802.11 Networking Stack (mac80211) (MAC80211 [M/n/y/?]

Answering "n" to any of those will hide ATH5K from your choices.

Hth!

John

Signature · 2 lines
John W. Linville
[email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#16 lore raw

Please respond on the list...

Quoted 39 lines · Markus Feldmann
Quoted 28 lines · John W. Linville

Please respond on the list...

Quoted 12 lines · Markus Feldmann
Quoted 10 lines · John W. Linville
Quoted 4 lines · Markus Feldmann

I do not find the Entry,
<M> Generic IEEE 802.11 Networking Stack (mac80211) in the ".config" File.
And i do not find any files in the Sources containig ATH5k?

config ATH5K
tristate "Atheros 5xxx wireless cards support" depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL

Quoted 5 lines
Quoted 1 line

Did you select EXPERIMENTAL?

What do you mean with EXPERIMENTAL?
Have i downloaded the wrong Sources with git ?

If so can you please post how you download the EXPERIMENTAL Sources?

I mean did you answer "y" to this:

	Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) 
	[Y/n/?]

How about this?

Quoted 8 lines
	Wireless LAN (IEEE 802.11) (WLAN_80211) [Y/n/?]

And either "y" or "m" to this?

	Generic IEEE 802.11 Networking Stack (mac80211) (MAC80211 [M/n/y/?]

Answering "n" to any of those will hide ATH5K from your choices.

I have all of this above enabled.

Quoted 8 lines

Do you also do this,
1.) git-clone
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git
2.) cd wireless-2.6
3.) git checkout -b everything origin/everything

At the third Point he says to me that there is nothing to do, because i have got the newest. Maybe there is a Mistake?

That procedure works fine here. I don't know what mistake you are making. Did you perhaps checkout one tree inside another?

John

P.S. Make sure you select PCI in your config as well...

Signature · 2 lines
John W. Linville
[email protected]
#17 lore raw
Quoted 51 lines · John W. Linville

Please respond on the list...

Quoted 39 lines · Markus Feldmann
Quoted 28 lines · John W. Linville

Please respond on the list...

Quoted 12 lines · Markus Feldmann
Quoted 10 lines · John W. Linville
Quoted 4 lines · Markus Feldmann

I do not find the Entry,
<M> Generic IEEE 802.11 Networking Stack (mac80211) in the ".config" File.
And i do not find any files in the Sources containig ATH5k?

config ATH5K
tristate "Atheros 5xxx wireless cards support" depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL

Quoted 5 lines
Quoted 1 line

Did you select EXPERIMENTAL?

What do you mean with EXPERIMENTAL?
Have i downloaded the wrong Sources with git ?

If so can you please post how you download the EXPERIMENTAL Sources?

I mean did you answer "y" to this:

Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [Y/n/?]

How about this?

Quoted 8 lines
    Wireless LAN (IEEE 802.11) (WLAN_80211) [Y/n/?]

And either "y" or "m" to this?

    Generic IEEE 802.11 Networking Stack (mac80211) (MAC80211 [M/n/y/?]

Answering "n" to any of those will hide ATH5K from your choices.

I have all of this above enabled.

Quoted 8 lines

Do you also do this,
1.) git-clone
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git
2.) cd wireless-2.6
3.) git checkout -b everything origin/everything

At the third Point he says to me that there is nothing to do, because i have got the newest. Maybe there is a Mistake?

Quoted 6 lines

That procedure works fine here. I don't know what mistake you are making. Did you perhaps checkout one tree inside another?

John

P.S. Make sure you select PCI in your config as well...

Also, if you do:

git-branch

what do you get?

A message that is not in the archive (sent off-list or not yet received): [email protected]

#19 lore raw
Quoted 16 lines

I do got this,

feld-bertlap:/usr/src/wireless-2.6# git-branch
   at76
   ath5k
   everything
   mac80211-attic
   mac80211-dungeon
* master
   master-davem
   merged-upstream
   mm-master
   origin
   pending-stable
   ssb-drivers
   upstream-davem
   zd1211rw-mac80211

Shouldn't you be on "everything" ?

I'm using:

rm -rf wireless-2.6
git clone --reference /usr/src/linux-git git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git
cd wireless-2.6
git checkout -b everything origin/everything

A message that is not in the archive (sent off-list or not yet received): [email protected]

#21 lore raw
Quoted 10 lines · On Thursday 11 October 2007 23:31:48 Markus Feldmann wrote:
Quoted 9 lines

Shouldn't you be on "everything" ?

I'm using:

rm -rf wireless-2.6
git clone --reference /usr/src/linux-git
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git
cd wireless-2.6
git checkout -b everything origin/everything

Quoted 3 lines

I got this Message when i execute "git clone ...", reference repository '/usr/src/linux-git' is not a local directory any Idea?

just don't use this option then...

git clone \
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git
cd wireless-2.6
git checkout -b everything origin/everything

-> exactly like its documented in
http://linuxwireless.org/en/users/Drivers/ath5k#Hackingath5k

i know, git can appear overwhelming in the beginnig, but its rather easy once you get used to it. if you have known subversion before this document gets you started: http://git.or.cz/course/svn.html

anyhow you should read the instructions...

good luck,
bruno