Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pinebook status update (20220310)



Problems:
- pinebook: 
  Can't see audio interface.aiomixer do nothing.
  dmesg diff:
   https://github.com/ebijun/NetBSD/commit/7f58ddcde0b04631e3c656899cf6dd6a8aa51408
- pinebook pro
  on X, Can't move mouse cursor,keeping left side of screen.
  dmesg diff:
   https://github.com/ebijun/NetBSD/commit/1a7a7b71a209c35149f05d4cf5552f75b72af9a1
- seamonkey 2.53.10 can't start

Topics:
- pkgsrc update as after 2021Q4.
  firefox 97.0.2 and libreoffice 7.3.1.3
  https://twitter.com/ebijun/status/1501536054528012288

- graphical mixer for NetBSD audio.

on pinebook:
 Select a mixer device:
 [*] /dev/mixer0: sun50i-a64-audi  ausoc
 [ ] /dev/mixer1: hdmi-audio  ausoc

on pinebook pro:
XXX: [inputs] tab controls audio output level.
 https://twitter.com/ebijun/status/1395184397599469568

- Audio CD with wavpack
Encode: 
 On Windows: Exact Audio Copy & foobar2000
 On pkgsrc:
 1. pkg_add abcde; pkg_add glyr
    abcde -d /dev/rcd0a -B -o wav -1 -a default,cue
    -> wav,cue,jpg file created.
 2. pkg_add wavpack 
    wavpack -h .wav --write-binary-tag "Cover Art (Front)=@.jpg" -w "cuesheet=@.cue"
    -> wv file created.

Play: 
  qmmp: can play wavpack file with cue. How can I show Cover Art?
   Setting->Output->OSS plugin(liboss.so)

- audio0 input issue
  http://mail-index.netbsd.org/port-arm/2021/02/22/msg007185.html
  "Is audio input from the inbuilt microphone(s) working?  I get "read failed:
  Resource temporarily unavailable" from audiorecord"
  audio0(ausoc1): trigger_input failed: errno=5
  audio0(audoc1): device timeout

pkgsrc:
- works : inkscape,scribus,seamonkey,minitube,mikutter,xournalpp,libreoffice

- firefox 90.0 and libreoffce 7.1.4.2 on NetBSD 9.99.85/aarch64 on pinebook.

 zoom meeting with firefox on NetBSD/aarch64 on pinebook pro 
  with UserAgent switcher addon as Linux.
 Send: Share Screen,camera/USB Camera
 Problem: Can"t show others screen/in-camera.

- pkgin support
 make pkg_summary. and pkgin works.
 cd /usr/pkgsrc/packages/All
 find . -name '*.tgz' -exec pkg_info -X {} \; > pkg_summary
 gzip -f pkg_summary

 pkgsrc packages:
 http://cdn.netbsd.org/pub/NetBSD/misc/jun/aarch64/aarch64/2021-1/

- nono: luna68k/luna88k emulator
 add /etc/mk.conf
  ACCEPTABLE_LICENSES= nono-license
 cd /usr/pkgsrc/emulators/nono;make ;make package-install
- search soumd mixer GUI to manage mixerctl
 
ToDo:
- 3D acceleration

- Pinebook Pro 
 mate/xfce4/camera/WiFi
 ToDo:  
 - HDMI output via USB-C 
 - Audio output: can't switch speaker & headphone out

- Pinebook
 mate/xfce4/camera/HDMI
 ToDo:
 - internal WiFi

System Updates:

sysinfo:
 libssh-42.0 NetBSD-9.99.94 openssh-8.9 opensshd-8.9
 sh-20220122-20220308204556Z tcsh-6.24.00
 userland-NetBSD-9.99.94/evbarm

