https://together.jolla.com/question/50/why-its-not-possible-to-use-usb-otg/
So if you use external power (like powered usb hub or powered cable http://forum.xda-developers.com/showthread.php?t=1828032 ) , compile and install your own kernel modules and then you might get lucky. For that effort you might just want to build some custom i2c serial adapter TOH yourself. re, Jonni ________________________________________ From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Wim de Vries [wsvr...@xs4all.nl] Sent: Wednesday, March 26, 2014 10:11 PM To: Sailfish OS Developers Subject: Re: [SailfishDevel] No QSerialPort Thank you guys. Indeed devel-su works. I have attached the devices, but the first problem is that the connection does not supply power (the devices stay dead). As far as I know, a usb connection should always have power, but it is a bit beyond my kowledge. Do I need another plug? On other linux/MeeGo systems there was always power... and dmesg would give: [ 31.959468] usb 3-2.1.4: new full-speed USB device number 7 using xhci_hcd [ 31.977423] usb 3-2.1.4: New USB device found, idVendor=10c4, idProduct=ea60 [ 31.977434] usb 3-2.1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 31.977440] usb 3-2.1.4: Product: CP2102 USB to UART Bridge Controller [ 31.977445] usb 3-2.1.4: Manufacturer: Silicon Labs [ 31.977450] usb 3-2.1.4: SerialNumber: 0001 [ 31.992330] usbcore: registered new interface driver usbserial [ 31.992343] usbcore: registered new interface driver usbserial_generic [ 31.992355] USB Serial support registered for generic [ 31.992361] usbserial: USB Serial Driver core [ 31.992942] usbcore: registered new interface driver cp210x [ 31.992955] USB Serial support registered for cp210x [ 31.992991] cp210x 3-2.1.4:1.0: cp210x converter detected [ 32.063473] usb 3-2.1.4: reset full-speed USB device number 7 using xhci_hcd [ 32.079934] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8801debc38c0 [ 32.079947] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8801debc3880 [ 32.080450] usb 3-2.1.4: cp210x converter now attached to ttyUSB0 Use Qserialport on ttyUSB0 and ready you are. Nothing of this the dmesg of Jolla, though :-( r wim On 03/26/2014 12:34 PM, Jozef Mlich wrote: > On Wed, 2014-03-26 at 12:07 +0100, Wim de Vries wrote: >> On 03/26/2014 07:34 AM, Radek Polak wrote: >> >>> On Tuesday, March 25, 2014 12:32:34 PM wsvries wrote: >>> >>> >>> >>>> Don know about OTG, but my Linux systems always attach a Generic >>> Serial >>> >>>> Driver to the devices. >>>> Why is Sailfish acting differently? >>> >>> >>> No idea how this is in jolla but in openmoko there were options >>> while configuring linux kernel how the device will act when >>> connected to PC . IIRC it was somewhere in USB/gadget menu. You >>> could choose the device to act as USB mass storage, USB ethernet or >>> the USB serial devices. >>> >> I just tried it connecting and run dmesg in the terminal. >> Need root permission I guess ... >> But there is no sudo >> Any hints? >> Thanks. > As far a I know, mer/jolla have "devel-su" command which gives you root > permissions. > > _______________________________________________ SailfishOS.org Devel mailing list _______________________________________________ SailfishOS.org Devel mailing list