LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-28-2015, 07:13 AM   #1
s.verma
Member
 
Registered: Oct 2013
Distribution: Debian Sid, Gentoo, Arch, Debian
Posts: 186
Blog Entries: 4

Rep: Reputation: 25
Does Linux have inbuilt feature or a software for detecting power surge in computer?


I have used Microsoft Windows XP Home Edition SP2 in the past.
It has a feature that when a USB port is short circuited, it pops a message "power surge on hub port, USB device has exceeded the power limits".

I want to know does Linux or some linux based software has such feature.

Does it also shows for other power surges let say e.g power surge on Ethernet card or Wifi card, etc.

If yes, then which software I can install so that I can get a pop up message in case of any power surge that may be fatal to my system.
 
Old 01-28-2015, 08:18 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,148

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
The error message is misleading; there is no "power surge". USB devices negotiate different power levels. If a device requests high power and the port can only provide low power, Windows puts up the error message. In fact there is no danger to your system; the device just doesn't get power.
 
Old 01-28-2015, 07:27 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,998

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
I'd assume that most drivers in linux can operate a usb port in a similar manner to windows in that the power management and protection feature is still there. Not sure it would pop up to tell you. Maybe an app out there has been written to monitor that and report in some way.
 
Old 01-29-2015, 07:40 AM   #4
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
A lead for research would the seeing files in /sys/bus/usb.

Also see Linux kernel documentation directory for usb and it's power.

Last edited by veerain; 01-29-2015 at 07:41 AM.
 
Old 01-29-2015, 12:24 PM   #5
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Leave it to Windows. Or rather some idiot-ware which foments this stuff. smallpond is exactly correct.
 
Old 01-29-2015, 03:39 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,998

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
The OP does ask about various issues but not well written exactly.

"USB device has exceeded the power limits " is a fair concern.
 
Old 01-29-2015, 09:07 PM   #7
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
That same popup message is in windows 7 also, and it will pop up when there is a hardware issue with a normally OK usb device that overloads the power capacity. I suppose the same message shows up when there is a mismatch with the available power on the port, but I haven't seen that. The wording of the popup message is correct for an overload situation in the device.

I've never seen a similar message in Fedora, but that's not to say there isn't one.

Last edited by Doug G; 01-29-2015 at 09:09 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] LiLO boot error code L_ on RAID array after power surge Bruce Hill Slackware 2 08-30-2008 07:06 PM
Power Surge and losing files combatseabee Linux - Server 2 10-15-2007 07:25 PM
FIle permissions changed after power surge..HELP!! spaceagedevice Linux - Newbie 5 06-16-2004 04:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration