Wednesday, June 29, 2022

How to Assign Static IP Address on Ubuntu

Ubuntu 18.04 LTS and later versions use Netplan for managing the network configuration.
Netplan configuration are driven by .yaml files located in /etc/netplan directory.

Please note that yaml files use spaces for indentation.
If you use tab or incorrect indention, your changes won’t be saved.


network:
  version: 2
  renderer: networkd
  ethernets:
    enp0s25:
      dhcp4: no
      addresses:
        - 192.168.1.16/24
      routes:
        - to: default
          via: 192.168.1.1
      nameservers:
          addresses: [8.8.8.8, 1.1.1.1]

sudo netplan apply


more info: https://netplan.io/examples/

Friday, June 24, 2022

How to delay the start of the systemd service

Create a .timer systemd unit file to control the execution of your .service unit file.

By convention, the timer unit starts another unit with the same name,
i.e. foo.timer starts foo.service.


$ cat <<EOF | sudo tee /etc/systemd/system/foo.timer
[Unit]
Description=Timer for the foo service

[Timer]
OnBootSec=1min

[Install]
WantedBy=timers.target
EOF


It is important that the service is disabled (so it doesn't start at boot),
and the timer enabled.

sudo systemctl disable foo.service
sudo systemctl enable foo.timer

sudo systemctl daemon-reload

sudo systemctl list-timers

Ref:
https://sleeplessbeastie.eu/2022/04/04/how-to-delay-the-start-of-the-systemd-service/

Wednesday, June 22, 2022

Redhat Time synchronisation by Chrony

 Time synchronisation
======================
There are 2 main NTP rpms availalable:

ntp – recommended for machines that are constantly connected to a network and are normally running 24/7.

chrony – recommended for machines that are not running 24/7 or have intermitent network, e.g. mobile phones.
Also performs well on machine that are constantly connected to a network and are normally running 24/7


Related Command
===============
yum install chrony

timedatectl
timedatectl set-timezone Asia/Bangkok
timedatectl set-ntp yes
timedatectl set-ntp true

To view a list of trusted ntp servers that the chronyd is using to sync the system-time.
chronyc sources -v

chronyc tracking

systemctl enable chronyd
systemctl start chronyd
systemctl status chronyd

If your system clock is correct,
but your hardware-clock is wrong,
then you can update the hardware clock using the hwclock command:
hwclock --systohc


/etc/chrony.conf
================
The makestep directive can be used to allow chronyd to step the clock.

makestep 1 3

the clock would be stepped in the first three updates if its offset was larger than one second.
Normally, it’s recommended to allow the step only in the first few updates,
but in some cases (e.g. a computer without an RTC or virtual machine
which can be suspended and resumed with an incorrect time)
it may be necessary to allow the step on any clock update.
The example above would change to

makestep 1 -1



ref:
https://serverfault.com/questions/819467/chrony-time-synchronization-on-huge-time-diff
https://codingbee.net/rhcsa/ntp-keeping-system-time-in-sync-on-centos-rhel-7

Set up Nginx Reverse Proxy pointing to https traffic

 vi /etc/nginx/nginx.conf

.
.
.
server {
        listen       8118;
        listen       [::]:8118;
        server_name  _;


        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
        ssl_prefer_server_ciphers on;
        ssl_ciphers 'TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256';

        location / {
                root /;
                proxy_connect_timeout       600;
                proxy_send_timeout          600;
                proxy_read_timeout          600;
                proxy_ssl_server_name on;
                send_timeout                600;

                proxy_pass https://target.com;
        }
}


Related command
=============
vi /etc/nginx/conf.d/default.conf
nginx -t
systemctl enable --now nginx
sudo systemctl stop nginx-debug
openssl s_client -connect www.target.com:443

 

Reference:
========
https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/

Sunday, June 23, 2019

rsync

rsync
=====
rsync -av --delete /path1/ /path2/

จะทำการ sync ข้อมูลให้ตรงกันเนื้อหาของ /path1/
ไปยัง /path2/
และถ้ามีการเปลี่ยนแปลง สร้างหรือลบ ใน /path1/
ข้อมูลใน /path2/ จะเปลี่ยนแปลงเหมือนกันกับข้อมูลต้นฉบับ

-a คือ archive ทำให้ ไฟล์ตันฉบับกับไฟล์ปลายทางเหมือนกันทุกอย่าง
-v คือ verbose ให้แสดงรายละเอียดระหว่างทำงานขึ้นมาบนหน้าจอ
--exclude คือไม่รวมไฟล์ สามารถให้ รูปแบบ ได้เช่น ตามตัวอย่างหมายความว่า ไม่เอา ไฟล์ทุกไฟล์ที่ .gz ที่อยู่ใน home/admin/admin_backups/ *
--delete ให้ลบไฟล์ปลายทางถ้าไฟล์ต้นทางถูกลบไป

Backup จาก Server ไปไว้อีก Server
===============================
rsync -av --delete -e 'ssh -p 12345' root@192.168.0.1:/Directory2/  /Directory1/

"sync ข้อมูลจาก 192.168.0.1  ใน Folder Directory2
มาไว้ในเครื่อง Directory1 ใน server ต้นทาง"


Ref:
https://arit.rmutsv.ac.th/th/blogs/82-วิธีการใช้-rsync-เพื่อสำรองข้อมูล-บน-linux-1052

Wednesday, February 27, 2019

Samba share different user privilegeds

install samba
=========
sudo apt install samba


add user
=======
Samba has its own user management system.
However, any user existing on the samba user list must also exist within /etc/passwd file.

sudo adduser --no-create-home --disabled-password --shell /usr/sbin/nologin --ingroup sambashare a_user_name

--in-group sambashare :
This adds the user to the sambashare group,
giving them read and write access to their own shares and to the common share.


Samba keeps its own database of users and passwords,
which it uses to authenticate logins.
In order to log in, all users must be added to the Samba server and enabled.

-a : This adds the user to the Samba server without enabling them.
-e : enables the user.

smbpasswd -a user_name
smbpasswd -e user_name


configuration
==========
sudo vi /etc/samba/smb.conf

[global]
    workgroup = WORKGROUP
    server string = Server %v
    disable netbios = Yes
    security = user
    map to guest = bad user
    name resolve order = bcast host
    dns proxy = no
    bind interfaces only = yes
    log file = /var/log/samba/smb.log
    max log size = 10000

[ShareSpace]
    path = /ShareSpace
    guest ok = yes
    write list = samba_user_1 samba_user_2
    force directory mode = 2770
    force create mode = 0660
    force user = unix_username

[HiddenShare]
    path = /HiddenShare
    browseable = no
    read list = samba_user_1
    write list = samba_user_2
    force directory mode = 2770
    force create mode = 0660
    force user = unix_username


testparm

sudo systemctl restart smbd.service



NetBIOS functions are not needed in a standalone server.
======================================
sudo systemctl stop nmbd.service
sudo systemctl disable nmbd.service



File permission
===========
Samba doesn't override the Linux file permissions.
 If the user doesn't have permission to write to the directory from a shell account,
they can't do it through Samba regardless of the configuration.


Windows
=======
The network folder specified is currently mapped using a different user name and password.
To connect using a different user name and password,
first disconnect any existing mappings to this network share.


Thanks:
=======
https://www.digitalocean.com/community/tutorials/how-to-set-up-a-samba-share-for-a-small-organization-on-ubuntu-16-04
https://www.linuxquestions.org/questions/linux-general-1/why-can-i-not-write-to-a-samba-share-when-read-write-is-enabled-475630/
https://linuxconfig.org/how-to-configure-samba-server-share-on-debian-9-stretch-linux
https://spalinux.com/2015/08/install-and-configure-file-sharing-server-using-samba-on-centos-7

Note
The useradd, userdel and usermod commands are lowlevel utilities which are there for historical reasons. (Debian)
Ref: https://askubuntu.com/questions/345974/what-is-the-difference-between-adduser-and-useradd

Friday, May 4, 2018

Setup Epson LQ-300+II on Linux

sudo apt install printer-driver-escpr



when finish, set its resolution


Thursday, December 14, 2017

After install Lubuntu

sudo apt-get install chromium-browser
sudo apt-get install libreoffice-writer libreoffice-calc libreoffice-impress
sudo apt-get remove gnumeric abiword pidgin
sudo apt-get install cifs-utils
sudo apt install ttf-mscorefonts-installer

PrcScr
======
sudo apt-get install pinta
vi ~/.config/openbox/lubuntu-rc.xml

    <keybind key="Print">
      <action name="Execute">
        <command>scrot -e 'mv $f ~/Desktop/Screenshot.png'</command>
      </action>
    </keybind>

    <keybind key="A-Print">
      <action name="Execute">
        <command>scrot -s -e 'mv $f ~/Desktop/Screenshot.png'</command>
      </action>
    </keybind>

-s := interactively select a window or rectangle with the mouse.

remote desktop
==============
/usr/bin/x11vnc -display :0 -auth guess -no6 -forever -loop -noxdamage -repeat -rfbport 5900 -shared -nopw

https://help.ubuntu.com/community/VNC/Servers

#Remote desktop client
sudo apt install remmina


mount nas
========
sudo apt install cifs-utils

sudo mount -t cifs -o username=name,password=pass,file_mode=0777,dir_mode=0777,iocharset=utf8 //server/sharename /mnt/directory/

sudo vi /etc/fstab
//server/sharename /mnt/directory/ cifs username=user,password=pass,file_mode=0777,dir_mode=0777,iocharset=utf8,vers=1.0 0 0

sudo mount -v -a

MF4750
=======
https://www.canon.co.uk/support/consumer_products/products/fax__multifunctionals/laser/laserbase_mf_series/i-sensys_mf4750.aspx?type=drivers&language=&os=Linux%20(64-bit)


Epson LQ-300+II
===============
sudo apt-get install printer-driver-escpr



Auto Login
==========
/etc/lightdm/lightdm.conf


set autostart application
==========================
lxsession-default-apps


Hibernate
=======
sudo apt install hibernate uswsusp  pm-utils

sudo pm-hibernate

sudo systemctl hibernate

https://askubuntu.com/questions/912219/ubuntu-17-04-hibernate-works-but-pm-hibernate-does-not

https://askubuntu.com/questions/292878/how-to-set-swap-in-etc-initramfs-tools-conf-d-resume-if-i-have-two-swap-partito

sudo blkid
sudo vi /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=xxxxxxxxxxxxxxxx"

sudo update-grub


sudo vi /var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla

sudo journalctl -u systemd-hibernate.service

http://tipsonubuntu.com/2017/05/03/re-enable-hibernate-ubuntu-17-04/
https://www.freedesktop.org/software/polkit/docs/0.105/pklocalauthority.8.html


Restart LXDE desktop
===============
killall pcmanfm
pcmanfm --desktop --profile lubuntu


Disable shutdown/reboot menu icons
=======================
sudo vi /etc/polkit-1/localauthority/50-local.d/restrict-login-powermgmt.pkla

[Disable lightdm PowerMgmt]
Identity=unix-user:*
Action=org.freedesktop.login1.reboot;org.freedesktop.login1.reboot-multiple-sessions;org.freedesktop.login1.power-off;org.freedesktop.login1.power-off-multiple-sessions;org.freedesktop.login1.suspend;org.freedesktop.login1.suspend-multiple-sessions;org.freedesktop.login1.hibernate;org.freedesktop.login1.hibernate-multiple-sessions
ResultAny=no
ResultInactive=no
ResultActive=no

Ref:
https://askubuntu.com/questions/453479/how-to-disable-shutdown-reboot-from-lightdm-in-14-04

Sunday, April 9, 2017

Flash Xiaomi Redmi 4X with EU Rom

- Unlock your first bootloader -- http://en.miui.com/unlock/

- Install ADB
from https://dl.google.com/android/repository/platform-tools-latest-windows.zip

- Extract the platform tool to a directory ( e.g. c:/adb)

- Download the right twrp recovery file
from https://www.androidfilehost.com/?w=files&flid=50678
or Lastest Release from https://xiaomi.eu/community e.g.

https://xiaomi.eu/community/threads/7-4-6.39516/

- Extract the twrp.img to the platform directory (c:/adb)

- Boot your phone into fastboot mode by pressing and holding volume down

+ power key and subsequently releasing power key after some seconds.

- Connect your Xiaomi phone to your PC with the USB cable.
- Type "cd c:/adb"
- Type "fastboot devices"
and press Enter just to be sure your device is correctly recognized.

- type "fastboot boot twrp.img"
and press Enter to use the recovery without flashing it.

- change language in twrp from chinese to english
https://www.youtube.com/watch?v=KOhR92EKD7A

- Wipe /data partition

- Download EU Rom from
https://xiaomi.eu/community/
-> MIUI Weekly ROM Release
--> xiaomi.eu_multi_HM4X_XXXXXXX.zip

- Using Windows Explorer to Copy the ROM zip file to the MicroSD Card

- Go to Twrp and Install the rom.


Ref1:
https://xiaomi.eu/community/threads/7-4-6.39516/

Ref2: Install TWRP via Fastboot mode
http://en.miui.com/thread-236576-1-1

Tuesday, December 1, 2015

opensuse lxde Leap 42.1

download from https://susestudio.com/u/kolaflash

cannot open display
==============
sudo -H env DISPLAY=:0 /part/to/command

autologin
======
sudo vi /etc/sysconfig/displaymanager
DISPLAYMANAGER_AUTOLOGIN="username"
DISPLAYMANAGER_PASSWORD_LESS_LOGIN="yes"

allow user to ping
=============
sudo chmod u+s `which ping`



Thursday, February 19, 2015

Install CentOS 7 Via NetInstall

to create bootable USB key for installation
right click on Win32DiskImager and choose "Run as administrator"

NetInstall URL (Installation Source)
choose mirror from http://mirror-status.centos.org/
e.g.
http://mirror.centos.org/centos/7/os/x86_64/

Recommended Partitioning Scheme
/ = 5 GB for a minimal installation, at least 10 GB for a full installation
/boot/ = recommended size at least 500 MB
/boot/efi = should be at least 50 MB in size; its recommended size is 200 MB.
/var = at least 3 GB


https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide/sect-disk-partitioning-setup-x86.html#sect-recommended-partitioning-scheme-x86


Post install
=============
yum install -y gnome-terminal
gedit
libreoffice
firefox
ntfs-3g
gparted
shotwell
net-tools

yum -y install http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
yum -y install vlc smplayer ffmpeg
yum -y install geeqie gthumb
http://wiki.centos.org/TipsAndTricks/MultimediaOnCentOS7



Samba
=====
https://www.howtoforge.com/samba-server-installation-and-configuration-on-centos-7

The smbpasswd command will be available after installing samba-client package.


antivirus
======
clamav
sudo freshclam


http://free.avg.com/us-en/download-free-all-product
sudo avgctl –start
sudo avgupdate
avgscan


command
========
yum clean all
yum search package_name
yum provides package_name
yum info package_name
sudo systemctl poweroff

Tuesday, February 3, 2015

Securing SSH on CentOS 7

vi  /etc/ssh/sshd_config


Port 23456
PermitRootLogin no
AllowUsers <<username>>
Protocol 2

service sshd restartyum install policycoreutils-python
semanage port -a -t ssh_port_t -p tcp 23456

Change the port number in
/usr/libfirewalld/services/ssh.xml
#Otherwise 'no route to host' error

firewall-cmd --reload


Client >> ssh -p 23456 serverip
 
More info http://wiki.centos.org/HowTos/Network/SecuringSSH

Auto-login LightDM to Cinnamon when Boot and Resume from Hibernate on Centos 7

I am setting my home file server and use its monitor to display cctv.


I don't want to enter password every time when boot and hibernate.
I want to only press the power button when turn on and off.

Here is how:

vi /etc/lightdm/lightdm.conf

[SeatDefaults]
autologin-user=<<username>>
autologin-user-timeout=0

Set the power button to hibernate the computer
vi /etc/systemd/logind.conf
HandlePowerKey=hibernate


To avoid login screen when resume from hibernate,
I disable lock screen.

gsettings set org.cinnamon.desktop.lockdown disable-lock-screen true


Monday, February 2, 2015

Install Cinnamon, LightDM to CentOS 7 Minimal Install

yum install -y epel-release
yum groupinstall "X Window System"
yum install -y cinnamon gnome-icon-theme-legacy.noarch
yum groupinstall Fonts

(execute this command as a ordinary user / not as root)
echo "exec /usr/bin/cinnamon-session" >> ~/.xinitrc

yum install -y lightdm
systemctl set-default graphical.target# rm '/etc/systemd/system/default.target'
# ln -s '/usr/lib/systemd/system/graphical.target' '/etc/systemd/system/default.target'
# systemctl enable lightdm.service
# startx

When resume from hibernate, all open applications always gone.
If I switched to text mode by pressing Ctrl+Alt+F2
then pm-hibernate or systemctl hibernate,
the applications will still alive.

So Here is how I fix it:

vi /etc/systemd/system/display-manager.service
[Service]
;Restart=always


Thanks
http://centoshowtos.org/desktop/cinnamon-on-centos-7/
http://unix.stackexchange.com/questions/181503/how-to-install-desktop-environments-on-centos-7
http://jensd.be/?p=125

How to Install VirtualBox 4.3 on CentOS 7

Here is my note how I successfully install and run VirtualBox 4.3 on CentOS 7


yum install epel-release
yum install dkms kernel-headers kernel-devel


vi /etc/yum.repos.d/virtualbox.repo

[virtualbox]
name=Oracle Linux / RHEL / CentOS-$releasever / $basearch - VirtualBox
baseurl=http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch
enabled=1
gpgcheck=1
gpgkey=http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc
 
# export KERN_DIR=/usr/src/kernels/2.6.32-504.3.3.el6.x86_64 
 
yum install VirtualBox-4.3
usermod -a -G vboxusers username

To handle "Can’t create temporary cache file /etc/ld.so.cache~: Permission denied" :
setenforce Permissive
service vboxdrv setup
setenforce Enforcing

thank : 
http://tecadmin.net/install-oracle-virtualbox-on-centos-redhat-and-fedora/
http://www.itzgeek.com/how-tos/linux/centos-how-tos/install-virtualbox-4-3-on-centos-7-rhel-7.html

Sunday, November 9, 2014

Linux on E5-411

Hardware info
http://siripong-computer-tips.blogspot.com/2014/11/hardware-info-of-acer-aspire-e14.html
siripong-computer-tips.blogspot.com/2014/11/lshw-acer-aspire-e14.html

>> lspci -n
00:00.0 0600: 8086:0f00 (rev 0e)
00:02.0 0300: 8086:0f31 (rev 0e)
00:13.0 0106: 8086:0f23 (rev 0e)
00:14.0 0c03: 8086:0f35 (rev 0e)
00:1a.0 1080: 8086:0f18 (rev 0e)
00:1b.0 0403: 8086:0f04 (rev 0e)
00:1c.0 0604: 8086:0f48 (rev 0e)
00:1c.1 0604: 8086:0f4a (rev 0e)
00:1f.0 0601: 8086:0f1c (rev 0e)
00:1f.3 0c05: 8086:0f12 (rev 0e)
01:00.0 0200: 10ec:8168 (rev 0c)
02:00.0 0280: 14e4:4365 (rev 01)


The problems
=========
The atom N2830...

"Intel® Graphics Media Accelerator 3600 Series used in the Intel® Atom™ Processor N2800 Series  supported drivers are only available through your device manufacturer or through Linux distributions providing support for the Intel® GMA 3600."

ref : https://01.org/linuxgraphics/downloads/2014/intelr-graphics-installer-1.0.6-linux

while N2820 is on the list, N2830 is not.
https://01.org/linuxgraphics/downloads/2014/2014q3-intel-graphics-stack-release


Intel GMA 3600 is actually a PowerVR from Imagination; licensed by Intel to use in its old Atom processors. Imagination don't support Linux like Intel does, it's basically broken on Linux.
Ref : http://forums.linuxmint.com/viewtopic.php?f=59&t=165146


The best we can get is modesetting with more recent kernels. This will give us the proper resolution but no hardware acceleration.


Fedora 20 with LXDE x86-64
===================
After fresh install of , it can boot into LXDE and shutdown as it shoud but suspend and resume is not working properly.

$ cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.11.10-301.fc20.x86_64 root=/dev/sda3 ro vconsole.font=latarcyrheb-sun16 nomodeset rhgb quiet LANG=en_US.UTF-8

The problems are that installation of Wifi BCM43142 has many steps
and chrome remote desktop is .deb (debian base package)
so I decided to change to another distro.


Open Suse 11.4 GNOME2
=================
Live CD can show up the GUI.




Lubuntu
======
-> Live USB boot and fresh install was ok.
However when I shutdown, it didn't turn of the power.

after
sudo apt-get install linux-firmware-nonfree
sudo apt-get update
sudo apt-get upgrade

The screen garbled.


Kali
===
I test Kali for half an hour, it worked smoothly.
Installing wifi package was easy.


-----------------------------------
I will update this page later.



Hardware info of Acer Aspire E14


>lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                2
On-line CPU(s) list:   0,1
Thread(s) per core:    1
Core(s) per socket:    2
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 55
Model name:            Intel(R) Celeron(R) CPU  N2830  @ 2.16GHz
Stepping:              8
CPU MHz:               498.000
CPU max MHz:           2159.0000
CPU min MHz:           498.0000
BogoMIPS:              4333.33
Virtualization:        VT-x
L1d cache:             24K
L1i cache:             32K
L2 cache:              1024K
NUMA node0 CPU(s):     0,1


> cat /proc/cpuinfo
processor    : 0
vendor_id    : GenuineIntel
cpu family    : 6
model        : 55
model name    : Intel(R) Celeron(R) CPU  N2830  @ 2.16GHz
stepping    : 8
microcode    : 0x815
cpu MHz        : 498.000
cache size    : 1024 KB
physical id    : 0
siblings    : 2
core id        : 0
cpu cores    : 2
apicid        : 0
initial apicid    : 0
fpu        : yes
fpu_exception    : yes
cpuid level    : 11
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms
bogomips    : 4333.33
clflush size    : 64
cache_alignment    : 64
address sizes    : 36 bits physical, 48 bits virtual
power management:

processor    : 1
vendor_id    : GenuineIntel
cpu family    : 6
model        : 55
model name    : Intel(R) Celeron(R) CPU  N2830  @ 2.16GHz
stepping    : 8
microcode    : 0x815
cpu MHz        : 2159.000
cache size    : 1024 KB
physical id    : 0
siblings    : 2
core id        : 1
cpu cores    : 2
apicid        : 2
initial apicid    : 2
fpu        : yes
fpu_exception    : yes
cpuid level    : 11
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms
bogomips    : 4333.33
clflush size    : 64
cache_alignment    : 64
address sizes    : 36 bits physical, 48 bits virtual
power management:

> lspci -vv
00:00.0 Host bridge: Intel Corporation ValleyView SSA-CUnit (rev 0e)
    Subsystem: Acer Incorporated [ALI] Device 087f
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0

00:02.0 VGA compatible controller: Intel Corporation ValleyView Gen7 (rev 0e) (prog-if 00 [VGA controller])
    Subsystem: Acer Incorporated [ALI] Device 087f
    Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Interrupt: pin A routed to IRQ 16
    Region 0: Memory at 90000000 (32-bit, non-prefetchable) [size=4M]
    Region 2: Memory at 80000000 (32-bit, prefetchable) [size=256M]
    Region 4: I/O ports at 2050 [size=8]
    Expansion ROM at <unassigned> [disabled]
    Capabilities: [d0] Power Management version 2
        Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
        Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
        Address: 00000000  Data: 0000
    Capabilities: [b0] Vendor Specific Information: Len=07 <?>

00:13.0 SATA controller: Intel Corporation ValleyView 6-Port SATA AHCI Controller (rev 0e) (prog-if 01 [AHCI 1.0])
    Subsystem: Acer Incorporated [ALI] Device 087f
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0
    Interrupt: pin A routed to IRQ 103
    Region 0: I/O ports at 2048 [size=8]
    Region 1: I/O ports at 205c [size=4]
    Region 2: I/O ports at 2040 [size=8]
    Region 3: I/O ports at 2058 [size=4]
    Region 4: I/O ports at 2020 [size=32]
    Region 5: Memory at 9091d000 (32-bit, non-prefetchable) [size=2K]
    Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Address: fee0200c  Data: 41d1
    Capabilities: [70] Power Management version 3
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-)
        Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [a8] SATA HBA v1.0 BAR4 Offset=00000004
    Kernel driver in use: ahci

