linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to add the Asus R1F to asus-laptop.c?
@ 2008-09-03 17:06 Lennart Sorensen
  2008-09-03 17:59 ` Alistair John Strachan
  0 siblings, 1 reply; 8+ messages in thread
From: Lennart Sorensen @ 2008-09-03 17:06 UTC (permalink / raw)
  To: linux-kernel; +Cc: Len Sorensen

My wife has an Asu R1F and I have been trying to help her get wireless
networking to work on it.

The chipset is an intel 3945abg, so that part should be simple, and the
driver does in fact load and see things.  unfortunately the radio is
killed and there is no hardware switch to toggling it.  Instead you have
to use fn-F2 as on many other Asus laptops.

I have managed to manually toggle it and see the Ap by poking at values
exported by asus-acpi in /proc and /sys, but that isn't very convinient.

It would appear that the asus-laptop driver is supposed to manage
hotkeys on many asus laptops, but unfortunately the R1F isn't recognized
by the driver, which refuses to load.

Looking at the sourceforge.net page mentioned in asus-laptop.c as the
development site, I see that there is in fact a patch submitted for the
R1F (which is almost the same as the M2E) to that site in may 2007, but
apparently no one monitors that site anymore, and it never got submitted
to the kernel.

Who needs to be poked to have anything like that happen?  Why is that
site listed in the driver anymore, if it isn't being used now?

If I test out the patch and it works, should I submit it here to have it
included so that this can be solved once and for all?

-- 
Len Sorensen

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: How to add the Asus R1F to asus-laptop.c?
  2008-09-03 17:06 How to add the Asus R1F to asus-laptop.c? Lennart Sorensen
@ 2008-09-03 17:59 ` Alistair John Strachan
  2008-09-03 20:16   ` Lennart Sorensen
  0 siblings, 1 reply; 8+ messages in thread
From: Alistair John Strachan @ 2008-09-03 17:59 UTC (permalink / raw)
  To: Lennart Sorensen; +Cc: linux-kernel, Corentin CHARY

Unless I'm mistaken, the current asus-laptop maintainer is Corentin Chary, who 
I've added to CC on your behalf.

On Wednesday 03 September 2008 18:06:49 Lennart Sorensen wrote:
> My wife has an Asu R1F and I have been trying to help her get wireless
> networking to work on it.
>
> The chipset is an intel 3945abg, so that part should be simple, and the
> driver does in fact load and see things.  unfortunately the radio is
> killed and there is no hardware switch to toggling it.  Instead you have
> to use fn-F2 as on many other Asus laptops.
>
> I have managed to manually toggle it and see the Ap by poking at values
> exported by asus-acpi in /proc and /sys, but that isn't very convinient.
>
> It would appear that the asus-laptop driver is supposed to manage
> hotkeys on many asus laptops, but unfortunately the R1F isn't recognized
> by the driver, which refuses to load.
>
> Looking at the sourceforge.net page mentioned in asus-laptop.c as the
> development site, I see that there is in fact a patch submitted for the
> R1F (which is almost the same as the M2E) to that site in may 2007, but
> apparently no one monitors that site anymore, and it never got submitted
> to the kernel.
>
> Who needs to be poked to have anything like that happen?  Why is that
> site listed in the driver anymore, if it isn't being used now?
>
> If I test out the patch and it works, should I submit it here to have it
> included so that this can be solved once and for all?

-- 
Cheers,
Alistair.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: How to add the Asus R1F to asus-laptop.c?
  2008-09-03 17:59 ` Alistair John Strachan
@ 2008-09-03 20:16   ` Lennart Sorensen
  2008-09-03 20:32     ` Alistair John Strachan
  0 siblings, 1 reply; 8+ messages in thread
From: Lennart Sorensen @ 2008-09-03 20:16 UTC (permalink / raw)
  To: Alistair John Strachan; +Cc: linux-kernel, Corentin CHARY

On Wed, Sep 03, 2008 at 06:59:28PM +0100, Alistair John Strachan wrote:
> Unless I'm mistaken, the current asus-laptop maintainer is Corentin Chary, who 
> I've added to CC on your behalf.

Excellent.  Now where do I find such info?

