Skip to contentSkip to conversation

D4 after leste update: rotated touchscreen

DISCUSSION Pavel Machek 3 participants 14 messages Dec 7, 2020 – Feb 20, 2021

lore
Share & tools
lore
#0 lore raw

Hi!

I did apt-get update/upgrade on Leste, and results are not good.

It still boots, but it looks like touchscreen is "rotated" 90 degrees or so, so touches are registered at wrong places.

If someone knows how to fix that, let me know.

Best regards,
Pavel

Signature · 1 line
http://www.livejournal.com/~pavelmachek
#1 lore raw

Hi!

Quoted 6 lines

I did apt-get update/upgrade on Leste, and results are not good.

It still boots, but it looks like touchscreen is "rotated" 90 degrees or so, so touches are registered at wrong places.

If someone knows how to fix that, let me know.

Aha, I only had partial update. elogind held some packages back. I did explicit install of elogind and rebooted. Now I have black screen in portrait mode, which has top overlayed with one icon. Not good.

Any ideas would be welcome. But I guess it is "back up and re-install with fresh image"...

Best regards,
Pavel

Signature · 1 line
http://www.livejournal.com/~pavelmachek
#2 lore raw

Hi,

Quoted 7 lines · Pavel Machek

Hi!

Quoted 5 lines

I did apt-get update/upgrade on Leste, and results are not good.

It still boots, but it looks like touchscreen is "rotated" 90 degrees or so, so touches are registered at wrong places.

Quoted 6 lines
Quoted 1 line

If someone knows how to fix that, let me know.

Aha, I only had partial update. elogind held some packages back. I did explicit install of elogind and rebooted. Now I have black screen in portrait mode, which has top overlayed with one icon. Not good.

Definitely not good.

Do you have usbnet access? You might just need to remove a few leftover configuration files.

That said ...

Quoted 2 lines

Any ideas would be welcome. But I guess it is "back up and re-install with fresh image"...

there should be new images now.

Perhaps you'd be willing to test this version (I have not tested it yet!)

https://phoenix.maemo.org/view/Images/job/leste-image-droid4/

Cheers,
Merlijn

#8 lore raw
In reply to Pavel Machek

Hi,

Quoted 8 lines · Pavel Machek

Hi!

I did apt-get update/upgrade on Leste, and results are not good.

It still boots, but it looks like touchscreen is "rotated" 90 degrees or so, so touches are registered at wrong places.

If someone knows how to fix that, let me know.

Hrm, I thought this problem was resolved now. Does the problem persist after reboot?

Parazyd, any idea what's up here?

Cheers,
Merlijn

#3 lore raw
In reply to Merlijn Wajer

Hi!

Quoted 12 lines
Quoted 11 lines
Quoted 6 lines

I did apt-get update/upgrade on Leste, and results are not good.

It still boots, but it looks like touchscreen is "rotated" 90 degrees or so, so touches are registered at wrong places.

If someone knows how to fix that, let me know.

Aha, I only had partial update. elogind held some packages back. I did explicit install of elogind and rebooted. Now I have black screen in portrait mode, which has top overlayed with one icon. Not good.

Quoted 4 lines

Definitely not good.

Do you have usbnet access? You might just need to remove a few leftover configuration files.

Do you have idea what files to remove? That might be easiest. I'm not sure if I have usbnet, but I should be able to move sdcard to different machine and modify it there.

Quoted 8 lines
Quoted 2 lines

Any ideas would be welcome. But I guess it is "back up and re-install with fresh image"...

there should be new images now.

Perhaps you'd be willing to test this version (I have not tested it yet!)

https://phoenix.maemo.org/view/Images/job/leste-image-droid4/

It depends how desperate I am :-).

Yes, I'll use latest version if I'm forced to reinstall.

Thanks for support,
Pavel

Signature · 1 line
http://www.livejournal.com/~pavelmachek
#4 lore raw
Quoted 14 lines · Pavel Machek

Hi!

Quoted 12 lines
Quoted 11 lines
Quoted 6 lines

I did apt-get update/upgrade on Leste, and results are not good.

It still boots, but it looks like touchscreen is "rotated" 90 degrees or so, so touches are registered at wrong places.

If someone knows how to fix that, let me know.

Aha, I only had partial update. elogind held some packages back. I did explicit install of elogind and rebooted. Now I have black screen in portrait mode, which has top overlayed with one icon. Not good.

Quoted 8 lines
Quoted 4 lines

Definitely not good.

Do you have usbnet access? You might just need to remove a few leftover configuration files.

Do you have idea what files to remove? That might be easiest. I'm not sure if I have usbnet, but I should be able to move sdcard to different machine and modify it there.

Make sure that this directory is empty:

/etc/X11/xorg.conf.d/

And check that these directories have their .leste and more importantly their non- .leste files:

