LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-13-2010, 09:06 PM   #1
Super TWiT
Member
 
Registered: Oct 2009
Location: Cyberville
Distribution: Debian
Posts: 132

Rep: Reputation: 16
Why is Hotplugging Bad?


Hi everyone.
I am a little confused as to why hot plugging is bad. I thought that hotplugging was only an issue with devices that carry power, but wikipedia says that even hotplugging rca cables is bad. Can someone shed some light on this for me?

Last edited by Super TWiT; 06-13-2010 at 09:07 PM.
 
Old 06-13-2010, 09:22 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,314
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
A link and quote from the relevant Wikipedia article would be helpful.

I assume you are referring to USB devices. I have heard of hotswapable hard drives, but that's usually an IT Dept. thing that most of us regular users don't get involved in. That's something I've never dealt with.

As far as I know, there is nothing wrong with hot plugging or hot swapping USB devices as long as one remembers first to shut down the device to be removed using a "safely remove" or an "umount" command. Otherwise, disconnecting a device could result in corrupting the data on the removable device if a file is actively being transferred or read at the time the device is removed.

At least, that's what gurus have told me.

I know of cases where persons who just yanked a USB device out of the computer destroyed files on the removable device. I haven't personally known of the device's being rendered unusable, just individual files.

YMMV.
 
Old 06-13-2010, 09:36 PM   #3
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 44
Yeah, need some more info on what exactly it is you think is bad with hot swapping. As ^ stated, as long as the process is followed data should not be corrupted.


Quote:
but wikipedia says that even hotplugging rca cables is bad

What does that even mean? What devices are they talking about?
 
Old 06-14-2010, 01:40 AM   #4
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,442
Blog Entries: 7

Rep: Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551
Quote:
Originally Posted by Super TWiT View Post
Can someone shed some light on this for me?
Hotplugging pretty much everything except USB items is bad.

Why? Because USB is specifically designed to be hotplugged.

Nothing else is.

I hope this answers your question.

Last edited by rkelsen; 06-14-2010 at 01:57 AM.
 
Old 06-14-2010, 02:04 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Not necessarily. You can get anything if you are prepared to pay.
Enterprise systems allow hotplugging of everything - CPUs and memory included.
 
Old 06-14-2010, 05:51 AM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
If used properly, i.e. responsibly and carefully, hotplugging is NOT bad. It's true that USB is designed for it while other devices, maybe not.

Why exactly do you need to hotplug ? If you don't need it don't use it, but if you need it, use it carefully.
 
Old 06-14-2010, 05:55 AM   #7
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
eSata devices, mainly for the external hard disks, with suitable connectors are supposed to be hotplugable.
 
Old 06-14-2010, 07:41 AM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,681

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
Yes, RCA aka phono jacks or stereo jacks were not designed to be hot plugged. It is due to the center pin i.e high signal mating before the ground (ring). It is possible to blow a speaker if the volume were turned up but should not really be a problem with low level signals like video. Ok, I've never had any video equipment fail.

Neither PS/2, RS-232 or the printer port are technically hot pluggable. I have hot plugged RS-232 and never had anything bad happen. However, one of my friends blew a PS/2 keyboard controller which I believe was due to electrostatic discharge (ESD). With IDE, SCSI, SATA the controller and hardware must be designed for hot plugging.

Power is not the only issue. You also need to protect the data signals from ESD.
 
Old 06-14-2010, 07:46 AM   #9
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
I still don't understand why wouldn't you hot-plug and RCA jack? It's just a low-voltage audio signal, no power or anything.

EDIT: michaelk's post wasn't there when I started writing this!

I read about the PS/2 protocol and it says that the computer can hang if the signal is disconnected white data is going through. And I have hot-plugged PS/2 keyboards and mice before, and sometimes you have to reboot to get it to work again. But then I thought what if you just leave the keyboard/mouse alone for a minute before unplugging? And it works.
 
Old 06-14-2010, 08:41 AM   #10
Super TWiT
Member
 
Registered: Oct 2009
Location: Cyberville
Distribution: Debian
Posts: 132

Original Poster
Rep: Reputation: 16
It seems to me that really what is of concern when hotplugging (ps2 as an example) is esd. But, esd is a problem whether the machine is on or off.
 
Old 06-14-2010, 09:33 AM   #11
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
The only things I hotplug are USB devices, network cables, RCA TV A/V cables (like the ones that come with a VCR/DVD player/video game console), and ⅛" stereo jacks.

I don't hotplug PS/2 cables, RS-232 serial cables, or VGA/DVI display connectors.
 
Old 06-14-2010, 09:56 AM   #12
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Rep: Reputation: Disabled
Question D-Sub aka VGA

Quote:
Originally Posted by rkelsen View Post
Hotplugging pretty much everything except USB items is bad.

Why? Because USB is specifically designed to be hotplugged.

Nothing else is.
What about D-Sub?
 
Old 06-14-2010, 10:00 AM   #13
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
What's D-Sub?
 
Old 06-14-2010, 10:11 AM   #14
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Rep: Reputation: Disabled
http://en.wikipedia.org/wiki/File:SVGA_port.jpg
Was before DVI.
 
Old 06-14-2010, 10:31 AM   #15
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,681

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
D subminiature connector.
http://en.wikipedia.org/wiki/D-subminiature

Which also includes printer and serial ports.
 
1 members found this post helpful.
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bad, Bad, BAD! (Firefox is basically ditching html5 video support) smeezekitty General 11 05-05-2010 06:29 PM
Bad mount of .mdf - "wrong fs type, bad option, bad superblock, on /dev/loop0" Maybe-not Linux - General 2 02-29-2008 01:30 PM
hotplugging lowebb Linux - General 1 12-30-2007 04:14 PM
Hotplugging Amol Patki LinuxQuestions.org Member Intro 1 04-06-2005 03:05 PM
Hotplugging Printer(?) guygriffiths Linux - Hardware 1 01-04-2004 08:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:34 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