Jump to content

Ермаков Влад

  • Posts

  • Joined

  • Last visited

Recent Profile Visitors

2412 profile views
  1. Hi, does anyone have experience of using this: https://ru.aliexpress.com/item/Raspberry-pi-2-HIFI-DAC-I2S-Interface-Special-HIFI-DAC-Audio-Sound-Card-Modulecompatible-raspberry-pi/32652350376.html device on Orange Pi PC Plus I have modifyed script.bin file: [twi1] twi_used = 0 and [pcm0] daudio_used = 1 Then i saw in pulse audio new device, called "sndaudio" aplay say this: root@orangepipcplus:~# aplay -l **** Список PLAYBACK устройств **** карта 0: audiocodec [audiocodec], устройство 0: SUNXI-CODEC sndcodec-0 [] Подустройства: 1/1 Подустройство №0: subdevice #0 карта 1: snddaudio [snddaudio], устройство 0: SUNXI-TDM0 snddaudio-0 [] Подустройства: 1/1 Подустройство №0: subdevice #0 карта 2: sndhdmi [sndhdmi], устройство 0: SUNXI-HDMIAUDIO sndhdmi-0 [] Подустройства: 1/1 Подустройство №0: subdevice #0 But still no sound in browser or Kodi (ofc i selected sndaudio as output source) Is there something missing? Maybe i havent added some modules to kernel? Or i should not use 40pin connector?
  2. Be careful! After updating to Armbian 5.36, script.bin and ads7846 changes to default! To use touch again you must edit script.bin again, copy ads7846.ko at post below, do modprobe again and reboot
  3. See the picture at post. Connect CS pin an a pin between CS and IRQ (use solder). Then insert screen into Orange PI. I dont use micro-usb as additional power source, but its recommend.
  4. After 6 month of break i have a little success. So here is a result: YT As Khandoker Mazidul Haque told, there was a connection problem. To make device work connect CS pin and a pin nearby: (i connected to IC, because i damaged CS pin) After connection, install this driver: https://github.com/Tomasz-Mankowski/ADS7846-X11-daemon and calibrate touch Crete file at your home dir: for ex autorun.sh and insert this: #!/bin/bash sudo nohup /home/USER_NAME/ADS7846-X11-daemon/ADS7846-X11 --cfile /home/USER_NAME/ADS7846-X11-daemon/calibpoints.cal > /dev/null 2>&1 & Edit sudoers to run driver without password: USER_NAME ALL=(ALL) NOPASSWD: /home/USER_NAME/autorun.sh USER_NAME ALL=(ALL) NOPASSWD: /home/USER_NAME/ADS7846-X11-daemon/ADS7846-X11 USER_NAME ALL= NOPASSWD: /home/USER_NAME/autorun.sh USER_NAME ALL= NOPASSWD: /home/USER_NAME/ADS7846-X11-daemon/ADS7846-X11 Make autorun.sh excutable - chmod +x autorun.sh To make driver work at startup add to rc.local line before "exit 0" sudo bash /home/vlad/autorun.sh Save and reboot. Works on default script.bin UPD: Tested these method Mike R9FT's post - works. Just edit script bin, copy .ko file and sudo modprobe ads7846.ko -f (or sudo modprobe ads7846 -f)
  5. Hi, i dont know how to automaticly run kodi after boot. I used: rc.local: chmod +x /home/vlad/autorun sudoers: autorun: But kodi doesnt run after desktop is loaded. Maybe i missed some params?
  6. Hi, im using 5" lcd whith xpt2046 touchcontroller. HDMI works, but touch still doesnt board - Orange Pi PC Plus kernel 3.4.113-sun8i module ads7846.ko at /lib/modules/3.4.113-sun8i/kernel/drivers/input/touchscreen
  7. Good day. I've purchased lcd 5'inch LCD. I have some troubles with HDMI connection (no image), but i fixed it using this topic: link. (drivers at disk doesnt take any effect) But i can not run touchpad. I used different hints but god no effect board - Orange Pi PC Plus kernel 3.4.113-sun8i module ads7846.ko at /lib/modules/3.4.113-sun8i/kernel/drivers/input/touchscreen My script bin: I've glad to here any advice.
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines