Q: enable external keyboard + mouse support - Xperia 10

Can I use an USB adapter like this to connect a mouse, a monitor and/or cable network to the phone?

by manually adding the needed libs to the rudimentary SFOS Linux?
Is this possible? If yes, what have I to do? Has anyone tried this yet?

Thanks for any hint!

Mouse, keyboard and rj45 for lan are possible out of the box, but display out doesn’t work out of the box. I just tried it out and saw it wasn’t working

Keyboard really works fine out of the box.

Mouse has connection but doesn’t work as it should.
No mouse pointer appears! That’s the main problem with the mouse. But moving the mouse seems to move an invisible pointer, because the selected item by left button is a different one than before when moving the mouse before click.

Mouse wheel mostly does nothing, but scrolls thru lists if they are long enough.

Mouse buttons trigger random functions. Right is usually back, left sometimes click on the element that is selected by chance at a moment. Is this as it should be?

What can I do to make the mouse pointer appear?

RJ45 for LAN does nothing. Nothing related appears in Settings, or Developer options. USB is also set to Developer mode. No automatic connection if simply plugged in. How is it meant to configure/setup the LAN adapter? Have I to setup something by CLI? There is no menu visible.

On which device?
I used Ethernet dongle successfully on xperia 10 ii (you can let it autoconfigure by pressing “connect” button in shortcuts or you can configure ifconfig manually). Mouse is there, you have only to make the cursor visible.
Check this previous post: How to make a wired mouse appear and work normally in OS Aurora? - Devices - Sailfish OS Forum

dconf write /desktop/sailfish/compositor/display_cursor true

environment:

/var/lib/environment/compositor/droid-hal-device.conf

QT_QPA_EGLFS_HIDECURSOR=1
QT_QPA_FB_HIDECURSOR=1

If these are there somewhere, unset/comment them, or set them to 0

You can also try playing with the Lipstick options, like:

LIPSTICK_OPTIONS=-plugin evdevmouse:/dev/path/to/input
1 Like

to connect a monitor, you already have requirements hardware-wise, which are only met by Xperia 10 iii, to my knowledge all other devices do not have support for video out. However, there are some reports in the forum that the device shuts down if connected to a monitor

i.e. here:
https://forum.sailfishos.org/t/10iii-crashes-with-beep-when-plugged-into-docking-station/12481

1 Like

Xperia 10 Dual SIM, SFOS 4.5.0.24

The adapter on the photo above has a HDMI socket on the left side, not visible on the photo but existing. This socket works with a laptop that also has no extra video output, so why not with the Xperia 10?

Thanks @philter , this did it! Mouse pointer is now visible and everything works now.

These lines:

are not present in

on my phone. The content on my phone is only:

EGL_PLATFORM=hwcomposer
QT_QPA_PLATFORM=hwcomposer

LIPSTICK_OPTIONS="-plugin evdevtouch -plugin evdevmouse -plugin evdevkeyboard:keymap=/usr/share/qt5/keymaps/droid.qmap"

Because the 10 i does not have hardware support for display port, in contrast to 10 iii, which has it, see here:
https://www.gsmarena.com/sony_xperia_10_iii-10698.php
and here:
https://www.gsmarena.com/sony_xperia_10-9353.php

1 Like

Thanks, I see, display port seems to be an extra property of the USB port, supported by the X10-III but not by the X10. So I have to give this up but the rest now works.
Will edit title and mark as solved.

Thank you all very much! :star_struck: :heart_eyes:

edit: In my happiness about the mouse + keyboard I forgot about the network…

1 Like

The numpad does not seem to work though.

Yes, numbers block does nothing. Not numbers, not cursor move, not enter. Strange…

edit: Insert key also does nothing. It’s always insert mode, overwrite not possible.

Very nice! Long tap is click and hold, swiping can be done by click - hold - move :star_struck:

My xperia 10 iii reboots with usb-c to hdmi connected to a beamer on sfos 4.6.0.15

My Xperia 10 also reboots on disconnecting the USB dock. But it’s possible to connect without reboot.

Hello smatkovi. This is a known feature that is not yet implemented: there are no plans to have it working.
Connecting the Xperia 10 iii to an external display causes a reboot - Bug Reports - Sailfish OS Forum

The kernel call is not handled by the OS.