[Asus UX360UA] Physical screen rotation not handled properly

Bug #1661878 reported by tjiagoM
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
unity (Ubuntu)
New
Undecided
Unassigned

Bug Description

I've just installed Ubuntu 16.04.1 in dualboot on top of an Asus UX360UA, alongside with Windows 10. I've already installed the updates meanwhile.

This laptop has a 360º degree rotating screen. When I physically rotate my screen, Windows (or some installed driver, I don't know) detects that. Consequently, the image being displayed in the screen is rotated 180º and the keyboard is blocked. However, Ubuntu doesn't do nothing when I rotate the screen.

I think this is a bug because a fresh Ubuntu installation should recognise these laptop features. I searched a little bit and it seems there are some workarounds on this, but I guess Ubuntu installation should recognise this automatically?
---
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: tjiagom 1806 F.... pulseaudio
CurrentDesktop: Unity
DistroRelease: Ubuntu 16.04
HibernationDevice: RESUME=UUID=0eaf9255-c29a-41b7-8449-1eb52f637933
InstallationDate: Installed on 2017-02-04 (0 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 002: ID 04f2:b56b Chicony Electronics Co., Ltd
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: ASUSTeK COMPUTER INC. UX360UA
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-62-generic.efi.signed root=UUID=6ca1f963-632a-401d-80db-610ef37f1f26 ro quiet splash
ProcVersionSignature: Ubuntu 4.4.0-62.83-generic 4.4.40
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-62-generic N/A
 linux-backports-modules-4.4.0-62-generic N/A
 linux-firmware 1.157.6
Tags: xenial
Uname: Linux 4.4.0-62-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 06/17/2016
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: UX360UA.300
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: UX360UA
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: ATN12345678901234567
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrUX360UA.300:bd06/17/2016:svnASUSTeKCOMPUTERINC.:pnUX360UA:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnUX360UA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.name: UX360UA
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

Revision history for this message
tjiagoM (tjiagom) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected xenial
description: updated
Revision history for this message
tjiagoM (tjiagom) wrote : CRDA.txt

apport information

Revision history for this message
tjiagoM (tjiagom) wrote : CurrentDmesg.txt

apport information

Revision history for this message
tjiagoM (tjiagom) wrote : IwConfig.txt

apport information

Revision history for this message
tjiagoM (tjiagom) wrote : JournalErrors.txt

apport information

Revision history for this message
tjiagoM (tjiagom) wrote : Lspci.txt

apport information

Revision history for this message
tjiagoM (tjiagom) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
tjiagoM (tjiagom) wrote : ProcEnviron.txt

apport information

Revision history for this message
tjiagoM (tjiagom) wrote : ProcInterrupts.txt

apport information

Revision history for this message
tjiagoM (tjiagom) wrote : ProcModules.txt

apport information

Revision history for this message
tjiagoM (tjiagom) wrote : PulseList.txt

apport information

Revision history for this message
tjiagoM (tjiagom) wrote : RfKill.txt

apport information

Revision history for this message
tjiagoM (tjiagom) wrote : UdevDb.txt

apport information

Revision history for this message
tjiagoM (tjiagom) wrote : WifiSyslog.txt

apport information

Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Re: [Asus UX360UA] Physical screen rotation is not detected

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.10 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.10-rc7

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
tjiagoM (tjiagom) wrote :

So, it seems that in the upstream kernel the physical rotation is detected. I say this because when I rotate the 360º the keyboard is blocked (I try to write and I can't).

However, the screen is not rotated automatically nor any clue that something happened is shown in the screen, as we would expect.

So, I guess, the bug still exists in the upstream kernel, but with some differences.

tags: added: kernel-bug-exists-upstream
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
tjiagoM (tjiagom) wrote :

An update on this issue now that I have kernel 4.14:

After executing `uname -a`, I have the following output:
`Linux tjiagom-UX360UA 4.14.0-041400-generic #201711122031 SMP Sun Nov 12 20:32:29 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux`

If I rotate the screen the keyboard is blocked, but the touchpad is still working when it shouldn't. Also, the screen is still not being rotated.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

I think Unity doesn't support screen rotate. Please try latest Ubuntu or Ubuntu-Gnome.

Revision history for this message
tjiagoM (tjiagom) wrote :

@Kai-Heng, when the screen is rotated, the keyboard is locked, so that is detected somehow. Also, if you go to the screen display properties, you can rotate whether it is Unity or Gnome or others.
Thus, I guess it should be possible to combine this in some way.

no longer affects: linux (Ubuntu)
tjiagoM (tjiagom)
summary: - [Asus UX360UA] Physical screen rotation is not detected
+ [Asus UX360UA] Physical screen rotation not handled properly
Revision history for this message
tjiagoM (tjiagom) wrote :

An update: I now have kernel 4.16rc1 and the situation is exactly the same.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.