Cool stuff for Raspberry Pi, Arduino and all electronics hobby projects
Notifications
Clear all

[Solved / Archived] MEGA4: 4-Port USB 3.1 Need support for turning off (power) the USB port without disturbing data communications/transactions.

5 Posts
2 Users
0 Likes
531 Views
(@shivaprakash)
Posts: 0
New Member
Topic starter
 

MEGA4: 4-Port USB 3.1 Need support for turning off (power) the USB port without disturbing data communications/transactions.

Setup:
- Raspberry pi board is connected to Mega4 with U type USB connector.
- Installed below sw:
wget https://www.uugear.com/repo/MEGA4/install.sh
sudo sh install.sh
- Connected android device to Mega4 USB port

//(Raspberry_pi_mega4_setup_with_abdroid_device.jpg)

Steps followed:
- Executed sudo ./mega4.sh (In Rpi terminal)
- Turned off connected device's USB port (ex: Here the port no is 2)
- Then tried for adb communication and file transfer.

Observations:
- connected device's USB port got powered off.                          //(setup_image_after_turning_off_port.jpg)
- Device charge has been turned off.
- Adb communication was lost.                                                  //(adb_connection_after_turning_off_port.png)
- lsusb -v is giving >> cannot read device status, Resource temporarily unavailable (11)           //(lsusb_comparision_after_turning_off_port.png)

Note:
- Observed the same in Linux with uhubctl
- Attached images for referenece.

Please let us know the steps to achieve data communication even after powering off the ports.

This topic was modified 12 months ago by shivaprakash
 
Posted : 31/10/2023 1:53 pm
(@admin)
Posts: 448
Member Admin
 

When the port power has been turned off, the USB device on that port stopped working, and the data communication between this device and the host is stopped.

It is an expected result.

 

 
Posted : 31/10/2023 1:58 pm
(@shivaprakash)
Posts: 0
New Member
Topic starter
 

@admin

We have a scenario where our Android devices will be kept on connected to mega4 hub 24x7.

So, we have some requirements to stop charging for a few hours(4 hours) without losing any data connection.

Is it possible to achieve it using mega4?

 
Posted : 02/11/2023 6:51 am
(@shivaprakash)
Posts: 0
New Member
Topic starter
 

@admin

If it is not possible with mega4, Can you please suggest any of your other products which help us to achieve >> requirement to stop/resume charging for a few hours(4 hours) without losing any data connection

This post was modified 12 months ago by shivaprakash
 
Posted : 02/11/2023 7:14 am
(@admin)
Posts: 448
Member Admin
 

@shivaprakash None of our products can achieve this directly.

You may consider controlling the charging circuit on/off, instead of turning off the USB port power.

 
Posted : 02/11/2023 7:31 am
Join Waitlist We will inform you when the product arrives in stock. Please leave your valid email address below.