We have moved to a new Sailfish OS Forum. Please start new discussions there.
20

[Sailfish X] Does it support USB OTG?

asked 2017-10-20 09:56:50 +0300

KRM gravatar image

updated 2017-10-20 14:23:27 +0300

Hello,

it looks like the XPERIA X supports USB OTG at least under Android. So you can e.g. plug in your USB pen drive to the phone.

See https://support.sonymobile.com/global-en/xperiax/userguide/connecting-your-device-to-usb-peripherals/.

Is this also working in Sailfish X?

Cheers, KRM

edit retag flag offensive close delete

3 Answers

Sort by » oldest newest most voted
6

answered 2017-10-20 17:13:41 +0300

KRM gravatar image

I just verified, that USB OTG works flawlessly with an USB keyboard (just typing on it). Mouse does however not work.

Cheers, KRM

edit flag offensive delete publish link more

Comments

5

USB OTG works perfectly on the Xperia X with Sailfish X. With this device (https://www.inline-info.com/en/products/adapter-converter/otg-card-reader/9614/inline-otg-card-reader-and-hub-with-3x-usb-2.0-ports?number=66775) I had two usb memory sticks and one keyboard connected at the same time. USB sticks are not auto-mounted, so they need to be mounted manually.

DK-Sailor ( 2017-10-21 20:15:03 +0300 )edit
1

I can confirm USB OTG working just fine (I've tried a micro-USB flash drive) & had to mount/unmount it manually.

MartinK ( 2017-11-30 03:09:52 +0300 )edit

It works indeed ! Do you think we can emulate a mouse ?

tourdetour ( 2017-11-30 21:08:55 +0300 )edit

I miss the typical USB-Utils like lsusb, but other than that it seems to work.

Cmdr_Zod ( 2017-12-01 10:45:00 +0300 )edit
2

Mouses do work from hw to input device level (e.g. mce tracks mouse devices and interprets double click as double tap = wakes up screen), it is just not useful/used as input source for ui.

spiiroin ( 2018-03-22 08:28:20 +0300 )edit
1

answered 2017-10-20 10:25:38 +0300

objectifnul gravatar image

updated 2017-11-30 19:47:17 +0300

No. Plus ten characters.

EDIT: tried with various file systems (NTFS, BTRFS, FAT, LUKS). Successful with FAT32 only.

EDIT again: (to be confirmed) apparently only with partitions <= 48 Gbytes.

edit flag offensive delete publish link more

Comments

1

why not?..

coderus ( 2017-10-20 10:28:55 +0300 )edit
2

I don't know why, but NOT for this moment :-(

Oleg ( 2017-10-20 10:38:18 +0300 )edit
2

Did someone try in CSD tool? In change log of 1.1.7 is mentioned:

csd - [usbotg] Add new test page to verify usb-otg functionality.

KRM ( 2017-10-20 13:14:27 +0300 )edit
7

install my usbstick-utils package, and it should mount it under /media/usbstick/(lavel)/

not tested on actual xperia x (works on oneplus X)

kimmoli ( 2017-10-20 14:20:47 +0300 )edit

Thanks, I'll give it a try.

KRM ( 2017-10-20 14:24:48 +0300 )edit
0

answered 2018-03-21 22:46:48 +0300

takimata gravatar image

updated 2018-03-22 11:07:38 +0300

Do you had to install any additional packages to make it work (edit: so that you can use an USB keyboard)? My Xperia X running Lapuanjoki won't recognize my adapter (which works with android devices)...

Or is USB OTG that poorly standardized (e.g. like Bluetooth) so that it is very hard to implement correctly, i.e., it's just luck whether it works with your stuff?

edit flag offensive delete publish link more

Comments

1

usbstick-utils from openrepos: https://openrepos.net/content/ferlanero/usb-stick-utils-automount-exfat-support Otherwise you have to mount manually via terminal.

leszek ( 2018-03-22 01:13:43 +0300 )edit

Sorry, I was too imprecise, obviously. I'm referring to using USB keyboards, not storage devices.

Not even the LED of my adapter lights up on Sailfish, so I suspect there's something missing on the software side of Sailfish which allows to correctly negotiate the OTG mode with my adapter.

takimata ( 2018-03-22 11:06:26 +0300 )edit
Login/Signup to Answer

Question tools

Follow
4 followers

Stats

Asked: 2017-10-20 09:56:50 +0300

Seen: 3,214 times

Last updated: Mar 22 '18