bewareofgeek (bewareofgeek) wrote,
bewareofgeek
bewareofgeek

  • Mood:

Arch x86_64 linux on Lenovo Ideapad S12 via nano





You need bios update to version 23 to support memory upgrade up to 3Gb


I used arch linux x86_64 with vanilla 2.6.31 kernel (rc8 actually, but should be released on 7 sep)


General Hardware Specifications of Lenovo Ideapad S12 via nano



Hardware Components


Status under Linux



Notes

VIA Nano processor U2250 (1.6GHz Capable) CentaurHauls, 1595.773 MHz Works See below
12.1" 1280x800 LED-backlit TFT LCD Works See my xorg.conf below
VIA Technologies, Inc. VX800/VX820 Chrome 9 HC3 Integrated Graphics [1106:1122] (rev 11) Works partly (no 3D and hardware mpeg features with opensource drivers) See below
VIA Technologies, Inc. VX800 Serial ATA and EIDE Controller [1106:5324] Works SATA=scsi (/dev/sda), using SATA compatability mode
Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express [14e4:1713] (rev 02) Works See below
Broadcom Corporation BCM4312 802.11b/g [14e4:4315] (rev 01) Works Using broadcom driver, wpa_supplicant (I used bcmwl-kernel-source_5.10.91.9+bdcom-0ubuntu4_amd64.deb as it contains patches for new kernel versions.)
Update: no more need for broadcom driver, as fully opensource driver b43 works fine and better. You just need to install proper firmware for it (I followed "You are using the b43 driver with an LP-PHY card (e.g. BCM4312)" section).
VIA Technologies, Inc. Secure Digital Memory Card Controller (rev 01) Works See below
VIA Technologies, Inc. VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller) (rev 20) Works See below
[04f2:b090] Lenovo EasyCamera Works uvcvideo kernel driver
[0a5c:2150] Broadcom Corp, BCM2046 Bluetooth Device Works btusb kernel driver


NOTE: Via Padlock (support for x86_64), Hardware random generator (support for x86_64) and Via card reader drivers come with vanilla kernels >= 2.6.31


Nothing special about Arch setup, just follow installation guide. Then build latest (at the moment) 2.6.31-rc8 kernel from source (will be in stock soon after official 2.6.31 release).


VIA Nano processor U2250 (1.6GHz Capable) CentaurHauls


# cat /proc/cpuinfo 
processor	: 0
vendor_id	: CentaurHauls
cpu family	: 6
model		: 15
model name	: VIA Nano processor U2250 (1.6GHz Capable)
stepping	: 3
cpu MHz		: 1595.773
cache size	: 1024 KB
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat clflush acpi mmx fxsr sse sse2 ss tm pbe syscall nx lm
constant_tsc rep_good pni monitor vmx est tm2 ssse3 cx16 xtpr rng rng_en
ace ace_en ace2 phe phe_en lahf_lm
bogomips	: 3191.54
clflush size	: 64
cache_alignment	: 128
address sizes	: 36 bits physical, 48 bits virtual
power management:


To enable hardware encryption (that is perfect for dm-crypt) check this options:


 Symbol: CPU_SUP_CENTAUR [=y]                                 
 Prompt: Support Centaur processors                           
   Defined at arch/x86/Kconfig.cpu:459                        
   Depends on: PROCESSOR_SELECT                               
   Location:                                                  
     -> Processor type and features                           
       -> Supported processor vendors (PROCESSOR_SELECT [=y])  

 Symbol: CRYPTO_DEV_PADLOCK [=y]                                  
 Prompt: Support for VIA PadLock ACE                              
   Defined at drivers/crypto/Kconfig:13                           
   Depends on: CRYPTO && CRYPTO_HW && X86 && !UML                 
   Location:                                                      
     -> Cryptographic API (CRYPTO [=y])                           
       -> Hardware crypto devices (CRYPTO_HW [=y])                
   Selects: CRYPTO_ALGAPI                                         

 Symbol: CRYPTO_DEV_PADLOCK_AES [=y]                              
 Prompt: PadLock driver for AES algorithm                         
   Defined at drivers/crypto/Kconfig:26                           
   Depends on: CRYPTO && CRYPTO_HW && CRYPTO_DEV_PADLOCK          
   Location:                                                      
     -> Cryptographic API (CRYPTO [=y])                           
       -> Hardware crypto devices (CRYPTO_HW [=y])                
         -> Support for VIA PadLock ACE (CRYPTO_DEV_PADLOCK [=y]) 
   Selects: CRYPTO_BLKCIPHER && CRYPTO_AES                        

 Symbol: CRYPTO_DEV_PADLOCK_SHA [=y]                              
 Prompt: PadLock driver for SHA1 and SHA256 algorithms            
   Defined at drivers/crypto/Kconfig:39                           
   Depends on: CRYPTO && CRYPTO_HW && CRYPTO_DEV_PADLOCK          
   Location:                                                      
     -> Cryptographic API (CRYPTO [=y])                           
       -> Hardware crypto devices (CRYPTO_HW [=y])                
         -> Support for VIA PadLock ACE (CRYPTO_DEV_PADLOCK [=y]) 
   Selects: CRYPTO_SHA1 && CRYPTO_SHA256                           

Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express [14e4:1713] (rev 02)


 Symbol: TIGON3 [=y]                               
 Prompt: Broadcom Tigon3 support                   
   Defined at drivers/net/Kconfig:2246             
   Depends on: NETDEVICES && NETDEV_1000 && PCI    
   Location:                                       
     -> Device Drivers                             
       -> Network device support (NETDEVICES [=y]) 
         -> Ethernet (1000 Mbit) (NETDEV_1000 [=y])
   Selects: PHYLIB 