# ls /usr/share/X11/xorg.conf.d/*.leste
/usr/share/X11/xorg.conf.d/40-ts.conf.leste
/usr/share/X11/xorg.conf.d/99-omap.conf.leste

That would be my first guess.

Cheers,
Merlijn

#5 lore raw
Quoted 20 lines · Merlijn Wajer
Quoted 19 lines · Pavel Machek

Hi!

Quoted 16 lines
Quoted 11 lines
Quoted 6 lines

I did apt-get update/upgrade on Leste, and results are not good.

It still boots, but it looks like touchscreen is "rotated" 90 degrees or so, so touches are registered at wrong places.

If someone knows how to fix that, let me know.

Aha, I only had partial update. elogind held some packages back. I did explicit install of elogind and rebooted. Now I have black screen in portrait mode, which has top overlayed with one icon. Not good.

Definitely not good.

Do you have usbnet access? You might just need to remove a few leftover configuration files.

Quoted 7 lines
Quoted 3 lines

Do you have idea what files to remove? That might be easiest. I'm not sure if I have usbnet, but I should be able to move sdcard to different machine and modify it there.

Make sure that this directory is empty:

/etc/X11/xorg.conf.d/

That one was empty.

Quoted 6 lines

And check that these directories have their .leste and more importantly their non- .leste files:

# ls /usr/share/X11/xorg.conf.d/*.leste
/usr/share/X11/xorg.conf.d/40-ts.conf.leste
/usr/share/X11/xorg.conf.d/99-omap.conf.leste

But I don't have these. Let me try restoring from new .xz image. .. aha, no, that would not be easy, as it is disk image, not tar image.

Let me reflash and start from scratch...

xzcat maemo-leste-1.0-armhf-droid4-20201206.img.xz > /dev/sdb

Best regards,
Pavel

Signature · 1 line
http://www.livejournal.com/~pavelmachek
#6 lore raw
In reply to Merlijn Wajer

Hi!

Quoted 18 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines

Aha, I only had partial update. elogind held some packages back. I did explicit install of elogind and rebooted. Now I have black screen in portrait mode, which has top overlayed with one icon. Not good.

Quoted 8 lines
Quoted 4 lines

Definitely not good.

Do you have usbnet access? You might just need to remove a few leftover configuration files.

Do you have idea what files to remove? That might be easiest. I'm not sure if I have usbnet, but I should be able to move sdcard to different machine and modify it there.

Make sure that this directory is empty:

/etc/X11/xorg.conf.d/

Quoted 8 lines

And check that these directories have their .leste and more importantly their non- .leste files:

# ls /usr/share/X11/xorg.conf.d/*.leste
/usr/share/X11/xorg.conf.d/40-ts.conf.leste
/usr/share/X11/xorg.conf.d/99-omap.conf.leste

That would be my first guess.

Thanks for the help. I reflashed from the latest image, and things are back to the working order.

I found default screen vibration way too annoying. I turned it off... after reboot, it seems to have helped. But it still clicks after touch, and I believe it "clicks" with the vibration motor.

Best regards,
Pavel

Signature · 1 line
http://www.livejournal.com/~pavelmachek
#7 lore raw

Hi,

Quoted 23 lines · Pavel Machek

Hi!

Quoted 21 lines
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines

Aha, I only had partial update. elogind held some packages back. I did explicit install of elogind and rebooted. Now I have black screen in portrait mode, which has top overlayed with one icon. Not good.

Quoted 8 lines
Quoted 4 lines

Definitely not good.

Do you have usbnet access? You might just need to remove a few leftover configuration files.

Do you have idea what files to remove? That might be easiest. I'm not sure if I have usbnet, but I should be able to move sdcard to different machine and modify it there.

Make sure that this directory is empty:

/etc/X11/xorg.conf.d/

And check that these directories have their .leste and more importantly their non- .leste files:

Quoted 8 lines
Quoted 5 lines
# ls /usr/share/X11/xorg.conf.d/*.leste
/usr/share/X11/xorg.conf.d/40-ts.conf.leste
/usr/share/X11/xorg.conf.d/99-omap.conf.leste

That would be my first guess.

Thanks for the help. I reflashed from the latest image, and things are back to the working order.

Good to know.

Quoted 3 lines

I found default screen vibration way too annoying. I turned it off... after reboot, it seems to have helped. But it still clicks after touch, and I believe it "clicks" with the vibration motor.

There are "click" sounds for mouse click/touch and for keyboard key press. You can change the vibration in Settings -> Display -> Touch screen vibration, as you found out, and if you change to the silent profile, you should no longer hear the clicks from the keyboard and mouse.

There should be a profile manager application in the Application Manager, which you can use to edit each profile and turn off those sounds.

"Control Panel ProfilesX" is the name - install it and then go to:

Settings -> Control Panel ProfilesX -> General -> Edit -> Key Sounds -> Off and do the same for "Touch screen sounds".

I think we have a less awkward program than "Control Panel ProfilesX" now, which should also be available by default, but I don't remember, I will dig into that and see.