pkgsrc:
 ImageMagick-7.1.0.27 abseil-20211102.0 alsa-lib-1.2.6.1
 ap24-php74-7.4.28nb7 asciidoc-10.1.4 automake-1.16.5nb1
 babl-0.1.90 clang-13.0.1 cmake-3.22.3 curl-7.82.0 cyrus-sasl-2.1.28
 dconf-0.40.0 digest-20220214 extra-cmake-modules-5.83.0
 findutils-4.9.0 firefox-97.0.2 firefox-l10n-97.0.2
 flac-1.3.4 fluidsynth-2.2.5 fossil-2.18 gdbm-1.23
 gdbus-codegen-2.70.4 gegl-0.4.36 ghostscript-agpl-9.55.0nb2
 git-base-2.35.1 glib2-2.70.4 glib2-tools-2.70.4
 gnupg2-2.2.34 gnutls-3.7.3nb1 go-1.17.8 go116-1.16.15
 go117-1.17.8 gobject-introspection-1.70.0
 graphviz-2.50.0nb2 gstreamer1-1.18.5nb2 guile22-2.2.7nb5
 harfbuzz-4.0.0 harfbuzz-icu-4.0.0 help2man-1.49.1
 imath-3.1.4 inkscape-1.1.2 ldb-2.4.2 libduktape-2.7.0
 libetonyek-0.1.10nb4 libgcrypt-1.10.0 libgpg-error-1.44
 libical-3.0.14 libixion-0.17.0 libpurple-2.14.8
 libreoffice-7.3.1.3 librsvg-2.52.6 libsigc++-2.10.8
 libuv-1.44.0 libva-2.14.0 libwebp-1.2.2 libxkbcommon-1.4.0
 llvm-13.0.1 ltm-1.2.0nb1 lzip-1.23 mdds-2.0.1 meson-0.61.2nb1
 mlterm-3.9.2 mm-common-1.0.4 mysql-client-5.7.37 nghttp2-1.47.0
 nodejs-14.19.0 nss-3.76 openexr-3.1.4 orcus-0.17.2 osabi-NetBSD-9.99.94
 p11-kit-0.24.1 pango-1.48.11 php-7.4.28 php74-curl-7.4.28nb12
 php74-fpm-7.4.28nb8 php74-gd-7.4.28nb1 php74-iconv-7.4.28
 php74-intl-7.4.28nb7 php74-json-7.4.28 php74-mbstring-7.4.28
 php74-pdo-7.4.28 php74-pdo_sqlite-7.4.28nb7 php74-posix-7.4.28
 php74-sqlite3-7.4.28nb7 php74-zip-7.4.28nb7 php74-zlib-7.4.28nb1
 polkit-0.120nb2 poppler-22.03.0 poppler-glib-22.03.0
 poppler-includes-22.03.0 poppler-utils-22.03.0
 protobuf-3.19.4 pugixml-1.12.1 py-gobject3-common-3.42.0
 py27-gobject3-3.36.1nb3 py39-attrs-21.4.0
 py39-charset-normalizer-2.0.12 py39-cryptodome-3.14.1
 py39-cython-0.29.28 py39-gobject3-3.42.0
 py39-gyp-0.1pre20210830.d6c5dd51dc3a60bf4ff32a5256713690a1a10376
 py39-importlib-metadata-4.10.1nb1 py39-lxml-4.8.0
 py39-numpy-1.21.5nb4 py39-py-1.11.0 py39-pyparsing-3.0.7
 py39-scour-0.38.2nb3 py39-setuptools-60.9.3
 py39-setuptools_scm-6.4.2 py39-sphinx-4.4.0nb1 python27-2.7.18nb8
 rclone-1.56.0nb7 rsync-3.2.3nb3 ruby27-mikutter-5.0.4
 ruby27-mikutter-plugins-twitter-5.0nb1 ruby27-mini_portile2-2.8.0
 ruby27-native-package-installer-1.1.3 ruby27-nokogiri-1.13.3
 ruby27-pkg-config-1.4.7 rust-1.58.1 samba-4.13.17
 spdlog-1.9.2 sqlite3-3.38.0 tcsh-6.24.00 tdb-1.4.6
 tevent-0.11.0nb1 u-boot-pinebook-pro-2022.01nb1
 wget-1.21.3 xfce4-session-4.16.0nb2 xscreensaver-6.02nb2
 xterm-370nb1 zsh-5.8nb4 zstd-1.5.2 zxing-cpp-1.2.0

