Support for: 7″ Touchscreen Monitor for Raspberry Pi

Suggestions/requests/ideas for RuneAudio core features and functions

Re: Support for: 7″ Touchscreen Monitor for Raspberry Pi

Postby wridley » 21 Apr 2016, 22:56

wridley wrote:I downloaded and install the latest image -RuneAudio_rpi_0.3-beta_20141029_2GB and things were working fine. I then went and upgraded the kernal and firmware by running the command pacman -Sy --force raspberrypi-firmware-bootloader linux-raspberrypi

Upon reboot I have no audio output interface. How do I get it back. I was just using the analog output on the raspberry pi itself. I am using a RaspberryPi 2

Thanks


Ok...... I remembered that I has a cheap Sainsmart HIFI Dac that came as a replacement for dead components so I decided to throw that on and see what happened. With enabling the hifiberry-dacplus I now have sound again. Only option is the hifiberry but it works!!
wridley
 
Posts: 3
Joined: 21 Jan 2016, 00:42

Re: Support for: 7″ Touchscreen Monitor for Raspberry Pi

Postby PiFi » 22 Apr 2016, 12:32

Hi flipphos & Frank,

I too have been struggling to get xinput_calibrator to work. (I'm using the march 2016 image for Pi2 and Pi3 on a Pi2).
It wasn't installed, so first I did

Code: Select all
pacman -S xinput_calibrator


I got xinput_calibrator to work through .xinitrc, but then you never get to see its output. xinput_calibrator does no configuration/calibration by itself, so that is an issue (it gives text output that you're supposed to paste in a config file by yourself).

In the end, what worked for me (and may be handy for others), is the following change to .xinitrc:

Code: Select all
#!/bin/bash
export XDG_CACHE_HOME="/tmp/.cache" &
export DISPLAY=":0" &

# start the touchscreen calibration utility
# needed for some screens (Pollin 7" tft)
# for this to work you have to disable loading midori
#xinput_calibrator &

# turn on display power management, set to 15 minutes
xset -dpms 0 0 9000 &

# turn off screensaver
xset s off &

# start the window manager without titlebar and mouse
matchbox-window-manager -use_titlebar no -use_cursor no &

# install multimedia keyboard shortcuts
xbindkeys &

# start midori in privat mode with fullscreen display
#midori -p -e Fullscreen http://localhost
xinput_calibrator > /var/log/xinput_calib.log


Note there is no & at the end of the xinput_calibrator line, it does not work for me with & added.
The nice thing about this trick is that then you can go to /var/log/xinput_calib.log to see what it outputted.

In my case, the following:
Code: Select all
[root@runeaudio log]# cat xinput_calib.log
        Setting calibration data: 0, 4095, 0, 4095
Calibrating EVDEV driver for "Microchip Technology Inc. AR1100 HID-MOUSE" id=6
        current calibration values (from XInput): min_x=0, max_x=4095 and min_y=0, max_y=4095

Doing dynamic recalibration:
        Setting calibration data: 85, 3992, 19, 4097
        --> Making the calibration permanent <--
  copy the snippet below into '/etc/X11/xorg.conf.d/99-calibration.conf' (/usr/share/X11/xorg.conf.d/ in some distro's)
Section "InputClass"
        Identifier      "calibration"
        MatchProduct    "Microchip Technology Inc. AR1100 HID-MOUSE"
        Option  "Calibration"   "85 3992 19 4097"
        Option  "SwapAxes"      "0"
EndSection


So then I added that config to /etc/X11/xorg.conf.d/99-calibration.conf (had to create that file), re-edited .xinitrc to disable xinput_calibrator again, and enable midori, and then reboot.

That did the trick for me! I hope this is helpful to others!

Regards,
PiFi
The saddest aspect of life right now is that science gathers knowledge faster than society gathers wisdom. - Asimov
PiFi
 
Posts: 3
Joined: 22 Apr 2016, 12:20

Re: Support for: 7″ Touchscreen Monitor for Raspberry Pi

Postby hondagx35 » 22 Apr 2016, 13:14

Hi PiFi,

thank you for the tip.

xinput_calibrator > /var/log/xinput_calib.log

This will be changed with the next image.

It wasn't installed, so first I did

I checked this again and it is installed on the latest image.

Frank
User avatar
hondagx35
Moderator
 
Posts: 2589
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Support for: 7″ Touchscreen Monitor for Raspberry Pi

Postby PiFi » 22 Apr 2016, 17:59

Hi Frank,

you're very welcome. Thank you (and all other contributors) for creating such a great system! I'm loving it.

From your comment, it would seem that I'm not using the latest image then (I'm using RuneAudio_rpi2_rp3_0.4-beta_20160321_2GB.img). Can you point me to where I can find the latest?

Thanks!
PiFi
The saddest aspect of life right now is that science gathers knowledge faster than society gathers wisdom. - Asimov
PiFi
 
Posts: 3
Joined: 22 Apr 2016, 12:20

Re: Support for: 7″ Touchscreen Monitor for Raspberry Pi

Postby piccy » 08 May 2016, 12:09

Am using the touch display and apart from a wish to make control icons larger it works ok , it also seems to be more responsive when used with a pi3 which i have just fitted in place of pi2 ,

my question is are there any issues with screen burn on lcd monitors ? , if there is can a screensaver be implemented or the screen blanked when not been touched for say 5 mins ?

thanks
piccy
 
Posts: 8
Joined: 30 Mar 2016, 19:32

Re: Support for: 7″ Touchscreen Monitor for Raspberry Pi

Postby morias » 08 May 2016, 13:14

piccy wrote:Am using the touch display and apart from a wish to make control icons larger it works ok , it also seems to be more responsive when used with a pi3 which i have just fitted in place of pi2 ,

my question is are there any issues with screen burn on lcd monitors ? , if there is can a screensaver be implemented or the screen blanked when not been touched for say 5 mins ?

thanks


Look for the discussion about xset dpms 0 0 300 & a few pages back in this thread for instructions. It will blank the screen after 5 minutes. Touching it again wakes it up.


Sent from my iPad using Tapatalk
morias
 
Posts: 22
Joined: 10 Nov 2015, 01:22

Re: Support for: 7″ Touchscreen Monitor for Raspberry Pi

Postby darknix » 06 Jun 2016, 08:44

Hello,
I am new to this platform, and I'm building a player system, with the following:
Hardware:
Raspberry Pi 2 model B
IQaudio Pi-Dac+
Waveshare 5 inch HDMI LCD (B) touchscreen with USB


Software:
RuneAudio_rpi2_rp3_0.4-beta_20160321_2GB.img

I managed to make the system play songs with the sound card, showing the control panel on the 5 inches screen. But I'm having trouble making the touch work.
I have try to install and run "DISPLAY=:0 xinput_calibrator" both remotely and locally on the pi 2 itself, and results in
Code: Select all
[root@runeaudio ~]# DISPLAY=:0 xinput_calibrator
Error: No calibratable devices found.


Then I have ran "lsusb" and result:
Code: Select all
[root@runeaudio ~]# lsusb
Bus 001 Device 006: ID 0781:5575 SanDisk Corp.
Bus 001 Device 004: ID 0eef:0005 D-WAV Scientific Co., Ltd
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Then I have tested the touchscreen with the Waveshare Raspbian image and the touch works.

I have be testing the system for 2 days and I couldn't make the touchscreen to work.
Can anyone point me to the right direction on solving this issue?

Thank you.
darknix
 
Posts: 2
Joined: 06 Jun 2016, 07:28

Re: Support for: 7″ Touchscreen Monitor for Raspberry Pi

Postby hondagx35 » 06 Jun 2016, 09:43

Hi darknix,

welcome to RuneAudio.

Can anyone point me to the right direction on solving this issue?

Please try this.

Frank
User avatar
hondagx35
Moderator
 
Posts: 2589
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Support for: 7″ Touchscreen Monitor for Raspberry Pi

Postby darknix » 07 Jun 2016, 02:10

Frank,
Thank you very much for the reply.

I am working on it.

Edit:
I have finished the steps in https://wiki.archlinux.org/index.php/Multitouch_displays
Unfortunately the touch is still does not work after reboot.
darknix
 
Posts: 2
Joined: 06 Jun 2016, 07:28

Re: Support for: 7″ Touchscreen Monitor for Raspberry Pi

Postby raid3868 » 12 Jun 2016, 02:09

Hi,

I have raspberry pi 3 + DAC + 7" LCD touchscreen and think work very well, Thank you to renuaudio hardworking to
bring this feature and is great.

Got some issue below.

1). On local lcd on top of the left hand side is display clock instead of Renuaudio logo, and the clock display is different from the system time. How can i change to Renuaudio logo or get to display the actual system time?

2). Possible to set the brightness of lcd on startup?

Hope someone can help.

Thank you very much.
raid3868
 
Posts: 4
Joined: 06 Jun 2015, 07:42

support RuneAudio Donate with PayPal

PreviousNext

Return to Feature request

Who is online

Users browsing this forum: No registered users and 5 guests