Bernhard Reiter | 1 Feb 16:52
Picon
Gravatar

ath9k/PCI 168C:002C

hi,

i'm currently setting up karmic (64bit) an asus eeepc 1005p, and i've
found the following in the debian wiki:
http://wiki.debian.org/DebianEeePC/Model/1005P
i'm giving this laptop to another person on wednesday, but until then, i
might try to compile the ath9k module with the suggested addition of
that PCI id.

unfortunately, i haven't really found anything on how to do this (in a
least-invasive fashion). i've looked
into /usr/src/linux-headers-2.6.31-17/drivers/net/wireless/ath/ath9k,
but there's only a Kconfig and a Makefile, but no sources.

can you people help me modify, compile and test this module?

bernhard reiter
ps please cc, i'm not a list subscriber

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

John W. Linville | 1 Feb 17:04
Favicon

Re: ath9k/PCI 168C:002C

On Mon, Feb 01, 2010 at 04:52:02PM +0100, Bernhard Reiter wrote:
> hi,
> 
> i'm currently setting up karmic (64bit) an asus eeepc 1005p, and i've
> found the following in the debian wiki:
> http://wiki.debian.org/DebianEeePC/Model/1005P
> i'm giving this laptop to another person on wednesday, but until then, i
> might try to compile the ath9k module with the suggested addition of
> that PCI id.
> 
> unfortunately, i haven't really found anything on how to do this (in a
> least-invasive fashion). i've looked
> into /usr/src/linux-headers-2.6.31-17/drivers/net/wireless/ath/ath9k,
> but there's only a Kconfig and a Makefile, but no sources.
> 
> can you people help me modify, compile and test this module?
> 
> bernhard reiter
> ps please cc, i'm not a list subscriber

Seems more like a "how do I recompile my kernel on Ubuntu" question to me...

--

-- 
John W. Linville		Someday the world will need a hero, and you
linville@...			might be all we have.  Be ready.
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

(Continue reading)

Pavel Roskin | 1 Feb 17:36
Picon

Re: ath9k/PCI 168C:002C

Quoting Bernhard Reiter <ockham@...>:

> hi,
>
> i'm currently setting up karmic (64bit) an asus eeepc 1005p, and i've
> found the following in the debian wiki:
> http://wiki.debian.org/DebianEeePC/Model/1005P
> i'm giving this laptop to another person on wednesday, but until then, i
> might try to compile the ath9k module with the suggested addition of
> that PCI id.

You can add the ID at the runtime:

echo "168c 002c" > /sys/bus/pci/drivers/ath9k/new_id

> unfortunately, i haven't really found anything on how to do this (in a
> least-invasive fashion). i've looked
> into /usr/src/linux-headers-2.6.31-17/drivers/net/wireless/ath/ath9k,
> but there's only a Kconfig and a Makefile, but no sources.

You should be able to compile compat-wireless on Ubuntu.  Then you can  
modify ath9k in the compat-wireless sources.  But I'm not optimistic.   
The wiki link suggests that further changes to the driver are needed.

You can also try MadWifi trunk to support the device.  It should  
compile out-of-box.  You can use the same trick to add the ID, just  
replace "ath9k" with "ath_pci".

--

-- 
Regards,
(Continue reading)

Bernhard Reiter | 1 Feb 21:32
Picon
Gravatar

Re: ath9k/PCI 168C:002C

thanks for your hints! unfortunately, as you expected, simply adding the
PCI id doesn't do the trick. seems like a couple of people tried it
already:
http://forum.ubuntuusers.de/topic/atheros-ar5b95-geht-unter-unr-9-10-nicht/
(in German).

i haven't tried madwifi yet, though.

regards,
bernhard

Am Montag, den 01.02.2010, 11:36 -0500 schrieb Pavel Roskin:
> Quoting Bernhard Reiter <ockham@...>:
> 
> > hi,
> >
> > i'm currently setting up karmic (64bit) an asus eeepc 1005p, and i've
> > found the following in the debian wiki:
> > http://wiki.debian.org/DebianEeePC/Model/1005P
> > i'm giving this laptop to another person on wednesday, but until then, i
> > might try to compile the ath9k module with the suggested addition of
> > that PCI id.
> 
> You can add the ID at the runtime:
> 
> echo "168c 002c" > /sys/bus/pci/drivers/ath9k/new_id
> 
> > unfortunately, i haven't really found anything on how to do this (in a
> > least-invasive fashion). i've looked
> > into /usr/src/linux-headers-2.6.31-17/drivers/net/wireless/ath/ath9k,
(Continue reading)

Pavel Roskin | 1 Feb 22:23
Picon

Re: ath9k/PCI 168C:002C

On Mon, 2010-02-01 at 21:32 +0100, Bernhard Reiter wrote:
> thanks for your hints! unfortunately, as you expected, simply adding the
> PCI id doesn't do the trick. seems like a couple of people tried it
> already:
> http://forum.ubuntuusers.de/topic/atheros-ar5b95-geht-unter-unr-9-10-nicht/
> (in German).

Please try the patch that was posted at
http://bugzilla.kernel.org/show_bug.cgi?id=15180

You can apply it to compat-wireless.

> i haven't tried madwifi yet, though.

I was wrong, it won't work as is.  The ID should be added to HAL as
well.  Unfortunately, I don't know which initialization values are
needed for the chip, and I cannot figure it out from the ath9k patch.

--

-- 
Regards,
Pavel Roskin
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Bernhard Reiter | 4 Feb 01:44
Picon
Gravatar

Re: ath9k/PCI 168C:002C

Am Montag, den 01.02.2010, 16:23 -0500 schrieb Pavel Roskin:
> Please try the patch that was posted at
> http://bugzilla.kernel.org/show_bug.cgi?id=15180

now this works (as i can see from the comment i posted there)!

thanks a lot!
kind regards
bernhard

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


Gmane