login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
August
»
18
Re: [PATCH 0/8] [Resend] ideapad: using EC command to control rf/camera power
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Ike Panhc
Subject:
Re: [PATCH 0/8] [Resend] ideapad: using EC command to control rf/camera power
Date: Wednesday, August 18, 2010 - 6:04 am
On 08/18/2010 06:35 PM, David Woodhouse wrote:
quoted text
> On Wed, 2010-08-18 at 09:36 +0100, Ike Panhc wrote: >> >> Once the rfkill of a laptop is set to block, it is no way to unblock with Linux >> without driver. Thanks for David Woodhouse wrote the first driver solving this. >> >> But the \_SB_.GECN and \_SB_.DECN are only available on Lenovo ideapad S10-3. >> Using EC command to control rf/camera power is better because I believe every >> ideapads which has VPC2004 device in its DSDT has this common method. >> >> This driver is tested and work fine on Lenovo ideapad B550 and ideapad S10-3. > > Works for me too (on S10-3); thanks. > > It all looks good, although should we have a delay or a schedule or at > least a cpu_relax() in the read_ec_data() and write_ec_cmd() loops? > Those loops should be using time_before() too, rather than open-coding > the comparison. >
yeah, agree. polling from ec makes cpu busy, although its usually less then 10ms a yield or relax will be good. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 0/8] [Resend] ideapad: using EC command to control ...
, Ike Panhc
, (Wed Aug 18, 1:36 am)
[PATCH 1/8] ideapad: add ACPI helpers
, Ike Panhc
, (Wed Aug 18, 1:36 am)
[PATCH 2/8] ideapad: check VPC bit before sync rfkill hw s ...
, Ike Panhc
, (Wed Aug 18, 1:37 am)
[PATCH 3/8] ideapad: make sure we bind on the correct device
, Ike Panhc
, (Wed Aug 18, 1:37 am)
[PATCH 4/8] ideapad: use return value of _CFG to tell if d ...
, Ike Panhc
, (Wed Aug 18, 1:38 am)
[PATCH 5/8] ideapad: use EC command to control camera
, Ike Panhc
, (Wed Aug 18, 1:38 am)
[PATCH 6/8] ideapad: rewrite the hw rfkill notify
, Ike Panhc
, (Wed Aug 18, 1:38 am)
[PATCH 7/8] ideapad: rewrite the sw rfkill set
, Ike Panhc
, (Wed Aug 18, 1:38 am)
[PATCH 8/8] ideapad: Change the driver name to ideapad_laptop
, Ike Panhc
, (Wed Aug 18, 1:38 am)
Re: [PATCH 5/8] ideapad: use EC command to control camera
, Oliver Neukum
, (Wed Aug 18, 1:42 am)
Re: [PATCH 5/8] ideapad: use EC command to control camera
, Ike Panhc
, (Wed Aug 18, 1:51 am)
Re: [PATCH 0/8] [Resend] ideapad: using EC command to cont ...
, David Woodhouse
, (Wed Aug 18, 3:35 am)
Re: [PATCH 0/8] [Resend] ideapad: using EC command to cont ...
, Ike Panhc
, (Wed Aug 18, 6:04 am)
Re: [PATCH 3/8] ideapad: make sure we bind on the correct ...
, Matthew Garrett
, (Wed Aug 18, 6:27 am)
Re: [PATCH 0/8] [Resend] ideapad: using EC command to cont ...
, Mario 'BitKoenig' Holbe
, (Wed Aug 18, 8:51 am)
Re: [PATCH 3/8] ideapad: make sure we bind on the correct ...
, Ike Panhc
, (Wed Aug 18, 7:51 pm)
Re: [PATCH 0/8] [Resend] ideapad: using EC command to cont ...
, David Woodhouse
, (Thu Aug 19, 6:28 am)
Re: [PATCH 0/8] [Resend] ideapad: using EC command to cont ...
, Mario 'BitKoenig' Holbe
, (Thu Aug 19, 12:31 pm)
Re: [PATCH 0/8] [Resend] ideapad: using EC command to cont ...
, Ike Panhc
, (Fri Aug 20, 12:01 am)
Re: [PATCH 0/8] [Resend] ideapad: using EC command to cont ...
, Mario 'BitKoenig' Holbe
, (Fri Aug 20, 2:08 am)
Re: [PATCH 0/8] [Resend] ideapad: using EC command to cont ...
, Ike Panhc
, (Mon Aug 23, 1:22 am)
Re: [PATCH 0/8] [Resend] ideapad: using EC command to cont ...
, Ike Panhc
, (Wed Aug 25, 4:59 am)
Re: [PATCH 8/8] ideapad: Change the driver name to ideapad ...
, Len Brown
, (Wed Aug 25, 1:56 pm)
Re: [PATCH 8/8] ideapad: Change the driver name to ideapad ...
, Corentin Chary
, (Wed Aug 25, 10:43 pm)
Re: [PATCH 8/8] ideapad: Change the driver name to ideapad ...
, Ike Panhc
, (Wed Aug 25, 11:16 pm)
Re: [PATCH 8/8] ideapad: Change the driver name to ideapad ...
, Corentin Chary
, (Thu Aug 26, 12:43 am)
Re: [PATCH 0/8] [Resend] ideapad: using EC command to cont ...
, Mario 'BitKoenig' Holbe
, (Mon Aug 30, 11:19 am)
Re: [PATCH 0/8] [Resend] ideapad: using EC command to cont ...
, Ike Panhc
, (Wed Sep 1, 4:49 am)
Re: [PATCH 8/8] ideapad: Change the driver name to ideapad ...
, Ike Panhc
, (Wed Sep 1, 4:55 am)
Re: [PATCH 0/8] [Resend] ideapad: using EC command to cont ...
, Mario 'BitKoenig' Holbe
, (Wed Sep 1, 12:56 pm)
Re: [PATCH 0/8] [Resend] ideapad: using EC command to cont ...
, Ike Panhc
, (Fri Sep 3, 2:06 am)
Re: [PATCH 0/8] [Resend] ideapad: using EC command to cont ...
, Mario 'BitKoenig' Holbe
, (Thu Sep 9, 11:17 am)
Re: [PATCH 0/8] [Resend] ideapad: using EC command to cont ...
, Ike Panhc
, (Thu Sep 9, 11:44 pm)
Re: [PATCH 0/8] [Resend] ideapad: using EC command to cont ...
, Mario 'BitKoenig' Holbe
, (Fri Sep 10, 12:11 am)
Re: [PATCH 0/8] [Resend] ideapad: using EC command to cont ...
, Ike Panhc
, (Wed Sep 15, 3:13 am)
Re: [PATCH 0/8] [Resend] ideapad: using EC command to cont ...
, Mario 'BitKoenig' Holbe
, (Wed Sep 15, 4:48 am)
Re: [PATCH 0/8] [Resend] ideapad: using EC command to cont ...
, Ike Panhc
, (Wed Sep 15, 5:39 am)
Re: [PATCH 0/8] [Resend] ideapad: using EC command to cont ...
, Ike Panhc
, (Thu Sep 16, 4:59 am)
Re: [PATCH 0/8] [Resend] ideapad: using EC command to cont ...
, Mario 'BitKoenig' Holbe
, (Tue Sep 21, 6:47 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Michael Trimarchi
Re: [PATCH] VFS: make file->f_pos access atomic on 32bit arch
Miklos Szeredi
[patch 14/15] vfs: more path_permission() conversions
Serge E. Hallyn
Re: [RFC v5][PATCH 7/8] Infrastructure for shared objects
Bernd Schmidt
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Takashi Iwai
[PATCH 2/2] input: Add LED support to Synaptics device
git
:
Junio C Hamano
Re: mingw, windows, crlf/lf, and git
Eyvind Bernhardsen
Re: Where has "git ls-remote" reference pattern matching gone?
Shawn O. Pearce
Re: Switching from CVS to GIT
Todd Zullinger
Re: [PATCH 2/2] send-email: rfc2047-quote subject lines with non-ascii characters
Santi Béjar
Re: How to use git-fmt-merge-msg?
linux-netdev
:
Ramkrishna Vepa
[net-2.6 PATCH 1/10] Neterion: New driver: Driver help file
Mark Anthony
invitation / inquiry
Ingo Molnar
Re: [PATCH 08/16] dma-debug: add core checking functions
David Miller
Re: [PATCH 1/3] f_phonet: dev_kfree_skb instead of dev_kfree_skb_any in TX callback
Sascha Hauer
[PATCH 03/12] fec: do not typedef struct types
git-commits-head
:
Linux Kernel Mailing List
amba: struct device - replace bus_id with dev_name(), dev_set_name()
Linux Kernel Mailing List
MIPS: Yosemite: Convert SMP startup lock to arch spinlock.
Linux Kernel Mailing List
ARM: S5PC100: IRQ and timer
Linux Kernel Mailing List
davinci: edma: clear interrupt status for interrupt enabled channels only
Linux Kernel Mailing List
x86, mm, kprobes: fault.c, simplify notify_page_fault()
openbsd-misc
:
Daniel A. Ramaley
Re: [semi-OT] Can anyone recommend an OpenBSD-compatible colour laser printer?
Matthias Kilian
Re: can't get vesa @ 1280x800 or nv
Tobias Ulmer
Re: Problem after upgrade 4.5 to 4.6: ERR M
Philip Guenther
Re: SIGCHLD and libpthread.so
J.C. Roberts
Re: [semi-OT] Can anyone recommend an OpenBSD-compatible colour laser printer?
Colocation donated by:
Syndicate