-- 
Len Sorensen

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: How to add the Asus R1F to asus-laptop.c?
  2008-09-03 20:16   ` Lennart Sorensen
@ 2008-09-03 20:32     ` Alistair John Strachan
  2008-09-03 20:39       ` Lennart Sorensen
  0 siblings, 1 reply; 8+ messages in thread
From: Alistair John Strachan @ 2008-09-03 20:32 UTC (permalink / raw)
  To: Lennart Sorensen; +Cc: linux-kernel, Corentin CHARY

On Wednesday 03 September 2008 21:16:20 Lennart Sorensen wrote:
> On Wed, Sep 03, 2008 at 06:59:28PM +0100, Alistair John Strachan wrote:
> > Unless I'm mistaken, the current asus-laptop maintainer is Corentin
> > Chary, who I've added to CC on your behalf.
>
> Excellent.  Now where do I find such info?

MAINTAINERS, though admittedly the section is dubiously named. His name's also 
present in the copyright in the source file (drivers/misc/asus-laptop.c). It's 
also present in the source code log for this file (git log drivers/misc/asus-
laptop.c) if you discount people who have made only janitorial or API changes.

Either way, he's CC'ed, and hopefully more responsive than the sourceforge 
project :-) If not, pester Andrew Morton with the patch (and Andi Kleen, since 
it's ACPI territory).

-- 
Cheers,
Alistair.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: How to add the Asus R1F to asus-laptop.c?
  2008-09-03 20:32     ` Alistair John Strachan
@ 2008-09-03 20:39       ` Lennart Sorensen
  2008-09-04  6:48         ` Corentin Chary
  0 siblings, 1 reply; 8+ messages in thread
From: Lennart Sorensen @ 2008-09-03 20:39 UTC (permalink / raw)
  To: Alistair John Strachan; +Cc: linux-kernel, Corentin CHARY

On Wed, Sep 03, 2008 at 09:32:34PM +0100, Alistair John Strachan wrote:
> On Wednesday 03 September 2008 21:16:20 Lennart Sorensen wrote:
> > On Wed, Sep 03, 2008 at 06:59:28PM +0100, Alistair John Strachan wrote:
> > > Unless I'm mistaken, the current asus-laptop maintainer is Corentin
> > > Chary, who I've added to CC on your behalf.
> >
> > Excellent.  Now where do I find such info?
> 
> MAINTAINERS, though admittedly the section is dubiously named. His name's also 
> present in the copyright in the source file (drivers/misc/asus-laptop.c). It's 
> also present in the source code log for this file (git log drivers/misc/asus-
> laptop.c) if you discount people who have made only janitorial or API changes.
> 
> Either way, he's CC'ed, and hopefully more responsive than the sourceforge 
> project :-) If not, pester Andrew Morton with the patch (and Andi Kleen, since 
> it's ACPI territory).

OK.  I will go test the patch out and see if it still works.

-- 
Len Sorensen

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: How to add the Asus R1F to asus-laptop.c?
  2008-09-03 20:39       ` Lennart Sorensen
@ 2008-09-04  6:48         ` Corentin Chary
  2008-09-04 13:41           ` Lennart Sorensen
  0 siblings, 1 reply; 8+ messages in thread
From: Corentin Chary @ 2008-09-04  6:48 UTC (permalink / raw)
  To: Lennart Sorensen; +Cc: Alistair John Strachan, linux-kernel

Hi,
Currently I've no internet connection, so I'm depend off the hotspot I
can found when I'm close to my windows
Anyway, my connection will be activated soon, so please poke me again monday.
I'ts true that I should take a look at sf.net patchs ...
Anyway, this laptop should work with asus-laptop oO.
modprobe asus-laptop gives you "No such device" ?

On Wed, Sep 3, 2008 at 10:39 PM, Lennart Sorensen
<lsorense@csclub.uwaterloo.ca> wrote:
> On Wed, Sep 03, 2008 at 09:32:34PM +0100, Alistair John Strachan wrote:
>> On Wednesday 03 September 2008 21:16:20 Lennart Sorensen wrote:
>> > On Wed, Sep 03, 2008 at 06:59:28PM +0100, Alistair John Strachan wrote:
>> > > Unless I'm mistaken, the current asus-laptop maintainer is Corentin
>> > > Chary, who I've added to CC on your behalf.
>> >
>> > Excellent.  Now where do I find such info?
>>
>> MAINTAINERS, though admittedly the section is dubiously named. His name's also
>> present in the copyright in the source file (drivers/misc/asus-laptop.c). It's
>> also present in the source code log for this file (git log drivers/misc/asus-
>> laptop.c) if you discount people who have made only janitorial or API changes.
>>
>> Either way, he's CC'ed, and hopefully more responsive than the sourceforge
>> project :-) If not, pester Andrew Morton with the patch (and Andi Kleen, since
>> it's ACPI territory).
>
> OK.  I will go test the patch out and see if it still works.
>
> --
> Len Sorensen
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: How to add the Asus R1F to asus-laptop.c?
  2008-09-04  6:48         ` Corentin Chary
@ 2008-09-04 13:41           ` Lennart Sorensen
  2008-11-27 15:14             ` Lennart Sorensen
  0 siblings, 1 reply; 8+ messages in thread
From: Lennart Sorensen @ 2008-09-04 13:41 UTC (permalink / raw)
  To: Corentin Chary; +Cc: Alistair John Strachan, linux-kernel

On Thu, Sep 04, 2008 at 08:48:03AM +0200, Corentin Chary wrote:
> Hi,
> Currently I've no internet connection, so I'm depend off the hotspot I
> can found when I'm close to my windows
> Anyway, my connection will be activated soon, so please poke me again monday.
> I'ts true that I should take a look at sf.net patchs ...
> Anyway, this laptop should work with asus-laptop oO.
> modprobe asus-laptop gives you "No such device" ?

Using 2.6.26, I get no such device and the driver refuses to load.
asus-acpi loads fine and does its job.

I will try the patch and see if that helps.  I was rather surprised that
it didn't load, so I started doing acpi dumps and looking at the driver
to see if I could figure out what it used to determine things.  It
looked to me like it checks if the hotkey registration works, which by
the looks of it it isn't doing at the moment.

-- 
Len Sorensen

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: How to add the Asus R1F to asus-laptop.c?
  2008-09-04 13:41           ` Lennart Sorensen
@ 2008-11-27 15:14             ` Lennart Sorensen
  0 siblings, 0 replies; 8+ messages in thread
From: Lennart Sorensen @ 2008-11-27 15:14 UTC (permalink / raw)
  To: Corentin Chary; +Cc: Alistair John Strachan, linux-kernel

On Thu, Sep 04, 2008 at 09:41:39AM -0400, Lennart Sorensen wrote:
> On Thu, Sep 04, 2008 at 08:48:03AM +0200, Corentin Chary wrote:
> > Hi,
> > Currently I've no internet connection, so I'm depend off the hotspot I
> > can found when I'm close to my windows
> > Anyway, my connection will be activated soon, so please poke me again monday.
> > I'ts true that I should take a look at sf.net patchs ...
> > Anyway, this laptop should work with asus-laptop oO.
> > modprobe asus-laptop gives you "No such device" ?
> 
> Using 2.6.26, I get no such device and the driver refuses to load.
> asus-acpi loads fine and does its job.
> 
> I will try the patch and see if that helps.  I was rather surprised that
> it didn't load, so I started doing acpi dumps and looking at the driver
> to see if I could figure out what it used to determine things.  It
> looked to me like it checks if the hotkey registration works, which by
> the looks of it it isn't doing at the moment.

I finally got a chance to play with this.  Turns out asus-laptop DOES
work.  It however does NOT work if asus-acpi is already loaded, which
for some reason udev likes to do automatically because both claim to
support the same devices, but they sure aren't equal.

Now once asus-acpi is unloaded and asus-laptop loaded, then it does
appear to do stuff.  fn+f2 does manage to do something, although not
consistently or very reliably, but I suspect that may be a user space
acpi events problem to do with the scripts that are run when the key is
hit, so I have to play with that a bit more.

It does appear that when loaded, the wifi rf_kill is cleared, but after
hitting fn+f2 a few times, it gets set again and never clears after that
other than by unloading and reloading asus-laptop, so something fishy is
still going on.

-- 
Len Sorensen

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-11-27 15:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-03 17:06 How to add the Asus R1F to asus-laptop.c? Lennart Sorensen
2008-09-03 17:59 ` Alistair John Strachan
2008-09-03 20:16   ` Lennart Sorensen
2008-09-03 20:32     ` Alistair John Strachan
2008-09-03 20:39       ` Lennart Sorensen
2008-09-04  6:48         ` Corentin Chary
2008-09-04 13:41           ` Lennart Sorensen
2008-11-27 15:14             ` Lennart Sorensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).