Re: [PATCH] Platform: add Samsung Laptop platform driver

From: Nikolai Kondrashov
Date: Wed Feb 16 2011 - 05:06:17 EST


Hi Greg,

On 02/10/2011 01:40 AM, Greg KH wrote:
> This adds the samsung-laptop driver to the kernel. It now supports
> all known Samsung laptops.
Thank you for this patch :)!

I've tried it with both 2.6.37 and 2.6.32 on my NP-N210-JA02RU and it fails
the insertion with ENODEV without "force" and with "This computer does not
support SABI" with "force".

I'm ready to provide any diagnostics information you may need and test the
patches.

Please find the dmidecode output attached.

Sincerely,
Nick
# dmidecode 2.9
SMBIOS 2.5 present.
29 structures occupying 1153 bytes.
Table at 0x000DF010.

Handle 0x0000, DMI type 0, 24 bytes
Header and Data:
00 18 00 00 01 02 1E E6 03 1F 90 DA 0B 7C 00 00
00 00 82 05 06 00 FF FF
Strings:
50 68 6F 65 6E 69 78 20 54 65 63 68 6E 6F 6C 6F
67 69 65 73 20 4C 74 64 2E 00
"Phoenix Technologies Ltd."
30 36 4A 49 2E 4D 30 35 33 2E 32 30 31 30 30 31
32 39 2E 4A 49 50 00
"06JI.M053.20100129.JIP"
30 31 2F 32 39 2F 32 30 31 30 00
"01/29/2010"

Handle 0x0001, DMI type 1, 27 bytes
Header and Data:
01 1B 01 00 01 02 03 04 40 B5 E8 30 E8 1D B2 11
80 00 E5 4E B0 0E A0 58 06 05 06
Strings:
53 41 4D 53 55 4E 47 20 45 4C 45 43 54 52 4F 4E
49 43 53 20 43 4F 2E 2C 20 4C 54 44 2E 00
"SAMSUNG ELECTRONICS CO., LTD."
4E 31 35 30 2F 4E 32 31 30 2F 4E 32 32 30 20 20
20 20 20 20 20 20 20 20 20 20 20 00
"N150/N210/N220 "
4E 6F 74 20 41 70 70 6C 69 63 61 62 6C 65 00
"Not Applicable"
5A 4F 31 31 39 33 48 5A 32 30 30 38 36 30 00
"ZO1193HZ200860"
31 32 33 34 35 36 37 38 39 30 00
"1234567890"
31 32 33 34 35 36 37 38 39 30 00
"1234567890"

Handle 0x0002, DMI type 2, 10 bytes
Header and Data:
02 0A 02 00 01 02 03 04 05 09
Strings:
53 41 4D 53 55 4E 47 20 45 4C 45 43 54 52 4F 4E
49 43 53 20 43 4F 2E 2C 20 4C 54 44 2E 00
"SAMSUNG ELECTRONICS CO., LTD."
4E 31 35 30 2F 4E 32 31 30 2F 4E 32 32 30 20 20
20 20 20 20 20 20 20 20 20 20 20 00
"N150/N210/N220 "
4E 6F 74 20 41 70 70 6C 69 63 61 62 6C 65 00
"Not Applicable"
31 32 33 34 39 30 45 4E 34 30 30 30 31 35 00
"123490EN400015"
53 41 4D 53 55 4E 47 00
"SAMSUNG"

Handle 0x0003, DMI type 3, 17 bytes
Header and Data:
03 11 03 00 01 0A 02 03 04 03 03 03 03 34 12 00
00
Strings:
53 41 4D 53 55 4E 47 20 45 4C 45 43 54 52 4F 4E
49 43 53 20 43 4F 2E 2C 20 4C 54 44 2E 00
"SAMSUNG ELECTRONICS CO., LTD."
4E 2F 41 20 20 20 20 20 20 20 20 20 00
"N/A "
4E 6F 6E 65 20 20 20 20 20 20 20 20 00
"None "
4E 6F 20 41 73 73 65 74 20 54 61 67 00
"No Asset Tag"

Handle 0x0004, DMI type 4, 40 bytes
Header and Data:
04 28 04 00 01 03 01 02 CA 06 01 00 FF FB E9 BF
03 92 00 00 E4 0C 40 06 41 15 05 00 06 00 FF FF
00 00 00 01 01 02 04 00
Strings:
43 50 55 20 31 00
"CPU 1"
49 6E 74 65 6C 00
"Intel"
43 31 00
"C1"

