USB sticks are not detected!

What works, and doesn't, for you. Be specific, and please include Puppy version.
Post Reply
Message
Author
seras
Posts: 2
Joined: Fri 19 Jul 2013, 18:20

USB sticks are not detected!

#1 Post by seras »

Hi,

I use the precise puppy - 5.6.1. The problem is that puppy cannot detect my usb stick when I plug it after the power on of the laptop. I cannot see the USB stick neither at the desktop nor at the Pmount. However there is no problem when the stick is plugged before the boot. This problem applies to all usb sticks that I have tested. My laptop is an old Fujitsu Siemens Amilo (L7310W). Thank you in advance.

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

#2 Post by rcrsn51 »

I once saw the same problem with an IBM desktop machine. Other than trying to update the BIOS, I don't think that there is anything you can do about this.

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

#3 Post by greengeek »

If you get desperate and find no other answers you could try the following:

Make this script and put it somewhere like /usr/bin. (The script says to put it in /root/startup but that was only for my particular problem). The script resets the internal usb hub then redetects and mounts all attached drives/partitions. I would suggest trying this when system is idle and not in the middle of transferring data. Try inserting the usb stick, waiting for 15 seconds to let the system settle, then clicking on the script:

Code: Select all

#!/bin/sh
#########   This script unmounts all disks, reboots the usb driver then reloads it then mounts all partitions found.
#(Thanks sunburnt for the mnt-all code, rcrsn51 for the ehci_hcd idea and musher0 for the unmount code)
###      Use at your own risk... No warranty!


# For auto. mounting at bootup, put this script in Puppy folder: /root/Startup

# After bootup, if other drives are plugged in, run mnt-all again to mount them.
#PREPARATION - unmount devices already mountd during boot
sleep 2
# ~/my-applications/bin/umount-only-disks.sh
####Musher0 code to unmount only disks
df -H -T -x squashfs -x tmpfs -x rootfs -x aufs -P | grep "/mnt/s" | cut -f2 -d'm' > spc_dsq.txt
while read line
do
umount /m$line
done < spc_dsq.txt
rm -f spc_dsq.txt
sleep 5

#SECTION 1 - remove the usb driver, then reload it
rmmod ehci_hcd
sleep 2
modprobe ehci_hcd
sleep 10

#SECTION 2 -  automount all drives and partitions
# This gets a list of all partition info. except swap and optical drives.
List=`probepart |egrep -v '(swap|sr|none)'`


# This "for" loop steps through the list one partition at a time.
for Line in $List
do
   Part=${Line%%\|*}                     # Get only partition.
   Part=${Part##*/}

   [ "`df |grep $Part`" ]&& continue         # Don`t mount, if done already.

   Type=${Line%\|*}                     # Get file system type.
   Type=${Type##*\|}

   [ -d /mnt/$Part ]|| mkdir /mnt/$Part      # Make the mount dir., if none.
   mount -t $Type /dev/$Part /mnt/$Part            # Mount the partition.
   echo "# Mount Partition:  $Part    Type:  $Type"   # Display mount info.
done  

watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

#4 Post by watchdog »

Try to delete the hidden dir /root/.pup_event (Ctr-H to show hidden files and dirs) and restart X. It's only a desperate attempt. Give feedback if it works.

cthisbear
Posts: 4422
Joined: Sun 29 Jan 2006, 22:07
Location: Sydney Australia

#5 Post by cthisbear »

Specs:

http://www.dealtime.co.uk/Fujitsu-Sieme ... ?tab=specs

3 x USB 2.0, VGA out, RJ-11 (modem), RJ-45 (NIC)

:::::::::

Check bios.

F12 boots some.

Other bios need you to nominate the hard drive
to boot from.

Usually under Advanced Options...Hard drive Boot Order.

Others want you to nominate USB or USB hard drive.

First hard drive not set as your usb.

but Boot and LBA are crical....none of that
but all of the other posted options = failure.

Try a different port.

Boot another PC to see if it works.

The Flags might not be set to

Boot and LBA

They are the usual for USB booting.

If you could boot Puppy from your USB
and run >> GParted >> manage flags...it may fix it.


sometimes after selecting boot order....
pressing F10 ( to save it) makes it work better.

""""""""

"
Re: Boot to USB Memory stick

Postby sabrex on Thu Jun 28, 2012 9:07

In the bios area under advanced you may have something
called Legacy USB support.

This should be enabled

https://forum.ts.fujitsu.com/forum/view ... 8a4ca73cf9

Chris.

seras
Posts: 2
Joined: Fri 19 Jul 2013, 18:20

#6 Post by seras »

Thank you all of you for the support. I ran the scrip that greengeek suggested by using the terminal. The message that I received was: "ERROR: Module ehci_hcd does not exist in /proc/modules
FATAL: Module ehci_hcd does not found". I also tried to delete .pup_event and restart X but nothing happened. So the problem has not been solved!

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

#7 Post by Karl Godt »

Somewhere between kernel 2.6.39 and 3.0 Puppy kernel's began to build the main usb drivers ( [eou[x?]]hci_hcd and usb-storage ) into the kernel . Therefore they are not load- and removable anymore . Probably try an older Puppy 4 or Lupu 5 series to see if their's configuration work better with your hardware .
«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

Post Reply