# USB connection mode

I suggest the following, only when we connect a USB cable connected to a PC :

When the option "Developer mode" is enabled, the default plug mode can be "developer Mode".

When the option "Developer mode" is not enabled, the default plug mode can be "PC Mode".

edit retag close delete

The question is a bit too terse to understand the feature requested.

If you mean:

Please, add a way to change the USB connection mode between Charge only/PC connection/Developer Mode at any time, instead of once when the device is connected

Then I agree that this is a feature I would like to have, if it is possible.

By the way, you can still change the question and improve the wording; it could get more votes this way.

( 2014-01-17 15:44:47 +0200 )edit

Just set the defaults in the settings yourself. It is just one time.. Also please do not change your question like that, as it is clear from the answers/comments below it was originally a totally different question.

( 2014-03-13 12:12:52 +0200 )edit

Sorry for the question.

Now, when you change the default connection mode to "developer mode", when we plug the USB, it always connect to "developer mode" and there is no way to change the mode.

Yes, this is new feauture ;-) , It is possible to add two options :

1) ask or default to developer mode, 2) ask or default to PC mode ?

Or, much better, give the option to change the connection mode.

( 2014-03-13 12:58:54 +0200 )edit

How are we supposed to know what to select when? This is going to be some automagic thing that will be more often wrong than right.

And the option to change connection mode is the first answer below. Should not be hard to tie it into some qml. Or make a small script that does exactly what you want. Because to be honest going to settings->usb->... is pretty long.

( 2014-03-14 16:44:42 +0200 )edit

Sort by » oldest newest most voted

On the command line use usb_moded_util -s <mode you want> (mode you want is one of pc_suite, developer_mode, charging_only)

You can do a lot more with usb_moded_util (use -h to get a list) The settings UI unfortunately does not support it.

more

Go to

Settings -> System Settings -> USB


This opens a prompt (charge only/PC connection) whenever USB is plugged in.

Does this do what you want?

more

Sometimes, (N900 experience) it's annoying to unplug / replug USB cable to set the mode. I think the question was sometinhg like that : is it possible to change USB mode without unplugging USB cable ? This is quite interesting regarding the expected USB mass storage mode.

( 2014-01-17 13:26:52 +0200 )edit
2

Many thanks for your answer, but this is not what i wnat. The problem comes when you press the wrong option (Charge only when you want to be connected), you cannot change this situation unless you disconnect the connector. With the N900 you can change the USB connection mode.

( 2014-01-17 13:27:56 +0200 )edit

On the N900, you can select a mode while you were in "charge only". After, it was not possible to switch from "mass storage" to "PC connection" or otherwise.

( 2014-01-17 13:46:09 +0200 )edit

Check out the app "USB Switch" from the Jolla Store, it is a user interface for switching USB connection mode while the USB connector is already plugged.

more