please choosego to mobile | Continue to access the PC version
Author: jacer

Debian Jessie with GPU driver, WiringOP, Wifi, Retroarch etc preinstalled

  [Copy link]

0

threads

1

posts

92

credits

Registered member

Rank: 2

credits
92
Published in 2016-3-15 11:11:14 | Show all floors
Hi! How change resolution to 1280x1024?

1

threads

12

posts

47

credits

Novice

Rank: 1

credits
47
Published in 2016-3-16 04:01:22 | Show all floors
gpio edge 16 falling its not working WiringpiISR are not working

3

threads

46

posts

691

credits

Senior member

Rank: 4

credits
691
Published in 2016-3-19 00:53:43 | Show all floors
Edited by mswiniuch at 2016-3-20 01:25

Hello
How to get lirc working on built-in IR? Anyone knows? On OpenElec it is working without problem.
Orange Pi PC

I'd like to use it to control internet radio in my car without keyboard.
Now I use Raspberry Pi with LCD Adafruit Plate but in OPI rather is it impossible... So I think control by remote is only way...

root@OrangePI:~# lsmod
Module                  Size  Used by
sunxi_ir_rx             6793  0
8189es                901572  0

root@OrangePI:~# mode2
mode2: could not get file information for /dev/lirc
mode2: default_init(): No such file or directory

0

threads

1

posts

34

credits

Novice

Rank: 1

credits
34
Published in 2016-3-21 05:29:26 | Show all floors

I have two questions.
First, how to make backup of emmc to SD card. I typed install_to_sdcard, but i got error: script not found. So I copied install_to_sdcard script from loboris image and tried to run it, but i got message about illegal option -n or something like that.
Second is about autostarting apps. Since i'm completely new to Linux, i don't know how things works here. When i was checking programs in start menu, I've found something called LX deafault apps. After running it found Autostart tab, so i've added an Audacious there, and it works. So next I wanted to do the same with qBittorrent, but in this case with no luck. So I tried googling, and I've found some tutorial with combination of sh script and init.d script. I think I've done everything right, but it was not working. In the meantime I've broke something and now i can't even login (it wont accept user/password), so I had to start from scratch (unfortunately I didn't mange to make backup). So I've started whole configuration from beginning, but this time even audacious won't start. So i started googling again, and found out that i can add programs to the list under etc/xdg/lxsession/LXDE-pi/autostart, but also with no luck. I've tried adding only program name and path to the exec file.
So if someone could explain how to make buckup of the emmc and how to make specific application run at system start?

0

threads

3

posts

22

credits

Novice

Rank: 1

credits
22
Published in 2016-3-28 06:07:44 | Show all floors
How to pre-compile rt5370 driver?

10

threads

218

posts

2040

credits

Gold member

Rank: 6Rank: 6

credits
2040
Published in 2016-3-28 22:36:17 | Show all floors
Edited by nopnop2002 at 2016-3-29 04:46
mswiniuch replied at 2016-3-19 00:53
Hello
How to get lirc working on built-in IR? Anyone knows? On OpenElec it is working without proble ...

I have Orange pi PC
built-in IR is works with Debian_jessie.

1.Load module
$ sudo modprobe sunxi-ir-rx

2.Check device
$ cat /proc/bus/input/devices
I: Bus=0019 Vendor=0001 Product=0001 Version=0100
N: Name="sunxi-ir"                                ------> This is a mark
P: Phys=RemoteIR/input1
S: Sysfs=/devices/virtual/input/input2    ------> Your input2 may be different.
U: Uniq=
H: Handlers=sysrq kbd event2 cpufreq_interactive  ------> Your event2 may be different.
B: PROP=0
B: EV=100003
B: KEY=ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe

3.Install evtest
$ sudo apt-get install evtest

4.Check remote
$ sudo evtest /dev/input/event2    -----> Your event2 may be different.
Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x1 product 0x1 version 0x100
Input device name: "sunxi-ir"   ----> This is a mark.
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 1 (KEY_ESC)
    Event code 2 (KEY_1)

 (more)

    Event code 255 (?)
Key repeat handling:
  Repeat type 20 (EV_REP)
    Repeat code 0 (REP_DELAY)
      Value    280
    Repeat code 1 (REP_PERIOD)
      Value     40
Properties:
Testing ... (interrupt to exit)

5.You press a button of the remote control with this timing.
If these messages are indicated,remote is OK.
If there is no message,try other remote control.This receiver is answering to only NEC protocol.

Event: time 1458307272.097859, type 1 (EV_KEY), code 69 (KEY_NUMLOCK), value 1
Event: time 1458307272.097872, -------------- EV_SYN ------------
Event: time 1458307272.377002, type 1 (EV_KEY), code 69 (KEY_NUMLOCK), value 2
Event: time 1458307272.377009, -------------- EV_SYN ------------
Event: time 1458307272.416983, type 1 (EV_KEY), code 69 (KEY_NUMLOCK), value 2
Event: time 1458307272.416987, -------------- EV_SYN ------------
Event: time 1458307272.456974, type 1 (EV_KEY), code 69 (KEY_NUMLOCK), value 0
Event: time 1458307272.456978, -------------- EV_SYN ------------
Event: time 1458307273.060295, type 1 (EV_KEY), code 70 (KEY_SCROLLLOCK), value 1
Event: time 1458307273.060306, -------------- EV_SYN ------------
Event: time 1458307273.306974, type 1 (EV_KEY), code 70 (KEY_SCROLLLOCK), value 0
Event: time 1458307273.306978, -------------- EV_SYN ------------
Event: time 1458307274.540761, type 1 (EV_KEY), code 71 (KEY_KP7), value 1
Event: time 1458307274.540772, -------------- EV_SYN ------------
Event: time 1458307274.786972, type 1 (EV_KEY), code 71 (KEY_KP7), value 0
Event: time 1458307274.786977, -------------- EV_SYN ------------

6.Please follow this article.
https://github.com/cubieplayer/Cubian/issues/75
ambrosa commented on 28 Aug 2013

Sorry my poor English.


3

threads

46

posts

691

credits

Senior member

Rank: 4

credits
691
Published in 2016-3-29 05:47:56 | Show all floors
Edited by mswiniuch at 2016-3-29 05:55

Thank you nopnop2002. Now I have working lirc My OPI is more useful. If we can still run KODI it willl be great.
But I have still one problem. When I have plugged USB dongle from wireless keyboard/touchpad then lirc is on /dev/input/event5, when I ramove dongle then is on /dev/input/event2. Is it possible to attach eventX for IR module?
By the way - to get working remote control in command line we don't need lirc at all - look at post: ua3nbw 09.10.2015, 22:43
http://4pda.ru/forum/lofiversion/index.php?t668774-80.html

7

threads

20

posts

138

credits

Registered member

Rank: 2

credits
138
Published in 2016-4-12 03:49:56 | Show all floors
How to config Wifi connection.
I use
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
add
etwork={
        ssid="my ssid"
        psk="my password"
}

but wifi not connect to accesspoint.
wat should I have to do?

4

threads

1118

posts

9144

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9144
Published in 2016-4-12 04:01:52 | Show all floors
"etwork={" should be "network={" ?

7

threads

20

posts

138

credits

Registered member

Rank: 2

credits
138
Published in 2016-4-13 00:48:49 | Show all floors
when i use wifi , the lan config would dropdown.I can not ping to lan ip or in other word the Lan would not get DHCP IP.
when i unplug wifi and reset OPIone it will be fine and I can ping to Lan port ip.
I use Edup with chipset RTL8188CUs.
what is the problem.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list