Cheers,
Merlijn

#9 lore raw
In reply to Merlijn Wajer
Quoted 10 lines · Merlijn Wajer

Hi,

Quoted 7 lines · Pavel Machek

Hi!

I did apt-get update/upgrade on Leste, and results are not good.

It still boots, but it looks like touchscreen is "rotated" 90 degrees or so, so touches are registered at wrong places.

Quoted 6 lines
Quoted 1 line

If someone knows how to fix that, let me know.

Hrm, I thought this problem was resolved now. Does the problem persist after reboot?

Parazyd, any idea what's up here?

On some "older" images, an apt upgrade isn't enough, and apt dist-upgrade is preferred. I see that it was resolved though.

fwiw, I will soon also set up cpio archives that can just be extracted on prepartitioned cards. We used to have tarballs of these, but for different reasons they were unable to boot. With cpio, attrs and similar things should be better preserved than tar(1).

#10 lore raw

D4: Control and capslock keyboard mapping

In reply to Pavel Machek

Hi!

I'm dual booting between Leste and original ROM, and it is super annoying... because Leste uses shift as control and capslock as shift.

Could we use shift as shift and capslock as control? That should make keyboard behave more like original ROM and be less confusing overall...

There is some precedent for putting control where capslock is today -- I use that setup on notebooks, sun did that (
https://deskthority.net/wiki/Sun_Type_3 ), and in fact original IBM PC did, too: https://en.wikipedia.org/wiki/File:IBM_Model_F_XT.png

Best regards,
Pavel

Signature · 1 line
http://www.livejournal.com/~pavelmachek
#11 lore raw

Droid4: USB host works in Leste

Hi!

I played with USB host and Maemo Leste, and it works with recently packaged kernel:

devuan-droid4 5.10.4 #1 SMP PREEMPT Mon Jan 18 21:56:35 UTC 2021

USB devices are only detected when you plug them in. If you plug dongle first, then device to the dongle, it does not work.

Mouse, keyboard and mass storage seems to work.

It is probably possible to charge the battery and use USB host at the same time. Good.

DisplayLink and USB ethernet does not, as the modules are missing.

Could I get Leste to build neccessary modules? Turning phone into usable desktop computer sounds like fun.

I'd need:

CONFIG_USB_NET_AX8817X=m
CONFIG_DRM_UDL=m

Thanks and best regards,
Pavel

Signature · 1 line
http://www.livejournal.com/~pavelmachek
#12 lore raw

Re: [maemo-leste] Droid4: USB host works in Leste

Quoted 17 lines · Pavel Machek

Hi!

I played with USB host and Maemo Leste, and it works with recently packaged kernel:

devuan-droid4 5.10.4 #1 SMP PREEMPT Mon Jan 18 21:56:35 UTC 2021

USB devices are only detected when you plug them in. If you plug dongle first, then device to the dongle, it does not work.

Mouse, keyboard and mass storage seems to work.

It is probably possible to charge the battery and use USB host at the same time. Good.

DisplayLink and USB ethernet does not, as the modules are missing.

Quoted 7 lines

Could I get Leste to build neccessary modules? Turning phone into usable desktop computer sounds like fun.

I'd need:

CONFIG_USB_NET_AX8817X=m
CONFIG_DRM_UDL=m

hmm, I thought usbnet was fine in Leste.

I will check this soon and add these modules. By the way, for -devel I recently built 5.11, but I haven't changed anything in the kernel config.

Best regards,
Ivan

#13 lore raw

Re: [maemo-leste] Droid4: USB host works in Leste

Quoted 21 lines · Ivan J.
Quoted 20 lines · Pavel Machek

Hi!

I played with USB host and Maemo Leste, and it works with recently packaged kernel:

devuan-droid4 5.10.4 #1 SMP PREEMPT Mon Jan 18 21:56:35 UTC 2021

USB devices are only detected when you plug them in. If you plug dongle first, then device to the dongle, it does not work.

Mouse, keyboard and mass storage seems to work.

It is probably possible to charge the battery and use USB host at the same time. Good.

DisplayLink and USB ethernet does not, as the modules are missing.

Could I get Leste to build neccessary modules? Turning phone into usable desktop computer sounds like fun.

Quoted 6 lines
Quoted 4 lines

I'd need:

CONFIG_USB_NET_AX8817X=m
CONFIG_DRM_UDL=m

hmm, I thought usbnet was fine in Leste.

Apparently there are many different types of usbnet devices, and I have this one...

Quoted 3 lines

I will check this soon and add these modules. By the way, for -devel I recently built 5.11, but I haven't changed anything in the kernel config.

It would be interesting to try, yes. 5.10 has various problems 5.9 did not have (rebooting when on USB power), perhaps 5.11 has different problems :-).

Best regards,
Pavel

Signature · 1 line
http://www.livejournal.com/~pavelmachek