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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,671
» Latest member: Maryam6778
» Forum threads: 16,246
» Forum posts: 117,150

Full Statistics

Latest Threads
Pinebook Pro for sale
Forum: General Discussion on Pinebook Pro
Last Post: rfm83
1 hour ago
» Replies: 0
» Views: 10
What is wrong with the Mo...
Forum: General Discussion on PinePhone
Last Post: Mahgue
5 hours ago
» Replies: 0
» Views: 27
StarPro64 Irradium (based...
Forum: Getting Started
Last Post: mara
Yesterday, 01:12 PM
» Replies: 12
» Views: 5,791
compass pdf link expired:...
Forum: General Discussion on PinePhone
Last Post: WhiteHexagon
Yesterday, 12:33 PM
» Replies: 2
» Views: 92
Wake up Call
Forum: General Discussion on PinePhone
Last Post: biketool
11-06-2025, 06:18 AM
» Replies: 6
» Views: 346
Reinstallation Arch Linux...
Forum: General Discussion on PineTab
Last Post: victor_yeh
11-05-2025, 11:17 PM
» Replies: 0
» Views: 67
I think you can try compi...
Forum: General Discussion on Pinebook Pro
Last Post: wangyukunshan
11-05-2025, 02:25 AM
» Replies: 0
» Views: 114
Second screen mirroring
Forum: General
Last Post: OpalTromp
11-04-2025, 09:53 PM
» Replies: 2
» Views: 1,754
kivy app keeping focus wh...
Forum: Mobian on PinePhone
Last Post: Kevin Kofler
11-04-2025, 08:37 PM
» Replies: 1
» Views: 107
How to add an homemade ap...
Forum: Mobian on PinePhone
Last Post: JChdeL
11-04-2025, 04:13 AM
» Replies: 3
» Views: 334

 
  SOPINE controller?
Posted by: Paraplegic Racehorse - 02-08-2017, 01:39 PM - Forum: P64-LTS / SOPINE Hardware, Accessories and POT - Replies (4)

Is anybody working on a POT to mount and control one or more SOPINE or RPi-CM sticks?


  Orange Screen All versions of Android TV
Posted by: XsoundXhoundX - 02-08-2017, 09:43 AM - Forum: Android on Pine A64(+) - Replies (17)

I just got my Pinea64 2gb a few days ago and have been trying to get android TV to boot on it. I was able to get the official Ubuntu mate image to work so I know the board isn't bad. I have tried android tv 5.1.1, 6.0, and 7.0. All that happens when I plug it in and turn it on is the screen I'm using (both 1080p one is a large TV and one is a computer monitor, both are using straight HDMI) turns orange and after 10-15 seconds goes black and comes back as orange for 3 minutes before restarting again. Any ideas?


  Analog Amplifier for Pine64
Posted by: mbt28 - 02-08-2017, 08:53 AM - Forum: POT modules - Replies (2)

Hi,

I would like to make an car amplifier extension board. Can anyone suggest me about the following topics:

- Volume adjustment (volume can be adjusted over I2C, what is the best way, adjusting volume of analog output of pine64 or tas524C)
- Audio input, there are four channels, pine64 has only 2 ch output. How can I do it?
- Fault, Mute, standby, clip_otw, is it necessary to use these pins with Pine?

http://www.ti.com/lit/ds/symlink/tas5424c-q1.pdf
(typical application circuit attached)

Thanks



Attached Files Thumbnail(s)
   

  is there a good place to learn how to compile a release
Posted by: rxb - 02-07-2017, 06:38 PM - Forum: Android on Pine A64(+) - No Replies

i really appreciate what ayufan is doing. but i'd really prefer doing it myself.


is there anywhere i could find good tutorials for how to put an android release together?


  5.25 V _ ... 2A Power USB Adapter
Posted by: Guest2000 - 02-07-2017, 02:47 PM - Forum: Getting Started - Replies (4)

Is it safe to use 5.25V with 2A for Pine64+ ?
A64 - DB - 2G - Rev B
2016-03-21


  Better WiFi/BT module?
Posted by: fonix232 - 02-07-2017, 01:20 PM - Forum: Wifi/BT Module - Replies (20)

Would it be possible for a 3rd party to create a better module?

I believe with the SDIO interface, it should be possible to implement a Broadcom BCM4356 (which supports SDIO v3.0 for WiFi and GPIO for BT4.0), and achieve WiFi speeds up to 867Mbps (not to mention this chip has a built-in FM receiver, which could also be used).

Also I understand that this would raise prices for such a wireless module, but for many, it would be a better choice (especially as there's no PCIe or USB3.0 port onboard). I just feel like 150Mbps is quite limited for such a versatile device.


  pine64 not booting
Posted by: bgwATbewas - 02-06-2017, 12:49 PM - Forum: Debian - Replies (4)

Hi there,
I get it installed and up running with Debian. It was continuously on for several days, with some pauses when I shut it down. Then I moved with it to our second home and there i did not get it up anymore. I noted that it did something and got through some initial steps, but then it shut down itself. Now does not even show any signs of activity. When plugged in the red led is on, but no signs of activity. I checked the micro SD card and it seems OK as far as I can see. Any ideas where to start looking for a solution.
Regards Björn


  corrupt microsd card after reboot
Posted by: maxpayne - 02-06-2017, 12:24 PM - Forum: Getting Started - Replies (6)

The microsd card and my Pine A64 2GB becomes corrupted after a reboot, shutdown or power outage, which in turn leads to various bugs or renders the system unbootable, even after repairing the card using fsck.

Could anyone please tell me if this could be related to the microsd card brand(it is a fast Kingston model) or if it means my Pine A64 is defective and good to go to the trash can.

This problem occurs on all Pine A64 images I've tried: ubuntu, android and debian.

Thank you in advance.


  help with LCD touch configuration using tslib
Posted by: Learnincurve - 02-06-2017, 02:30 AM - Forum: Armbian - No Replies

Hi,

  I bought a Pine64+ board and screen, with a view to using it as a Squeezebox Touch replacement through a USB dac. The board ticks a lot of the hardware boxes for a Squeezebox Touch, with dedicated ethernet and USB ports/busses.

Armbian runs out of the box and supports the touchscreen - at least with legacy 3.10.104 kernel. With mainline kernel (4.10 at time of writing) touchscreen support is available through the generic "goodix" module, but this requires some extra configuration.  I have not yet evaluated the mainline kernel's readiness to run the system that I have in mind.

Using Armbian legacy  (3.10.104), I have installed the packaged Squeezelite from the Armbian repository and Jivelite compiles and runs without errors using

https://github.com/sindrom91/LuaJIT/tree/ARM64

Athough touch events work perfectly in Xfce, they are "all over the place" in Jivelite, so I'm trying to create a tslib/SDL calibration.


Just now I'm struggling with
"tslib: Selected device is not a touchscreen (must support ABS and KEY event types)"

Googling throws up one or two bits of advice, such as:

From http://http://www.cubieforums.com/index....v.html#new:

Quote:Check if input-raw.c has:
    if ((ioctl(ts->fd, EVIOCGBIT(EV_ABS, sizeof(absbit)), absbit)) < 0 ||
       !(absbit[BIT_WORD(ABS_X)] & BIT_MASK(ABS_X)) ||
       !(absbit[BIT_WORD(ABS_Y)] & BIT_MASK(ABS_Y))) {
      /*fprintf(stderr, "tslib: Selected device is not a touchscreen (must support ABS_X and ABS_Y events)\n");
      return -1;*/
    }

if not, edit the file and comment the lines."


and 
from http://stackoverflow.com/questions/11937...-calibrate:

Quote:Try to add

input_dev = input_allocate_device();
[..]
set_bit(EV_ABS, input_dev->evbit);
set_bit(EV_KEY, input_dev->evbit);
So that the tslib sees the device as supporting both EV_ABS and EV_KEY events (even if it does not actually send both of those).

(I'm assuming this should also be in input-raw.c)

If I look at my own input-raw.c, I see:

Code:
static int check_fd(struct tslib_input *i)
{
        struct tsdev *ts = i->module.dev;
        int version;
        long evbit[BITS_TO_LONGS(EV_CNT)];
        long absbit[BITS_TO_LONGS(ABS_CNT)];
        long keybit[BITS_TO_LONGS(KEY_CNT)];
        long synbit[BITS_TO_LONGS(SYN_CNT)];

        if (ioctl(ts->fd, EVIOCGVERSION, &version) < 0) {
                fprintf(stderr, "tslib: Selected device is not a Linux input event device\n");
                return -1;
        }

        /* support version EV_VERSION 0x010000 and 0x010001
         * this check causes more troubles than it solves here */
        if (version < EV_VERSION)
                fprintf(stderr, "tslib: Warning: Selected device uses a different version of the event protocol than tslib was compiled for\n");

        if ( (ioctl(ts->fd, EVIOCGBIT(0, sizeof(evbit)), evbit) < 0) ||
                !(evbit[BIT_WORD(EV_ABS)] & BIT_MASK(EV_ABS)) ||
                !(evbit[BIT_WORD(EV_KEY)] & BIT_MASK(EV_KEY)) ) {
                fprintf(stderr, "tslib: Selected device is not a touchscreen (must support ABS and KEY event types)\n");
                return -1;
        }

        if ((ioctl(ts->fd, EVIOCGBIT(EV_ABS, sizeof(absbit)), absbit)) < 0 ||
            !(absbit[BIT_WORD(ABS_X)] & BIT_MASK(ABS_X)) ||
            !(absbit[BIT_WORD(ABS_Y)] & BIT_MASK(ABS_Y))) {
                if (!(absbit[BIT_WORD(ABS_MT_POSITION_X)] & BIT_MASK(ABS_MT_POSITION_X)) ||
                    !(absbit[BIT_WORD(ABS_MT_POSITION_Y)] & BIT_MASK(ABS_MT_POSITION_Y))) {
                        fprintf(stderr, "tslib: Selected device is not a touchscreen (must support ABS_X/Y or ABS_MT_POSITION_X/Y events)\n");
                        return -1;
                }
        }

        /* Since some touchscreens (eg. infrared) physically can't measure pressure,
         * the input system doesn't report it on those. Tslib relies on pressure, thus
         * we set it to constant 255. It's still controlled by BTN_TOUCH/BTN_LEFT -
         * when not touched, the pressure is forced to 0. */
        if (!(absbit[BIT_WORD(ABS_PRESSURE)] & BIT_MASK(ABS_PRESSURE)))
                i->no_pressure = 1;

        if ((ioctl(ts->fd, EVIOCGBIT(EV_KEY, sizeof(keybit)), keybit) < 0) ||
                !(keybit[BIT_WORD(BTN_TOUCH)] & BIT_MASK(BTN_TOUCH) ||
                  keybit[BIT_WORD(BTN_LEFT)] & BIT_MASK(BTN_LEFT))) {
                fprintf(stderr, "tslib: Selected device is not a touchscreen (must support BTN_TOUCH or BTN_LEFT events)\n");
                return -1;
        }

        /* Remember whether we have a multitouch device. We need to know for ABS_X,
         * ABS_Y and ABS_PRESSURE data. */
        if ((absbit[BIT_WORD(ABS_MT_POSITION_X)] & BIT_MASK(ABS_MT_POSITION_X)) &&
            (absbit[BIT_WORD(ABS_MT_POSITION_Y)] & BIT_MASK(ABS_MT_POSITION_Y)))
                i->mt = 1;

        /* remember if we have a device that doesn't support pressure. We have to
         * set pressure ourselves in this case. */
        if (i->mt && !(absbit[BIT_WORD(ABS_MT_PRESSURE)] & BIT_MASK(ABS_MT_PRESSURE)))
                i->no_pressure = 1;

        if (evbit[BIT_WORD(EV_SYN)] & BIT_MASK(EV_SYN))
                i->using_syn = 1;

        if ((ioctl(ts->fd, EVIOCGBIT(EV_SYN, sizeof(synbit)), synbit)) == -1)
                fprintf(stderr, "tslib: ioctl error\n");

        /* remember whether we have a multitouch type A device */
        if (i->mt && synbit[BIT_WORD(SYN_MT_REPORT)] & BIT_MASK(SYN_MT_REPORT) &&
            !(absbit[BIT_WORD(ABS_MT_SLOT)] & BIT_MASK(ABS_MT_SLOT)))
                i->type_a = 1;

        if (i->grab_events == GRAB_EVENTS_WANTED) {
                if (ioctl(ts->fd, EVIOCGRAB, (void *)1)) {
                        fprintf(stderr, "tslib: Unable to grab selected input device\n");
                        return -1;
                }
                i->grab_events = GRAB_EVENTS_ACTIVE;
        }

        return ts->fd;
}

                 


and I can't see why the test is failing as
  • TS_INFO_FILE=/sys/devices/virtual/input/input6/uevent:
          I: Bus=0018 Vendor=dead Product=beef Version=28bb
            N: Name="gt9xxf_ts"
            P: Phys=input/goodix-ts
            S: Sysfs=/devices/virtual/input/input6
            U: Uniq=
            H: Handlers=event5 autohotplug cpufreq_interactive 
            B: PROP=2
            B: EV=b
            B: KEY=400 0 0 0 0 0
            B: ABS=265000000000000
  • # evtest /dev/input/event5
            Input driver version is 1.0.1
            Input device ID: bus 0x18 vendor 0xdead product 0xbeef version 0x28bb
            Input device name: "gt9xxf_ts"
            Supported events:
            Event type 0 (EV_SYN)
            Event type 1 (EV_KEY)
                Event code 330 (BTN_TOUCH)
            Event type 3 (EV_ABS)
                Event code 48 (ABS_MT_TOUCH_MAJOR)
                    Value      0
                    Min        0
                    Max      255
                Event code 50 (ABS_MT_WIDTH_MAJOR)
                    Value      0
                    Min        0
                    Max      255
                Event code 53 (ABS_MT_POSITION_X)
                    Value      0
                    Min        0
                    Max     1024
                Event code 54 (ABS_MT_POSITION_Y)
                    Value      0
                    Min        0
                    Max      600
                Event code 57 (ABS_MT_TRACKING_ID)
                    Value      0
                    Min        0
                    Max      255
            Properties:
                Property type 1 (INPUT_PROP_DIRECT)

Can anyone point me in the right direction to getting the device calibrated?

I figure that if I (with help) can get this working, it might be an excellent and cheap squeezebox touch alternative.

BR.

--Marius-


  Multiple Pine64s on Network Fail
Posted by: JCMPine64 - 02-05-2017, 08:08 PM - Forum: General Discussion on PINE A64(+) - Replies (2)

I have been having a heck of a time trying to get 2 Pine64s to work on the same LAN. 

Router - Verizon ActionTec - I know, I know.  It sucks.

Pine64 1
Hostname: Pine64Server2
Static IP: 192.168.1.100
OS: Ubuntu headless

This works fine.  When I first plug it in after flashing the OS, it comes up as just an address (like 192.168.1.8) or I think it used to come up as "Pine64." I change the hostname (and hosts) and set the static IP and it works great. 

Here's where things get wonky.  When I try to add a second Pine64, flashed with the same OS, two things happen (or don't happen):
Pine 64 2
Hostname: Pine64 (default)
IP: DHCP
OS: Ubuntu headless

When I look on the router, suddenly my original Pine64 at 192.168.1.100 is named "Pine64" and I can't see the new Pine64 listed on the router and I can't Putty into it.

Am I doing something wrong?

Thanks