From: Borislav Deianov <borislav-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
To: Len Brown <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: ACPI Developers
<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: ibm-acpi-0.1
Date: Thu, 16 Sep 2004 03:57:43 -0700 [thread overview]
Message-ID: <20040916105743.GV20883@aero.ensim.com> (raw)
In-Reply-To: <1092836298.25911.180.camel@dhcppc4> <1092807697.25902.152.camel@dhcppc4> <1092805762.25911.129.camel@dhcppc4>
Hi Len,
Apologies for taking so long to reply.
On Wed, Aug 18, 2004 at 01:09:22AM -0400, Len Brown wrote:
> On Tue, 2004-08-10 at 04:38, Borislav Deianov wrote:
> > On Tue, Aug 10, 2004 at 04:24:39PM +0800, Li, Shaohua wrote:
> > >
> > > IBM hotkey has a unique ID. In T40, it's 'IBM0068'. I guess other
> > > IBM laptops also use it. Using a hardcode path in the patch possibly
> > > isn't a good idea.
> >
> > Agreed. I was originally using acpi_bus_register_driver() and refering
> > to devices by HID but that turned out to not work very well for the
> > dock (ACPI drops it if it's not present at boot) and embedded
> > controller (the ec driver has already grabbed it). So I switched to
> > looking things up by the path. I see your point, though, I'll see what
> > I can do.
>
> please stick with the HID method if you can.
I'd like to, but, for the most part, I can't. The two problems above
still stand: I need to access devices not present at boot time, and I
need to access devices already grabbed by other drivers. In addition,
I need to access devices and methods which just don't have
HIDs. Basically, out of the six features currently supported by
ibm-acpi, two can be done via acpi_bus_register_driver(). For the
other four, I need to call acpi_get_handle() (with several hard-coded
alternative paths). I use the latter method for all features,
simplifies the structure of the driver quite a bit.
Would you consider something like acpi_get_handle_by_hid() (which can
also access non-present devices)? That would help a lot.
On Wed, Aug 18, 2004 at 01:41:37AM -0400, Len Brown wrote:
> what's the GLOBAL_NOTIFY stuff about?
>
> status = acpi_install_notify_handler(ACPI_ROOT_OBJECT,
> ACPI_DEVICE_NOTIFY,
> global_notify, NULL);
>
Used it for debugging before I figured out how to use
/proc/acpi/debug_*. Got rid of it in 0.4.
On Wed, Aug 18, 2004 at 09:38:18AM -0400, Len Brown wrote:
> On Wed, 2004-08-18 at 09:23, Henrik Brix Andersen wrote:
> > On Wed, 2004-08-18 at 07:42, Len Brown wrote:
> > > #!/bin/bash
> > >
> > > if ! /sbin/rmmod ipw2100; then
> > > /sbin/service network restart
> > > fi
> > >
> > >
> > > Does this means that the button press magically changed
> > > the state of the radio in hardware? I didn't see any
> > > processing inside the driver to do that.
> >
> > No. The listed radio.sh script just unloads the ipw2100 module from
> > memory which effectively disables the wireless network connection.
>
> So rather than actually disabling the radio, we're diabling the network
> by unloading the driver? Is there an indicator light that says if the
> radio is enalbed? Does is stay on?
The "antenna" LED goes off and power consumption goes down a bit, so I
assume unloading the module does turn off the radio. My laptop doesn't
have a software kill switch, so not much else I can do.
Regards,
Boris
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
next prev parent reply other threads:[~2004-09-16 10:57 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-10 8:08 ibm-acpi-0.1 Borislav Deianov
[not found] ` <20040810080826.GD28939-AKoe11r2kkOzaBltdDZI6w@public.gmane.org>
2004-08-10 8:43 ` ibm-acpi-0.1 Michael Wahlbrink
2004-08-10 9:51 ` ibm-acpi-0.1 Borislav Deianov
[not found] ` <20040810095133.GA16382-AKoe11r2kkOzaBltdDZI6w@public.gmane.org>
2004-08-10 10:52 ` ibm-acpi-0.1 Michael Wahlbrink
2004-08-10 11:20 ` Paul Ionescu
2004-08-10 10:43 ` ibm-acpi-0.1 Matthew Garrett
2004-08-10 10:18 ` ibm-acpi-0.1 Paul Ionescu
2004-08-10 11:37 ` ibm-acpi-0.1 Paul Ionescu
2004-08-10 23:11 ` ibm-acpi-0.1 Borislav Deianov
[not found] ` <20040810231129.GN28939-AKoe11r2kkOzaBltdDZI6w@public.gmane.org>
2004-08-10 23:32 ` ibm-acpi-0.1 Karol Kozimor
2004-08-11 0:33 ` Paul Ionescu
[not found] ` <pan.2004.08.11.00.33.03.494809-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
2004-08-11 7:47 ` Karol Kozimor
2004-08-11 9:44 ` Paul Ionescu
2004-08-14 5:34 ` ibm-acpi-0.1 Borislav Deianov
[not found] ` <20040814053410.GN20883-AKoe11r2kkOzaBltdDZI6w@public.gmane.org>
2004-08-14 13:36 ` ibm-acpi-0.1 Karol Kozimor
2004-08-14 14:34 ` ibm-acpi-0.1 Paul Ionescu
[not found] ` <pan.2004.08.14.14.34.33.639754-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
2004-08-14 15:09 ` ibm-acpi-0.1 Takanori Watanabe
[not found] ` <200408141509.i7EF9v9K083464-QgXWv67w4UhH1774QXjzbtBPR1lH4CV8@public.gmane.org>
2004-08-14 15:20 ` Paul Ionescu
[not found] ` <20040814152051.54002.qmail-k4S4SYk0aM6A/QwVtaZbd3CJp6faPEW9@public.gmane.org>
2004-08-14 15:36 ` Takanori Watanabe
2004-08-14 21:23 ` ibm-acpi-0.1 Borislav Deianov
[not found] ` <20040810233238.GB16896-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2004-08-11 1:21 ` ibm-acpi-0.1 Borislav Deianov
[not found] ` <20040811012143.GO28939-AKoe11r2kkOzaBltdDZI6w@public.gmane.org>
2004-08-11 7:30 ` Karol Kozimor
2004-08-11 0:48 ` ibm-acpi-0.1 Paul Ionescu
2004-08-10 11:49 ` ibm-acpi-0.1 Paul Ionescu
[not found] ` <pan.2004.08.10.11.49.38.39080-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
2004-08-10 11:45 ` ibm-acpi-0.1 Alan Cox
[not found] ` <1092138355.16885.11.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2004-08-10 12:55 ` Paul Ionescu
[not found] ` <20040810125506.38235.qmail-WT+Uy+Sd+T+A/QwVtaZbd3CJp6faPEW9@public.gmane.org>
2004-08-10 13:18 ` Alan Cox
[not found] ` <1092143931.16979.19.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2004-08-10 14:40 ` Paul Ionescu
2004-08-11 1:01 ` ibm-acpi-0.1 Paul Ionescu
[not found] ` <pan.2004.08.11.01.01.25.610270-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
2004-08-11 1:44 ` ibm-acpi-0.1 Erik Tews
2004-08-11 9:38 ` Paul Ionescu
[not found] ` <pan.2004.08.11.09.38.47.140647-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
2004-08-11 12:16 ` Erik Tews
2004-08-14 5:38 ` ibm-acpi-0.1 Borislav Deianov
2004-08-14 21:12 ` ibm-acpi-0.2 Borislav Deianov
[not found] ` <20040814211247.GS20883-AKoe11r2kkOzaBltdDZI6w@public.gmane.org>
2004-08-14 21:15 ` ibm-acpi-0.2 Borislav Deianov
[not found] ` <20040814211541.GT20883-AKoe11r2kkOzaBltdDZI6w@public.gmane.org>
2004-08-14 23:40 ` R31 Bernd Schubert
2004-08-15 8:19 ` [ltp] ibm-acpi-0.2 Dax Kelson
2004-08-15 8:47 ` ibm-acpi-0.2 Borislav Deianov
2004-08-15 9:48 ` [ltp] ibm-acpi-0.2 Daniel Pittman
2004-08-15 14:41 ` hotkey/video framework [was: ibm-acpi-0.2] Hiroshi Miura
[not found] ` <873c2obh0l.wl%miura-yiisDzvROlQdnm+yROfE0A@public.gmane.org>
2004-08-17 7:23 ` Borislav Deianov
2004-08-17 9:19 ` ibm-acpi-0.3 Borislav Deianov
2004-08-10 8:24 ` ibm-acpi-0.1 Li, Shaohua
[not found] ` <B44D37711ED29844BEA67908EAF36F03860DC2-4yWAQGcml65pB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-08-10 8:38 ` ibm-acpi-0.1 Borislav Deianov
[not found] ` <20040810083807.GF28939-AKoe11r2kkOzaBltdDZI6w@public.gmane.org>
2004-08-10 9:19 ` ibm-acpi-0.1 Takanori Watanabe
[not found] ` <200408100919.SAA19847-yzSWc4HAx5xL9jVzuh4AOg@public.gmane.org>
2004-08-10 9:45 ` ibm-acpi-0.1 Borislav Deianov
2004-08-18 5:09 ` ibm-acpi-0.1 Len Brown
2004-09-16 10:57 ` Borislav Deianov [this message]
2004-08-17 10:15 ` ibm-acpi-0.3 Paul Ionescu
[not found] ` <20040817091921.GI20883-AKoe11r2kkOzaBltdDZI6w@public.gmane.org>
2004-08-17 23:22 ` ibm-acpi-0.3 Matthew Garrett
2004-08-18 5:41 ` ibm-acpi-0.3 Len Brown
2004-08-18 5:42 ` ibm-acpi-0.3 Len Brown
2004-08-18 13:23 ` [Ipw2100-devel] Re: [ACPI] ibm-acpi-0.3 Henrik Brix Andersen
[not found] ` <1092835382.11535.6.camel-7g89Hwo0MwsWlyYapE9R8Q@public.gmane.org>
2004-08-18 13:38 ` [Ipw2100-devel] ibm-acpi-0.3 Len Brown
2004-08-18 15:27 ` James Ketrenos
[not found] ` <4123755C.1010503-b5Z7lJ3WibVrdx17CPfAsdBPR1lH4CV8@public.gmane.org>
2004-08-18 20:21 ` Matthew Garrett
2004-08-20 14:28 ` ibm-acpi-0.3 Vincent Touquet
-- strict thread matches above, loose matches on Subject: below --
2004-08-10 8:58 ibm-acpi-0.1 Li, Shaohua
[not found] ` <B44D37711ED29844BEA67908EAF36F03860E23-4yWAQGcml65pB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-08-10 9:21 ` ibm-acpi-0.1 Borislav Deianov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040916105743.GV20883@aero.ensim.com \
--to=borislav-rn4veauk+akrv+lv9mx5uipxlwaovq5f@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox