Welcome, Guest |
You have to register before you can post on our site.
|
Latest Threads |
Experimental Mobian kerne...
Forum: PinePhone Pro Software
Last Post: benpocalypse
11 hours ago
» Replies: 12
» Views: 5,681
|
Thoughts after a year wit...
Forum: General Discussion on Pinebook Pro
Last Post: anoduck
Yesterday, 03:14 PM
» Replies: 5
» Views: 8,708
|
bookworm vs trixie discus...
Forum: Mobian on PinePhone
Last Post: biketool
09-21-2025, 02:03 PM
» Replies: 71
» Views: 32,694
|
Special keys stopped work...
Forum: General Discussion on PineNote
Last Post: j_s
09-19-2025, 04:04 PM
» Replies: 3
» Views: 10,341
|
Wifi 5Ghz Issue
Forum: PineNote Software
Last Post: nicolaos
09-17-2025, 06:36 PM
» Replies: 0
» Views: 3,840
|
the self built bl602_boot...
Forum: Getting Started
Last Post: pinecheng
09-16-2025, 02:15 PM
» Replies: 2
» Views: 4,911
|
Why projects like PinePho...
Forum: General Discussion on PinePhone
Last Post: Gary2003
09-16-2025, 01:13 PM
» Replies: 13
» Views: 14,021
|
Cannot flash the modem fi...
Forum: Mobian on PinePhone
Last Post: anonymous
09-16-2025, 12:18 PM
» Replies: 7
» Views: 6,178
|
Star64 Irradium (based on...
Forum: Getting Started
Last Post: mara
09-16-2025, 11:18 AM
» Replies: 8
» Views: 8,968
|
Mobian MMS/SMS text probl...
Forum: Mobian on PinePhone
Last Post: georgegohl888
09-15-2025, 02:42 AM
» Replies: 16
» Views: 24,995
|
|
|
WiFi Packet Loss and Slow Speed PineA64 Debian 8 |
Posted by: Stymied - 03-26-2017, 12:34 AM - Forum: Pine A64 Hardware, Accessories and POT
- Replies (2)
|
 |
Hi, I have a Pine64 with Debian 8. Bought last July, finally getting around to setting it up as a fileserver. Installed x11vnc so that I don't need to keep it near a monitor.
I have the Wi-Fi/Bluetooth module and the backup battery installed. I am able to connect to my home Wi-Fi network, but the connection is pretty unstable and when I check it by pinging out to www.yahoo.com I get at least 30% packet loss and ping times from 400-2500 ms. When I ssh in from another machine, I get a lot of lag in between typing characters. It's incredibly slow and unreliable.
My home network is fine, at least from the point of view of all the other machines. I can happily SSH around, I get good upload and download speeds, and ping to www.yahoo.com takes less than 100 ms.
I have the antenna for the Wi-Fi module attached to the inside top of the wooden case, so I don't think it's a signal problem. The Wi-Fi icon shows 53% signal strength; not great, but shouldn't be this bad.
What's likely to be the problem? What should I check?
|
|
|
Z-Wave - Full and Low Power Inclusion mode |
Posted by: B34N - 03-25-2017, 02:24 PM - Forum: POT modules
- Replies (1)
|
 |
I have a Pine64 with the Pine US Z-wave module running openHAB2. I'm finally starting to move my z-wave network over from my old and dying Aeon Z-Stick. Some of my z-wave devices do not seem to support Network Inclusion mode and need a controller to be in directly reachable. Am I out of luck if I cannot bring my Pine64 in range of these devices? Or is there a method to have a secondary controller that I can bring close to these devices for pairing?
If I'm better off just buying a new removable z-wave controller stick and scrapping my Pine64 then please let me know.
Thank you,
B34N
|
|
|
LCD touchscreen |
Posted by: stephen fleming - 03-23-2017, 03:26 PM - Forum: P64-LTS / SOPINE Hardware, Accessories and POT
- Replies (10)
|
 |
Is it possible to use the LCD touchscreen with the SOPINE board using Linux? The reason why I ask, is that I was looking at a recent thread:
https://forum.pine64.org/showthread.php?tid=1183&page=7
Jessica Spongekipper posted
Code: /boot/uEnv.txt looking like:
console=ttyS0,115200n8
selinux=permissive
optargs=enforcing=0 cma=384M no_console_suspend
kernel_filename=kernel
initrd_filename=ramdisk.img
hardware=sun50iw1p1
# Uncomment to enable LCD screen
fdt_filename_prefix=pine64/sun50i-a64-lcd-
When i opened the same file running the version of Ubuntu for the SOPINE, this is what I saw:
Code: console=tty0 console=ttyS0,115200n8 no_console_suspend
kernel_filename=pine64/Image
initrd_filename=initrd.img
ethaddr=ba:88:8e:64:aa:78 fsck.repair=yes
pine64_model=pine64-so
The line to enable the LCD was not there. Is it located in another file?
|
|
|
Turn your Pine64 into a music server with mpd |
Posted by: JulianM - 03-22-2017, 06:47 AM - Forum: Pine A64 Projects, Ideas and Tutorials
- Replies (2)
|
 |
Hi together!
This topic is structured into a few categories.
• Prepare your Pine64
• Installing and setup MPD
• Fix sound problems with alsamixer
• Installing und setup Samba
• Control your MPD via IR remote control
• My own setup
» Prepare your Pine64
What do you need?
- Pine64 board.
- Speakers via audiojack.
- Install the latest Ubuntu image by longsleep.
What you'll get?
- A music server which can be controlled via Windows, Linux and Android.
First of all:
Download the latest Ubuntu image by longsleep.
- Overview of all Ubuntu images powered by longsleep
I downloaded the following image:
- xenial-pine64-bspkernel-20161218-1
After you have downloaded and burned the image on your micro sdcard you need to apply some pre requirements.
If you just downloaded the Ubuntu image you have to resize the partitions of your microsd card.
Just enter this command:
Next step: Update the software of Pine64.
Code: pine64_fix_whatever.sh
pine64_update_kernel.sh
pine64_update_uboot.sh
apt-get update
apt-get upgrade
Ok, all pre requirements are given now.
» Installing und setup MPD
Let's install mpd!
Code: apt-get install mpc mpd
mpc (Music Player Command, client) is a command line program to manage mpd (Music Player Daemon, server).
Fix permissions of mpd directories:
Code: chmod 770 /var/lib/mpd/music/ /var/lib/mpd/playlists/
chown -R mpd:audio /var/lib/mpd/music/ /var/lib/mpd/playlists/
Apply my config for mpd:
Code: cat <<EOF >/etc/mpd.conf
music_directory "/var/lib/mpd/music"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/tag_cache"
log_file "/var/log/mpd/mpd.log"
pid_file "/run/mpd/pid"
state_file "/var/lib/mpd/state"
sticker_file "/var/lib/mpd/sticker.sql"
user "mpd"
port "6600"
log_level "verbose"
restore_paused "yes"
auto_update "yes"
auto_update_depth "3"
filesystem_charset "UTF-8"
id3v1_encoding "UTF-8"
input {
plugin "curl"
}
audio_output {
type "alsa"
name "My ALSA Device"
mixer_type "software"
}
EOF
The configuration of mpd is done.
Now activate audio output via 3.5 audiojack!
But please note:
The 3.5 audiojack will be the default device for all audio output with these configs!
Code: cat <<EOF >/etc/modules-load.d/pine64-audiojack.conf
sunxi_codec
sunxi_i2s
sunxi_sndcodec
EOF
Code: cat <<EOF >/etc/asound.conf
pcm.!default {
type plug slave {
pcm "hw:1,0"
}
}
ctl.!default {
type hw
card 1
}
EOF
Reboot your Pine64 to apply changes of sound cards.
Just copy all your music files into the following directory:
I'll explain how to copy files from your Windows machine easily to your mpd server at the end of this post!
Take note that ownerships are correct!
If not, apply them.
Code: chown -R mpd:audio /var/lib/mpd/music/
Update the music database of mpd with mpc.
Alright, you're done!
Feel free to manage your mpd server with different mpd clients!
These are my favourites:
• Linux & Windows: Gnome Music Player Client
• Android: MPD Control, Droid MPD Client
» Fix sound problems with alsamixer
Normally there should be no problems with sound if you are using the latest Ubuntu image by longsleep.
So, you are advised to check the following settings in alsamixer.
Code: Unmute "Headphone" with toogling "m"
Set "ADCL Mux" to "DMIC".
Set "ADCR Mux" to "DMIC".
Set "AIF1 DAC timeslot 0 volume" to 85.
Set "AIF1IN0L Mux" to "AIF1_DA0L".
Set "AIFIN0R Mux" to "AIF1_DA0R".
Unmute "DACL Mixer ADCL" with toogling "m"
Unmute "DACL Mixer AIF1DA0L" with toogling "m"
Unmute "DARC Micer ADCR" with toogling "m"
Unmute "DACR Mixer AIFDA0R" with toogling "m"
Set "digital volume" to "0".
Set "headphone volume" to "75".
» Installing und setup Samba
How to copy your files from your Windows machine to your Pine64 - Use SFTP or... Let's install Samba!
Code: apt-get install samba-common samba
Create a Samba user to manage your files:
Just set a password for mpd user.
Apply my config to login via Samba with mpd user:
Code: cat <<EOF >/etc/samba/smb.conf
[global]
workgroup = WORKGROUP
server string = Samba Server %v
security = user
dns proxy = no
[mpd]
path = /var/lib/mpd
valid users = mpd
force user = mpd
force group = audio
create mask = 0660
directory mask = 0770
browsable = yes
writable = yes
EOF
Restart Samba.
Code: /etc/init.d/samba restart
Now you are able to copy your music very easily from Windows to your Pine64.
Just add a "Network ressource" on Windows with the following path:
Code: \\ip-address-of-pine64\mpd
Username: mpd
Password: You have choosen it with "smbpasswd -a mpd"
![[Image: mpdbsufd.png]](https://abload.de/img/mpdbsufd.png)
» Control your MPD via IR remote control
Control your MPD server with the official IR remote control by Pine64!
You need to install "keybinder", to re-mapping the keys of your IR remote control to execute commands.
Code: apt-get install unzip gcc make
cd ~
mkdir keybinder
cd keybinder
wget https://github.com/elopez/keybinder/archive/master.zip
unzip master.zip
cd keybinder-master/
make
make install
cd ~
rm -r ~/keybinder
Use "evtest" to determine the event input of IR receiver:
Code: apt-get install evtest
evtest
Choose the event number with "sunxi_ir_recv".
The event number depends of the plugged in usb devices!!!
Code: root@pine64:~# evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: sunxi-keyboard
/dev/input/event1: axp81x-supplyer
/dev/input/event2: sunxi-ths
/dev/input/event3: audiocodec sunxi Audio Jack
/dev/input/event4: sunxi_ir_recv
/dev/input/event5: MCE IR Keyboard/Mouse (sunxi-rc-recv)
Now press a few buttons on your IR remote control.
You should see some entries like...
Code: Testing ... (interrupt to exit)
Event: time 1490184760.781095, type 4 (EV_MSC), code 4 (MSC_SCAN), value 40400d
Event: time 1490184760.781095, type 1 (EV_KEY), code 13 (KEY_EQUAL), value 1
Event: time 1490184760.781095, -------------- SYN_REPORT ------------
Event: time 1490184761.023186, type 1 (EV_KEY), code 13 (KEY_EQUAL), value 0
Event: time 1490184761.023186, -------------- SYN_REPORT ------------
Event: time 1490184761.793386, type 4 (EV_MSC), code 4 (MSC_SCAN), value 404010
Event: time 1490184761.793386, type 1 (EV_KEY), code 16 (KEY_Q), value 1
Event: time 1490184761.793386, -------------- SYN_REPORT ------------
Event: time 1490184762.043188, type 1 (EV_KEY), code 16 (KEY_Q), value 0
Event: time 1490184762.043188, -------------- SYN_REPORT ------------
Event: time 1490184762.734733, type 4 (EV_MSC), code 4 (MSC_SCAN), value 404011
Event: time 1490184762.734733, type 1 (EV_KEY), code 17 (KEY_W), value 1
Event: time 1490184762.734733, -------------- SYN_REPORT ------------
Event: time 1490184762.983185, type 1 (EV_KEY), code 17 (KEY_W), value 0
Event: time 1490184762.983185, -------------- SYN_REPORT ------------
Event: time 1490184763.508206, type 4 (EV_MSC), code 4 (MSC_SCAN), value 40400e
Event: time 1490184763.508206, type 1 (EV_KEY), code 14 (KEY_BACKSPACE), value 1
Event: time 1490184763.508206, -------------- SYN_REPORT ------------
Event: time 1490184763.753183, type 1 (EV_KEY), code 14 (KEY_BACKSPACE), value 0
Event: time 1490184763.753183, -------------- SYN_REPORT ------------
Event: time 1490184764.026059, type 4 (EV_MSC), code 4 (MSC_SCAN), value 40400b
Event: time 1490184764.026059, type 1 (EV_KEY), code 11 (KEY_0), value 1
Event: time 1490184764.026059, -------------- SYN_REPORT ------------
Event: time 1490184764.273206, type 1 (EV_KEY), code 11 (KEY_0), value 0
Event: time 1490184764.273206, -------------- SYN_REPORT ------------
Now we can work with keybinder
Code: keybinder /dev/input/eventX
X depends on the event number of your IR receiver!!!
You got the number by evtest.
Feel free to apply my config or create your own.
Code: cat <<EOF >/etc/keybinder.conf
24,mpc volume +10 # Set the volume +10
23,mpc volume -10 # Reduce the volume -10
16,mpc prev # Play previous track
17,mpc next # Play next track
13,mpc toggle # Play/Pause playback
69,mpc random # De-/Activate random playback
77,shutdown -h now # Shutdown the Pine64
EOF
![[Image: ir_remote_controlwkus1.png]](https://abload.de/img/ir_remote_controlwkus1.png)
Start keybinder automatically on boot.
Code: (crontab -l ; echo "@reboot /usr/bin/screen -dmS keybinder /usr/local/bin/keybinder /dev/input/eventX")| crontab -
X depends on the event number of your IR receiver!!!
» My own setup
![[Image: img_20170311_212802wauce.jpg]](https://abload.de/img/img_20170311_212802wauce.jpg)
![[Image: img_20170312_1337249cu2d.jpg]](https://abload.de/img/img_20170312_1337249cu2d.jpg)
Have fun with it 
Best regards
Julian
|
|
|
Forum Restructuring |
Posted by: pineadmin - 03-20-2017, 09:33 AM - Forum: News
- No Replies
|
 |
We will restructure this forum within this 1 to 2 weeks time after we had finalized the new forums structure with the moderators. Example of changes discussed are:
- Software and Hardware/Accessories main forums will be merged under a new main forum named "PINE A64(+)".
- All OS related forums will be moved into a new forum called "Software and OS".
- A new main SOPINE forum will be created.
- Some unpopular sub-forums' threads will be moved into their parent forum.
Existing Threads under the old forums will be moved to their new forums accordingly.
|
|
|
|