screen rotation on surface pro 2017

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
dl_sledding

screen rotation on surface pro 2017

Post by dl_sledding »

I have LM 18.3 Cinnamon installed on a Surface Pro 2017. I have also installed the jakeday Surface Pro kernel (4.16.3) (https://github.com/jakeday/linux-surface), the inotify tools, and verified that iio-sensor-proxy was installed.

The problem that I am experiencing is the screen rotation does not work, using the gyro and accelerometer sensors of the Surface. To perform some testing, I have configured three keyboard shortcut keys to perform xrandr "normal", "inverted", and "left" (portrait) functions. "Normal" and "inverted" work properly, but when I change to portrait, the screen goes black and is not recoverable. <ctrl><alt><bksp> doesn't even work; in fact, after using the <ctrl><alt><bksp> combo, I am still in the desktop, and can still run terminal (blindly) and reboot. I have taken screenshots in portrait orientation, and the screenshot does show that the OS thinks it's in portrait. However, when I switch it back to landscape (using the xrandr normal mode keyboard shortcut) and repeat the screenshot, the new screenshot still shows portrait mode.

I have brought this issue up on the jakeday kernel git page, and multiple people there have stated that they don't experience this issue on the SP2017, using other DMs, and cannot duplicate the problem. So, they are suggesting that it may be something in Cinnamon that is causing this.

I've been using Mint Cinnamon since version 11, and I'd really like to continue, but having a Surface that doesn't rotate is kind of silly... I'm at home in CLI, in fact, that's part of my job, but troubleshooting the DM is not my forte'. But I love to learn, so if anybody has any advice for troubleshooting this, it would be greatly appreciated.

TIA,

Alex
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
dl_sledding

Re: screen rotation on surface pro 2017

Post by dl_sledding »

Thought I'd add the output of inxi:

System: Host: alexm-Surface-Pro Kernel: 4.16.3-surface-linux-surface x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3)
Distro: Linux Mint 18.3 Sylvia
Machine: System: Microsoft product: Surface Pro v: D:0B:09F:5C:09P:38S:12E:0
Mobo: Microsoft model: Surface Pro
Bios: Microsoft v: 233.2110.770 date: 01/30/2018
CPU: Dual core Intel Core i7-7660U (-HT-MCP-) cache: 4096 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9984
clock speeds: max: 4000 MHz 1: 649 MHz 2: 665 MHz 3: 662 MHz
4: 693 MHz
Graphics: Card: Intel Device 5926 bus-ID: 00:02.0
Display Server: X.Org 1.18.4 driver: intel
Resolution: 2736x1824@59.96hz, 2560x1600@59.97hz
GLX Renderer: Mesa DRI Intel Iris Plus Graphics 640 (Kaby Lake GT3)
GLX Version: 3.0 Mesa 17.2.8 Direct Rendering: Yes
Audio: Card-1 Intel Device 9d71 driver: snd_hda_intel bus-ID: 00:1f.3
Card-2 C-Media CM108 Audio Controller
driver: USB Audio usb-ID: 001-007
Sound: ALSA v: k4.16.3-surface-linux-surface
Network: Card: Marvell 88W8897 [AVASTAR] 802.11ac Wireless
driver: mwifiex_pcie v: 1.0 bus-ID: 01:00.0
IF: wlp1s0 state: down mac: <filter>
Drives: HDD Total Size: NA (-) ID-1: /dev/nvme1n1 model: N/A size: 512.1GB
ID-2: /dev/nvme0n1 model: N/A size: 512.1GB
Partition: ID-1: / size: 453G used: 7.4G (2%) fs: ext4 dev: /dev/dm-0
ID-2: /boot size: 473M used: 203M (46%) fs: ext2 dev: /dev/nvme0n1p2
ID-3: /home size: 477G used: 209G (44%) fs: xfs dev: /dev/nvme1n1p1
ID-4: swap-1 size: 17.10GB used: 0.00GB (0%) fs: swap dev: /dev/dm-1
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 33.5C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 236 Uptime: 7:13 Memory: 3296.9/15966.5MB
Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.481) inxi: 2.2.35
dl_sledding

Re: screen rotation on surface pro 2017

Post by dl_sledding »

No suggestions from anyone?? That's rare...
Locked

Return to “Hardware Support”