linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] acer-wmi: support for P key on TM8372
@ 2012-02-06 10:08 Joey Lee
  0 siblings, 0 replies; 4+ messages in thread
From: Joey Lee @ 2012-02-06 10:08 UTC (permalink / raw)
  To: merlin.schumacher
  Cc: ike.pan, mjg, Joey Lee, linux-kernel, platform-driver-x86

Hi Merlin, 

於 四,2012-01-26 於 12:53 +0100,Merlin Schumacher 提到:
> Am 26.01.2012 03:28, schrieb joeyli:
> > Hi Ike,
> >
> > 於 二,2012-01-24 於 04:35 +0800,Ike Panhc 提到:
> >> From: Merlin Schumacher<merlin.schumacher@gmail.com>
> >>
> >> BugLink: http://launchpad.net/bugs/865807
> >>
> >> There is no entry for P key on TM8372, so when P key is pressed, only
> >> "acer_wmi: Unknown key number - 0x29" in dmesg.
> >>
> >> Signed-off-by: Merlin Schumacher<merlin.schumacher@gmail.com>
> >> Signed-off-by: Ike Panhc<ike.pan@canonical.com>
> >
> > Reviewed-by: Lee, Chun-Yi<jlee@suse.com>
> >
> >> ---
> >>   drivers/platform/x86/acer-wmi.c |    1 +
> >>   1 files changed, 1 insertions(+), 0 deletions(-)
> >>
> >> diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
> >> index b848277..d48262c 100644
> >> --- a/drivers/platform/x86/acer-wmi.c
> >> +++ b/drivers/platform/x86/acer-wmi.c
> >> @@ -105,6 +105,7 @@ static const struct key_entry acer_wmi_keymap[] = {
> >>   	{KE_KEY, 0x22, {KEY_PROG2} },    /* Arcade */
> >>   	{KE_KEY, 0x23, {KEY_PROG3} },    /* P_Key */
> >>   	{KE_KEY, 0x24, {KEY_PROG4} },    /* Social networking_Key */
> >> +	{KE_KEY, 0x29, {KEY_PROG3} },    /* P_Key for TM8372 */
> >>   	{KE_IGNORE, 0x41, {KEY_MUTE} },
> >>   	{KE_IGNORE, 0x42, {KEY_PREVIOUSSONG} },
> >>   	{KE_IGNORE, 0x43, {KEY_NEXTSONG} },
> >
> > This patch has no problem, but could you please provide the dmidecode
> > result to me for reference?
> >
> >
> > Thanks a lot!
> > Joey Lee
> >
> 
> Hi,
> 
> attached you'll find the output of dmidecode on the TM8372. If you need 
> anything else, let me know.
> 
> You're welcome
> 
> Merlin Schumacher
> 
> 

Thanks for your dmidecode log of TM8372, I can keep it for regression
test after add new functions.


Thanks a lot!
Joey Lee



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

* Re: [PATCH] acer-wmi: support for P key on TM8372
  2012-01-26  2:28 ` joeyli
@ 2012-01-26 11:53   ` Merlin Schumacher
  0 siblings, 0 replies; 4+ messages in thread
From: Merlin Schumacher @ 2012-01-26 11:53 UTC (permalink / raw)
  To: joeyli
  Cc: Ike Panhc, platform-driver-x86, linux-kernel, Joey Lee, Matthew Garrett

[-- Attachment #1: Type: text/plain, Size: 1774 bytes --]

Am 26.01.2012 03:28, schrieb joeyli:
> Hi Ike,
>
> 於 二,2012-01-24 於 04:35 +0800,Ike Panhc 提到:
>> From: Merlin Schumacher<merlin.schumacher@gmail.com>
>>
>> BugLink: http://launchpad.net/bugs/865807
>>
>> There is no entry for P key on TM8372, so when P key is pressed, only
>> "acer_wmi: Unknown key number - 0x29" in dmesg.
>>
>> Signed-off-by: Merlin Schumacher<merlin.schumacher@gmail.com>
>> Signed-off-by: Ike Panhc<ike.pan@canonical.com>
>
> Reviewed-by: Lee, Chun-Yi<jlee@suse.com>
>
>> ---
>>   drivers/platform/x86/acer-wmi.c |    1 +
>>   1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
>> index b848277..d48262c 100644
>> --- a/drivers/platform/x86/acer-wmi.c
>> +++ b/drivers/platform/x86/acer-wmi.c
>> @@ -105,6 +105,7 @@ static const struct key_entry acer_wmi_keymap[] = {
>>   	{KE_KEY, 0x22, {KEY_PROG2} },    /* Arcade */
>>   	{KE_KEY, 0x23, {KEY_PROG3} },    /* P_Key */
>>   	{KE_KEY, 0x24, {KEY_PROG4} },    /* Social networking_Key */
>> +	{KE_KEY, 0x29, {KEY_PROG3} },    /* P_Key for TM8372 */
>>   	{KE_IGNORE, 0x41, {KEY_MUTE} },
>>   	{KE_IGNORE, 0x42, {KEY_PREVIOUSSONG} },
>>   	{KE_IGNORE, 0x43, {KEY_NEXTSONG} },
>
> This patch has no problem, but could you please provide the dmidecode
> result to me for reference?
>
>
> Thanks a lot!
> Joey Lee
>

Hi,

attached you'll find the output of dmidecode on the TM8372. If you need 
anything else, let me know.

You're welcome

Merlin Schumacher


-- 
Merlin Schumacher
Sedanstraße 28
31134 Hildesheim

+491716714810

Der Popkulturkalender - Jeden Tag ein Häppchen Popkultur
http://popkulturkalender.blogspot.com

Four vs. Hellfire - Deutschlands erste Luftrockoper!
http://www.lufrockoper.de

[-- Attachment #2: dmidecode_tm8372.txt --]
[-- Type: text/plain, Size: 14848 bytes --]

# dmidecode 2.9
SMBIOS 2.6 present.
54 structures occupying 2222 bytes.
Table at 0x000E9220.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
	Vendor: Acer
	Version: V1.09
	Release Date: 03/31/2011
	ROM Size: 2048 kB
	Characteristics:
		PCI is supported
		BIOS is upgradeable
		BIOS shadowing is allowed
		Boot from CD is supported
		Selectable boot is supported
		EDD is supported
		Japanese floppy for NEC 9800 1.2 MB is supported (int 13h)
		Japanese floppy for Toshiba 1.2 MB is supported (int 13h)
		5.25"/360 KB floppy services are supported (int 13h)
		5.25"/1.2 MB floppy services are supported (int 13h)
		3.5"/720 KB floppy services are supported (int 13h)
		3.5"/2.88 MB floppy services are supported (int 13h)
		8042 keyboard services are supported (int 9h)
		CGA/mono video services are supported (int 10h)
		ACPI is supported
		USB legacy is supported
		BIOS boot specification is supported
		Targeted content distribution is supported
	BIOS Revision: 9.240

Handle 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: Acer
	Product Name: TravelMate 8372
	Version: V1.09
	Serial Number: LXV0603085104000D32300
	UUID: A3B72CF6-2510-3113-0213-001E3328FA05
	Wake-up Type: Power Switch
	SKU Number: Calpella_CRB
	Family: Intel_Mobile

Handle 0x0002, DMI type 2, 16 bytes
Base Board Information
	Manufacturer: Acer
	Product Name: TravelMate 8372
	Version: PSMBOU-1234567
	Serial Number: Base Board Serial Number
	Asset Tag: Base Board Asset Tag
	Features:
		Board is a hosting board
		Board is replaceable
	Location In Chassis: Base Board Chassis Location
	Chassis Handle: 0x0003
	Type: Motherboard
	Contained Object Handles: 0

Handle 0x0003, DMI type 3, 22 bytes
Chassis Information
	Manufacturer: Acer
	Type: Notebook
	Lock: Not Present
	Version: None
	Serial Number: None
	Asset Tag: MerlinColossus
	Boot-up State: Safe
	Power Supply State: Safe
	Thermal State: Safe
	Security Status: None
	OEM Information: 0x00000000
	Height: Unspecified
	Number Of Power Cords: 1
	Contained Elements: 0

Handle 0x0004, DMI type 9, 17 bytes
System Slot Information
	Designation: J5C1
	Type: x16 <OUT OF SPEC>
	Current Usage: Available
	Length: Other
	Characteristics:
		PME signal is supported
		Hot-plug devices are supported

Handle 0x0005, DMI type 9, 17 bytes
System Slot Information
	Designation: J6C1
	Type: x1 <OUT OF SPEC>
	Current Usage: Available
	Length: Other
	Characteristics:
		PME signal is supported
		Hot-plug devices are supported

Handle 0x0006, DMI type 9, 17 bytes
System Slot Information
	Designation: J6C2
	Type: x1 <OUT OF SPEC>
	Current Usage: Available
	Length: Other
	Characteristics:
		PME signal is supported
		Hot-plug devices are supported

Handle 0x0007, DMI type 9, 17 bytes
System Slot Information
	Designation: J6D2
	Type: x1 <OUT OF SPEC>
	Current Usage: Available
	Length: Other
	Characteristics:
		PME signal is supported
		Hot-plug devices are supported

Handle 0x0008, DMI type 9, 17 bytes
System Slot Information
	Designation: J7C1
	Type: x1 <OUT OF SPEC>
	Current Usage: Available
	Length: Other
	Characteristics:
		PME signal is supported
		Hot-plug devices are supported

Handle 0x0009, DMI type 9, 17 bytes
System Slot Information
	Designation: J7D2
	Type: x1 <OUT OF SPEC>
	Current Usage: Available
	Length: Other
	Characteristics:
		PME signal is supported
		Hot-plug devices are supported

Handle 0x000A, DMI type 9, 17 bytes
System Slot Information
	Designation: J8C2
	Type: x16 <OUT OF SPEC>
	Current Usage: Available
	Length: Other
	Characteristics:
		PME signal is supported
		Hot-plug devices are supported

Handle 0x000B, DMI type 9, 17 bytes
System Slot Information
	Designation: J8C1
	Type: x1 <OUT OF SPEC>
	Current Usage: Available
	Length: Other
	Characteristics:
		PME signal is supported
		Hot-plug devices are supported

Handle 0x000C, DMI type 10, 6 bytes
On Board Device Information
	Type: Video
	Status: Enabled
	Description: Onboard Video

Handle 0x000D, DMI type 11, 5 bytes
OEM Strings
	String 1: String1 for Original Equipment Manufacturer
	String 2: txS9M3agzEJSf
	String 3: 0INJGKhBOKo-W
	String 4: DnaD0Zy2bift-
	String 5: String5 for Original Equipment Manufacturer

Handle 0x000E, DMI type 12, 5 bytes
System Configuration Options
	Option 1: SMI:00B23002
	Option 2: TIM:200602011620
	Option 3: DSN:11406505000008951992
	Option 4: DSN:48584B233FH0-CH9  
	Option 5: DSN:Simplo 934T2043F

Handle 0x000F, DMI type 13, 22 bytes
BIOS Language Information
	Installable Languages: 1
		English
	Currently Installed Language: English

Handle 0x0010, DMI type 21, 7 bytes
Built-in Pointing Device
	Type: Touch Pad
	Interface: PS/2
	Buttons: 4

Handle 0x0011, DMI type 27, 14 bytes
Cooling Device
	Type: Fan
	Status: OK
	OEM-specific Information: 0x00000000
	Nominal Speed: 2000 rpm

Handle 0x0012, DMI type 32, 20 bytes
System Boot Information
	Status: No errors detected

Handle 0x0013, DMI type 39, 22 bytes
System Power Supply
	Location: OEM_Define0
	Name: OEM_Define1
	Manufacturer: OEM_Define2
	Serial Number: OEM_Define3
	Asset Tag: OEM_Define4
	Model Part Number: OEM_Define5
	Revision: OEM_Define6
	Max Power Capacity: 0.075 W
	Status: Present, OK
	Type: Regulator
	Input Voltage Range Switching: Auto-switch
	Plugged: No
	Hot Replaceable: No
	Cooling Device Handle: 0x0011

Handle 0x0014, DMI type 40, 18 bytes
Unknown Type
	Header and Data:
		28 12 14 00 02 06 04 00 05 01 AA 07 00 00 05 02
		DC 05
	Strings:
		PCIExpressx16
		Compiler Version: VC 9.0

Handle 0x0015, DMI type 41, 11 bytes
Unknown Type
	Header and Data:
		29 0B 15 00 01 85 01 00 00 00 01
	Strings:
		Hanksville Gbe Lan Connection

Handle 0x0016, DMI type 22, 26 bytes
Portable Battery
	Location: Fake
	Manufacturer: -Virtual Battery 0-
	Manufacture Date: 10/12/2007
	Serial Number: Battery 0
	Name: CRB Battery 0
	Chemistry: Lithium Ion
	Design Capacity: Unknown
	Design Voltage: Unknown
	SBDS Version: Not Specified
	Maximum Error: Unknown
	OEM-specific Information: 0x00000000

Handle 0x0017, DMI type 136, 6 bytes
OEM-specific Type
	Header and Data:
		88 06 17 00 5A 5A

Handle 0x0018, DMI type 129, 8 bytes
OEM-specific Type
	Header and Data:
		81 08 18 00 01 01 02 01
	Strings:
		Intel_ASF
		Intel_ASF_001

Handle 0x0019, DMI type 130, 20 bytes
OEM-specific Type
	Header and Data:
		82 14 19 00 24 41 4D 54 01 01 01 01 01 A5 1F 02
		00 00 00 00

Handle 0x001A, DMI type 131, 64 bytes
OEM-specific Type
	Header and Data:
		83 40 1A 00 31 00 00 00 00 00 44 00 07 00 00 00
		F8 00 09 3B 00 00 00 00 01 20 00 00 00 00 06 00
		B3 04 1E 00 00 00 00 00 C8 00 FF FF 00 00 00 FF
		00 00 00 00 1E 00 00 00 76 50 72 6F 00 00 00 00

Handle 0x001B, DMI type 16, 15 bytes
Physical Memory Array
	Location: System Board Or Motherboard
	Use: System Memory
	Error Correction Type: None
	Maximum Capacity: 16 GB
	Error Information Handle: No Error
	Number Of Devices: 2

Handle 0x001C, DMI type 17, 28 bytes
Memory Device
	Array Handle: 0x001B
	Error Information Handle: 0x001E
	Total Width: 64 bits
	Data Width: 64 bits
	Size: 2048 MB
	Form Factor: SODIMM
	Set: None
	Locator: DIMM0
	Bank Locator: BANK 0
	Type: <OUT OF SPEC>
	Type Detail: Synchronous
	Speed: 1067 MHz (0.9 ns)
	Manufacturer: Not Specified
	Serial Number: 48584B23
	Asset Tag: Unknown
	Part Number: M471B5673FH0-CH9  

Handle 0x001D, DMI type 6, 12 bytes
Memory Module Information
	Socket Designation: DIMM0
	Bank Connections: None
	Current Speed: Unknown
	Type: DIMM
	Installed Size: 2048 MB (Single-bank Connection)
	Enabled Size: 2048 MB (Single-bank Connection)
	Error Status: OK

Handle 0x001E, DMI type 18, 23 bytes
32-bit Memory Error Information
	Type: OK
	Granularity: Unknown
	Operation: Unknown
	Vendor Syndrome: Unknown
	Memory Array Address: Unknown
	Device Address: Unknown
	Resolution: Unknown

Handle 0x001F, DMI type 20, 19 bytes
Memory Device Mapped Address
	Starting Address: 0x00000000000
	Ending Address: 0x0007FFFFFFF
	Range Size: 2 GB
	Physical Device Handle: 0x001C
	Memory Array Mapped Address Handle: 0x002B
	Partition Row Position: Unknown
	Interleave Position: 1
	Interleaved Data Depth: 1

Handle 0x0020, DMI type 17, 28 bytes
Memory Device
	Array Handle: 0x001B
	Error Information Handle: Not Provided
	Total Width: 8 bits
	Data Width: 8 bits
	Size: No Module Installed
	Form Factor: DIMM
	Set: None
	Locator: DIMM1
	Bank Locator: BANK 1
	Type: <OUT OF SPEC>
	Type Detail: Synchronous
	Speed: 1067 MHz (0.9 ns)
	Manufacturer: Not Specified
	Serial Number: 00000000
	Asset Tag: Unknown
	Part Number: Not Specified

Handle 0x0021, DMI type 6, 12 bytes
Memory Module Information
	Socket Designation: DIMM1
	Bank Connections: None
	Current Speed: Unknown
	Type: DIMM
	Installed Size: Not Installed
	Enabled Size: Not Installed
	Error Status: OK

Handle 0x0022, DMI type 18, 23 bytes
32-bit Memory Error Information
	Type: OK
	Granularity: Unknown
	Operation: Unknown
	Vendor Syndrome: Unknown
	Memory Array Address: Unknown
	Device Address: Unknown
	Resolution: Unknown

Handle 0x0023, DMI type 17, 28 bytes
Memory Device
	Array Handle: 0x001B
	Error Information Handle: 0x0025
	Total Width: 64 bits
	Data Width: 64 bits
	Size: 2048 MB
	Form Factor: SODIMM
	Set: None
	Locator: DIMM1
	Bank Locator: BANK 2
	Type: <OUT OF SPEC>
	Type Detail: Synchronous
	Speed: 1067 MHz (0.9 ns)
	Manufacturer: Not Specified
	Serial Number: 48584B1B
	Asset Tag: Unknown
	Part Number: M471B5673FH0-CH9  

Handle 0x0024, DMI type 6, 12 bytes
Memory Module Information
	Socket Designation: DIMM1
	Bank Connections: None
	Current Speed: Unknown
	Type: DIMM
	Installed Size: 2048 MB (Single-bank Connection)
	Enabled Size: 2048 MB (Single-bank Connection)
	Error Status: OK

Handle 0x0025, DMI type 18, 23 bytes
32-bit Memory Error Information
	Type: OK
	Granularity: Unknown
	Operation: Unknown
	Vendor Syndrome: Unknown
	Memory Array Address: Unknown
	Device Address: Unknown
	Resolution: Unknown

Handle 0x0026, DMI type 20, 19 bytes
Memory Device Mapped Address
	Starting Address: 0x00000000000
	Ending Address: 0x0007FFFFFFF
	Range Size: 2 GB
	Physical Device Handle: 0x0023
	Memory Array Mapped Address Handle: 0x002B
	Partition Row Position: Unknown
	Interleave Position: 2
	Interleaved Data Depth: 1

Handle 0x0027, DMI type 17, 28 bytes
Memory Device
	Array Handle: 0x001B
	Error Information Handle: Not Provided
	Total Width: 8 bits
	Data Width: 8 bits
	Size: No Module Installed
	Form Factor: DIMM
	Set: None
	Locator: DIMM3
	Bank Locator: BANK 3
	Type: <OUT OF SPEC>
	Type Detail: Synchronous
	Speed: 1067 MHz (0.9 ns)
	Manufacturer: Not Specified
	Serial Number: 00000000
	Asset Tag: Unknown
	Part Number: Not Specified

Handle 0x0028, DMI type 6, 12 bytes
Memory Module Information
	Socket Designation: DIMM3
	Bank Connections: None
	Current Speed: Unknown
	Type: DIMM
	Installed Size: Not Installed
	Enabled Size: Not Installed
	Error Status: OK

Handle 0x0029, DMI type 18, 23 bytes
32-bit Memory Error Information
	Type: OK
	Granularity: Unknown
	Operation: Unknown
	Vendor Syndrome: Unknown
	Memory Array Address: Unknown
	Device Address: Unknown
	Resolution: Unknown

Handle 0x002A, DMI type 18, 23 bytes
32-bit Memory Error Information
	Type: OK
	Granularity: Unknown
	Operation: Unknown
	Vendor Syndrome: Unknown
	Memory Array Address: Unknown
	Device Address: Unknown
	Resolution: Unknown

Handle 0x002B, DMI type 19, 15 bytes
Memory Array Mapped Address
	Starting Address: 0x00000000000
	Ending Address: 0x000FFFFFFFF
	Range Size: 4 GB
	Physical Array Handle: 0x001B
	Partition Width: 0

Handle 0x002C, DMI type 5, 20 bytes
Memory Controller Information
	Error Detecting Method: None
	Error Correcting Capabilities:
		Unknown
		None
	Supported Interleave: One-way Interleave
	Current Interleave: One-way Interleave
	Maximum Memory Module Size: 8192 MB
	Maximum Total Memory Size: 16384 MB
	Supported Speeds:
		Other
	Supported Memory Types:
		Other
	Memory Module Voltage: Unknown
	Associated Memory Slots: 2
		0x001D
		0x0024
	Enabled Error Correcting Capabilities:
		None

Handle 0x002D, DMI type 170, 82 bytes
OEM-specific Type
	Header and Data:
		AA 52 2D 00 01 08 04 00 7F 00 0F 00 17 00 01 02
		41 08 41 02 04 00 42 02 20 00 43 02 40 00 44 02
		08 00 45 02 10 00 46 02 01 00 47 02 02 00 61 02
		08 00 62 02 04 00 63 02 01 00 64 02 02 00 81 02
		04 00 83 02 02 00 29 01 04 00 84 01 10 00 85 01
		01 00

Handle 0x002E, DMI type 171, 34 bytes
OEM-specific Type
	Header and Data:
		AB 22 2E 00 01 86 80 46 00 02 E4 14 90 16 05 86
		80 56 3B 06 7A 1C 01 08 07 86 80 2C 42 08 89 04
		10 E0

Handle 0x002F, DMI type 172, 6 bytes
OEM-specific Type
	Header and Data:
		AC 06 2F 00 01 00

Handle 0x0030, DMI type 4, 42 bytes
Processor Information
	Socket Designation: CPU
	Type: Central Processor
	Family: <OUT OF SPEC>
	Manufacturer: Intel(R) Corporation
	ID: 55 06 02 00 FF FB EB BF
	Version: Intel(R) Core(TM) i3 CPU       M 380  @ 2.53GHz
	Voltage: 0.0 V
	External Clock: 1066 MHz
	Max Speed: 2533 MHz
	Current Speed: 2529 MHz
	Status: Populated, Enabled
	Upgrade: ZIF Socket
	L1 Cache Handle: 0x0034
	L2 Cache Handle: 0x0033
	L3 Cache Handle: 0x0031
	Serial Number: Not Specified
	Asset Tag: FFFF
	Part Number: Not Specified
	Core Count: 2
	Core Enabled: 2
	Thread Count: 4
	Characteristics:
		64-bit capable

Handle 0x0031, DMI type 7, 19 bytes
Cache Information
	Socket Designation: L3 Cache
	Configuration: Enabled, Not Socketed, Level 3
	Operational Mode: Write Through
	Location: Internal
	Installed Size: 3072 KB
	Maximum Size: 3072 KB
	Supported SRAM Types:
		Synchronous
	Installed SRAM Type: Synchronous
	Speed: Unknown
	Error Correction Type: Single-bit ECC
	System Type: Unified
	Associativity: Other

Handle 0x0032, DMI type 7, 19 bytes
Cache Information
	Socket Designation: L1 Cache
	Configuration: Enabled, Not Socketed, Level 1
	Operational Mode: Write Through
	Location: Internal
	Installed Size: 32 KB
	Maximum Size: 32 KB
	Supported SRAM Types:
		Synchronous
	Installed SRAM Type: Synchronous
	Speed: Unknown
	Error Correction Type: Single-bit ECC
	System Type: Data
	Associativity: 8-way Set-associative

Handle 0x0033, DMI type 7, 19 bytes
Cache Information
	Socket Designation: L2 Cache
	Configuration: Enabled, Not Socketed, Level 2
	Operational Mode: Write Through
	Location: Internal
	Installed Size: 256 KB
	Maximum Size: 256 KB
	Supported SRAM Types:
		Synchronous
	Installed SRAM Type: Synchronous
	Speed: Unknown
	Error Correction Type: Single-bit ECC
	System Type: Unified
	Associativity: 8-way Set-associative

Handle 0x0034, DMI type 7, 19 bytes
Cache Information
	Socket Designation: L1 Cache
	Configuration: Enabled, Not Socketed, Level 1
	Operational Mode: Write Through
	Location: Internal
	Installed Size: 32 KB
	Maximum Size: 32 KB
	Supported SRAM Types:
		Synchronous
	Installed SRAM Type: Synchronous
	Speed: Unknown
	Error Correction Type: Single-bit ECC
	System Type: Instruction
	Associativity: 4-way Set-associative

Handle 0x0035, DMI type 127, 4 bytes
End Of Table


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

* Re: [PATCH] acer-wmi: support for P key on TM8372
  2012-01-23 20:35 Ike Panhc
@ 2012-01-26  2:28 ` joeyli
  2012-01-26 11:53   ` Merlin Schumacher
  0 siblings, 1 reply; 4+ messages in thread
From: joeyli @ 2012-01-26  2:28 UTC (permalink / raw)
  To: Ike Panhc
  Cc: platform-driver-x86, linux-kernel, Merlin Schumacher, Joey Lee,
	Matthew Garrett

Hi Ike,

於 二,2012-01-24 於 04:35 +0800,Ike Panhc 提到:
> From: Merlin Schumacher <merlin.schumacher@gmail.com>
> 
> BugLink: http://launchpad.net/bugs/865807
> 
> There is no entry for P key on TM8372, so when P key is pressed, only
> "acer_wmi: Unknown key number - 0x29" in dmesg.
> 
> Signed-off-by: Merlin Schumacher <merlin.schumacher@gmail.com>
> Signed-off-by: Ike Panhc <ike.pan@canonical.com>

Reviewed-by: Lee, Chun-Yi <jlee@suse.com>

> ---
>  drivers/platform/x86/acer-wmi.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
> index b848277..d48262c 100644
> --- a/drivers/platform/x86/acer-wmi.c
> +++ b/drivers/platform/x86/acer-wmi.c
> @@ -105,6 +105,7 @@ static const struct key_entry acer_wmi_keymap[] = {
>  	{KE_KEY, 0x22, {KEY_PROG2} },    /* Arcade */
>  	{KE_KEY, 0x23, {KEY_PROG3} },    /* P_Key */
>  	{KE_KEY, 0x24, {KEY_PROG4} },    /* Social networking_Key */
> +	{KE_KEY, 0x29, {KEY_PROG3} },    /* P_Key for TM8372 */
>  	{KE_IGNORE, 0x41, {KEY_MUTE} },
>  	{KE_IGNORE, 0x42, {KEY_PREVIOUSSONG} },
>  	{KE_IGNORE, 0x43, {KEY_NEXTSONG} },

This patch has no problem, but could you please provide the dmidecode
result to me for reference?


Thanks a lot!
Joey Lee


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

* [PATCH] acer-wmi: support for P key on TM8372
@ 2012-01-23 20:35 Ike Panhc
  2012-01-26  2:28 ` joeyli
  0 siblings, 1 reply; 4+ messages in thread
From: Ike Panhc @ 2012-01-23 20:35 UTC (permalink / raw)
  To: platform-driver-x86, linux-kernel
  Cc: Merlin Schumacher, Joey Lee, Matthew Garrett

From: Merlin Schumacher <merlin.schumacher@gmail.com>

BugLink: http://launchpad.net/bugs/865807

There is no entry for P key on TM8372, so when P key is pressed, only
"acer_wmi: Unknown key number - 0x29" in dmesg.

Signed-off-by: Merlin Schumacher <merlin.schumacher@gmail.com>
Signed-off-by: Ike Panhc <ike.pan@canonical.com>
---
 drivers/platform/x86/acer-wmi.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
index b848277..d48262c 100644
--- a/drivers/platform/x86/acer-wmi.c
+++ b/drivers/platform/x86/acer-wmi.c
@@ -105,6 +105,7 @@ static const struct key_entry acer_wmi_keymap[] = {
 	{KE_KEY, 0x22, {KEY_PROG2} },    /* Arcade */
 	{KE_KEY, 0x23, {KEY_PROG3} },    /* P_Key */
 	{KE_KEY, 0x24, {KEY_PROG4} },    /* Social networking_Key */
+	{KE_KEY, 0x29, {KEY_PROG3} },    /* P_Key for TM8372 */
 	{KE_IGNORE, 0x41, {KEY_MUTE} },
 	{KE_IGNORE, 0x42, {KEY_PREVIOUSSONG} },
 	{KE_IGNORE, 0x43, {KEY_NEXTSONG} },
-- 
1.7.5.4


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

end of thread, other threads:[~2012-02-06 10:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-06 10:08 [PATCH] acer-wmi: support for P key on TM8372 Joey Lee
  -- strict thread matches above, loose matches on Subject: below --
2012-01-23 20:35 Ike Panhc
2012-01-26  2:28 ` joeyli
2012-01-26 11:53   ` Merlin Schumacher

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).