-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Trouble accessing USB devices. #22
Comments
For your information, Pi Power Tools is not currently being developed. But luckily, Pi Power Tools simply runs vdesktop, which is a higher priority for me. Vdesktop is dedicated to the virtual machine stuff, and is very easy to use from the command line. For example, you can change vdesktop's username and password. Enabling USB device passthrough is also possible by changing vdesktop's
Final remarks: |
Thanks for the quick reply :-) I know nothing about vdesktop... is there a config file i can edit in your Pi Power Tools app where i can edit the vdesktop run string to use the proper password and tell it to mount the entire device folder from the host to the container using "-v /dev:/dev"? |
Simple reason: Pi-Apps takes almost 100% of my development time. I was hoping Pi-Apps would settle down and fit snugly alongside my other projects, but it's grown much bigger than that to 100+ thousand users. Now it's a hard-to-control monster where I try to keep up with the maintenance and app submissions. Anyway, don't worry, vdesktop is very easy to use. I wouldn't even say there's a learning curve. And as I said, Pi Power Tools is just a dumbed-down front-end for vdesktop. So, download vdesktop:
Run vdesktop to boot something:
(After booting something once, vdesktop will create a terminal command
OR, if you want the password changed long-term so you don't have to put it there every time, simply change the line in vdesktop's settings.env config file:
From now on, vdesktop will use 1234 as the password, instead of raspberry. |
Ok, so just to clear up my confusion, if I've already installed Pi Power Tools, then that also installed vdesktop underneath, right? |
I suppose that could work. Pi Power Tools does install vdesktop into its own folder: |
Thank you for making such an amazing and useful project!!!
However I am having trouble accessing USB devices connected to the pi when inside the container running the image file.
Specifically, I am trying to run Gqrx and other RTL-SDR apps from the PiSDR image... (https://github.com/luigifcruz/pisdr-image)
I have run the volk_profile command (inside the container) to detect and setup the RTL-SDR dongle, and that seemed to work, but when i run Gqrx or any other app that needs to access the SDR USB device from inside the container it tells me it can not open the device, and the device name and serial number do not show in the devices list like it should in any of the apps.
lsusb from inside the container sees the device, but for some reason apps can't access it.
I'm wondering if this is a permissions issue (do i need to run the apps with sudo) or is there some special "porting" we need to setup to pass through full USB functionality from inside the container?
Hope you can help, because this is the only way i can get all the SDR software to work on the latest Raspberry Pi OS.. by running the image file that someone has already done getting all the bugs out of the installation for those apps :-(
Also, another small issue... when running the OS in the container, I changed the default raspberry password, now the OS no longer boots to the desktop in the container, instead it goes to a prompt telling me the login was wrong, then i need to enter the user and new password and manually start the desktop with startx. How do I fix this so the new password is recognized in the container boot up process and it automatically boots to the desktop like it's supposed to?
Thanks
The text was updated successfully, but these errors were encountered: