Port-arm archive

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

pinebook status update (20220623)



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
- gnucash build failed
- USB Audio 2.0 Support
  http://mail-index.netbsd.org/current-users/2022/06/03/msg042467.html
  https://raw.githubusercontent.com/openbsd/src/master/sys/dev/usb/uaudio.c

Topics:
- Pinebook GPU
 "I think I am making a bit of progress with the DRM driver 
  for the Pinebook."
  http://mail-index.netbsd.org/port-arm/2022/05/12/msg007650.html

- pkgsrc update as after 2022Q1.
  firefox 98.0.2 and libreoffice 7.3.1.3
  https://twitter.com/ebijun/status/1513773516402790403

- 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/x68k 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:
 bozohttpd-20220517 NetBSD-9.99.98 sh-20220122-20220620180628Z
 userland-NetBSD-9.99.98/evbarm

pkgsrc:
 ImageMagick-7.1.0.37 anthy-elisp-9100hnb6 ap24-php74-7.4.30nb8
 apache-2.4.54 asciidoc-10.2.0 at-spi2-core-2.40.3nb2
 cbindgen-0.23.0 cmake-3.23.2 dbus-1.14.0nb3 deforaos-browser-0.5.5nb1
 deforaos-configure-0.4.3 deforaos-libdesktop-0.4.1nb1
 deforaos-panel-0.4.3nb1 docbook-xsl-1.79.2nb6 dos2unix-7.4.3
 ffmpeg2-2.8.20 ffmpeg3-3.4.11 ffmpeg5-5.0.1nb1 firefox-101.0.1
 firefox-l10n-101.0.1 firefox52-52.9.0nb44 freeglut-3.2.2
 gdk-pixbuf2-2.42.8 gexiv2-0.12.2nb6 ghostscript-agpl-9.56.1
 gnutls-3.7.6 go-1.18.3 go117-1.17.11 go118-1.18.3 graphviz-2.50.0nb5
 gssdp-1.0.3nb20 gst-plugins1-base-1.20.2nb1 gstreamer1-1.20.2nb1
 gtk-doc-1.32nb9 gtksourceview4-4.8.0nb5 gupnp-1.0.3nb16
 gupnp-igd-0.2.5nb13 harfbuzz-4.3.0nb2 harfbuzz-icu-4.3.0
 json-glib-1.6.2nb2 jwm-2.4.2 kdepimlibs4-4.14.10nb35
 libaom-3.3.0 libbaloo4-4.14.3nb30 libical-3.0.14nb1
 libnice-0.1.16nb11 libnotify-0.7.12nb1 libogg-1.3.5nb1
 libreoffice-7.3.3.2 librsvg-2.54.4 libsecret-0.20.4nb5
 libsixel-1.8.6nb8 libuv-1.44.1nb1 libxkbcommon-1.4.1
 libzip-1.9.0 m4-1.4.19nb1 meson-0.62.2 mkvtoolnix-68.0.0
 mpv-0.34.1nb4 nginx-1.22.0nb1 ninja-build-1.11.0
 nodejs-18.4.0 nono-0.4.0 nspr-4.34 nss-3.79 openjpeg-2.5.0
 osabi-NetBSD-9.99.98 p5-Mozilla-CA-20211001 pango-1.50.7
 php-7.4.30 php74-curl-7.4.30nb12 php74-fpm-7.4.30nb9
 php74-gd-7.4.30nb2 php74-iconv-7.4.30 php74-intl-7.4.30nb8
 php74-json-7.4.30 php74-mbstring-7.4.30 php74-owncloud-10.9.1
 php74-pdo-7.4.30 php74-pdo_sqlite-7.4.30nb8 php74-posix-7.4.30
 php74-sqlite3-7.4.30nb8 php74-zip-7.4.30nb7 php74-zlib-7.4.30nb1
 polkit-0.120nb3 poppler-glib-22.04.0nb1 portaudio-190600.20161030nb11
 py39-cElementTree-3.9.13 py39-cython-0.29.30 py39-docutils-0.17.1nb1
 py39-expat-3.9.13 py39-lxml-4.9.0 py39-numpy-1.22.4nb2 py39-pyparsing-3.0.9
 py39-setuptools-62.4.0 py39-sqlite3-3.9.13nb22 python39-3.9.13
 qr-code-generator-1.8.0 qt5-qtbase-5.15.4 qt5-qtdeclarative-5.15.4
 qt5-qtlocation-5.15.4 qt5-qtmultimedia-5.15.4 qt5-qtsensors-5.15.4
 qt5-qtserialport-5.15.4 qt5-qtsvg-5.15.4 qt5-qttools-5.15.4
 qt5-qtwebchannel-5.15.4 qt5-qtwebsockets-5.15.4 qt5-qtx11extras-5.15.4
 qt5-qtxmlpatterns-5.15.4 rarian-0.8.1nb10 rclone-1.56.0nb10
 rhash-1.4.3 ruby27-moneta-1.5.1 ruby27-nokogiri-1.13.6
 rust-1.60.0 scribus-1.4.8nb11 t1lib-5.1.2nb7 talloc-2.3.4
 tdb-1.4.7 tex-babel-3.74 tex-fancyhdr-4.0.3 tiff-4.4.0
 waf-2.0.24 xfce4-exo-4.16.4 xfce4-mousepad-0.5.9
 xfce4-orage-4.16.0nb1 xfce4-terminal-1.0.4 xscreensaver-6.04
 zsh-5.9

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.98 (GENERIC64) #0: Mon Jun 20 18:06:28 UTC 2022  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64

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