Cov txheej txheem:

Linux Kiosk Tablet Los Ntawm Acer Aspire Hloov 10 (Baytrail): 10 Cov Kauj Ruam
Linux Kiosk Tablet Los Ntawm Acer Aspire Hloov 10 (Baytrail): 10 Cov Kauj Ruam

Video: Linux Kiosk Tablet Los Ntawm Acer Aspire Hloov 10 (Baytrail): 10 Cov Kauj Ruam

Video: Linux Kiosk Tablet Los Ntawm Acer Aspire Hloov 10 (Baytrail): 10 Cov Kauj Ruam
Video: 7 Best Free And Open Source Kiosk Software 2024, Hlis ntuj nqeg
Anonim
Linux Kiosk Tablet Los Ntawm Acer Aspire Hloov 10 (Baytrail)
Linux Kiosk Tablet Los Ntawm Acer Aspire Hloov 10 (Baytrail)
Linux Kiosk Tablet Los Ntawm Acer Aspire Hloov 10 (Baytrail)
Linux Kiosk Tablet Los Ntawm Acer Aspire Hloov 10 (Baytrail)

Kuv xav tau ib lub ntsiav tshuaj rau kev siv lub tshuab ua haujlwm hauv tsev hauv kuv lub tsev xauj khoom so (https://www. SoS-OBX.us/). Tom qab yuav thiab sim ob peb lub ntsiav tshuaj sib txawv (HP Stream 7/8, Samsung Slate, rooted Kindle Fire) Kuv thaum kawg txiav txim siab ntawm Acer Aspire Hloov 10 (SW5-012). Nws ruaj khov thiab hloov pauv tau, nws muaj lub pob ntxiv uas kuv rov ua lub hom phiaj ntawm lub vev xaib, thiab nws muaj cov iav Gorilla iav uas ua rau cov zaub muaj zog heev uas yuav tsum yooj yim tiv qhov hnyav los ntawm cov neeg xauj tsev.

Tab sis nws tsis yooj yim los teeb tsa. Nrog Intel Atom Baytrail system, Kuv yuav tsum sib cav nrog 32-ntsis UEFI ua ke nrog 64-ntsis OS. Hmoov zoo, linux tau pib muab kev txhawb nqa zoo heev rau cov tshuab no. Siv Lubuntu 17.10, Kuv muaj peev xwm tig qhov no mus rau hauv kiosk ua haujlwm tau. Kuv kuj tau tswj hwm qee cov lus qhia kom ua rau tag nrho cov txheej txheem yooj yim dua - tsis muaj qhov rov qab pib dua, cov lus txib grub, lossis kev sau ua ke !!

Tam sim no, kuv tau txais qhov no tsis yog lub tshuab ntsiav tshuaj (puv Hloov 10 suav nrog cov keyboard tshem tau), tab sis kuv pom 4 ntawm eBay txog li $ 80 txhua, yog li kuv yuav lawv tag nrho.

Kauj Ruam 1: Qhov Chaw

Qhov
Qhov

Rau qhov kev qhia no, koj yuav xav tau:

  • Acer Aspire Hloov 10 (SW5-012)-kuj tseem tuaj yeem ua haujlwm nrog lwm tus qauv thiab nrog Hloov 11, tab sis cov ntawd tsis tau sim. Nws yog qhov tseem ceeb uas koj muaj cov version nrog Broadcom wifi. Kuv tsis tuaj yeem sim nrog Realtek wifi version.
  • Multiport USB hub nrog MicroUSB txuas. Tsis txhob siv USB OTG txuas rau SW5-012.
  • USB nas thiab keyboard
  • Lub flash drive nrog 2GB lossis ntau dua ntawm kev cia
  • Kev paub ua haujlwm ntawm Ubuntu-raws li kev teeb tsa thiab linux feem ntau

Koj tseem yuav xav tau lub tshuab los tsim cov duab bootable. Lub tshuab ntawd yuav tsum muaj thiab ISO duab ntawm qhov hloov tshiab ntawm Lubuntu (Kuv siv v 17.10.1, muaj nyob ntawm https://lubuntu.net/downloads/) thiab daim ntawv luam ntawm Rufus (https://rufus.akeo.ie/) yog tias nws yog Windows-based, txwv tsis pub dd yuav ua haujlwm rau *nix.

Nqa txhua yam rau hauv USB hub, tom qab ntawd ntsaws rau hauv Hloov 10.

Kauj ruam 2: Npaj Bootable USB Device thiab Boot It

Npaj Bootable USB Device thiab Boot Nws
Npaj Bootable USB Device thiab Boot Nws
Npaj Bootable USB Device thiab Boot Nws
Npaj Bootable USB Device thiab Boot Nws
Npaj Bootable USB Device thiab Boot Nws
Npaj Bootable USB Device thiab Boot Nws

Kuv yuav xav tias koj twb muaj cov txuj ci los ua USB bootable siv Rufus. Uas tau hais tias, nco ntsoov koj xaiv "MBR Partition Scheme for UEFI" hauv qab "Cov phiaj xwm muab faib thiab hom phiaj hom phiaj."

Tom qab koj tau tsim lub bootable tsav, koj tseem yuav tsum tso 32-ntsis UEFI khau raj ntawv rau hauv / EFI / BOOT phau ntawv teev npe. Kuv tau txuas ib qho rau txoj haujlwm no tab sis koj tuaj yeem tau txais lawv los ntawm ntau qhov chaw online lossis koj tuaj yeem tsim koj tus kheej siv linux yog tias koj xav tau.

Thaum koj muaj USB bootable, pib Hloov 10 los ntawm nias "Volume up" thiab "Power" nyob rau tib lub sijhawm thiab tuav kom txog thaum lub ntsiav tshuaj pib. Cov nyees khawm nyob ntawm sab xis.

Thaum lub tshuab muaj zog nce mus rau BIOS, koj yuav xav mus rau "Kev Ruaj Ntseg" thiab teeb Tus Thawj Saib Xyuas Password. Lub tshuab no xav tau qhov no txhawm rau hloov pauv UEFI teeb tsa. Thaum koj tau teeb tus password, nkag mus rau "Boot" thiab teeb tsa "Ruaj Ntseg Boot" rau DISABLED. Kuj hloov pauv kev txiav txim kom "USB HDD" yog thawj zaug. Txuag kev hloov pauv thiab rov pib dua.

Kauj Ruam 3: Khau Rau Hauv Lubuntu, Npaj Qhov System rau Nruab

Xaiv "Sim lubuntu yam tsis tau teeb tsa" thiab khau raj rau hauv lubuntu ua haujlwm. Koj yuav tsum tau ua qee yam haujlwm npaj ua ntej koj pib teeb tsa. Tshwj xeeb, koj yuav tsum tau txais lub cuab yeej wifi khiav thiab koj yuav xav tau 32-ntsis UEFI binaries ua ntej thauj khoom kom qhov kev teeb tsa tuaj yeem ua tiav yam tsis muaj qhov yuam kev.

Ua ntej, qhib lub davhlau ya nyob twg thiab nce mus rau su nrog:

sudo ua -

Txhawm rau thauj cov tsav tsheb wifi, xub txiav txim siab seb lub khoos phis tawj ua tsis tau zoo li cas:

dmx | brc pom

Tej zaum koj yuav pom qee yam zoo li no:

brcmfmac mmc0: 0001: 1: Ncua lub firmware ncaj qha rau brcm/brcmfmac43241b4 -sdio.txt ua tsis tiav nrog yuam kev -2

Qhov no txhais tau tias NVRAM firmware rau lub cuab yeej xav tau tus qauv thauj khoom. Configure ib qho siv:

cp/sys/firmware/efi/efivars/nvram-74b00bd9-805a-4d61-b5f1-43268123d113 /lib/firmware/brcm/brcmfmac43241b4-sdio.txt

Lub npe ntawm lub khoos phis tawj yuav tsum phim txhua yam uas koj tau pom hauv dmesg cov zis. Tom qab ntawd, rov qhib tus tsav tsheb siv:

modprobe -r brcmfmac && modprobe brcmfmac

Tos ob peb feeb (5-10) thiab koj yuav tsum tau txais kev ceeb toom kom koom nrog lub network wifi.

Tom ntej no, xyuas kom meej qhov kev txawj ntse hloov kho tshiab

apt hloov tshiab

tom qab ntawd, teeb tsa grub 32-ntsis UEFI tsav tsheb:

apt nruab grub-efi-ia32 grub-efi-ia32-bin

Tam sim no koj lub kaw lus tau npaj rau kev txhim kho tsis muaj teeb meem.

Kauj ruam 4: Nruab Lubuntu

Yog tias koj paub nrog Ubuntu desktop teeb tsa, qhov no yuav zoo sib xws. Thaum qhov kev ceeb toom rau muab faib, xaiv "Lwm yam" thiab muab faib ua tus kheej. Kuv lub cuab yeej muaj 50GB SSD, yog li kuv xaiv cov hauv qab no:

mmcblk1p1 - EFI - 256MB

mmcblk1p2 - ext2 - 256MB mount as /boot mmcblk1p3 - ext4 - 47.5GB mount li /mmcblk1p4 - sib pauv - seem ntawm qhov chaw, tab sis tsis tsawg dua 2GB

Tsis tas li, teeb tsa "cuab yeej rau kev teeb tsa bootloader" yuav tsum yog EFI muab faib. Nco ntsoov tias koj tso cai Lubuntu rub tawm cov hloov tshiab thaum lub sijhawm teeb tsa (tsis xav tau, tab sis txaus siab heev).

Thaum qhov kev teeb tsa tiav, rov pib dua, tab sis tawm ntawm USB drive tso (ib kauj ruam ntxiv ua ntej qhov no tuaj yeem pib tau yam tsis muaj nws).

Kauj Ruam 5: Ua Qhov System Bootable Tsis Muaj USB Drive

Tua lub kaw lus, tom qab ntawd pib rau hauv BIOS (Volume Up / Power). Koj yuav tau txais kev ceeb toom rau Tus Thawj Saib Xyuas Haujlwm tus password uas koj nkag mus ua ntej.

Hauv BIOS, mus rau "Boot" thiab rov ua kom muaj kev ruaj ntseg khau raj, tom qab ntawd mus rau "Kev Ruaj Ntseg" thiab xaiv "Xaiv cov ntawv UEFI raws li ntseeg tau rau kev ua tiav." Los ntawm cov ntawv qhia zaub mov, taw qhia los ntawm HDD1 / EFI / ubuntu thiab xaiv "grubia32.efi" tom qab ntawd muab nws lub npe rau hauv kab lus tom ntej (txawm lub npe twg koj xav tau - nws tsuas yog tshwm hauv BIOS) tom qab ntawv nyem OK.

Rov qab mus rau "Boot" thiab lov tes taw Secure Boot ces txuag kev hloov pauv.

Tshem lub USB flash drive thiab rov pib dua lub system. Nws yuav tsum khau raj rau Lubuntu !!!

Kauj Ruam 6: Ntxiv Lwm Cov Cheeb Tsam, Hloov Kev Nyiam

Ob peb lwm yam khoom koj yuav xav kom yooj yim tswj ntawm cov ntsiav tshuaj no:

apt nruab openssh-server chromuim-browser unclutter

Chromium yog L/Ubuntu version ntawm Chrome uas tau teeb tsa los ntawm Aptitude.

Hauv "Kev Nyiam" Kuv ua haujlwm tsis muaj hibernation thiab kaw hom, tshem lub vijtsam xauv, thiab teeb lub vijtsam tsis pub dhau 5 feeb (roj teeb) thiab 10 feeb (ntsaws rau hauv). Kuj teeb tsa tus neeg siv nkag mus rau tus kheej.

Kauj Ruam 7: Teeb Tus ID nkag mus qhib browser

Ua ntej, qhib Chromuim tom qab teeb lub vev xaib rau koj lub tsev siv tshuab hluav taws xob. Ntawm kuv lub network (ob leeg nyob hauv tsev thiab tom tsev so) yog "https:// home/"

SSH rau hauv cov ntsiav tshuaj thiab tsim cov npe (yog tias nws tsis muaj nyob tam sim no) nyob hauv tus neeg siv autologin - kuv hu ua "kiosk" - hu ua ~/.config/autostart ces tsim cov ntawv hu ua "kiosk.desktop" nrog rau hauv qab no ntsiab lus:

[Desktop nkag] Hom = Daim Ntawv Thov Npe = Kiosk Exec =/home/kiosk/kiosk.sh X-GNOME-Autostart-enabled = true

Tom qab ntawd tsim cov ntawv sau ntawm /home/kiosk/kiosk.sh nrog cov ntsiab lus hauv qab no:

#!/bin/bash# Khiav cov ntawv no hauv zaub 0 - tus saib xyuas

xa tawm DISPLAY =: 0# Nkaum nas los ntawm cov lus tsis txaus ntseeg &#Yog tias Chromium sib tsoo (feem ntau vim yog rov pib dua), tshem tawm tus chij tsoo kom peb tsis muaj qhov ceeb toom ceeb toom tsis txaus ntseeg -i 's/"exited_cleanly": tsis tseeb/" exited_cleanly ": tseeb/'/home/kiosk/.config/chromium/Default/Preferencessed -i' s/" exit_type ":" Crashed "/" exit_type ":" Normal "/'/home/kiosk/.config/chromium /Default/Preferences# Ncua kom pub wireless txuas/bin/pw 5s# Khiav Chromium thiab qhib tabs/usr/bin/chromium-browser --kiosk --window-position = 0, 0 https:// home/&

Kauj Ruam 8: Tshem tawm "Windows" Tus yuam sij rau Browser Home Page

Remap
Remap
Remap
Remap
Remap
Remap

Tam sim no, yuav luag txhua yam ua haujlwm, tab sis qee zaum kuv xav tso emby ntawm kuv lub ntsiav tshuaj HA. Vim tias kuv tsis muaj keyboard lossis bar chaw nyob, Kuv xav tau qee txoj hauv kev yooj yim rov qab mus rau qhov browser home page. Nco ntsoov tias me me Windows logo tseem ceeb ntawm ib sab ntawm lub ntsiav tshuaj? Kuv yuav rov ua lub hom phiaj uas xa "Crtl-Home" mus rau qhov browser thiab xa kuv mus rau nplooj ntawv.

Cia peb tsim tsab ntawv hu ua chromiumHome.sh thiab muab tso rau hauv kiosk tus neeg siv phau ntawv qhia tsev:

#!/bin/bashxdotool keyup Super_L; xdotool qhov tseem ceeb alt+Tsev#CEEB TOOM: Koj kuj yuav tsum tuaj yeem siv --clearmodifiers parameter ntawm xdo cuab yeej thiab tshem tawm thawj cov lus txib ntawm ob-parter saum toj no

Tom qab ntawd peb yuav siv ib qho ntawm Openbox tus yam ntxwv los rov ua cov yuam sij. Qhib ~/.config/openbox/lubuntu-rc.xml thiab nrhiav ntu ntu sau tias "" thiab ntxiv cov ntawv hauv qab no:

/home/kiosk/chromiumHome.sh

Txoj cai no yuav rov ua qhov tseem ceeb Windows (aka "SUPER" qhov tseem ceeb) kom ua haujlwm cov ntawv chromiumHome.sh. Reboot lub ntsiav tshuaj thiab sim nws!

Tam sim no koj muaj lub ntsiav tshuaj me me zoo rau koj lub tsev siv tshuab. Cov ntsiav tshuaj ruaj (tsis "rugged" tab sis ruaj) muaj lub roj teeb uas tsim nyog (3+ teev), thiab nrog aluminium sawv kuv tau txais rau nws, ua rau qhov ua tiav tiav saib rau koj lub tsev ua yeeb yam.

Kauj Ruam 9: Lwm Yam Yuav Tau Xav Txog thiab Txhim Kho Ntxiv

Tseem muaj chaw rau kev txhim kho. Nov yog cov npe ntawm yam uas kuv npaj yuav kho:

  • Tsiv "kiosk" mus rau tus neeg tsis yog tus tswj hwm kom lub wifi txuas tuaj yeem sib koom tab sis tus password wifi tsis pom
  • Kev kaw tseem tseem qhia txog kaw cov ntawv qhia zaub mov es tsis txhob kaw lub ntsiav tshuaj (txawm tias kuv hloov tus cwj pwm hauv Nyiam los ntawm "Nug" rau "Kaw")
  • Muab qee lub logo zoo dua los tsom rau kuv lub caij so qiv khoom lag luam (nws hu ua "ntxoov ntawm Lub Caij Ntuj Sov") hloov ntawm Acer thiab Lubuntu lub logo
  • Tej zaum siv qee lub sijhawm sim kom tau txais lub suab thiab bluetooth ua haujlwm (tsis tseem ceeb, tab sis zoo kom muaj)
  • Ntxiv lub cim roj teeb lub neej rau ntawm nplooj ntawv web (vim tias lub luag haujlwm bar tau zais, tus neeg siv tsis paub lub roj teeb tsawg txog thaum lub ceeb toom tshwm tuaj)
  • Hloov cov khau raj rov qab los siv HDD ua thawj zaug los tiv thaiv ib tus qhua los ntawm kev tso lub cuab yeej USB ntawm kuv lub ntsiav tshuaj

Kauj Ruam 10: Cov ntaub ntawv hais txog thiab Kev lees paub

Ib qho ntawm cov txiaj ntsig tsis txaus ntseeg ntawm OpenSource txav yog lub peev xwm rau cov txiv neej zoo li kuv sawv ntawm lub xub pwg ntawm cov neeg loj thaum kuv sim muab tso ua ke ib yam dab tsi kom tau raws li kuv qhov kev xav tau tshwj xeeb uas kev lag luam tsis ua tiav lossis xav tau ntau dua li kuv ' m kam them. Yog li, kuv xav ntxiv cov lus qhia hauv qab no uas kuv pom txhua qhov kev paub uas kuv xav tau:

gist.github.com/franga2000/2154d09f864894b… - cov ntaub ntawv yuav ua li cas 32 -ntsis bootloader ua haujlwm ntawm cov khoom siv no

wiki.debian.org/InstallingDebianOn/Asus/T1… - cov ntaub ntawv yuav ua li cas thiaj tau txais wifi ua haujlwm ntawm Baytrail system

openbox.org/wiki/Help:Bindings - Cov ntaub ntawv tseem ceeb rau Openbox

github.com/baskerville/sxhkd/issues/86 - pab daws qhov teeb meem keymapping

Pom zoo: