You are not logged in.

#1 2025-07-16 23:01

Armbroke
Member
Registered: 2025-07-10
Posts: 78

usb ports

I am trying to use Arduino on my q4os, but run into, mainly, two problems;
First I can not access my sketch list, downloaded from usb memory stick. This stick is recognized and readable, so copying sketches is possible, but Arduino cant find them.
Second, usb ports, for downloading sketches, are not found/accessible.
Unsure if this is related to Arduino or Linux, is opening these ports a specific task in q4os ?
If anyone else is using Arduino here, any info is appreciated.
Peter

Offline

#2 2025-07-17 07:50

hchiper
Member
From: Belgium
Registered: 2020-07-28
Posts: 785

Re: usb ports

Armbroke wrote:

First I can not access my sketch list, downloaded from usb memory stick.

What are you exactly trying to do ("access my sketch list")?

This stick is recognized and readable, so copying sketches is possible, but Arduino cant find them.

An Arduino device never finds sketches from an USB stick or any other device, you need to use Arduino IDE to upload a sketch to you Arduino.

Second, usb ports, for downloading sketches, are not found/accessible.

What did you try to do ("download" from where)?
Never heard an USB port was not accessible, except in the case of an hardware failure.


Q4OS machine: Samsung R519 - Pentium T4200 2.0 GHz - 4 GB RAM - 500 GB SSD

Offline

#3 2025-07-17 15:59

Armbroke
Member
Registered: 2025-07-10
Posts: 78

Re: usb ports

Hi hchiper, thanks for responding.
First, my system is W10 and q4os, dualbooted.
I have been using arduino before, but on windows, now want to get it working on my new linux installation.
My post was a bit unclear; what I mean is I want to use ("access") the sketches from my old windows setup,
to do that I copied them via a usb stick into the Arduino file, using Dolphin, which swiftly found the stick.
However, Arduino IDE don't see the sketches. If that is some kind of installation/setup error I can not tell. I seem to
remember the IDE looks for sketches in a specific folder, maybe should look into that.

The other issue, "downloading sketches" is downloading them to an Arduino chip. Trying that, a port is not found, except for
"ttyUSB0". So, any routine to open usb ports ?
I'm a bit lost here about what to do; reinstall Arduino ?
Any ideas appreciated...
Peter

Offline

#4 2025-07-17 20:09

hchiper
Member
From: Belgium
Registered: 2020-07-28
Posts: 785

Re: usb ports

First step:

Armbroke wrote:

(...) I copied them via a usb stick into the Arduino file, using Dolphin, which swiftly found the stick.
However, Arduino IDE don't see the sketches.

Look in Arduino Preferences where its default folder is and copy your sketches there.
Otherwise, to open one of your sketches, you can also browse your directories and go to where you copied them.
Also note that the default extension is ".ino".

Last edited by hchiper (2025-07-17 21:17)


Q4OS machine: Samsung R519 - Pentium T4200 2.0 GHz - 4 GB RAM - 500 GB SSD

Offline

#5 2025-07-17 21:40

Armbroke
Member
Registered: 2025-07-10
Posts: 78

Re: usb ports

Aha, that's probably what I need. Is Preferences visible inside IDE then ?  Can't recall seeing it before.
Anyway, I should get access to those files again then. I have just recently installed q4os, and is slowly getting to
know it, and trying to bring other programs to life within it.
Will fix files as per your tip, and continue with ports. The only real concern is the start screen flashing on/off
occasionally, maybe it needs an update ?
Thanks for helping out ?
Peter

Offline

#6 2025-07-17 21:44

Armbroke
Member
Registered: 2025-07-10
Posts: 78

Re: usb ports

Typing errors are fantastic..... "Thanks for helping out !"  is  much better......

Offline

#7 2025-07-18 05:56

hchiper
Member
From: Belgium
Registered: 2020-07-28
Posts: 785

Re: usb ports

Armbroke wrote:

Aha, that's probably what I need. Is Preferences visible inside IDE then ?

Yes: File / Preferences (the same as with the version for Windows)

Anyway, I should get access to those files again then.

The folder defined in the Preferences is looked first when you want to open a file  (the same as with the version for Windows too).

I have just recently installed q4os, and is slowly getting to know it, and trying to bring other programs to life within it.

In the case of Arduino IDE, there is no fundamental behaviour difference between Windows and GNU/Linux versions (the menus are the same).

The only real concern is the start screen flashing on/off occasionally, maybe it needs an update ?

How did you install Arduino IDE?
I'm using Arduino IDE 1.8.3 on Q4OS 4 / Plasma and I never see the splash screen flashing. I have installed it from Q4OS/Debian repositories using `$ sudo apt install arduino` (for sure, crosscourt will add that you can also use synaptic to do that wink).
I recommend to use this method if you installed in another way.


Q4OS machine: Samsung R519 - Pentium T4200 2.0 GHz - 4 GB RAM - 500 GB SSD

Offline

#8 2025-07-18 19:10

crosscourt
Banned
Registered: 2017-05-07
Posts: 2,706

Re: usb ports

@hchiper,  indeed you can use Synaptic to do that as well and its also available as a Flatpak. smile

Last edited by crosscourt (2025-07-18 19:11)

Offline

#9 2025-07-18 22:46

Armbroke
Member
Registered: 2025-07-10
Posts: 78

Re: usb ports

hchiper:
Again, sorry for confusion, I really need to check how I reference things. It is not in Arduino I see a flashing screen,
it is on the main start screen; the first that shows up. That menu will flicker after booting the system, also sometimes when
I click on icons. Apart from that my system is stable.
Any hints on that too ?
Thanks/Peter

Offline

#10 2025-07-19 04:31

hchiper
Member
From: Belgium
Registered: 2020-07-28
Posts: 785

Re: usb ports

I think it would be better to open a separate thread on the flashing screen issue, with an appropriate title, information about your system (see https://www.q4os.org/forum/viewtopic.php?id=3502), a detailed description (for example, I'm not sure what you mean by "main boot screen"), and a screenshot if necessary.

In this thread, let's limit ourselves to discussing only the problem described in your initial post (and based on the discussion, it seems that a title like "Arduino IDE and USB" would have been more descriptive).


Q4OS machine: Samsung R519 - Pentium T4200 2.0 GHz - 4 GB RAM - 500 GB SSD

Offline

Board footer

Powered by FluxBB