Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 28,506
» Latest member: jennybaso
» Forum threads: 15,843
» Forum posts: 115,305

Full Statistics

Latest Threads
bookworm vs trixie discus...
Forum: Mobian on PinePhone
Last Post: zetabeta
49 minutes ago
» Replies: 34
» Views: 6,358
2G, 3G still is in phone.
Forum: General Discussion on PinePhone
Last Post: jennybaso
Yesterday, 03:49 AM
» Replies: 5
» Views: 662
Pinetab 2 Not Powering On...
Forum: General
Last Post: FortranTraffic
09-18-2024, 04:27 PM
» Replies: 0
» Views: 31
Need Help Choosing the Ri...
Forum: General
Last Post: jacoballen
09-18-2024, 06:13 AM
» Replies: 0
» Views: 59
PinePhone Pro EDL boot by...
Forum: PinePhone Pro Hardware
Last Post: biketool
09-18-2024, 04:59 AM
» Replies: 3
» Views: 870
SailfishOS on PT2: flashi...
Forum: PineTab Software
Last Post: schuster2
09-18-2024, 02:44 AM
» Replies: 2
» Views: 613
The program doesn`t detec...
Forum: Mobian on PinePhone
Last Post: Kevin Kofler
09-17-2024, 03:45 PM
» Replies: 6
» Views: 1,153
Danctnix Linux still main...
Forum: General Discussion on PineTab
Last Post: zetabeta
09-17-2024, 12:54 PM
» Replies: 9
» Views: 1,320
Wrong GPS Position
Forum: PinePhone Hardware
Last Post: biketool
09-16-2024, 04:11 AM
» Replies: 2
» Views: 1,315
various tricks to open th...
Forum: PinePhone Hardware
Last Post: biketool
09-16-2024, 03:42 AM
» Replies: 3
» Views: 1,143

 
  Visual Pinball?
Posted by: momaw27 - 03-12-2016, 08:16 PM - Forum: Pine A64 Projects, Ideas and Tutorials - Replies (2)

Hey all!

While anxiously waiting for my PINE64 to arrive my mind has been racing with all the cool things I might be able to do with it.

One thing I'd like to try to do is turn it into a virtual PINEball machine.

I was wondering if anyone knew if the PINE64 is capable of running Visual Pinball or Future Pinball?

Thanks!


  Accelerated H.264 and HEVC video decoding with Cedrus
Posted by: longsleep - 03-12-2016, 01:27 PM - Forum: Linux on Pine A64(+) - Replies (73)

Starting with Kernel 3.10.65-2-pine64-longsleep-43 the media modules are included. This means one could use the hardware video engine on the SoC. So i felt why not try it - and surprisingly it worked Smile.

Pine64 decodes 1080p H.264 and HEVC just fine and smooth with Cedrus from linux-sunxi community.

You can do it yourself following the Cedrus build instructions on http://linux-sunxi.org/Cedrus

HEVC bbb-1920x1080-cfg02.mkv

Code:
MPlayer 1.2.1 (Debian), built with gcc-5.3.1 (C) 2000-2016 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing bbb-1920x1080-cfg02.mkv.
libavformat version 56.40.101 (external)
libavformat file format detected.
[lavf] stream 0: video (hevc), -vid 0
[lavf] stream 1: audio (aac), -aid 0
VIDEO:  [HEVC]  1920x1080  0bpp  60.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
encoder: libebml v1.3.0 + libmatroska v1.4.1
creation_time: 2014-04-22 08:46:13
Load subtitles in ./
[VDPAU SUNXI] VE version 0x1689 opened
[VDPAU SUNXI] OSD disabled!
==========================================================================
Forced video codec: ffmpeg12vdpau
Forced video codec: ffh264vdpau
Forced video codec: ffhevcvdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 56.60.100 (external)
Selected video codec: [ffhevcvdpau] vfm: ffmpeg (FFmpeg HEVC / H.265 (VDPAU))
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 6 ch, floatle, 0.0 kbit/0.00% (ratio: 0->1152000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1920x1080 => 1920x1080 HEVC VDPAU acceleration
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1920x1080 => 1920x1080 HEVC VDPAU acceleration
A:   1.9 V:   0.8 A-V:  1.089 ct:  0.056   0/  0 86% 135%  7.5% 50 0


H.264 big_buck_bunny_1080p_H264_AAC_25fps_7200K.MP4
Code:
MPlayer 1.2.1 (Debian), built with gcc-5.3.1 (C) 2000-2016 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing big_buck_bunny_1080p_H264_AAC_25fps_7200K.MP4.
libavformat version 56.40.101 (external)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb6fd8688]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und
VIDEO:  [H264]  1920x1080  24bpp  25.000 fps  7254.9 kbps (885.6 kbyte/s)
Clip info:
major_brand: mp42
minor_version: 1
compatible_brands: isommp423gp5
creation_time: 2011-08-04 01:51:12
title: big_buck_bunny_1080p_surround.avi_006.AVI.MP4
artist: created with SUPER(C).v2011.bld.49
encoder: eRightSoft
comment: 09:51:32
Load subtitles in ./
[VDPAU SUNXI] VE version 0x1689 opened
[VDPAU SUNXI] OSD disabled!
==========================================================================
Forced video codec: ffmpeg12vdpau
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 56.60.100 (external)
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, floatle, 96.1 kbit/3.40% (ratio: 12009->352800)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
AO: [alsa] 44100Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1920x1080 => 1920x1080 H.264 VDPAU acceleration
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1920x1080 => 1920x1080 H.264 VDPAU acceleration
A:   7.5 V:   6.7 A-V:  0.776 ct:  0.071   0/  0 60% 42%  1.4% 50 0


Pine64 SoC temperature is stable at around 70C while decoding HEVC 1080p (without a heat sink, no enclosure).

For easy mplayer launches with the correct parameters feel free to use https://github.com/longsleep/build-pine6...er-play.sh


I will not support this overly much, but it confirms that the BSP Kernel has everything which is needed to use the media decoder in the Pine64.

Cheers
Simon


Wink Setting up your own Weather Station
Posted by: carlosviansi - 03-12-2016, 12:07 AM - Forum: Getting Started - Replies (3)

I haven't found yet any post about this, so I am setting one as I work through what I have. 

Disclaimer: I am a noob, don't get biased by my moderator status ;-) 

Alright so let's start by the goal: 

Goal. I need a weather station to be used on a Net-Zero building. They are getting popular in Hawaii, since electricity is expensive here. I just happen to be a hire in a group dealing with those stuff, so I see the potential to use my pine to play around with this.  Tongue I will basically dump my Pine in there and collect some data side-by-side with other sensors that already exist there. I imagine the IoT kit likely would benefit from this as well. 

If you browsed over the backerkit, you will see this:


[Image: CRbR9SD.png]

So, the Humidity/Temperature sensor and the Ambient Sensor call attention right off the bat. But is that all we need? Digging in the wiki, I found this template:

[Image: I2c_Cable_Connection.JPG]

Looking back at the Backetkit, you will notice the I2C POT is the "Pine64 12C Multiport POT. Further digging the wiki you will find how it is connected to the Pine64:

[Image: PMI2C01_I2C_Board_Rev1-3.jpg]

Awesome. Now we got the two main folks plugged in, the next is to worry about the sensors. Where do they go? Looking back at the template, we can see the 12C connector has a 4Way Connector and a 5 Way Connector. Again, referring to the wiki, if we stare close enough we will observe this is the number of pins for each sensor (the "white thing"):

[Image: PMSDO01_Dew_Point_Sensor_Rev1-1.jpg]
[Image: PMSAL01_Light_Sensor_Rev1-1.jpg]


4 and 5 respectively. Inspecting closer the 12C POT we will see it has both 4 and 5 here and there with the 5 names..

Ok great so we see the holes. Now what we are missing is how to plug them in.. and again checking the wiki we get a picture of the actual thing built up:

[Image: PMI2C01_I2C_Board_Rev1-2.jpg] 

Looking at the template again, we can see this is not really the arrangement being shown. Rather it seems closer to this one:

[Image: PMWF01A_Wifi_Remote_IO_Rev3-4.jpg]

Which is plugged to the Wi-Fi module instead....but seems inconsistent with the template naming. Either way, depending on which set-up we go this may influence if we want 4-way cables, 5-way, or 4-to-5 cables as shown on the template. Seeing this also made me wonder: For those who added the wi-fi and blue-tooth module at the $89 tier, can we just go with the second arrangement and avoid building the 12C POT? What else would we plug in there? 

Thats it for now. :-) Hopefully someone with more expertise feels like sharing their know-how here. To this point, the POT Development Board and Z-Wave remain a full mistery to me, other than the later is useful for OpenHub OS as it is part of the IoT kit.  I am also not sure if the USB Serial Programmer is just an extra USB port or if there is anything special to it. 

Again if you know anything about this, please consider starting a thread, or providing educational links or simple reply to this thread ;-)


Question Weather Station and IoT Kits?
Posted by: carlosviansi - 03-11-2016, 09:28 PM - Forum: Pine A64 Projects, Ideas and Tutorials - Replies (14)

Hi folks, has anyone posted yet anything concerning building a weather station with the ambient light sensor and humidity temperature sensor and what else would be needed to assemble one? :-) I've been considering sticking a post with the different combinations and this one appears to have been missing as a package. 

Additionally, has anyone bought the IoT kit? I've been curious on the possibilities and what know-how is required. 

Thanks!


  rs232 port
Posted by: sean - 03-11-2016, 11:18 AM - Forum: POT modules - Replies (2)

Hello All,

I see this list of ports available on the pine64, but I'm a bit unsure if one of these supports rs232. I'm sure rs232 would be supported but I'd just like some confirmation.

http://wiki.pine64.org/images/d/da/Pine64_Connector.JPG

Thanks,
sean


  Shipping courier and duties/fees
Posted by: Informatica - 03-11-2016, 09:52 AM - Forum: Shipment Related Discussion - Replies (18)

Hi all, 
I'm from Europe (Italy) and I'd like to know from other european users:
1) which courier was used to deliver the product to you (DHL, UPS, national post service...)
2) are there duties or fees? (shippings start from USA for us)

Thaks in advance


  WiFi/BT to host wakeup pins?
Posted by: Tommy_2Tall - 03-11-2016, 09:34 AM - Forum: Wifi/BT Module - Replies (2)

Hi!

I had a quick look at what I assume is the datasheet for the Wifi/BT chip/module that is then mounted onto the Pine64 "breakout board" type module.
I found it on the Pine64 Wiki so I assume that's what it is; https://drive.google.com/file/d/0B0cEs0l...9kRDQ/view


There are two pins on the actual IC that caught my interest;
"WLAN to wake-up HOST" (13) and "Bluetooth device to wake-up HOST" (7).

Are those pins be reachable and somehow relevant/useful when connected to the Pine64?
In other words:
would we be able to power up the Pine 64 by sending a simple Wake-On-Wifi package or BT equivalent?

(I'm not sure if there are any smartphone apps easily available that lets us send a Wifi/BT host wakeup "magic package" though)

Being able to boot up the Pine64 that way would be pretty neat, since it could be as simple as a "shortcut" on your smartphone.


  Wiki Update please
Posted by: norm24 - 03-11-2016, 06:32 AM - Forum: General Discussion on PINE A64(+) - Replies (8)

http://wiki.pine64.org/images/7/7d/Pine6...nector.png


please update the wiki this. It would be nice even if then equal to the type specified in the slots.


  Tor relay
Posted by: mane - 03-10-2016, 09:18 AM - Forum: Pine A64 Projects, Ideas and Tutorials - Replies (3)

Hi guys,

As you may know, I have recently received a PINE64 1GB board where I run ubuntu 16.04 xenial and one of the reason for which I wanted to own a PINE64 was to run a Tor relay.

If you are interested on running a Tor relay too, you can find instructions on my last blog post:

http://blog.antani.co/pine64-tor-relay/

Please let me know if anything is missing or could be improved.


  March shipment already locked down?
Posted by: Glychee - 03-09-2016, 05:56 PM - Forum: Shipment Related Discussion - Replies (12)

I thought we'd get a 48 hour warning per lockdown, as we did with feb/early bird, did I miss the warning for march?