LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-03-2014, 06:13 AM   #1
AntBla
LQ Newbie
 
Registered: Oct 2012
Posts: 16

Rep: Reputation: Disabled
Will plugging and unplugging USB many times cause problems


Hi.
I use my linux box to back up my SD cards.
I leave the box on all the time.
Each time I plug a card it adds a new USB device number.
Is there an upper limit to this number or can I reset it?
Will it cause problems if the number goes too high.
Here is what it looks like in dmesg
Code:
[ 9987.399540] usb 1-1.5: USB disconnect, device number 18
[ 9991.727688] usb 1-1.5: new high-speed USB device number 19 using dwc_otg
Thanks all.
V.
 
Old 08-03-2014, 09:49 AM   #2
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
the upper limit should be 127; this is the max number of devices you can connect to a USB controller
 
Old 08-03-2014, 10:31 AM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Not sure I've ever heard of any issue where the number is exceeded.

What happens to the sequence would be something you may be able to tell us in a few years when it either reaches the limit or starts over or stops.

Things change often so it may or may not be possible to map or fool the system so that a device is used each time as some assigned number. Doubt you need to do it in this case.
 
Old 08-03-2014, 01:02 PM   #4
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Quote:
Originally Posted by AntBla View Post
Hi.
I use my linux box to back up my SD cards.
I leave the box on all the time.
Each time I plug a card it adds a new USB device number.
Is there an upper limit to this number or can I reset it?
Will it cause problems if the number goes too high.
Here is what it looks like in dmesg
Code:
[ 9987.399540] usb 1-1.5: USB disconnect, device number 18
[ 9991.727688] usb 1-1.5: new high-speed USB device number 19 using dwc_otg
Thanks all.
V.
the real thing to worry about it the labeling of the USB device by the system. are you using any kind of automagic mounter (ie: Gnome III or KDE) or are you mounting manually via the /dev/sd# or better yet are you using UUID.

with UUID in either autofs or fstab you will bypass the notices above as the system will realize that its the same device and not care to count up.
 
  


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
Plugging/unplugging VGA cables General Linux - Laptop and Netbook 2 07-30-2008 05:30 PM
A curious clock problem unplugging and plugging laptop crisostomo_enrico Solaris / OpenSolaris 3 05-08-2007 04:28 AM
Kernel Panic after plugging in and out a USB device several times venk Linux - Hardware 3 06-30-2006 03:16 AM
mandrake 9.2 crashes on dell 4150 when unplugging/plugging power cord biotek1 Linux - Laptop and Netbook 3 12-17-2003 11:48 AM
Plugging/Unplugging the ethernet cable... rajeshdorai Linux - Networking 3 10-08-2003 12:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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