Use data from the USB port
15 Jul 2021 11:07 #214840
by bierluiz
Replied by bierluiz on topic Use data from the USB port
bash: /usr/local/sbin:/usr/local/bin:usr/sbin:/usr/bin:/sbin:/bin:/usr/games
Please Log in or Create an account to join the conversation.
15 Jul 2021 11:21 - 15 Jul 2021 11:22 #214844
by Aciera
Replied by Aciera on topic Use data from the USB port
Then I'd say those are all the directories (separated by ':') that have been added to your $PATH and your component needs to be in one of those, I think.
Last edit: 15 Jul 2021 11:22 by Aciera. Reason: typo
The following user(s) said Thank You: bierluiz
Please Log in or Create an account to join the conversation.
15 Jul 2021 11:22 #214845
by bierluiz
Replied by bierluiz on topic Use data from the USB port
Ok I found the folder, but I don't have permission to save there
Please Log in or Create an account to join the conversation.
15 Jul 2021 11:27 #214846
by Aciera
Replied by Aciera on topic Use data from the USB port
Yes, those are system folders. So maybe try sudo in front of the terminal command. Or open an filemanager with elevated privileges like 'sudo nemo'
The following user(s) said Thank You: bierluiz
Please Log in or Create an account to join the conversation.
15 Jul 2021 11:28 #214847
by andypugh
sudo cp thefile /usr/bin/thefile
Replied by andypugh on topic Use data from the USB port
As I said, you will need to use sudoOk I found the folder, but I don't have permission to save there
sudo cp thefile /usr/bin/thefile
The following user(s) said Thank You: bierluiz
Please Log in or Create an account to join the conversation.
16 Jul 2021 08:33 #215003
by bierluiz
Replied by bierluiz on topic Use data from the USB port
Ok, I solved this problem.
Now I need to import the pyusb library. How exactly do I do that?
Now I need to import the pyusb library. How exactly do I do that?
Please Log in or Create an account to join the conversation.
16 Jul 2021 08:38 #215004
by rodw
Replied by rodw on topic Use data from the USB port
pypi.org/project/pyusb/
pip install pyusb
The following user(s) said Thank You: bierluiz
Please Log in or Create an account to join the conversation.
16 Jul 2021 11:49 #215021
by bierluiz
Replied by bierluiz on topic Use data from the USB port
Is it possible to develop a realtime component to do this?
An userspace component may not be fast enough for what I am trying to do.
An userspace component may not be fast enough for what I am trying to do.
Please Log in or Create an account to join the conversation.
16 Jul 2021 12:10 #215029
by andypugh
Replied by andypugh on topic Use data from the USB port
I don't think that realtime has access to the USB port. (And USB itself is not realtime)Is it possible to develop a realtime component to do this?
An userspace component may not be fast enough for what I am trying to do.
The following user(s) said Thank You: bierluiz
Please Log in or Create an account to join the conversation.
28 Jul 2021 08:58 #216113
by bierluiz
Replied by bierluiz on topic Use data from the USB port
I am having a lot of trouble to install the libraries because of the Linux version I am using (10.04)
The website which it gathers the libraries from does not support Ubuntu 10.04 anymore.
Updating Linux version is not an option at the moment.
Any ideas?
The website which it gathers the libraries from does not support Ubuntu 10.04 anymore.
Updating Linux version is not an option at the moment.
Any ideas?
Please Log in or Create an account to join the conversation.
Time to create page: 0.098 seconds