====== Lenovo U31-70 노트북 관리 문서 ======
===== 사양 정보 ======
* [[http://shop.lenovo.com/us/en/laptops/lenovo/u-series/u31/#tab-tech_specs|Lenovo US Site]]
* [[http://shopap.lenovo.com/kr/ko/laptops/lenovo/u-series/u31/#tab-%EA%B8%B0%EB%8A%A5|한국 레노버 사이트]]
* [[http://prod.danawa.com/info/?pcode=3219216#bookmark_product_information | 다나와 정보]]
* [[http://support.lenovo.com/kr/ko/products/laptops-and-netbooks/u-series/u31-70?menu-id=lenovo_and_think_support | 윈도우즈 드라이버 사이트]]
==== LSHW 정보 덤프 ====
changwoo-lenovo
description: Notebook
product: 80M5 (LENOVO_MT_80M5_BU_idea_FM_Lenovo U31-70)
vendor: LENOVO
version: Lenovo U31-70
serial: MP07WYXW
width: 64 bits
capabilities: smbios-2.7 dmi-2.7 vsyscall32
configuration: administrator_password=disabled boot=normal chassis=notebook family=IDEAPAD frontpanel_password=disabled keyboard_password=disabled power-on_password=disabled sku=LENOVO_MT_80M5_BU_idea_FM_Lenovo U31-70 uuid=0DD45443-EAFD-E411-A26A-F0761CB7808B
*-core
description: Motherboard
product: Lenovo U31-70
vendor: LENOVO
physical id: 0
version: No DPK
serial: MP07WYXW
slot: Type2 - Board Chassis Location
*-firmware
description: BIOS
vendor: LENOVO
physical id: 0
version: AFCN22WW(V1.09)
date: 04/29/2015
size: 128KiB
capacity: 6080KiB
capabilities: pci upgrade shadowing cdboot bootselect edd int13floppynec int13floppytoshiba int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int9keyboard int10video acpi usb biosbootspecification uefi
*-cpu
description: CPU
product: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
vendor: Intel Corp.
physical id: 4
bus info: cpu@0
version: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
serial: To Be Filled By O.E.M.
slot: U3E1
size: 2500MHz
capacity: 2700MHz
width: 64 bits
clock: 100MHz
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 pdpe1gb rdtscp constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap cpufreq
configuration: cores=2 enabledcores=2 threads=4
*-cache:0
description: L1 cache
physical id: 6
slot: L1 Cache
size: 32KiB
capacity: 32KiB
capabilities: synchronous internal write-back instruction
*-cache:1
description: L2 cache
physical id: 7
slot: L2 Cache
size: 256KiB
capacity: 256KiB
capabilities: synchronous internal write-back unified
*-cache:2
description: L3 cache
physical id: 8
slot: L3 Cache
size: 3MiB
capacity: 3MiB
capabilities: synchronous internal write-back unified
*-cache
description: L1 cache
physical id: 5
slot: L1 Cache
size: 32KiB
capacity: 32KiB
capabilities: synchronous internal write-back data
*-memory
description: System Memory
physical id: c
slot: System board or motherboard
size: 8GiB
*-bank:0
description: SODIMM DDR3 Synchronous 1600 MHz (0.6 ns)
product: M471B1G73EB0-YK0
vendor: Samsung
physical id: 0
serial: 15252410
slot: ChannelA-DIMM0
size: 8GiB
width: 64 bits
clock: 1600MHz (0.6ns)
*-bank:1
description: DIMM [empty]
physical id: 1
slot: ChannelB-DIMM0
*-pci
description: Host bridge
product: Broadwell-U Host Bridge -OPI
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 09
width: 32 bits
clock: 33MHz
*-display
description: VGA compatible controller
product: Broadwell-U Integrated Graphics
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:65 memory:c2000000-c2ffffff memory:d0000000-dfffffff ioport:5000(size=64)
*-multimedia:0
description: Audio device
product: Broadwell-U Audio Controller
vendor: Intel Corporation
physical id: 3
bus info: pci@0000:00:03.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:68 memory:c4510000-c4513fff
*-usb:0
description: USB controller
product: Wildcat Point-LP USB xHCI Controller
vendor: Intel Corporation
physical id: 14
bus info: pci@0000:00:14.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: pm msi xhci bus_master cap_list
configuration: driver=xhci_hcd latency=0
resources: irq:62 memory:c4500000-c450ffff
*-communication
description: Communication controller
product: Wildcat Point-LP MEI Controller #1
vendor: Intel Corporation
physical id: 16
bus info: pci@0000:00:16.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration: driver=mei_me latency=0
resources: irq:66 memory:c451b000-c451b01f
*-multimedia:1
description: Audio device
product: Wildcat Point-LP High Definition Audio Controller
vendor: Intel Corporation
physical id: 1b
bus info: pci@0000:00:1b.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration: driver=snd_hda_intel latency=64
resources: irq:67 memory:c4514000-c4517fff
*-pci:0
description: PCI bridge
product: Wildcat Point-LP PCI Express Root Port #1
vendor: Intel Corporation
physical id: 1c
bus info: pci@0000:00:1c.0
version: e3
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:58
*-pci:1
description: PCI bridge
product: Wildcat Point-LP PCI Express Root Port #3
vendor: Intel Corporation
physical id: 1c.2
bus info: pci@0000:00:1c.2
version: e3
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:59 ioport:4000(size=4096) memory:c4400000-c44fffff
*-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:02:00.0
logical name: eth0
version: 15
serial: f0:76:1c:b7:80:8b
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix 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 ip=192.168.10.21 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
resources: irq:63 ioport:4000(size=256) memory:c4404000-c4404fff memory:c4400000-c4403fff
*-pci:2
description: PCI bridge
product: Wildcat Point-LP PCI Express Root Port #4
vendor: Intel Corporation
physical id: 1c.3
bus info: pci@0000:00:1c.3
version: e3
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:60 memory:c4200000-c43fffff
*-network UNCLAIMED
description: Network controller
product: Qualcomm Atheros
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:03:00.0
version: 20
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: memory:c4200000-c43fffff
*-pci:3
description: PCI bridge
product: Wildcat Point-LP PCI Express Root Port #5
vendor: Intel Corporation
physical id: 1c.4
bus info: pci@0000:00:1c.4
version: e3
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:61 ioport:3000(size=4096) memory:c3000000-c40fffff ioport:b0000000(size=301989888)
*-generic UNCLAIMED
description: Unassigned class
product: Illegal Vendor ID
vendor: Illegal Vendor ID
physical id: 0
bus info: pci@0000:04:00.0
version: ff
width: 32 bits
clock: 66MHz
capabilities: bus_master vga_palette cap_list
configuration: latency=255 maxlatency=255 mingnt=255
resources: memory:c3000000-c3ffffff memory:b0000000-bfffffff memory:c0000000-c1ffffff ioport:3000(size=128) memory:c4000000-c407ffff
*-usb:1
description: USB controller
product: Wildcat Point-LP USB EHCI Controller
vendor: Intel Corporation
physical id: 1d
bus info: pci@0000:00:1d.0
version: 03
width: 32 bits
clock: 33MHz
capabilities: pm debug ehci bus_master cap_list
configuration: driver=ehci-pci latency=0
resources: irq:23 memory:c4519000-c45193ff
*-isa
description: ISA bridge
product: Wildcat Point-LP LPC Controller
vendor: Intel Corporation
physical id: 1f
bus info: pci@0000:00:1f.0
version: 03
width: 32 bits
clock: 33MHz
capabilities: isa bus_master cap_list
configuration: driver=lpc_ich latency=0
resources: irq:0
*-storage
description: SATA controller
product: Wildcat Point-LP SATA Controller [AHCI Mode]
vendor: Intel Corporation
physical id: 1f.2
bus info: pci@0000:00:1f.2
version: 03
width: 32 bits
clock: 66MHz
capabilities: storage msi pm ahci_1.0 bus_master cap_list
configuration: driver=ahci latency=0
resources: irq:64 ioport:5088(size=8) ioport:5094(size=4) ioport:5080(size=8) ioport:5090(size=4) ioport:5060(size=32) memory:c4518000-c45187ff
*-serial UNCLAIMED
description: SMBus
product: Wildcat Point-LP SMBus Controller
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@0000:00:1f.3
version: 03
width: 64 bits
clock: 33MHz
configuration: latency=0
resources: memory:c451a000-c451a0ff ioport:5040(size=32)
*-scsi
physical id: 1
logical name: scsi0
capabilities: emulated
*-disk
description: ATA Disk
product: TS256GSSD340K
physical id: 0.0.0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: 59
serial: 20150521C19513232513
size: 238GiB (256GB)
capabilities: gpt-1.00 partitioned partitioned:gpt
configuration: ansiversion=5 guid=7d14d5dd-313e-469f-bf88-efac2fe0353e sectorsize=512
*-volume:0 UNCLAIMED
description: Windows FAT volume
vendor: mkfs.fat
physical id: 1
bus info: scsi@0:0.0.0,1
version: FAT32
serial: f19e-99bf
size: 510MiB
capacity: 511MiB
capabilities: boot fat initialized
configuration: FATs=2 filesystem=fat
*-volume:1
description: EXT4 volume
vendor: Linux
physical id: 2
bus info: scsi@0:0.0.0,2
logical name: /dev/sda2
logical name: /
version: 1.0
serial: 7c118f9e-39f2-4157-813a-36dcedb3217e
size: 230GiB
capabilities: journaled extended_attributes large_files huge_files dir_nlink recover extents ext4 ext2 initialized
configuration: created=2015-07-16 20:01:46 filesystem=ext4 lastmountpoint=/ modified=2015-07-17 21:59:16 mount.fstype=ext4 mount.options=rw,relatime,errors=remount-ro,data=ordered mounted=2015-07-17 21:59:16 state=mounted
*-volume:2
description: Linux swap volume
vendor: Linux
physical id: 3
bus info: scsi@0:0.0.0,3
logical name: /dev/sda3
version: 1
serial: 38cfd6e0-f7f7-48bb-a6fe-6852c7f40b9a
size: 8104MiB
capacity: 8105MiB
capabilities: nofs swap initialized
configuration: filesystem=swap pagesize=4095
*-battery
description: Zinc Air Battery
product: Lithium-ion
vendor: Lead Acid
physical id: 1
version: Nickel Cadmium
serial: Nickel metal hydride
slot: Unknown
*-power UNCLAIMED
description: OEM Define 1
product: OEM Define 5
vendor: OEM Define 2
physical id: 2
version: OEM Define 6
serial: OEM Define 3
capacity: 75mWh
===== 무선 네트워크 문제 해결 기록 =====
이 노트북에 설치된 무선 모듈은 아래와 같다.
Network controller [0280]: Qualcomm Atheros Device [168c:0041] (rev 20)
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1436940 론치패드의 설명에 따르면 장치에 해당하는 드라이버는 우분투에서 동작하지 않는다는 보고가 있다. 168c:0041은 QCA6164라고 하고 ath10k라는 커널 모듈과 관련 있으나, 사용 중인 리눅스 민트 17.2에서는 modprobe로 오류 없이 실행은 되지만 무선 연결이 인식되지 않는다.
https://wikidevi.com/wiki/Ath10k 링크의 "[[https://wikidevi.com/wiki/Qualcomm_Atheros_QCNFA34AC|Qualcomm Atheros QCNFA34AC]]"항목이 있고, 여기서 [[https://github.com/kvalo/ath10k/tree/master/drivers/net/wireless/ath/ath10k|github 링크]]를 찾을 수 있다.
https://wireless.wiki.kernel.org/en/users/Drivers/ath10k Linux wireless 위키에도 비슷한 항목을 검색할 수 있었다.
드라이버 설치 요령에 대한 포럼도 검색되었다: http://askubuntu.com/questions/607707/ath10k-installation
리눅스 민트 설치 후 아무런 변경을 하지 않은 상태에서 다음 명령을 수행햐 봤다.
sudo modinfo /lib/modules/3.16.0-38-generic/kernel/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
filename: /lib/modules/3.16.0-38-generic/kernel/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
firmware: ath10k/QCA988X/hw2.0/board.bin
firmware: ath10k/QCA988X/hw2.0/firmware-2.bin
license: Dual BSD/GPL
description: Driver support for Atheros QCA988X PCIe devices
author: Qualcomm Atheros
srcversion: 5D423944FD14FDF5261FFF8
alias: pci:v0000168Cd0000003Csv*sd*bc*sc*i*
depends: ath10k_core
intree: Y
vermagic: 3.16.0-38-generic SMP mod_unload modversions
signer: Magrathea: Glacier signing key
sig_key: C2:84:ED:AC:CF:0B:47:36:52:C3:4D:23:BE:C3:56:94:42:36:E6:3B
sig_hashalgo: sha512
parm: target_ps:Enable ath10k Target (SoC) PS option (uint)
parm: irq_mode:0: auto, 1: legacy, 2: msi (default: 0) (uint)
parm: reset_mode:0: auto, 1: warm only (default: 0) (uint)
그런데 이상하게도 ls로 보면
ls -l /lib/firmware/ath10k/QCA988X/hw2.0/
total 256
-rwxr-xr-x 1 root root 2116 5월 13 23:33 board.bin
-rwxr-xr-x 1 root root 249093 5월 13 23:33 firmware.bin
-rwxr-xr-x 1 root root 5402 5월 13 23:33 otp.bin
firmware-2.bin 이라는 파일이 안 보인다. 이게 뭐지?
첫번째로는 https://github.com/kvalo/ath10k-firmware 이 사이트에서 받은 firmware를 firmware-2.bin으로 복사하는 방법을 취해 보았다. [[https://wireless.wiki.kernel.org/en/users/drivers/ath10k/firmware|이 쪽의 문서]]를 참고하였고.
$ sudo rmmod ath10k_pci
$ sudo rmmod ath10k_core
$ sudo modprobe -v ath10k_pci
sudo modprobe -v ath10k_pci
insmod /lib/modules/3.16.0-38-generic/kernel/drivers/net/wireless/ath/ath10k/ath10k_core.ko
insmod /lib/modules/3.16.0-38-generic/kernel/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
실패. 그렇다면 혹시 펌웨어를 완전히 변경하면?
==== 무선랜 동작시키기 ====
위 [[https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1436940|론치패드 링크]]에서 'Diego'라는 사람이 쓴 코멘트를 통해 무선랜을 동작하게 만들 수 있었다. 코멘트 [[https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1436940/comments/28|28번]]을 참고하자. [[https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1436940/comments/34|34번]] 코멘트에 부가적으로 설명이 되어 있으니 이것도 참고하라.
리눅스 민트 18(Ubuntu 16.04)에 와서는 커널 4.4로 업그레이드 되어 이 모델의 와이파이가 지원된다. 그러나 펌웨어 때문에 와이파이가 도작하지 않는 것으로 보인다. [[https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1436940|같은 페이지]]에 새로운 해설이 실렸다 다음과 같이 하면 된다.
* [[https://github.com/kvalo/ath10k-firmware/archive/master.zip]]에서 파일을 받고 압축을 푼다.
* ''/lib/firmware/ath10k/QCA6174'' 디렉토리를 지우든지 다른 곳으로 이동한다.
sudo cp -r ath10k-firmware-master/QCA6174/ /lib/firmware/ath10k/
cd /lib/firmware/ath10k/QCA6174/hw2.1/
# firmware-5, firmware-4 이름 변경
sudo mv firmware-5.bin_SW_RM.1.1.1-00157-QCARMSWPZ-1 firmware-5.bin
cd /lib/firmware/ath10k/QCA6174/hw3.0/
sudo mv firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1 firmware-4.bin
==== 블루투스 동작시키기 ====
무선랜은 동작했지만 칩셋은 아직 블루투스 디바이스를 제대로 인식하지 못한다.
리눅스 민트 18(Ubuntu 16.04)에서 블루투스 인식을 올바르게 한다.