Cov txheej txheem:
- Kauj Ruam 1: Qhov Chaw
- Kauj ruam 2: Npaj Bootable USB Device thiab Boot It
- Kauj Ruam 3: Khau Rau Hauv Lubuntu, Npaj Qhov System rau Nruab
- Kauj ruam 4: Nruab Lubuntu
- Kauj Ruam 5: Ua Qhov System Bootable Tsis Muaj USB Drive
- Kauj Ruam 6: Ntxiv Lwm Cov Cheeb Tsam, Hloov Kev Nyiam
- Kauj Ruam 7: Teeb Tus ID nkag mus qhib browser
- Kauj Ruam 8: Tshem tawm "Windows" Tus yuam sij rau Browser Home Page
- Kauj Ruam 9: Lwm Yam Yuav Tau Xav Txog thiab Txhim Kho Ntxiv
- Kauj Ruam 10: Cov ntaub ntawv hais txog thiab Kev lees paub
Video: Linux Kiosk Tablet Los Ntawm Acer Aspire Hloov 10 (Baytrail): 10 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
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
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
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
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:
Plotting Real-time Graph ntawm Android Los Ntawm Arduino Los Ntawm HC-05: 3 Cov Kauj Ruam
Plotting Real-time Graph ntawm Android Los ntawm Arduino Los ntawm HC-05: Hav nyob ntawm no, ntawm no yog kev qhia qhia yuav ua li cas npaj cov phiaj xwm ntawm lub sijhawm tiag tiag ntawm qhov tseem ceeb los ntawm tus tswj hwm micro xws li Arduino rau lub app. Nws siv Bluetooth qauv xws li HC-05 los ua lub cuab yeej xa xov mus rau kis thiab tau txais cov ntaub ntawv ntawm Ar
Arduino Nano thiab Visuino: Hloov Ua Ntej Los Ntawm Lub Cev Los Ntawm Accelerometer thiab Gyroscope MPU6050 I2C Sensor: 8 Kauj Ruam (nrog Duab)
Arduino Nano thiab Visuino: Hloov Ua Ntej Los Ntawm Lub Accelerometer thiab Gyroscope MPU6050 I2C Sensor: Ib pliag dhau los kuv tau tshaj tawm cov lus qhia yuav ua li cas koj tuaj yeem txuas MPU9250 Accelerometer, Gyroscope thiab Compass Sensor rau Arduino Nano thiab teeb tsa nws nrog Visuino kom xa cov ntaub ntawv pob thiab tso saib nws ntawm Scope thiab Visual Instruments.The Accelerometer xa X, Y
Hloov DVD-tsav ntawm Acer Aspire 1690: 6 Cov Kauj Ruam
Hloov DVD-tsav ntawm Acer Aspire 1690: Cov lus qhia no qhia, yuav hloov pauv DVD-drive ntawm Acer Aspire 1690 (thiab muaj peev xwm lwm yam Acers). Cov duab yog qhov tsawg-res, tab sis tseem yuav tsum muaj txiaj ntsig txhawm rau nrhiav qhov ntsia hlau raug
Yuav Txhais Li Cas Kev Taw Qhia ntawm Kev Hloov Los Ntawm Digital Hloov Hloov Nrog PIC: 5 Cov Kauj Ruam
Yuav Ua Li Cas Txhais Tus Cwj Pwm ntawm Kev Sib Hloov Los Ntawm Digital Rotary Hloov Nrog PIC: Lub hom phiaj rau Cov Lus Qhia no yog los piav qhia yuav ua li cas txhawm rau cuam tshuam cov digital (plaub kab cim coded) hloov pauv nrog lub microcontroller. Tsis txhob txhawj, kuv yuav piav qhia dab tsi? Quadrature coded? txhais tau rau peb. Lub interface no thiab cov software txuas nrog wilâ € ¦
Siv SSH thiab XMing los Qhia X Cov Haujlwm Los Ntawm Linux Computer ntawm Windows Computer: 6 Kauj Ruam
Siv SSH thiab XMing los Qhia X Cov Haujlwm Los Ntawm Linux Computer ntawm Windows Computer: Yog tias koj siv Linux ntawm kev ua haujlwm, thiab Windows hauv tsev, lossis hloov pauv, koj yuav qee zaum xav tau nkag mus rau lub khoos phis tawj ntawm koj lwm qhov chaw , thiab khiav cov program. Zoo, koj tuaj yeem teeb tsa X Server, thiab pab SSH Tunneling nrog koj li SSH Client, thiab ib qho