How do I enable Hot plug / auto mounting of USB Flash drives

Booting, installing, newbie
Message
Author
Arthur45
Posts: 10
Joined: Fri 01 Mar 2013, 16:43

How do I enable Hot plug / auto mounting of USB Flash drives

#1 Post by Arthur45 »

I have installed Puppy Linux on my Toshiba Equium. However USB flash drives do not appear to be recognized. I have tried several different drives ( all of which are recognized almost instantly on both XP and Ubuntu) on all of the USB Ports.

I have also run / refreshed the "P Mount" tool.

Not directly related to this question but additionaly ...... how do I get Tap / Double Tap enable on the mouse trackpad ?

Any advice would be greatly appreciated.

Thanks.

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#2 Post by tallboy »

Hi Arthur45.
If your Toshiba has USB3, you should take a look at this thread: New lappie, no Puppy.
Oh, and Welcome to the forum! :D

tallboy
True freedom is a live Puppy on a multisession CD/DVD.

Arthur45
Posts: 10
Joined: Fri 01 Mar 2013, 16:43

#3 Post by Arthur45 »

tallboy wrote:Hi Arthur45.
If your Toshiba has USB3, you should take a look at this thread: New lappie, no Puppy.
Oh, and Welcome to the forum! :D

tallboy
Thanks for the fast response.

No, it doesn't have USB 3. It was made in 2004 / 5

Arthur

Arthur45
Posts: 10
Joined: Fri 01 Mar 2013, 16:43

#4 Post by Arthur45 »

Any further advice would still be greatly appreciated.

Arthur

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#5 Post by rcrsn51 »

Which Puppy version are you using?

Arthur45
Posts: 10
Joined: Fri 01 Mar 2013, 16:43

#6 Post by Arthur45 »

rcrsn51 wrote:Which Puppy version are you using?
Slacko 5.4 on the laptop in the original post.

Interestingly I am also have exactly the same issues on my Dell Inspiron laptop which is running Precise 5.4.3

Arthur

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#7 Post by rcrsn51 »

Just to be clear - when you plug in a flash drive, you do NOT get an icon for it on the bottom row of the desktop?

Arthur45
Posts: 10
Joined: Fri 01 Mar 2013, 16:43

#8 Post by Arthur45 »

rcrsn51 wrote:Just to be clear - when you plug in a flash drive, you do NOT get an icon for it on the bottom row of the desktop?
No.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#9 Post by rcrsn51 »

I am really surprised that you are seeing this on two different machines with different Puppies.

Try doing a fresh boot off the CD using the boot argument "puppy pfix=ram".

Arthur45
Posts: 10
Joined: Fri 01 Mar 2013, 16:43

#10 Post by Arthur45 »

rcrsn51 wrote:I am really surprised that you are seeing this on two different machines with different Puppies.

Try doing a fresh boot off the CD using the boot argument "puppy pfix=ram".
OK - I will try this tomorrow and report back.

Thanks.

Arthur

Arthur45
Posts: 10
Joined: Fri 01 Mar 2013, 16:43

#11 Post by Arthur45 »

I booted from CD using the argument "puppy pfix=ram" as suggested but, alas, without success.

Arthur

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#12 Post by Karl Godt »

The current Puppies's kernels should have the usb drivers ehci_hcd, uhci_hcd and ohci_hcd and usb-storage compiled into the kernel , so they should not need to be loaded .

I would take a look into /tmp/bootkernel.log if the FlashDrive is plugged into the 'puter at bootup, otherwise a

Code: Select all

dmesg |grep -i usb
some seconds after plugging in could reveal something .

Other detection utility is the

Code: Select all

probedisk
script to present current devices in the console that are recognized.
«Give me GUI or Death» -- I give you [[Xx]term[inal]] [[Cc]on[s][ole]] .
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal :P

Arthur45
Posts: 10
Joined: Fri 01 Mar 2013, 16:43

#13 Post by Arthur45 »

Karl Godt wrote:The current Puppies's kernels should have the usb drivers ehci_hcd, uhci_hcd and ohci_hcd and usb-storage compiled into the kernel , so they should not need to be loaded .

I would take a look into /tmp/bootkernel.log if the FlashDrive is plugged into the 'puter at bootup, otherwise a

Code: Select all

dmesg |grep -i usb
some seconds after plugging in could reveal something .

Other detection utility is the

Code: Select all

probedisk
script to present current devices in the console that are recognized.
I will give this a try.

Danke.

Arthur

toomanyquestions
Posts: 85
Joined: Wed 09 Jan 2013, 01:27

Auto mount flash drive

#14 Post by toomanyquestions »

I'm trying to avoid manually using p-mount to mount my flash drives (Macpup 529). I am presently using efm and rox.

My goal is to automatically mount my flash drive, then shortcut the usb drive in /mnt/any_old_name to my home folder or desktop. ...I plan to replicate the process for a few different usb drives.

I tried adding the flash drive uids along with a potential path to fstab, nothing. Perhaps I made a mistake? I'd love to hear any recommendations...

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#15 Post by greengeek »

At times I've had problems with some usb drives not being detected (especially at boot time) and it can be helpful to force the usb hub to reboot.
This thread might suggest some ideas that might be worth trying:
http://murga-linux.com/puppy/viewtopic.php?t=81417

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#16 Post by tallboy »

Hi toomanyquestions.
I am not familiar with the Macpups, but if you have Menu-> Desktop-> Desktop drive icons manager, switch to 'Show full event manager' and see the options there. You will also find it as Menu-> System-> Puppy event manager. If it doesn't work, you could use http://www.wellminded.com/puppy/pupsearch.html for an advanced search in puppy forum files.

tallboy
True freedom is a live Puppy on a multisession CD/DVD.

Arthur45
Posts: 10
Joined: Fri 01 Mar 2013, 16:43

#17 Post by Arthur45 »

greengeek wrote:At times I've had problems with some usb drives not being detected (especially at boot time) and it can be helpful to force the usb hub to reboot.
This thread might suggest some ideas that might be worth trying:
http://murga-linux.com/puppy/viewtopic.php?t=81417
Having had a peek at the BIOS I do wonder if the BIOS is too basic / old to support USB Flash drives. The unit dates from late 2004.

There is an option for USB Floppy drives which is enabled.

I think it may be on its way to the recycler.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#18 Post by rcrsn51 »

Try this command

Code: Select all

lsmod
Look for "uhci_hcd". If it's not listed, run

Code: Select all

modprobe uhci_hcd
Then unplug and replug the flash drive.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#19 Post by greengeek »

Arthur45 wrote:I do wonder if the BIOS is too basic / old to support USB Flash drives. The unit dates from late 2004.
A unit from 2004 vintage should definitely be capable of normal usb performance with puppy (unless the hardware is broken, which is unlikely, or maybe using one of the known faulty NEC usb chipsets). Booting from usb can be problematic or non-existent on Toshibas from 2004, but once the puppy is running it should be able to be see the usb correctly. I would suggest plugging in a usb stick and then in a console typing "dmesg" and looking for messages that indicate what the system is seeing when you plug / unplug the stick.
I think it may be on its way to the recycler.
Nnnnnnnoo! Please don't send it to the PC playground in the sky....95% of my machines are pre-2004. I cant bear to see hardware retired :-)

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#20 Post by tallboy »

Arthur45, a unit plugged into a USB port may be dependent on a driver to be recognized, but your mainboard have no idea about what you plugged into an empty port. It is easy to forget we only deal with 1 and 0 for internal communication in the machine. If other USB units function normally when plugged into the port, the driver/kernel module is the missing part here.

BTW, you must not throw away an almost new PC! I have a dozen or more old Linux boxes rescued from the containers at the university, and I think every single one is more than 10 years old, some PII, a lot of P3s, and a couple of P4s and similar AMDs. That is the beauty of puppy, it keeps these relics going for many more years! :lol:

tallboy
True freedom is a live Puppy on a multisession CD/DVD.

Post Reply