00:14.0 USB controller: Intel Corporation ValleyView USB xHCI Host Controller (rev 0e) (prog-if 30 [XHCI])
    Subsystem: Acer Incorporated [ALI] Device 087f
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0
    Interrupt: pin A routed to IRQ 104
    Region 0: Memory at 90900000 (64-bit, non-prefetchable) [size=64K]
    Capabilities: [70] Power Management version 2
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
        Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
        Address: 00000000fee0300c  Data: 41e1
    Kernel driver in use: xhci_hcd

00:1a.0 Encryption controller: Intel Corporation ValleyView SEC (rev 0e)
    Subsystem: Acer Incorporated [ALI] Device 087f
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 7
    Region 0: Memory at 90800000 (32-bit, non-prefetchable) [size=1M]
    Region 1: Memory at 90700000 (32-bit, non-prefetchable) [size=1M]
    Capabilities: [80] Power Management version 3
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold-)
        Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit-
        Address: 00000000  Data: 0000

00:1b.0 Audio device: Intel Corporation ValleyView High Definition Audio Controller (rev 0e)
    Subsystem: Acer Incorporated [ALI] Device 087f
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 106
    Region 0: Memory at 90910000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: [50] Power Management version 2
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
        Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Address: 00000000fee0300c  Data: 4152
    Kernel driver in use: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation ValleyView PCI Express Root Port (rev 0e) (prog-if 00 [Normal decode])
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
    I/O behind bridge: 00001000-00001fff
    Memory behind bridge: 90600000-906fffff
    Prefetchable memory behind bridge: 0000000090400000-00000000904fffff
    Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
    BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
        PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
    Capabilities: [40] Express (v2) Root Port (Slot+), MSI 00
        DevCap:    MaxPayload 128 bytes, PhantFunc 0
            ExtTag- RBE+
        DevCtl:    Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
            RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
            MaxPayload 128 bytes, MaxReadReq 128 bytes
        DevSta:    CorrErr+ UncorrErr+ FatalErr- UnsuppReq+ AuxPwr+ TransPend-
        LnkCap:    Port #1, Speed 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <512ns, L1 <4us
            ClockPM- Surprise- LLActRep+ BwNot+
        LnkCtl:    ASPM L1 Enabled; RCB 64 bytes Disabled- CommClk+
            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
        LnkSta:    Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive+ BWMgmt+ ABWMgmt-
        SltCap:    AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ Surprise+
            Slot #0, PowerLimit 10.000W; Interlock- NoCompl+
        SltCtl:    Enable: AttnBtn- PwrFlt- MRL- PresDet+ CmdCplt- HPIrq- LinkChg-
            Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock-
        SltSta:    Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock-
            Changed: MRL- PresDet- LinkState-
        RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
        RootCap: CRSVisible-
        RootSta: PME ReqID 0000, PMEStatus- PMEPending-
        DevCap2: Completion Timeout: Range BC, TimeoutDis+, LTR-, OBFF Not Supported ARIFwd-
        DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled ARIFwd-
        LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
             Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
             Compliance De-emphasis: -6dB
        LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-, EqualizationPhase1-
             EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
    Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Address: 00000000  Data: 0000
    Capabilities: [90] Subsystem: Acer Incorporated [ALI] Device 087f
    Capabilities: [a0] Power Management version 3
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
        Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
    Kernel driver in use: pcieport

00:1c.1 PCI bridge: Intel Corporation ValleyView PCI Express Root Port (rev 0e) (prog-if 00 [Normal decode])
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
    I/O behind bridge: 00003000-00003fff
    Memory behind bridge: 90500000-905fffff
    Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
    BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
        PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
    Capabilities: [40] Express (v2) Root Port (Slot+), MSI 00
        DevCap:    MaxPayload 128 bytes, PhantFunc 0
            ExtTag- RBE+
        DevCtl:    Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
            RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
            MaxPayload 128 bytes, MaxReadReq 128 bytes
        DevSta:    CorrErr+ UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
        LnkCap:    Port #2, Speed 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <512ns, L1 <4us
            ClockPM- Surprise- LLActRep+ BwNot+
        LnkCtl:    ASPM L1 Enabled; RCB 64 bytes Disabled- CommClk+
            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
        LnkSta:    Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive+ BWMgmt+ ABWMgmt-
        SltCap:    AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ Surprise+
            Slot #1, PowerLimit 10.000W; Interlock- NoCompl+
        SltCtl:    Enable: AttnBtn- PwrFlt- MRL- PresDet+ CmdCplt- HPIrq- LinkChg-
            Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock-
        SltSta:    Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock-
            Changed: MRL- PresDet- LinkState-
        RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
        RootCap: CRSVisible-
        RootSta: PME ReqID 0000, PMEStatus- PMEPending-
        DevCap2: Completion Timeout: Range BC, TimeoutDis+, LTR-, OBFF Not Supported ARIFwd-
        DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled ARIFwd-
        LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
             Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
             Compliance De-emphasis: -6dB
        LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-, EqualizationPhase1-
             EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
    Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Address: 00000000  Data: 0000
    Capabilities: [90] Subsystem: Acer Incorporated [ALI] Device 087f
    Capabilities: [a0] Power Management version 3
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
        Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
    Kernel driver in use: pcieport

