Port-arm archive

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

pinebook status update (20220215)



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 96.0.3 and libreoffice 7.3.0.3
  https://twitter.com/ebijun/status/1493514365970305026

- 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:
 sh-20220122-20220214132230Z tcsh-6.24.00

pkgsrc:
 ImageMagick-7.1.0.22 abseil-20211102.0 alsa-lib-1.2.6.1 automake-1.16.5nb1 
 clang-13.0.1 cmake-3.22.2 extra-cmake-modules-5.83.0 firefox-96.0.3 
 firefox-l10n-96.0.3 fluidsynth-2.2.5 ghostscript-agpl-9.55.0nb2 
 git-base-2.35.1 gnutls-3.7.3nb1 go-1.17.7 go116-1.16.14 go117-1.17.7 
 harfbuzz-3.3.2 harfbuzz-icu-3.3.2 imath-3.1.4 libetonyek-0.1.10nb4 
 libgpg-error-1.44 libical-3.0.14 libixion-0.17.0 libreoffice-7.3.0.3 
 llvm-13.0.1 ltm-1.2.0nb1 lzip-1.23 mdds-2.0.1 mlterm-3.9.2 
 mysql-client-5.7.37 nss-3.75 openexr-3.1.4 orcus-0.17.2 p11-kit-0.24.1 
 polkit-0.120nb2 poppler-22.01.0nb1 protobuf-3.19.4 py-gobject3-common-3.42.0 
 py27-gobject3-3.36.1nb3 py39-charset-normalizer-2.0.12 py39-cryptodome-3.14.1
 py39-cython-0.29.27 py39-gobject3-3.42.0 
 py39-gyp-0.1pre20210830.d6c5dd51dc3a60bf4ff32a5256713690a1a10376
 py39-importlib-metadata-4.10.1nb1 py39-lxml-4.7.1nb3 py39-numpy-1.21.5nb4
 py39-pyparsing-3.0.7 py39-scour-0.38.2nb3 py39-setuptools-60.8.1
 py39-setuptools_scm-6.4.2 py39-sphinx-4.4.0nb1 rclone-1.56.0nb6 rsync-3.2.3nb3
 ruby27-mikutter-5.0.4 ruby27-mikutter-plugins-twitter-5.0nb1 
 ruby27-native-package-installer-1.1.3 ruby27-pkg-config-1.4.7 rust-1.57.0 
 samba-4.13.17 spdlog-1.9.2 tcsh-6.24.00 tdb-1.4.6 tevent-0.11.0nb1 
 u-boot-pinebook-pro-2022.01nb1 xfce4-session-4.16.0nb2 xterm-370nb1 
 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