Handle 0x0005, DMI type 7, 19 bytes
Header and Data:
07 13 05 00 01 88 01 10 00 10 00 58 00 40 00 00
02 02 02
Strings:
4C 31 20 43 61 63 68 65 00
"L1 Cache"

Handle 0x0006, DMI type 7, 19 bytes
Header and Data:
07 13 06 00 01 89 01 00 02 00 02 58 00 08 00 00
02 02 02
Strings:
4C 32 20 43 61 63 68 65 00
"L2 Cache"

Handle 0x0007, DMI type 8, 9 bytes
Header and Data:
08 09 07 00 01 00 02 14 0D
Strings:
4A 31 41 31 00
"J1A1"
4B 65 79 62 6F 61 72 64 00
"Keyboard"

Handle 0x0008, DMI type 8, 9 bytes
Header and Data:
08 09 08 00 01 00 02 14 0D
Strings:
4A 31 41 31 00
"J1A1"
50 53 2F 32 20 4D 6F 75 73 65 00
"PS/2 Mouse"

Handle 0x0009, DMI type 9, 13 bytes
Header and Data:
09 0D 09 00 01 A5 05 02 04 00 00 06 00
Strings:
50 43 49 65 20 53 6C 6F 74 20 23 31 20 2D 20 4A
37 43 31 00
"PCIe Slot #1 - J7C1"

Handle 0x000A, DMI type 9, 13 bytes
Header and Data:
09 0D 0A 00 01 A5 05 02 04 00 00 06 00
Strings:
50 43 49 65 20 53 6C 6F 74 20 23 32 20 2D 20 4A
33 42 31 00
"PCIe Slot #2 - J3B1"

Handle 0x000B, DMI type 10, 6 bytes
Header and Data:
0A 06 0B 00 07 01
Strings:
48 44 2D 41 75 64 69 6F 00
"HD-Audio"

Handle 0x000C, DMI type 11, 5 bytes
Header and Data:
0B 05 0C 00 02
Strings:
41 41 42 41 41 41 41 41 41 41 41 41 00
"AABAAAAAAAAA"
32 30 31 30 2F 30 33 2F 31 33 00
"2010/03/13"

Handle 0x000D, DMI type 12, 5 bytes
Header and Data:
0C 05 0D 00 01
Strings:
4A 75 6D 70 65 72 20 73 65 74 74 69 6E 67 73 20
63 61 6E 20 62 65 20 64 65 73 63 72 69 62 65 64
20 68 65 72 65 2E 00
"Jumper settings can be described here."

Handle 0x000E, DMI type 16, 15 bytes
Header and Data:
10 0F 0E 00 03 03 03 00 00 80 00 FE FF 04 00

Handle 0x000F, DMI type 17, 27 bytes
Header and Data:
11 1B 0F 00 0E 00 FF FF 40 00 40 00 00 08 0D 01
01 02 13 80 00 9B 02 03 04 05 06
Strings:
4A 36 47 31 00
"J6G1"
44 49 4D 4D 20 30 00
"DIMM 0"
34 38 73 70 61 63 65 73 20 20 20 20 20 20 20 20
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
00
"48spaces "
30 31 32 33 34 35 36 37 00
"01234567"
30 31 32 33 34 35 36 37 00
"01234567"
30 31 32 33 34 35 36 37 38 39 30 31 32 33 34 35
36 37 38 39 30 31 32 33 34 35 36 37 38 39 30 31
32 33 34 35 00
"012345678901234567890123456789012345"

Handle 0x0010, DMI type 19, 15 bytes
Header and Data:
13 0F 10 00 00 00 00 00 FF FF 1F 00 0E 00 02

Handle 0x0011, DMI type 20, 19 bytes
Header and Data:
14 13 11 00 00 00 00 00 FF FF 1F 00 0F 00 10 00
FF FF FF

Handle 0x0012, DMI type 23, 13 bytes
Header and Data:
17 0D 12 00 3F FF FF FF FF FF FF FF FF

Handle 0x0013, DMI type 24, 5 bytes
Header and Data:
18 05 13 00 33

Handle 0x0014, DMI type 25, 9 bytes
Header and Data:
19 09 14 00 12 31 23 59 59

Handle 0x0015, DMI type 26, 20 bytes
Header and Data:
1A 14 15 00 01 63 00 80 00 80 00 80 00 80 00 80
00 00 00 00
Strings:
56 6F 6C 74 61 67 65 20 50 72 6F 62 65 00
"Voltage Probe"