00:1f.0 ISA bridge: Intel Corporation ValleyView Power Control Unit (rev 0e)
    Subsystem: Acer Incorporated [ALI] Device 087f
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0
    Capabilities: [e0] Vendor Specific Information: Len=0c <?>

00:1f.3 SMBus: Intel Corporation ValleyView SMBus Controller (rev 0e)
    Subsystem: Acer Incorporated [ALI] Device 087f
    Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Interrupt: pin B routed to IRQ 7
    Region 0: Memory at 90919000 (32-bit, non-prefetchable) [size=32]
    Region 4: I/O ports at 2000 [size=32]
    Capabilities: [50] Power Management version 3
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
        Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-

01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
    Subsystem: Acer Incorporated [ALI] Device 087f
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 105
    Region 0: I/O ports at 1000 [size=256]
    Region 2: Memory at 90600000 (64-bit, non-prefetchable) [size=4K]
    Region 4: Memory at 90400000 (64-bit, prefetchable) [size=16K]
    Capabilities: [40] Power Management version 3
        Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
        Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Address: 00000000fee0100c  Data: 4122
    Capabilities: [70] Express (v2) Endpoint, MSI 01
        DevCap:    MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
            ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
        DevCtl:    Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
            RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
            MaxPayload 128 bytes, MaxReadReq 4096 bytes
        DevSta:    CorrErr+ UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
        LnkCap:    Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s unlimited, L1 <64us
            ClockPM+ Surprise- LLActRep- BwNot-
        LnkCtl:    ASPM L1 Enabled; RCB 64 bytes Disabled- CommClk+
            ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
        LnkSta:    Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
        DevCap2: Completion Timeout: Range ABCD, TimeoutDis+, LTR+, OBFF Via message/WAKE#
        DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR+, OBFF Disabled
        LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
             Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
             Compliance De-emphasis: -6dB
        LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
             EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
    Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
        Vector table: BAR=4 offset=00000000
        PBA: BAR=4 offset=00000800
    Capabilities: [d0] Vital Product Data
        Unknown small resource type 00, will not decode more.
    Capabilities: [100 v1] Advanced Error Reporting
        UESta:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
        UEMsk:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
        UESvrt:    DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
        CESta:    RxErr- BadTLP- BadDLLP+ Rollover- Timeout- NonFatalErr-
        CEMsk:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
        AERCap:    First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
    Capabilities: [140 v1] Virtual Channel
        Caps:    LPEVC=0 RefClk=100ns PATEntryBits=1
        Arb:    Fixed- WRR32- WRR64- WRR128-
        Ctrl:    ArbSelect=Fixed
        Status:    InProgress-
        VC0:    Caps:    PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
            Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
            Ctrl:    Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
            Status:    NegoPending- InProgress-
    Capabilities: [160 v1] Device Serial Number 00-00-00-00-00-00-00-00
    Capabilities: [170 v1] Latency Tolerance Reporting
        Max snoop latency: 71680ns
        Max no snoop latency: 71680ns
    Kernel driver in use: r8169

02:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01)
    Subsystem: Lite-On Communications Inc Device 6645
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 17
    Region 0: Memory at 90500000 (64-bit, non-prefetchable) [size=32K]
    Capabilities: [40] Power Management version 3
        Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
        Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=2 PME-
    Capabilities: [58] Vendor Specific Information: Len=78 <?>
    Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
        Address: 0000000000000000  Data: 0000
    Capabilities: [d0] Express (v1) Endpoint, MSI 00
        DevCap:    MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
            ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
        DevCtl:    Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
            RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
            MaxPayload 128 bytes, MaxReadReq 512 bytes
        DevSta:    CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
        LnkCap:    Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <4us, L1 <64us
            ClockPM+ Surprise- LLActRep- BwNot-
        LnkCtl:    ASPM L1 Enabled; RCB 64 bytes Disabled- CommClk+
            ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
        LnkSta:    Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
    Capabilities: [100 v1] Advanced Error Reporting
        UESta:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
        UEMsk:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
        UESvrt:    DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
        CESta:    RxErr+ BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
        CEMsk:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
        AERCap:    First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
    Capabilities: [13c v1] Virtual Channel
        Caps:    LPEVC=0 RefClk=100ns PATEntryBits=1
        Arb:    Fixed- WRR32- WRR64- WRR128-
        Ctrl:    ArbSelect=Fixed
        Status:    InProgress-
        VC0:    Caps:    PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
            Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
            Ctrl:    Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
            Status:    NegoPending- InProgress-
    Capabilities: [160 v1] Device Serial Number 00-00-b3-ff-ff-d7-30-10
    Capabilities: [16c v1] Power Budgeting <?>
    Kernel driver in use: bcma-pci-bridge

