Ask Me About Webinar: Data Center Assets - Modeling, Cooling, and CFD Simulation
Join our 30-minute expert session on July 10, 2025 (9:00 AM & 5:00 PM CET), to explore Digital Twins, cooling simulations, and IT infrastructure modeling. Learn how to boost resiliency and plan power capacity effectively. Register now to secure your spot!
SpaceLogic KNX Forum
Schneider Electric SpaceLogic KNX forum to get support and share knowledge including selection, installation and troubleshooting for spaceLYnk, Wiser for KNX, eConfigure KNX, SpaceLogic KNX Hybrid module and other topics.
Link copied. Please paste this link to share this article on your social media post.
Hello everyone,
I have a Lua script reading data from a Linky meter via an FT232 USB-to-serial converter connected to /dev/ttyUSB0
.
My script has robust error handling and can detect communication failures, but sometimes the FT232 chip gets "stuck" and a simple USB reset is not sufficient to recover. The chip needs a complete power cycle (5V cut) to restart properly.
Currently I'm using a reset function from user library, but it only does a software USB reset which doesn't cut the 5V power supply.
Question: Is there a way from a Lua script (or system command via os.execute()
) to completely cut and restore the 5V power supply to a USB port on the SL?
I've considered:
uhubctl
(if available on SL)Any suggestions or experience with this kind of USB power management on SL?
Thanks in advance!
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Thanks Erwin,
I already tried the function ('/dev/usb ctrl', 'low') it doesn't work. For now I use the reboot but I don't like this solution at all
BR
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.
With achievable small steps, users progress and continually feel satisfaction in task accomplishment.
Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.
of