VIA Technologies, Inc. VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller) (rev 20)


Symbol: SND_HDA_CODEC_REALTEK [=y]                              
 Prompt: Build Realtek HD-audio codec support                    
   Defined at sound/pci/hda/Kconfig:42                           
   Depends on: SOUND && !M68K && SND && SND_PCI && SND_HDA_INTEL 
   Location:                                                     
     -> Device Drivers                                           
       -> Sound card support (SOUND [=m])                        
         -> Advanced Linux Sound Architecture (SND [=m])         
           -> PCI sound devices (SND_PCI [=y])                   
             -> Intel HD Audio (SND_HDA_INTEL [=m])              

 Symbol: SND_HDA_CODEC_ANALOG [=y]                               
 Prompt: Build Analog Device HD-audio codec support              
   Defined at sound/pci/hda/Kconfig:54                           
   Depends on: SOUND && !M68K && SND && SND_PCI && SND_HDA_INTEL 
   Location:                                                     
     -> Device Drivers                                           
       -> Sound card support (SOUND [=m])                        
         -> Advanced Linux Sound Architecture (SND [=m])         
           -> PCI sound devices (SND_PCI [=y])                   
             -> Intel HD Audio (SND_HDA_INTEL [=m])              

and generic HD-audio codec parser

VIA Technologies, Inc. Secure Digital Memory Card Controller (rev 01)


VIA SD/MMC Card Reader Driver comes with kernels starting from 2.6.31


linux/drivers/mmc/host/Makefile for via
 Symbol: MMC_VIA_SDMMC [=m]                 
 Prompt: VIA SD/MMC Card Reader Driver      
   Defined at drivers/mmc/host/Kconfig:245  
   Depends on: MMC && PCI                   
   Location:                                
     -> Device Drivers                      
       -> MMC/SD/SDIO card support (MMC [=y])

VIA Technologies, Inc. VX800/VX820 Chrome 9 HC3 Integrated Graphics [1106:1122] (rev 11)


I use openchrome opensource driver. It gives me working xvideo and 2D (no 3D and hardware mpeg for now). I saw some guys used proprietary via drivers, it gives them 3D and mpeg, but it's for old kernels and xserver version.


my xorg.conf


# xorg.conf (X.Org X Window System server configuration file)

Section "Module"
	Load	"bitmap"
	Load	"extmod"
	Load	"int10"
	Load	"vbe"
	Load	"dri"
	Load	"glx"
	Load	"dbe"
	Load	"v4l"
	Load	"synaptics"
EndSection

Section "Monitor"
	Identifier	"LCD-Panel"
	Option		"DPMS"
	HorizSync	60
	VertRefresh	31.5-90
	modeline  "1280x800@60" 83.46 1280 1344 1480 1680 800 801 804 828 -hsync +vsync
EndSection

Section "Device"
	Identifier	"VX800"
	BusID		"PCI:00:01:0"
	BoardName	"VIA Chrome9 HC3"
	VendorName	"VIA Tech"
	Driver		"openchrome"
	Option		"AccelMethod"	"EXA"
	Option		"ExaScratchSize"	"8192"
#	Option		"ExaNoComposite"	"On"
	Option      "EnableAGPDMA" "true"
	Option		"ExaNoComposite"	"true"
	Option		"MigrationHeuristic"	"greedy"
	Option		"HWCursor"	"on"
	Option		"VBEModes"	"Off"
	Option		"VBESaveRestore"	"Off"
EndSection

Section "Screen"
	Identifier	"Screen0"
	Device		"VX800"
	Monitor		"LCD-Panel"
	DefaultDepth	24
	SubSection "Display"
		Modes	"1280x800"
		Viewport	0 0
		Depth	24
	EndSubSection
EndSection

Section "DRI"
    Group "video"
	Mode 0666
EndSection


A bit more info in previous post.


Update: no more need for broadcom driver, as fully opensource driver b43 works fine and better (I had broadcom driver issues with monitoring, kismet and TKIP (AES) encryption problem with one router, and never encountered any problems with b43). You just need to install proper firmware for it (I followed "You are using the b43 driver with an LP-PHY card (e.g. BCM4312)" section).
Tags: arch linux, lenovo s12
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 14 comments