Port-arm archive

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

pinebook status update (20220412)



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 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 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:
 NetBSD-9.99.96 openssl-1.1.1n sh-20220122-20220410195457Z
 tzdata-2022agtz userland-NetBSD-9.99.96/evbarm

pkgsrc:
 ImageMagick-7.1.0.28 SDL-1.2.15nb37 SDL2-2.0.20nb1 SDL2_mixer-2.0.4nb8
 alsa-lib-1.2.6.1nb1 apache-2.4.53 audacious-plugins-4.1nb10 babl-0.1.90nb1
 cairo-1.16.0nb5 cln-1.3.6 cmake-3.22.3nb1 cmus-2.9.1nb7 cwrappers-20220403
 dav1d-1.0.0 dbus-1.14.0nb2 dconf-0.40.0nb1 ffmpeg2-2.8.17nb14
 ffmpeg3-3.4.8nb16 ffmpeg4-4.4.1nb3 firefox-98.0.2 firefox-l10n-98.0.2
 firefox52-52.9.0nb42 fluidsynth-2.2.6 fontconfig-2.13.1nb6
 gcr-3.38.1nb1 gdbus-codegen-2.70.5 gegl-0.4.36nb1
 gexiv2-0.12.2nb5 glib2-2.70.5 glib2-tools-2.70.5 gnutls-3.7.4
 go-bin-1.17.8 gspell-1.8.3nb9 gssdp-1.0.3nb18 gtk3+-3.24.33
 gupnp-1.0.3nb14 harfbuzz-4.1.0 harfbuzz-icu-4.1.0 ibus-1.5.26nb1
 jwm-2.4.1 ladspa-1.17nb1 lame-3.100nb3 libLLVM-13.0.1 libbluray-1.3.1
 libdazzle-3.38.0nb4 libdbusmenu-glib-12.10.2nb15
 libdbusmenu-gtk3-12.10.2nb24 libdrm-2.4.110 libgcrypt-1.10.1
 libgee-0.20.3nb6 libgpg-error-1.45 libgweather-40.0nb5
 libhandy-1.5.91nb1 libmikmod-3.3.11.1nb9 librsvg-2.52.8
 libsamplerate-0.2.2nb1 libsecret-0.20.4nb4 libsndfile-1.1.0nb1
 libuuid-2.32.1nb1 libuv-1.44.1 libxml2-2.9.13 mate-settings-daemon-1.24.2nb2
 meson-0.61.3 mpv-0.34.1nb1 nginx-1.20.2nb6 nodejs-16.14.2nb1 nss-3.77nb1
 openal-soft-1.21.1nb4 p5-IO-Socket-INET6-2.73 p5-Net-DNS-1.33
 pango-1.50.5 pangomm-2.46.2 perl-5.34.1 phonon-4.10.3nb10
 portaudio-190600.20161030nb10 protobuf-3.20.0 pulseaudio-15.0nb2
 py39-cElementTree-3.9.12 py39-cairo-1.21.0 py39-expat-3.9.12
 py39-libxml2-2.9.13 py39-numpy-1.22.3 py39-pip-21.3.1nb3
 py39-setuptools-62.0.0 py39-sqlite3-3.9.12nb21 py39-tomli-2.0.1
 py39-urllib3-1.26.9 python37-3.7.13 python39-3.9.12 qmmp-1.5.1nb6
 qt5-qtmultimedia-5.15.2nb8 qt5-qttools-5.15.2nb8 samba-4.15.6nb1
 seamonkey-2.53.10nb2 sqlite3-3.38.2 telepathy-glib-0.24.1nb23
 tex-amsmath-2.17l tex-avantgar-2021 tex-bookman-2021 tex-c90-2021
 tex-carlisle-2021 tex-cjk-4.8.5 tex-cjk-gs-integrate-20210625.0
 tex-cjkutils-4.8.5 tex-cns-2018 tex-courier-2021 tex-fancyvrb-4.1b
 tex-fonts-tlwg-0.7.3 tex-fontspec-2.8a tex-garuda-c90-2021
 tex-haranoaji-20220220 tex-helvetic-2021 tex-iftex-1.0f
 tex-ipaex-2021 tex-ncntrsbk-2021 tex-oberdiek-2021 tex-palatino-2021
 tex-symbol-2021 tex-times-2021 tex-zapfchan-2021 tex-zapfding-2021
 tiff-4.3.0nb2 unicode-character-database-14.0.0 unicode-emoji-14.0
 vala-0.56.0 vte3-0.68.0nb2 xfce4-orage-4.16.0 xfce4-terminal-1.0.0
 xnp2-0.86nb14 xscreensaver-6.03 xterm-372 zsh-5.8.1

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