System Updates:
 https://github.com/ebijun/NetBSD/commit/7f58ddcde0b04631e3c656899cf6dd6a8aa51408
 https://github.com/ebijun/NetBSD/commit/1a7a7b71a209c35149f05d4cf5552f75b72af9a1

Tips:
- System Clocks
 % sysctl -a |grep freq

 Install pkgsrc/sysutils/estd from pkgsrc and start it on bootup 
 for automatic up-/downscaling.

pinebook:
 machdep.cpufreq.cpu0.available = 1152 1104 1008 816 648 408
 # sysctl -w machdep.cpufreq.cpu0.target=1152

pinebook-pro:
 machdep.cpufreq.cpu0.available = 1416 1200 1008 816 600 408
 machdep.cpufreq.cpu4.available = 2000 1800 1608 1416 1200 1008 816 600 408
 # sysctl -w machdep.cpufreq.cpu0.target=1416
 # sysctl -w machdep.cpufreq.cpu4.target=2000

- Battery Status
  envstat 
  xbattbar
XXX: link from dbus or mate-power-manager? 

- HDMI port works on pinebook.
 Connect display to pinebook HDMI port
 # pkg_add arandr
 % arandr

- mate: pkgsrc/meta-pkgs/mate
 https://twitter.com/ebijun/status/1086814579647102976
 pkg_add mate
 echo "mate-session" >> .xinitrc
 startx

- ibus 
 export XMODIFIERS=@im=ibus

- Add eDP transmitter and enable display pipeline
 http://mail-index.netbsd.org/source-changes/2019/02/03/msg103047.html
 arandr works well: display up-side down
 https://twitter.com/ebijun/status/1092885154127724544

- keymapping: [Shift][<>] on 11inch
 https://wiki.netbsd.org/ports/evbarm/allwinner/#index3h2

- replace AC Adapter for heavy load
 Anker PowerPort10 A2133+USB DC Cable with 3.5mm/1.35mm connecter
 USB-C laptop charger from HP

- USB Wifi: urtwn0/run0 works 
 urtwn0: I-O DATA DEVICE, INC. (0x4bb) WN-G150UM (0x94c)
 pinebook: internal Wi-Fi not supported
 pinebook pro: internal bwfm0 works,sometimes hangs


Version: 
 NetBSD 9.99.92 (GENERIC) #0: Mon Dec  6 04:25:36 UTC 2021  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC

dmesg:
 https://github.com/ebijun/NetBSD/blob/master/dmesg/aarch64/pinebook
 https://github.com/ebijun/NetBSD/blob/master/dmesg/aarch64/pinebook-pro

System image: dd to eMMC.
 http://www.invisible.ca/arm/

 pinebook-pro:
 1. Insert microSD, boot (Linux from eMMC comes up), 
 2. hit "Restart", 
 3. It will boot from microSD. 
 4. dd'ing to eMMC for installation, the eMMC is faster
- eMMC can disable with switch inside,and boot MicroSD.

 Getting Started with NetBSD on the Pinebook Pro by Benny Siegert 
 https://bentsukun.ch/posts/pinebook-pro-netbsd/

sysinfo:
 https://github.com/ebijun/NetBSD/blob/master/pinebook/Update/sysinfo

pkginfo:
 https://github.com/ebijun/NetBSD/blob/master/pinebook/Update/pkginfo

pkgchk.conf:
 https://github.com/ebijun/NetBSD/blob/master/pinebook/Update/pkgchk.conf
  cp pkgchk.conf /usr/pkgsrc;pkg_add pkg_chk; pkg_chk -au

--
Jun Ebihara


Home | Main Index | Thread Index | Old Index