LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-05-2018, 06:28 PM   #1
Rollin' Bones
LQ Newbie
 
Registered: Jul 2018
Location: Vista, CA
Distribution: Slackware 14.2
Posts: 5

Rep: Reputation: Disabled
Multi-port USB hub mounting procedure


This is my first post, and am really new to Linux. I have searched the forum, but didn't find what I want to know. So here's my question.

I want to mount a multi-port USB hub on my Slackware 14.2 installation. I have mounted USB devices, so that isn't the problem.

I'm wondering if once it's mounted, will each device plugged into the hub automatically mount? Or do I plug in the hub and them mount each device I plug into it. I haven't bought a hub yet, so any advice on compatible brands is appreciated, too.

Hope the question makes sense and I've provided all the information needed to answer it, and thanks.
 
Old 07-05-2018, 06:55 PM   #2
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 2,643

Rep: Reputation: 1080Reputation: 1080Reputation: 1080Reputation: 1080Reputation: 1080Reputation: 1080Reputation: 1080Reputation: 1080
Let me take a stab at this.
If you are at all familiar with different kinds of networking hardware, a USB hub is somewhat similar (in concept) to a dumb ethernet hub: you do not normally address it or mount it directly. It extends your USB connections the way a hub extends your network connections.

This implies that a device that would auto-detect and mount if plugged directly into a USB port will probably auto-detect and mount connected to this hub while IT is connected to your computer. It also implies that if it would NOT auto-detect and mount if connected directly, it almost certainly will not when plugged into the hub.

Things are, alas, not QUITE that simple, but this is the first level expectation. There are power, throughput, and timing issues that complicate this picture slightly. Best answer, give it a try.
 
1 members found this post helpful.
Old 07-05-2018, 07:10 PM   #3
Rollin' Bones
LQ Newbie
 
Registered: Jul 2018
Location: Vista, CA
Distribution: Slackware 14.2
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thanks, wpeckham. None of the USB devices I have plugged in previously ever auto-mounted. I have to mount it, so I'll assume each device I plug into the hub will require mounting.
 
Old 07-05-2018, 07:57 PM   #4
Skaendo
Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 728

Rep: Reputation: Disabled
I have a generic little 4 port USB hub and the hub itself doesn't get mounted. Once I plug in a USB device, my file manager recognizes the device, and I can open it via the file manager, but Slackware doesn't auto-mount anything (unless you can configure it to do so).
 
Old 07-05-2018, 08:05 PM   #5
Rollin' Bones
LQ Newbie
 
Registered: Jul 2018
Location: Vista, CA
Distribution: Slackware 14.2
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thanks, Skaendo. My slackware doesn't auto-mount anything either. I'll just mount each device I plug into the hub.
 
Old 07-06-2018, 09:59 AM   #6
chemfire
Member
 
Registered: Sep 2012
Posts: 198

Rep: Reputation: Disabled
@Rollin' Bones

There are various ways to auto-mount / detect things like storage. Right now the 'best' one is probably eudev + udisks. Which if you did a full install and have not modified the start up scripts should be running.

You probably want to add you user, that you login with typically, to the plugdev group and possibly the cdrom group if you are not already a member of those. After that when you plug in USB media you should see it in the file manager of your Desktop environment.

(Caveat I am speaking mainly of thunar in XFCE; I have not used any KDE environment in a long time).
 
1 members found this post helpful.
Old 07-06-2018, 10:41 AM   #7
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib."
Posts: 4,011
Blog Entries: 1

Rep: Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296
Quote:
Originally Posted by chemfire View Post
@Rollin' Bones

There are various ways to auto-mount / detect things like storage. Right now the 'best' one is probably eudev + udisks. Which if you did a full install and have not modified the start up scripts should be running.

You probably want to add your user, that you login with typically, to the plugdev group and possibly the cdrom group if you are not already a member of those. After that when you plug in USB media you should see it in the file manager of your Desktop environment.

(Caveat I am speaking mainly of thunar in XFCE; I have not used any KDE environment in a long time).
On occasion I'll switch to KDE from Xfce (but not for long ) and KDE will do the same thing.
 
Old 07-06-2018, 01:51 PM   #8
Rollin' Bones
LQ Newbie
 
Registered: Jul 2018
Location: Vista, CA
Distribution: Slackware 14.2
Posts: 5

Original Poster
Rep: Reputation: Disabled
cwizardone,

My goal is to learn the Linux OS itself, so I don't use a desktop environment like KDE or Xfce. I'm always running the OS as root for that reason. I like the school of hard knocks; you screw up - figure out how to fix it. I consider it fun. I have a windows desktop for all my usual needs. I'm running the Linux OS on a laptop and another desktop to play with and learn.

I was a sometime shade tree mechanic too - MGBs. Thx
 
1 members found this post helpful.
Old 07-06-2018, 02:01 PM   #9
Rollin' Bones
LQ Newbie
 
Registered: Jul 2018
Location: Vista, CA
Distribution: Slackware 14.2
Posts: 5

Original Poster
Rep: Reputation: Disabled
chemfire,

I don't use a desktop environment, but I'll have to check out whether those scripts are running. USBs are never auto-detected on my machine so probably not. thanks.
 
Old 07-06-2018, 02:12 PM   #10
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib."
Posts: 4,011
Blog Entries: 1

Rep: Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296
Quote:
Originally Posted by Rollin' Bones View Post
....I was a sometime shade tree mechanic too - MGBs. Thx
Great vehicle!
 
Old 07-06-2018, 02:36 PM   #11
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,101
Blog Entries: 28

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Member response

Hi,

For my hub with devices plugged in at boot the kernel will recognize known devices.

I keep a MS wireless Mouse transceiver plugged in so at boot the mouse has needed drivers loaded thus recognized and ready to use.

I suggest that you look at 'dmesg' see if the plugged in devices are recognized.

Hope this helps.
Have fun & enjoy!
 
Old 07-07-2018, 06:02 PM   #12
chemfire
Member
 
Registered: Sep 2012
Posts: 198

Rep: Reputation: Disabled
you can use the 'udisks' tool from the command line. Have a look at its man page. Of course if you are mounting from the command line and you are already logged in as root you can just easily use dmesg output or /proc/partitions to find what device node your media was assigned and use the good old mount command.

I would still encourage using udisks or exo-mount (part of xfce) especially if you are new to linux and slackware. Accidentally mounting a /dev/sdXX device that is already mounted could have negative consequences for the file system on the that device as could mounting it over top of an important part of the virtual file system. udisks will make sure your PNP media gets mounted somewhere safe under /run/media
 
Old 07-07-2018, 10:29 PM   #13
RadicalDreamer
Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 734

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
You have to mount drives that you connect to your computer through usb by default but mice, keyboards, game controllers, etc shouldn't be an issue.

I'm confused regarding what usb devices you are having issues with because a mouse should be automatically detected at boot.
 
Old 07-08-2018, 08:47 PM   #14
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 13,698
Blog Entries: 22

Rep: Reputation: 3601Reputation: 3601Reputation: 3601Reputation: 3601Reputation: 3601Reputation: 3601Reputation: 3601Reputation: 3601Reputation: 3601Reputation: 3601Reputation: 3601
You cannot mount a hub, any more than you can mount an empty CD/DVD drive.

You can mount only the storage devices plugged into it. You can mount them one by one or, if you wish them the automount, you can put them in /etc/fstab.

Last edited by frankbell; 07-08-2018 at 08:49 PM. Reason: clarity
 
Old 07-08-2018, 10:22 PM   #15
TracyTiger
Member
 
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 479

Rep: Reputation: 220Reputation: 220Reputation: 220
To add to frankbell's post ...

One mounts file systems located on devices.

Just type "man mount" for details.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
hub 2-1:1.0: unable to enumerate USB device on port 5 flyer103 Slackware 2 10-23-2012 12:12 AM
USB port nn disabled by hub (EMI?), re-enabling zeddy Linux - Newbie 2 08-08-2011 02:27 PM
4-Port USB Hub jglen490 Linux - Laptop and Netbook 7 12-25-2008 12:35 PM
D-Link DUB-H7 7-Port USB Hub help fred57 Linux - Hardware 1 09-15-2006 08:14 AM
usb port and usb hub dosent woke in suse 9.3 newpants2003 Linux - Newbie 1 06-13-2005 07:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:54 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration