Installing the Touch Display plugin

Get help for Volumio here!

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.

Installing the Touch Display plugin

Postby jncraig » Sun Mar 05 2017 00:44

(Yes, I've seen other discussion on this topic, but I'm not sure I've seen an answer that works ... so thanks for hearing me out.)

I made a clean new install of 2.114.

When I install the Touch Display plugin, it gets to 70%, appears to be awaiting input and seemingly stops. After reading some of the comments here, I let it sit for a while (had dinner!), came back, and then refreshed the page. Now the Touch Display plugin shows that it's installed, so I turned it on. For good measure, I also restarted the Volumio.

However, I don't get the Volumio display on the screen. Instead I get the "console" display, I can login and execure commands, etc.

So ... what is the next step?

Thanks.
Random avatar
jncraig
Sunday DIYer
Sunday DIYer
 
Posts: 38
Joined: Wed Dec 02 2015 06:03

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.


Installing the Touch Display plugin

Postby jncraig » Sun Mar 05 2017 22:32

So, I switched to 2.041 and the touchscreen display is working fine. The plugin installed without any issues and started right up.

I hope that there will be a successor to 2.114 with issues fixed. This is a great piece of software.
Random avatar
jncraig
Sunday DIYer
Sunday DIYer
 
Posts: 38
Joined: Wed Dec 02 2015 06:03


Installing the Touch Display plugin

Postby michelangelo » Sun Mar 05 2017 23:09

I think I know what goes wrong here, the raspberry pi repo just install stuff which should not be installed. Thanks for reporting we'll fix it!
User avatar
michelangelo
Founder
 
Posts: 4233
Joined: Sun Dec 15 2013 23:18


Installing the Touch Display plugin

Postby DARKHalf » Mon Mar 06 2017 11:17

Would be cool if chrome did not have libraspberrypi0 as dependency. This breaks boot as the new kernel will break the boot process. I guess missing modules are the problem.
Random avatar
DARKHalf
Sunday DIYer
Sunday DIYer
 
Posts: 20
Joined: Tue Mar 10 2015 12:34


Installing the Touch Display plugin

Postby The_jb » Tue Mar 07 2017 20:15

I've done a fresh install of the latest version of Volumio, after rebooting with the touchscreen plugin installed I get this
Attachments
tmp_3618-DSC_00151687093614.JPG
tmp_3618-DSC_00151687093614.JPG (3.85 MiB) Viewed 1977 times
Random avatar
The_jb
Fresh off the boat
Fresh off the boat
 
Posts: 2
Joined: Wed Feb 22 2017 20:14


Installing the Touch Display plugin

Postby michelangelo » Tue Mar 07 2017 23:42

I am trying to fix this by preventing the installation of

Code: Select all
raspberrypi-bootloader raspberrypi-kernel


Howeve, nor putting

Code: Select all
Package: raspberrypi-bootloader
Pin: release *
Pin-Priority: -1
Package: raspberrypi-kernel
Pin: release *
Pin-Priority: -1


in

Code: Select all
/etc/apt/preferences


nor blocking their installation by putting them on hold with

Code: Select all
echo raspberrypi-bootloader hold | dpkg --set-selections
echo raspberrypi-kernel hold | dpkg --set-selections


Does somebody have an idea on how to fix this situation?
User avatar
michelangelo
Founder
 
Posts: 4233
Joined: Sun Dec 15 2013 23:18


Installing the Touch Display plugin

Postby macmpi » Wed Mar 08 2017 09:35

Tried install on my rpi0 (I know it's not recommended), and experienced 2 install problems:
- keyboard selection hangs first install (need to be done prior in interractive session, or install should do it in non-interractive way)
- kernel & firmware are indeed replaced with latest 4.4.50+.
For this second (critical) issue, maybe a "hackish-way" would be for the plugin install procedure to preserve /boot and restore at the end of install?
I guess hold may not work because they were not installed with dpkg in the first place in the build...need to check what apt-cache policy gives on a new image)

After restoration of my /boot the plugin failed to start (one cause may be my armv6 device, or it does not detect my HDMI TV, too low gpumem, etc).
I have: [ 139.350] (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied) (seems a common issue)
Full log:
Code: Select all
cat /home/volumio/.local/share/xorg/Xorg.0.log
[   139.154]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[   139.155] X Protocol Version 11, Revision 0
[   139.155] Build Operating System: Linux 4.4.26-v7+ armv7l Raspbian
[   139.156] Current Operating System: Linux volumio 4.4.9+ #884 Fri May 6 17:25:37 BST 2016 armv6l
[   139.156] Kernel command line: bcm2708_fb.fbwidth=1184 bcm2708_fb.fbheight=624 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 dma.dmachans=0x7f35 bcm2708.boardrev=0x900092 bcm2708.serial=0x60e56668 bcm2708.uart_clock=48000000 bcm2708.disk_led_gpio=47 smsc95xx.macaddr=B8:27:EB:E5:66:68 vc_mem.mem_base=0x1fa00000 vc_mem.mem_size=0x20000000  dwc_otg.lpm_enable=0 dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0x3 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 imgpart=/dev/mmcblk0p2 imgfile=/volumio_current.sqsh elevator=noop rootwait smsc95xx.turbo_mode=N
[   139.157] Build Date: 11 November 2016  11:59:59AM
[   139.157] xorg-server 2:1.18.4-2+rpi1 (https://www.debian.org/support)
[   139.157] Current version of pixman: 0.32.6
[   139.158]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[   139.158] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   139.159] (==) Log file: "/home/volumio/.local/share/xorg/Xorg.0.log", Time: Wed Mar  8 08:40:14 2017
[   139.181] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   139.185] (==) No Layout section.  Using the first Screen section.
[   139.185] (==) No screen section available. Using defaults.
[   139.185] (**) |-->Screen "Default Screen Section" (0)
[   139.185] (**) |   |-->Monitor "<default monitor>"
[   139.187] (==) No device specified for screen "Default Screen Section".
   Using the first device section listed.
