Rotate klipper HDMI Display 180° (SV08)

Hi i am a HDMI display and I want to rotate in 180°, because of my wiring.
i already tried the aproach from the klipperscreen docs.:

but unfortunately it does not work.

The display identifier is displayed with the name “default”
when executing this command: “DISPLAY=:0 xrandr”
I get:
"
Failed to get size of gamma for output default
Screen 0: minimum 1024 x 600, current 1024 x 600, maximum 1024 x 600
default connected 1024x600+0+0 0mm x 0mm
1024x600 0.00*
"

Executing this command.:
“xrandr --output default --rotate invert”
results in.:
“Can’t open display”
or with the enviroment variable set (“export DISPLAY=:0”) in.:
"output default cannot use rotation “inverted” reflection “none” ".

I already updated my firmware, as well as Klipper.

Any ideas?

Here for THE EXACT SAME THING.
xrandr returns the screen as default. When connected to my linux machine the same screen returns HDMI-1.
I have also followed the directions as detailed on klipperscreen.readthedocs.io with no results.
In my case, I am trying to utilize an Odroid VU7+ I had left over from an older project.
The screen displays perfectly, but has the wrong orientation and currently no touch.
I have attempted to update klipperscreen, but not the firmware nor Klipper

HDMI-1 connected 1024x600+2560+0 (normal left inverted right x axis y axis) 150mm x 100mm
1024x600 43.07*+

output from my linux laptop

I reviewed the docs on xrandr --help and tried every combination I could come up with.
the vast majority return that the display cannot be opened

sudo nano /etc/X11/xorg.conf.d/01-dbbian-defaults.conf

Comment out
```
Option “Rotate” “UD” #这里是翻转的方向,“CW” (clockwise, 90 degrees), “UD” (upside down, 180 degrees) and “CCW” (cou>


     ```
        #Option "Rotate" "UD" #这里是翻转的方向,"CW" (clockwise, 90 degrees), "UD" (upside down, 180 degrees) and "CCW" (cou>

I also changed default into HDMI-1

Section "Device"
        Identifier "HDMI-1" #previously default

I will send a PM to Sovol & have them reply.

Can you send the above the situation to info@sovol3d.com? Please enclose with the picture or vedio. But because of the two days are weekend, maybe the technician will reply you late.

Thanks, that solved the problem, for me.

Does your touch work natively? It appears the kernel doesn’t have the vendor/drive for mine.

Posting here as well as sending an email.
https://wiki.odroid.com/accessory/display/vu_series/vu7_plus/vu7_plus
Screen that I am attempting to utilize.

Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 004: ID 364d:6366 HHW microelectronics Co., Ltd. MGS1
Bus 003 Device 003: ID 16b4:0705 iStation By ZH851
Bus 003 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 002: ID 1d50:614e OpenMoko, Inc. stm32f103xe
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 1d50:614e OpenMoko, Inc. stm32f103xe
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

LSUSB output. 16b4:0705 iStation By ZH851
It’s connected, Display is the right size and orientation now. I just need to get touch working.

sovol@SPI-XI:~$ DISPLAY=:0 xinput
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ MGS1: MGS1                              	id=6	[slave  keyboard (3)]

xinput return shows it isn’t registering as an input device.
I suspect the drive isn’t built into the kernel.

EDIT: I found this: linux/drivers/input/touchscreen/dwav-usb-mt.c at odroidxu4-4.9.y · hardkernel/linux · GitHub

Any help is appreciated.

My touch worked out of the box. I just had to adjust the matrix.

Not really. You here on a community forum. When you send an email to info@sovol3d.com you talk directly to Sovol.

I posted my findings here in addition to sending an email to them as I stated, so yes, really.

1 Like

Well, I had an email interaction with sovol that resulted in them responding with the exact solution I had already posted here with regard to screen rotation. I am sure it was a misunderstanding of what I needed.

I responded back that the concern now for me is the touch screen not registering. I don’t have a response back from them on that issue

Be patient, @sovol3d will come back to you.


I’m in no big rush. I found and old Galaxy Tab E and sat it up for klipperscreen. It’s clunky but it works when it connects

1 Like

Could you re-illustrate the problem to info@sovol3d.com? If they didn’t reply, please send e-mail account and order number to me by Message.

I can, but it would just be me pecking on a screen that doesn’t register input.

Can you direct me to the kernel sourcecode? I need to add the code for the touch drive and recompile.

I sent that in the email to info@sovol3d.com but they don’t seem to understand. They have me trying to check cables and hardware issues. This screen works fine on the Odroid XU4 running either Android or Linux with their kernel.
Adding it to the SV08 kernel should take care of the issue.

Edit: It’s all right here input: touchscreen: add dwav my touchscreen driver · hardkernel/linux@5015807 · GitHub
Just need it in the kernel.
I downloaded the CB1 image to look through it. I just don’t want to go digging to find out what all has been changed.

When I wasn’t able to rotate the screen using xrandr, I installed arandr on the SV08 and started it from a ssh login, after setting DISPLAY=:0. On the touchscreen I then navigated to the screen orientation, but all other rotation options (left, right, inverted) were grayed out.
7 inch “generic” HDMI touchscreen,