ODROID-C1: No hardware cursor in terminal

This forum is for supported devices using an ARMv7 Amlogic SoC.

ODROID-C1: No hardware cursor in terminal

Postby corvax19 » Fri Feb 06, 2015 5:33 pm

Hi,

Just bought ODROID-C1. Flashed latest Arch on SandiskUltra 8Gb card.
Board is connected to Benq full-HD monitor with standard HDMI cabel,
micro-HDMI-to-HDMI adapter used.
System booted, got login prompt. Logged as root. Updated to the latest
patches with pacman.

Problem: have no usual cursor in console.

Checked /boot/boot.ini for any related switches/settings -> nothing.
Tried to switch to software cursors as per http://linuxgazette.net/137/anonymous.html -> no result.
setterm --cursor on -> no result

What could be wrong?

Thanks!
/RK
corvax19
 
Posts: 1
Joined: Fri Feb 06, 2015 5:16 pm

Re: ODROID-C1: No hardware cursor in terminal

Postby Screamy » Sun Feb 08, 2015 10:35 am

I have the exact same problem, using the xf86-video-odroid-c1 driver.
Screamy
 
Posts: 25
Joined: Fri Jan 16, 2015 1:19 pm

Re: ODROID-C1: No hardware cursor in terminal

Postby rayn1985 » Sun Feb 08, 2015 1:03 pm

This gives you a solid yellow block (nonblinking) as a cursor:
echo -n -e '\e[?17;14;224c'
rayn1985
 
Posts: 1
Joined: Sun Feb 08, 2015 1:00 pm

Re: ODROID-C1: No hardware cursor in terminal

Postby Gyscos » Wed Feb 11, 2015 7:03 am

This is only temporary, and only works in the shell. In vim for instance, I still have no cursor (and the cursor is gone when I come back to the shell after).
What is causing this? Is the cursor for some reason the same color as the background?
Gyscos
 
Posts: 20
Joined: Wed Feb 11, 2015 7:01 am

Re: ODROID-C1: No hardware cursor in terminal

Postby grubernd » Fri Feb 13, 2015 12:27 pm

i can confirm the missing cursor with alarm/odroid c1.
also half of the display in i3wm is black - which leads me to the conclusion that there is something wrong with the way that C1 handles the framebuffer display altogether. i3wm uses it a lot, that's how i learned that the RPi switches two colorchannels in the framebuffer..

does anyone know of boot settings to change the behaviour of the C1 framebuffer in alarm?
grubernd
 
Posts: 1
Joined: Fri Feb 13, 2015 12:20 pm

Re: ODROID-C1: No hardware cursor in terminal

Postby Gyscos » Sat Feb 14, 2015 7:35 pm

I have i3wm working fine om my C1.
Do you have the correct resolution in the tty?
(I'm using a small 800x480 screen, with the resolution set in boot.ini along with DVI mode)
Gyscos
 
Posts: 20
Joined: Wed Feb 11, 2015 7:01 am

Re: ODROID-C1: No hardware cursor in terminal

Postby errepunto » Mon Feb 16, 2015 9:51 am

I have the same issue: no cursor in console. My screen resolution in boot.ini is 720p and LXDE works well in my C1. Using vim without cursor is very difficult...
errepunto
 
Posts: 3
Joined: Mon Sep 03, 2012 6:52 pm

Re: ODROID-C1: No hardware cursor in terminal

Postby Holzhaus » Mon Feb 16, 2015 3:00 pm

If I see that correctly, the HW cursor is explicitly disabled in /etc/X11/xorg.conf.d/99-mali-c1.conf:
$this->bbcode_second_pass_code('', '# X.Org X server configuration file for xfree86-video-mali

Section "Device"
Identifier "Mali-Fbdev"
Driver "mali"
Option "fbdev" "/dev/fb0"
Option "DRI2" "true"
Option "DRI2_PAGE_FLIP" "false"
Option "DRI2_WAIT_VSYNC" "false"
Option "UMP_CACHED" "true"
Option "UMP_LOCK" "false"
Option "SWCursor" "true"
Option "HWCursor" "false"

EndSection

Section "ServerFlags"
Option "NoTrapSignals" "true"
Option "DontZap" "false"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
EndSection

Section "DRI"
Mode 0666
EndSection')

Have you tried enabling it?
Holzhaus
 
Posts: 60
Joined: Wed Jan 21, 2015 12:40 pm

Re: ODROID-C1: No hardware cursor in terminal

Postby marcosilva85 » Thu Feb 26, 2015 12:49 am

Holzhaus, that solution is for X11. Here, everyone is having trouble with the tty's cursor.
As far as I've tried, I've got cursor on X11 terminals like lxterminal.
marcosilva85
 
Posts: 1
Joined: Thu Feb 26, 2015 12:44 am

Re: ODROID-C1: No hardware cursor in terminal

Postby hutou » Sun Mar 01, 2015 10:06 am

Exactly the same problem for me. Tried different resolution on hdmi, no luck.
hutou
 
Posts: 6
Joined: Thu Jun 12, 2014 4:57 pm

Next

Return to Amlogic

Who is online

Users browsing this forum: No registered users and 2 guests