lshw Acer Aspire E14

> lshw -short

H/W path               Device      Class       Description
==========================================================
                                   system      Aspire E5-411 (Aspire E5-411_0843_1_08)
/0                                 bus         EA41_BM
/0/0                               memory      64KiB BIOS
/0/4                               processor   Atom
/0/4/8                             memory      32KiB L1 cache
/0/4/9                             memory      1MiB L2 cache
/0/7                               memory      24KiB L1 cache
/0/f                               memory      2GiB System Memory
/0/f/0                             memory      2GiB SODIMM DDR3 Synchronous 1333 MHz (0.8 ns)
/0/f/1                             memory      SODIMM [empty]
/0/100                             bridge      ValleyView SSA-CUnit
/0/100/2                           display     ValleyView Gen7
/0/100/13                          storage     ValleyView 6-Port SATA AHCI Controller
/0/100/14                          bus         ValleyView USB xHCI Host Controller
/0/100/14/0            usb2        bus         xHCI Host Controller
/0/100/14/1            usb1        bus         xHCI Host Controller
/0/100/14/1/2                      bus         USB2.0 Hub
/0/100/14/1/2/1                    generic     BCM43142A0
/0/100/14/1/2/2        scsi2       storage     Android Phone
/0/100/14/1/2/2/0.0.0  /dev/sdb    disk        SCSI Disk
/0/100/14/1/2/2/0.0.1  /dev/sdc    disk        SCSI Disk
/0/100/14/1/2/2/0.0.2  /dev/sr1    disk        SCSI CD-ROM
/0/100/14/1/2/3                    input       OM
/0/100/14/1/4                      multimedia  HD WebCam
/0/100/1a                          generic     ValleyView SEC
/0/100/1b                          multimedia  ValleyView High Definition Audio Controller
/0/100/1c                          bridge      ValleyView PCI Express Root Port
/0/100/1c/0            em1         network     RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
/0/100/1c.1                        bridge      ValleyView PCI Express Root Port
/0/100/1c.1/0                      network     BCM43142 802.11b/g/n
/0/100/1f                          bridge      ValleyView Power Control Unit
/0/100/1f.3                        bus         ValleyView SMBus Controller
/0/1                   scsi0       storage    
/0/1/0.0.0             /dev/sda    disk        500GB ST500LT012-1DG14
/0/1/0.0.0/1           /dev/sda1   volume      500MiB EXT4 volume
/0/1/0.0.0/2           /dev/sda2   volume      3872MiB Linux swap volume
/0/1/0.0.0/3           /dev/sda3   volume      50GiB EXT4 volume
/0/1/0.0.0/4           /dev/sda4   volume      411GiB Extended partition
/0/1/0.0.0/4/5         /dev/sda5   volume      411GiB Linux filesystem partition
/0/2                   scsi1       storage    
/0/2/0.0.0             /dev/cdrom  disk        DVDRAM GUC0N