Handle 0x0016, DMI type 27, 12 bytes
Header and Data:
1B 0C 16 00 17 00 63 00 00 00 00 00

Handle 0x0017, DMI type 28, 20 bytes
Header and Data:
1C 14 17 00 01 63 00 80 00 80 00 80 00 80 00 80
00 00 00 00
Strings:
54 65 6D 70 65 72 61 74 75 72 65 20 50 72 6F 62
65 00
"Temperature Probe"

Handle 0x0018, DMI type 29, 20 bytes
Header and Data:
1D 14 18 00 01 63 00 80 00 80 00 80 00 80 00 80
00 00 00 00
Strings:
45 6C 65 63 74 72 69 63 61 6C 20 43 75 72 72 65
6E 74 20 50 72 6F 62 65 00
"Electrical Current Probe"

Handle 0x0019, DMI type 30, 6 bytes
Header and Data:
1E 06 19 00 01 01
Strings:
49 6E 74 65 6C 00
"Intel"

Handle 0x001A, DMI type 32, 20 bytes
Header and Data:
20 14 1A 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00

Handle 0x001B, DMI type 126, 4 bytes
Header and Data:
7E 04 1B 00

Handle 0x001C, DMI type 127, 4 bytes
Header and Data:
7F 04 1C 00

# dmidecode 2.9
SMBIOS 2.5 present.
29 structures occupying 1153 bytes.
Table at 0x000DF010.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: Phoenix Technologies Ltd.
Version: 06JI.M053.20100129.JIP
Release Date: 01/29/2010
Address: 0xE61E0
Runtime Size: 106016 bytes
ROM Size: 2048 kB
Characteristics:
ISA is supported
PCI is supported
PNP is supported
BIOS is upgradeable
BIOS shadowing is allowed
ESCD support is available
Boot from CD is supported
Selectable boot is supported
BIOS ROM is socketed
EDD is supported
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
CGA/mono video services are supported (int 10h)
USB legacy is supported
Smart battery is supported
BIOS boot specification is supported
Targeted content distribution is supported
BIOS Revision: 6.0

Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: SAMSUNG ELECTRONICS CO., LTD.
Product Name: N150/N210/N220
Version: Not Applicable
Serial Number: ZO1193HZ200860
UUID: 40B5E830-E81D-B211-8000-E54EB00EA058
Wake-up Type: Power Switch
SKU Number: 1234567890
Family: 1234567890

Handle 0x0002, DMI type 2, 10 bytes
Base Board Information
Manufacturer: SAMSUNG ELECTRONICS CO., LTD.
Product Name: N150/N210/N220
Version: Not Applicable
Serial Number: 123490EN400015

Handle 0x0003, DMI type 3, 17 bytes
Chassis Information
Manufacturer: SAMSUNG ELECTRONICS CO., LTD.
Type: Notebook
Lock: Not Present
Version: N/A
Serial Number: None
Asset Tag: No Asset Tag
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Safe
Security Status: None
OEM Information: 0x00001234

Handle 0x0004, DMI type 4, 40 bytes
Processor Information
Socket Designation: CPU 1
Type: Central Processor
Family: Other
Manufacturer: Intel
ID: CA 06 01 00 FF FB E9 BF
Version: C1
Voltage: 1.8 V
External Clock: Unknown
Max Speed: 3300 MHz
Current Speed: 1600 MHz
Status: Populated, Enabled
Upgrade: Socket LGA775
L1 Cache Handle: 0x0005
L2 Cache Handle: 0x0006
L3 Cache Handle: Not Provided
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Core Count: 1
Core Enabled: 1
Thread Count: 2
Characteristics:
64-bit capable

Handle 0x0005, DMI type 7, 19 bytes
Cache Information
Socket Designation: L1 Cache
Configuration: Enabled, Socketed, Level 1
Operational Mode: Write Back
Location: Internal
Installed Size: 16 KB
Maximum Size: 16 KB
Supported SRAM Types:
Burst
Pipeline Burst
Asynchronous
Installed SRAM Type: Asynchronous
Speed: Unknown
Error Correction Type: Unknown
System Type: Unknown
Associativity: Unknown

Handle 0x0006, DMI type 7, 19 bytes
Cache Information
Socket Designation: L2 Cache
Configuration: Enabled, Socketed, Level 2
Operational Mode: Write Back
Location: Internal
Installed Size: 512 KB
Maximum Size: 512 KB
Supported SRAM Types:
Burst
Pipeline Burst
Asynchronous
Installed SRAM Type: Burst
Speed: Unknown
Error Correction Type: Unknown
System Type: Unknown
Associativity: Unknown

Handle 0x0007, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1A1
Internal Connector Type: None
External Reference Designator: Keyboard
External Connector Type: Circular DIN-8 male
Port Type: Keyboard Port

Handle 0x0008, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: J1A1
Internal Connector Type: None
External Reference Designator: PS/2 Mouse
External Connector Type: Circular DIN-8 male
Port Type: Keyboard Port

Handle 0x0009, DMI type 9, 13 bytes
System Slot Information
Designation: PCIe Slot #1 - J7C1
Type: 32-bit PCI Express
Current Usage: Unknown
Length: Long
ID: 0
Characteristics:
5.0 V is provided
3.3 V is provided

Handle 0x000A, DMI type 9, 13 bytes
System Slot Information
Designation: PCIe Slot #2 - J3B1
Type: 32-bit PCI Express
Current Usage: Unknown
Length: Long
ID: 0
Characteristics:
5.0 V is provided
3.3 V is provided

Handle 0x000B, DMI type 10, 6 bytes
On Board Device Information
Type: Sound
Status: Disabled
Description: HD-Audio

Handle 0x000C, DMI type 11, 5 bytes
OEM Strings
String 1: AABAAAAAAAAA
String 2: 2010/03/13

Handle 0x000D, DMI type 12, 5 bytes
System Configuration Options
Option 1: Jumper settings can be described here.

Handle 0x000E, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 8 GB
Error Information Handle: Not Provided
Number Of Devices: 4

Handle 0x000F, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x000E
Error Information Handle: No Error
Total Width: 64 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: SODIMM
Set: 1
Locator: J6G1
Bank Locator: DIMM 0
Type: DDR2
Type Detail: Synchronous
Speed: 667 MHz (1.5 ns)
Manufacturer: 48spaces
Serial Number: 01234567
Asset Tag: 01234567
Part Number: 012345678901234567890123456789012345

Handle 0x0010, DMI type 19, 15 bytes
Memory Array Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x0007FFFFFFF
Range Size: 2 GB
Physical Array Handle: 0x000E
Partition Width: 0

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

Handle 0x0012, DMI type 23, 13 bytes
System Reset
Status: Enabled
Watchdog Timer: Present
Boot Option: Do Not Reboot
Boot Option On Limit: Do Not Reboot
Reset Count: Unknown
Reset Limit: Unknown
Timer Interval: Unknown
Timeout: Unknown

Handle 0x0013, DMI type 24, 5 bytes
Hardware Security
Power-On Password Status: Disabled
Keyboard Password Status: Unknown
Administrator Password Status: Disabled
Front Panel Reset Status: Unknown

Handle 0x0014, DMI type 25, 9 bytes
System Power Controls
Next Scheduled Power-on: 12-31 23:59:59

Handle 0x0015, DMI type 26, 20 bytes
Voltage Probe
Description: Voltage Probe
Location: Processor
Status: OK
Maximum Value: Unknown
Minimum Value: Unknown
Resolution: Unknown
Tolerance: Unknown
Accuracy: Unknown
OEM-specific Information: 0x00000000

Handle 0x0016, DMI type 27, 12 bytes
Cooling Device
Temperature Probe Handle: 0x0017
Type: Fan
Status: OK
OEM-specific Information: 0x00000000

Handle 0x0017, DMI type 28, 20 bytes
Temperature Probe
Description: Temperature Probe
Location: Processor
Status: OK
Maximum Value: Unknown
Minimum Value Unknown
Resolution: Unknown
Tolerance: Unknown
Accuracy: Unknown
OEM-specific Information: 0x00000000

Handle 0x0018, DMI type 29, 20 bytes
Electrical Current Probe
Description: Electrical Current Probe
Location: Processor
Status: OK
Maximum Value: Unknown
Minimum Value: Unknown
Resolution: Unknown
Tolerance: Unknown
Accuracy: Unknown
OEM-specific Information: 0x00000000

Handle 0x0019, DMI type 30, 6 bytes
Out-of-band Remote Access
Manufacturer Name: Intel
Inbound Connection: Enabled
Outbound Connection: Disabled

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

Handle 0x001B, DMI type 126, 4 bytes
Inactive

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