• Content count

  • Joined

  • Last visited

About hajime

  • Rank

Recent Profile Visitors

106 profile views
  1. This is very late reply. I faced almost same problem with OP Zero. Ubuntu, Debian both were same. I used compressed air and blow OP Zero, the problem is settled. I use heat conductive grease to install heat sink. it seems extra dried grease outside the sink dropped on the board.
  2. I have been trying to install Orange Pi Lite + qjackctl + guitarix for vocal . Just yesterday, I update FB for my installation How To in local language. I translate in English and paste here . My concept; - Cheapest Orange Pi = OP Lite - Cheap USB sound card - Very simple X Window installation with openbox - qjackctl and guitarix are controlled through VNC . - Power on to run qjackctl and guitarix automatic . = Power on to become a effector . . My installation procedure is ; -------------------------------- # 0. Buy Orange Pi Lite from manufacture by AliExpress with 8GB SD card, Acryl case . At the same time, buy cpu heat sink for Raspberry Pi . # 0. Strictly use 2A or more current power adapter. If lower that, many frustrating problem would occur . # 1. OS installation - Download "Armbian_5.20_Orangepilite_Debian_jessie_3.4.112.img" from Armbian site . - sudo dd if=Armbian_5.20_Orangepilite_Debian_jessie_3.4.112.img of=/dev/XXXX bs=1M oflag=direct - Where XXXX is your SD card drive . - 1st time boot will do many auto setting by it self . Do not disturb until second boot success . - This installer automatically create SWAP - First login should be 'root' with pasword '1234' . OS will ask you to change password . Say 'hajime@123' . - When you log by root for the first time, OS will ask you a normal user account (sudo-able) . Say 'hajime' . - At the same time, OS will ask you whether you choose display type. Just ENTER it . - Logout --------------------- # 2. Wifi Setting (login by hajime) # Use "wpa_passphrase yourSSID yourpassword" to get 'psk' for the following set up. # First setup interfaces and addresses . Just past the following by; hajime>sudo vi /etc/network/interfaces ---- # Local loopback auto lo iface lo inet loopback # Wireless adapter #1 #allow-hotplug wlan0 auto wlan0 iface wlan0 inet dhcp # iface wlan0 inet static #address #network #netmask #broadcast #gateway #dns-nameservers wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf ---- # Next, setup for WIFI access points . Usually, there are more than 1 access points . List out all and register here by; hajime>sudo vi /etc/wpa_supplicant/wpa_supplicant.conf ---- # ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network={ ssid="FIRST ACCESS POINT SSID" psk=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX } network={ ssid="SECOND ACCESS POINT SSID" psk=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX } ---- # Check this setting by hajime> sudo /sbin/ifup wlan0 # If any errors, setting is wrong . Note this setting is WPA1/2 personal setting which is very common . ----------------------- # 3. Time related setting (login by hajime). This example is for my locale. Change if necessary . hajime>sudo cp /etc/localtime /etc/localtime.org hajime>sudo ln -sf /usr/share/zoneinfo/Asia/Kuala_Lumpur /etc/localtime Next, Add to auto script when OS booted(login by hajime) . Up network and set time by; hajime>sudo vi /etc/rc.local /sbin/ifup wlan0 /sbin/sntp --timeout=2 -s time-nw.nist.gov /sbin/sntp --timeout=2 -s ntp1.jst.mfeed.ad.jp /sbin/sntp --timeout=2 -s ntp.nc.u-tokyo.ac.jp /sbin/hwclock --systohc --localtime --directisa > /dev/null 2>&1 ---- # Unregister autostart NTP for lighten CPU because the time is set at boot time . But do not remove it . sudo update-rc.d -f ntp remove hajime>sudo reboot ------------------------------------- # 4. Sound for USB sound card . I got '2' by command 'hajime>aplay -l' . sudo vi /etc/asound.conf pcm.!default { type hw card 2 } ctl.!default { type hw card 2 } ----- ----------------------------- #5. Install Softwares # Update and Upgrade sudo apt-get update sudo apt-get upgrade # Install XWindow, VncServer, Jack, guitorix, firefox and other small things . If errors, try again few times . hajime>sudo apt-get install openbox xorg iceweasel x11vnc guitarix qjackctl dbus-x11 python-rsvg alsamixergui sudo reboot ---------------------------- #6. Auto login as hajime hajime>sudo mkdir -pv /etc/systemd/system/getty@tty1.service.d/ hajime>sudo vi /etc/systemd/system/getty@tty1.service.d/autologin.conf [service] ExecStart= ExecStart=-/sbin/agetty --autologin hajime --noclear %I 38400 linux ---- hajime>sudo systemctl enable getty@tty1.service # Password may be required 2 times . #7. Auto start XWindows vi ~/.bash_profile # if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty1 ]; then startx fi ---- #8. Set up VNC server hajime>x11vnc -storepasswd hajime>mkdir -p .config/openbox vi ~/.config/openbox/autostart x11vnc -auth ~/.Xauthority -display :0 -usepw -forever ---- # After reboot, you can open this effector monitor remotely by 'gvncviewer IPADDRESS' . --------------------------- #9. Auto start qjackctl and guitorix after X and Open box started hajime>sudo vi /etc/xdg/openbox/autostart # qjackctl & guitorix & alsamixergui & ---- --------------------------------- After this, you set up qjackctrl and guitorix then save. Once all done, this Orange Pi Lite box becomes effector. # The following are just tips if you wish to set up some more . # Rotate screen hajime>sudo vi /etc/X11/xorg.conf.d/01-armbian-defaults.conf # Append Section "Device" Identifier "default" Driver "fbdev" Option "Rotate" "CCW" EndSection ---- ----------------------- # Any case if you want to make qjuackctl run by normal user hajime>sudo vi /etc/security/limits.conf hajime - rtprio 99 hajime - memlock 500000 hajime - nice -10 hajime - rtprio 99 hajime - memlock 500000 hajime - nice -10 ------ -------------------------