> lshw
localhost.localdomain
    description: Notebook
    product: Aspire E5-411 (Aspire E5-411_0843_1_08)
    vendor: Acer
    version: V1.08
    serial: NXMQDST00643822E8B7600
    width: 64 bits
    capabilities: smbios-2.7 dmi-2.7 vsyscall32
    configuration: chassis=notebook family=Type1Family sku=Aspire E5-411_0843_1_08 uuid=97475B75-75E9-49C5-A9F4-00E0B802B872
  *-core
       description: Motherboard
       product: EA41_BM
       vendor: Acer
       physical id: 0
       version: Type2 - A01 Board Version
       serial: NBMLQ1100443822E8B7600
       slot: Type2 - Board Chassis Location
     *-firmware
          description: BIOS
          vendor: Insyde Corp.
          physical id: 0
          version: V1.08
          date: 06/20/2014
          size: 64KiB
          capacity: 4032KiB
          capabilities: pci upgrade shadowing cdboot bootselect edd int9keyboard int14serial int17printer int10video acpi usb zipboot biosbootspecification netboot
     *-cpu
          description: CPU
          product: Atom
          vendor: Intel Corp.
          physical id: 4
          bus info: cpu@0
          version: Intel(R) Celeron(R) CPU  N2830  @ 2.16GHz
          slot: CPU 1
          size: 2159MHz
          capacity: 2407MHz
          width: 64 bits
          clock: 83MHz
          capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms cpufreq
          configuration: cores=2 enabledcores=2 threads=1
        *-cache:0
             description: L1 cache
             physical id: 8
             slot: Unknown
             size: 32KiB
             capacity: 32KiB
             capabilities: synchronous internal write-back instruction
        *-cache:1
             description: L2 cache
             physical id: 9
             slot: Unknown
             size: 1MiB
             capacity: 1MiB
             capabilities: synchronous internal write-back unified
     *-cache
          description: L1 cache
          physical id: 7
          slot: Unknown
          size: 24KiB
          capacity: 24KiB
          capabilities: synchronous internal write-back data
     *-memory
          description: System Memory
          physical id: f
          slot: System board or motherboard
          size: 2GiB
        *-bank:0
             description: SODIMM DDR3 Synchronous 1333 MHz (0.8 ns)
             product: ACR16D3LFS1KBG/2G
             vendor: Kingston
             physical id: 0
             serial: 19581594
             slot: DIMM0
             size: 2GiB
             width: 64 bits
             clock: 1333MHz (0.8ns)
        *-bank:1
             description: SODIMM [empty]
             physical id: 1
             slot: DIMM1
     *-pci
          description: Host bridge
          product: ValleyView SSA-CUnit
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 0e
          width: 32 bits
          clock: 33MHz
        *-display UNCLAIMED
             description: VGA compatible controller
             product: ValleyView Gen7
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 0e
             width: 32 bits
             clock: 33MHz
             capabilities: pm msi vga_controller cap_list
             configuration: latency=0
             resources: memory:90000000-903fffff memory:80000000-8fffffff ioport:2050(size=8)
        *-storage
             description: SATA controller
             product: ValleyView 6-Port SATA AHCI Controller
             vendor: Intel Corporation
             physical id: 13
             bus info: pci@0000:00:13.0
             version: 0e
             width: 32 bits
             clock: 66MHz
             capabilities: storage msi pm ahci_1.0 bus_master cap_list
             configuration: driver=ahci latency=0
             resources: irq:103 ioport:2048(size=8) ioport:205c(size=4) ioport:2040(size=8) ioport:2058(size=4) ioport:2020(size=32) memory:9091d000-9091d7ff
        *-usb
             description: USB controller
             product: ValleyView USB xHCI Host Controller
             vendor: Intel Corporation
             physical id: 14
             bus info: pci@0000:00:14.0
             version: 0e
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi xhci bus_master cap_list
             configuration: driver=xhci_hcd latency=0
             resources: irq:104 memory:90900000-9090ffff
           *-usbhost:0
                product: xHCI Host Controller
                vendor: Linux 3.11.10-301.fc20.x86_64 xhci_hcd
                physical id: 0
                bus info: usb@2
                logical name: usb2
                version: 3.11
                capabilities: usb-3.00
                configuration: driver=hub slots=1 speed=5000Mbit/s
           *-usbhost:1
                product: xHCI Host Controller
                vendor: Linux 3.11.10-301.fc20.x86_64 xhci_hcd
                physical id: 1
                bus info: usb@1
                logical name: usb1
                version: 3.11
                capabilities: usb-2.00
                configuration: driver=hub slots=6 speed=480Mbit/s
              *-usb:0
                   description: USB hub
                   product: USB2.0 Hub
                   vendor: Genesys Logic, Inc.
                   physical id: 2
                   bus info: usb@1:2
                   version: 85.37
                   capabilities: usb-2.00
                   configuration: driver=hub maxpower=100mA slots=4 speed=480Mbit/s
                 *-usb:0 UNCLAIMED
                      description: Generic USB device
                      product: BCM43142A0
                      vendor: Broadcom Corp
                      physical id: 1
                      bus info: usb@1:2.1
                      version: 1.12
                      serial: 3010B38CE2C7
                      capabilities: usb-2.00
                      configuration: speed=12Mbit/s
                 *-usb:1
                      description: Mouse
                      product: OM
                      vendor: Elan Microelectronics Corp.
                      physical id: 3
                      bus info: usb@1:2.3
                      version: 24.58
                      capabilities: usb-1.10
                      configuration: driver=usbhid maxpower=100mA speed=2Mbit/s
              *-usb:1
                   description: Video
                   product: HD WebCam
                   vendor: SunplusIT INC.
                   physical id: 4
                   bus info: usb@1:4
                   version: 13.51
                   capabilities: usb-2.00
                   configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
        *-generic UNCLAIMED
             description: Encryption controller
             product: ValleyView SEC
             vendor: Intel Corporation
             physical id: 1a
             bus info: pci@0000:00:1a.0
             version: 0e
             width: 32 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list
             configuration: latency=0
             resources: memory:90800000-908fffff memory:90700000-907fffff
        *-multimedia
             description: Audio device
             product: ValleyView High Definition Audio Controller
             vendor: Intel Corporation
             physical id: 1b
             bus info: pci@0000:00:1b.0
             version: 0e
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list
             configuration: driver=snd_hda_intel latency=0
             resources: irq:106 memory:90910000-90913fff
        *-pci:0
             description: PCI bridge
             product: ValleyView PCI Express Root Port
             vendor: Intel Corporation
             physical id: 1c
             bus info: pci@0000:00:1c.0
             version: 0e
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:16 ioport:1000(size=4096) memory:90600000-906fffff ioport:90400000(size=1048576)
           *-network
                description: Ethernet interface
                product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
                vendor: Realtek Semiconductor Co., Ltd.
                physical id: 0
                bus info: pci@0000:01:00.0
                logical name: em1
                version: 0c
                serial: c4:54:44:aa:ca:89
                size: 100Mbit/s
                capacity: 1Gbit/s
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
                configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168g-2_0.0.1 02/06/13 ip=192.168.1.42 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
                resources: irq:105 ioport:1000(size=256) memory:90600000-90600fff memory:90400000-90403fff
        *-pci:1
             description: PCI bridge
             product: ValleyView PCI Express Root Port
             vendor: Intel Corporation
             physical id: 1c.1
             bus info: pci@0000:00:1c.1
             version: 0e
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:17 ioport:3000(size=4096) memory:90500000-905fffff
           *-network
                description: Network controller
                product: BCM43142 802.11b/g/n
                vendor: Broadcom Corporation
                physical id: 0
                bus info: pci@0000:02:00.0
                version: 01
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list
                configuration: driver=bcma-pci-bridge latency=0
                resources: irq:17 memory:90500000-90507fff
        *-isa
             description: ISA bridge
             product: ValleyView Power Control Unit
             vendor: Intel Corporation
             physical id: 1f
             bus info: pci@0000:00:1f.0
             version: 0e
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master cap_list
             configuration: latency=0
        *-serial UNCLAIMED
             description: SMBus
             product: ValleyView SMBus Controller
             vendor: Intel Corporation
             physical id: 1f.3
             bus info: pci@0000:00:1f.3
             version: 0e
             width: 32 bits
             clock: 33MHz
             capabilities: pm cap_list
             configuration: latency=0
             resources: memory:90919000-9091901f ioport:2000(size=32)
     *-scsi:0
          physical id: 1
          logical name: scsi0
          capabilities: emulated
        *-disk
             description: ATA Disk
             product: ST500LT012-1DG14
             vendor: Seagate
             physical id: 0.0.0
             bus info: scsi@0:0.0.0
             logical name: /dev/sda
             version: 0001
             serial: W3P7BQLZ
             size: 465GiB (500GB)
             capabilities: partitioned partitioned:dos
             configuration: ansiversion=5 logicalsectorsize=512 sectorsize=4096 signature=000ad463
           *-volume:0
                description: EXT4 volume
                vendor: Linux
                physical id: 1
                bus info: scsi@0:0.0.0,1
                logical name: /dev/sda1
                logical name: /boot
                version: 1.0
                serial: a7de1a2d-960f-4627-83dd-1898cea53e8c
                size: 500MiB
                capacity: 500MiB
                capabilities: primary bootable journaled extended_attributes huge_files dir_nlink extents ext4 ext2 initialized
                configuration: created=2014-11-09 01:45:56 filesystem=ext4 lastmountpoint=/mnt/sysimage/boot modified=2014-11-09 02:39:22 mount.fstype=ext4 mount.options=rw,seclabel,relatime,stripe=4,data=ordered mounted=2014-11-09 02:24:24 state=mounted
           *-volume:1
                description: Linux swap volume
                physical id: 2
                bus info: scsi@0:0.0.0,2
                logical name: /dev/sda2
                version: 1
                serial: b9234312-d568-46ea-b107-fda05b5a650e
                size: 3872MiB
                capacity: 3872MiB
                capabilities: primary nofs swap initialized
                configuration: filesystem=swap pagesize=4096
           *-volume:2
                description: EXT4 volume
                vendor: Linux
                physical id: 3
                bus info: scsi@0:0.0.0,3
                logical name: /dev/sda3
                logical name: /
                version: 1.0
                serial: b289619d-02e4-4bcd-a4af-1008e4f1a0f4
                size: 50GiB
                capacity: 50GiB
                capabilities: primary journaled extended_attributes large_files huge_files dir_nlink recover extents ext4 ext2 initialized
                configuration: created=2014-11-09 01:45:54 filesystem=ext4 lastmountpoint=/ modified=2014-11-09 15:42:24 mount.fstype=ext4 mount.options=rw,seclabel,relatime,data=ordered mounted=2014-11-09 15:42:25 state=mounted
           *-volume:3
                description: Extended partition
                physical id: 4
                bus info: scsi@0:0.0.0,4
                logical name: /dev/sda4
                size: 411GiB
                capacity: 411GiB
                capabilities: primary extended partitioned partitioned:extended
              *-logicalvolume
                   description: Linux filesystem partition
                   physical id: 5
                   logical name: /dev/sda5
                   logical name: /home
                   capacity: 411GiB
                   configuration: mount.fstype=ext4 mount.options=rw,seclabel,relatime,data=ordered state=mounted
     *-scsi:1
          physical id: 2
          logical name: scsi1
          capabilities: emulated
        *-cdrom
             description: DVD-RAM writer
             product: DVDRAM GUC0N
             vendor: HL-DT-ST
             physical id: 0.0.0
             bus info: scsi@1:0.0.0
             logical name: /dev/cdrom
             logical name: /dev/sr0
             version: 1.00
             capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
             configuration: ansiversion=5 status=nodisc