Hi Philippe
From this and other threads going back to the very early days of this
mailing list it is very clear that Wim wants to connect an external
GPS unit to his Jolla via cable (usb / serial) for use in the cockpit
of a glider.
HtH
Chris
Zitat von "Philippe De Swert" <philippe.desw...@jolla.com>:
Hi,
As this is getting very confused and we are mixing connecting
devices to the Jolla and connecting the Jolla to the pc.
So which one is it?
On 26/03/14 22:11, Wim de Vries wrote:
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).
So you connected some device to your Jolla?
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?
This is not true. All depends on context, what you plug into what etc...
In general if you plug in a device into a USB host (like your
average USB port on your pc/laptop) you should be able to expect
power from it.
In the case of a phone this is usually a USB device, so it expects power.
And in the OTG case it gets complicated. Here the device is able to
switch between host and device mode. And will supply power if it is
playing host.
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.
This looks like plugging in a serial device into a PC. Do you want
your Jolla to expose a serial port? That is definitely possible and
easy.
Do you want your Jolla to read data from some serial port with a
serial to USB adapter then you're getting in a very complicated world.
Unless you can explain what you actually want there is little we can
do to help.
Regards,
Philippe
_______________________________________________
SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list