Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have realized that the 5V on the USB are always present, even when the host system reboots. Now, I was wondering, is there any way that I can turn off the 5>V onb the USB port explicitly? I have a usb client device and I would like it to go through a reeboot as well when I reboot the host as the system is supposed to be self-surviving 24/7/365 and I can only "guarantee" this, if I also can power cycle my usb client...
Any hints?
I have realized that the 5V on the USB are always present, even when the host system reboots.
yes, that's by design. Some notebooks, however, switch USB power off when they're powered down themselves and not on AC power for recharging.
Quote:
Originally Posted by cerr
Now, I was wondering, is there any way that I can turn off the 5>V onb the USB port explicitly?
You can't. At least there's no standard way. All RESET-aware USB devices depend on "being told" to reset themselves by their driver.
Quote:
Originally Posted by cerr
I have a usb client device and I would like it to go through a reeboot as well when I reboot the host as the system is supposed to be self-surviving 24/7/365 and I can only "guarantee" this, if I also can power cycle my usb client...
That would require some hardware tricks. Problem is, you can't detect a simple restart of the host system by its power lines, least of all USB power. Instead, you'll have to monitor the status of the system's RESET line, which is available on PCI expansion slots (possibly on PCI-e, too, but I'm not sure) and on legacy IDE ports.
Actually, that's a tough one. But maybe we can find a solution if you tell us a bit more about the limiting conditions.
Actually, that's a tough one. But maybe we can find a solution if you tell us a bit more about the limiting conditions.
NHi Doc,
We'rehere to find solutions for the tough problems, are we not? However, as for the conditions:
I have a little embedded box running an Atmel AT91SAM ARM processor. I compiled a mini distro using buildroot and busssybox, featuring kernel 3.2.7. Tthe system is supposed to be connected to the cloud with a cell phone stick. I got that going fine, meaning i can dial up and send ands receive data just fine for a while and then it loses connection, i redial and it will reconnect some times, other times, it says that the ppd pid is locked already so i built a watchdog script that gets executed by cron every 5 minutes. It will check if it can ping 8.8.8.8 and in case of a negative feedback, I reboot my little box (which will trigger it to redial on init) but every now and then, the system seems to hang itself up on boot aand i believe it might be because the usb cell stick requires a power cycle every now and then too (I wanbted to power cycle it on every reboot). Now how can I get this accomplished?
Aany hints?
Please advise, Doctor!
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
just out of curiosity, what is the client device? can you issue commands to reboot the device via the USB interface? if you can send it a reboot signal then you could perhaps set the computer to send a reboot signal to the device when it reboots, just a thought, couldn't tell you if this would work or not since none of the specifics about the device in question were provided.
just out of curiosity, what is the client device? can you issue commands to reboot the device via the USB interface? if you can send it a reboot signal then you could perhaps set the computer to send a reboot signal to the device when it reboots, just a thought, couldn't tell you if this would work or not since none of the specifics about the device in question were provided.
True, it's a cell phone stick from ZTE, type MF668A - I just sent the sales rep an email, asking him if he can get me in touch with a ZTE tech guy to get some additional info about its usb power management profile.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.