[   139.187] (**) |   |-->Device "Allwinner A10/A13 FBDEV"
[   139.187] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[   139.188] (==) Automatically adding devices
[   139.188] (==) Automatically enabling devices
[   139.188] (==) Automatically adding GPU devices
[   139.188] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   139.189] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   139.189]    Entry deleted from font path.
[   139.189] (==) FontPath set to:
   /usr/share/fonts/X11/misc,
   /usr/share/fonts/X11/100dpi/:unscaled,
   /usr/share/fonts/X11/75dpi/:unscaled,
   /usr/share/fonts/X11/Type1,
   /usr/share/fonts/X11/100dpi,
   /usr/share/fonts/X11/75dpi,
   built-ins
[   139.189] (==) ModulePath set to "/usr/lib/xorg/modules"
[   139.210] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[   139.210] (II) Loader magic: 0x7f840f20
[   139.210] (II) Module ABI versions:
[   139.211]    X.Org ANSI C Emulation: 0.4
[   139.211]    X.Org Video Driver: 20.0
[   139.211]    X.Org XInput driver : 22.1
[   139.211]    X.Org Server Extension : 9.0
[   139.245] (EE) systemd-logind: failed to get session: PID 1258 does not belong to any known session
[   139.247] (II) no primary bus or device found
[   139.247] (II) LoadModule: "glx"
[   139.249] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   139.325] (II) Module glx: vendor="X.Org Foundation"
[   139.325]    compiled for 1.18.4, module version = 1.0.0
[   139.325]    ABI class: X.Org Server Extension, version 9.0
[   139.325] (==) AIGLX enabled
[   139.326] (II) LoadModule: "fbturbo"
[   139.327] (II) Loading /usr/lib/xorg/modules/drivers/fbturbo_drv.so
[   139.328] (II) Module fbturbo: vendor="X.Org Foundation"
[   139.328]    compiled for 1.18.4, module version = 0.5.1
[   139.328]    Module class: X.Org Video Driver
[   139.329]    ABI class: X.Org Video Driver, version 20.0
[   139.329] (II) FBTURBO: driver for framebuffer: fbturbo
[   139.329] (EE)
Fatal server error:
[   139.350] (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
[   139.350] (EE)
[   139.350] (EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[   139.351] (EE) Please also check the log file at "/home/volumio/.local/share/xorg/Xorg.0.log" for additional information.
[   139.351] (EE)
[   139.352] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[   139.352] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[   139.352] (EE) Server terminated with error (1). Closing log file.
Note: first lines seem to show it was built for post 4.4.9 kernel (Volumio's).

Interesting to hear it worked out-of-the-box on 2.041 though...(never tried before)
Last edited by macmpi on Wed Mar 08 2017 11:52, edited 1 time in total.
New User? Welcome! Please allow 8mn for first boot, and while the wait, be sure to carefully read Quick-start instructions and FAQ ;)
Question? please use search form first, and if posting for a problem, submit logs.
User avatar
macmpi
Objectivist
Objectivist
 
Posts: 400
Joined: Tue Jan 12 2016 11:19


Installing the Touch Display plugin

Postby michelangelo » Wed Mar 08 2017 11:39

Yes, the problem rose because the apt repository for pi's specific binaries was added. Before it just worked
User avatar
michelangelo
Founder
 
Posts: 4233
Joined: Sun Dec 15 2013 23:18


Installing the Touch Display plugin

Postby macmpi » Wed Mar 08 2017 13:04

:oops:
From base 2.041:
Code: Select all
>sudo apt-cache policy raspberrypi-kernel
raspberrypi-kernel:
  Installed: (none)
  Candidate: 1.20161215-1
  Version table:
     1.20161215-1 0
        500 http://archive.raspberrypi.org/debian/ jessie/main armhf Packages

>sudo apt-cache policy raspberrypi-bootloader
raspberrypi-bootloader:
  Installed: (none)
  Candidate: 1.20161215-1
  Version table:
     1.20161215-1 0
        500 http://archive.raspberrypi.org/debian/ jessie/main armhf Packages
So nothing to hold from...
New User? Welcome! Please allow 8mn for first boot, and while the wait, be sure to carefully read Quick-start instructions and FAQ ;)
Question? please use search form first, and if posting for a problem, submit logs.
User avatar
macmpi
Objectivist
Objectivist
 
Posts: 400
Joined: Tue Jan 12 2016 11:19


Installing the Touch Display plugin

Postby macmpi » Wed Mar 08 2017 13:11

While at it, any hint on the other X error I get (Cannot open /dev/tty0 (Permission denied))?
Does the script need to add volumio user to some group for access to /dev/tty0
Does gpumem need to be updated (so that vc_stuff can work)?
Thanks
New User? Welcome! Please allow 8mn for first boot, and while the wait, be sure to carefully read Quick-start instructions and FAQ ;)
Question? please use search form first, and if posting for a problem, submit logs.
User avatar
macmpi
Objectivist
Objectivist
 
Posts: 400
Joined: Tue Jan 12 2016 11:19

Next

Return to Help

Who is online

Users browsing this forum: No registered users and 2 guests