Hi, I was wondering is there a way to control the power output of the USB ports on the board, I am currently facing an issue where these ports don’t seem to output power.
FWIW I have had issues with USB. Interestingly, I left an undetected usb-drive (lsblk/lsusb did not show it and dmesg didn’t indicate it had seen it either) overnight but by the next morning it was present. I have seen instances where this usb-drive will be available after one reboot but not after the next. I have tried all USB-A and USB-C ports with the similar results.
Even connected to a 100W wall charger made no obvious difference. I have 4 Rubik-PI’s and see this issue on each one I experimented with.
There is a section on USB debugging: USB | RUBIK Pi Documentation but if the device isn’t recognized I’m not sure any of that would help.
I wonder if there is a timing issue similar to : arm64: dts: rubikpi3: Adjust the power-on time of the M.2 · rubikpi-ai/linux@8c15990 · GitHub for usb.
The voltage and current output from the USB ports:
Could you kindly advise how you determined that “these ports don’t seem to output power”?
Additionally, have you connected any peripherals such as a display, speakers, or other devices to the USB interfaces? Does it function normally when a mouse and keyboard are attached?
Given that both USB-A and USB-C ports exhibit the same behavior, the cause is most likely unrelated to power-on timing.
Could you kindly confirm whether you are using the Linux release, or Debian/Ubuntu?
Would you also provide the exact model (or a purchase link) of the USB flash drive you are using?
Hi Thank you for the reply,
I tested this behavior with a mouse when i connect to to the USB A ports (both 3.0 and 2.0), it doesn’t even turn on. Other than that I haven’t connected any other device, another thing to note is that I only have this problem with the USB A ports and the other ports (HDMI, USB c, Ethernet) seem to work fine.
As for the software side I tried with the base Ubuntu that came with the device and also a Yocto image that I compiled following the Yocto Project User Guide the name of the image is qcom-multimedia-image.
Could you kindly confirm whether the USB-A port issue exist when you received the RUBIK Pi? Is it unable to recognize any devices such as a mouse, keyboard, or usb-drive?
Additionally, have you tested it with the image released by our company?
Hi, i just tested the Ubuntu image you recommended and the USB ports work perfectly, does this mean I need to configure something to enable this in the QLI image ?
No additional configuration is required.
The Ubuntu image pre-installed on RUBIK Pi is an earlier factory version; the image mentioned in our previous message is the latest release currently available.
At present, the Yocto project only builds a Linux image (support for additional systems is planned). For building Ubuntu, please refer to the link below.
Alternatively, would you like to test the USB functionality under the Linux image instead?
Yes , please I would like this ports to be enabled in the Linux image as well, but I don’t seem to find a way to do this.
May I ask whether you have conducted tests using the Linux release provided by official website, and does it meet your requirements?
Did you build the Yocto project solely with the command bitbake qcom-multimedia-image?
Could you also brief us on the specific steps you followed for packaging and flashing?
Hi, I used only the bitbake qcom-multimedia-image command to compile the image, for packaging I used the ./rubikpi_build.sh --zip_falt_build command and for flashing I used the
./qdl --storage ufs prog_firehose_ddr.elf rawprogram*.xml patch*.xml command with the device in edl mode.
Kindly compile using the ./rubikpi_build.sh command, or alternatively run the two commands
bitbake qcom-multimedia-image and bitbake qcom-qim-product-sdk.
After the build is complete, please package the images and flash them before proceeding with the tests.
Hello,
I tested this using the build script and after that packaged the image using the -p option of the script, after this i flashed onto the board using tflash. The USB ports still don’t seem to output any power , after this (I tested this by connecting a mouse and it doesn’t even turn on). Also this problem only happens with the USB A ports the USB c port functions just fine as a host. Please help me figure out if I am doing something wrong.
Please run the following commands to flash the image:
adb root
adb reboot bootloader
fastboot erase usb_fw
fastboot flash usb_fw usb_fw.img
fastboot reboot
Thank you that solved my problem. Just a question, does this happens when changing from Ubuntu to Yocto build , this is just a supposition.
Thank you for your feedback. This is a known issue, and we will optimize it in a future release.
