Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 01 Oct 2014, 17:07
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Flash Drive Auto Mount Solved but Like to Know Reason
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
jakfish

Joined: 18 Jul 2008
Posts: 756

PostPosted: Wed 18 Jan 2012, 07:15    Post_subject:  Flash Drive Auto Mount Solved but Like to Know Reason  

Dell Inspiron 4000, problem replicated on 4.31, 4.31 Retro, 4.32.

My USB flashdrive would not auto-mount despite installing alternatives to pmount. I got "no device" errors, and after a variety of mknod commands, I got block errors.

If I pulled the USB drive, then physically reinstalled, all was well. This is an old machine, with one USB port, and I didn't want this kind of wear-and-tear.

When I watched another old laptop (Sony Vaio PictureBook PCG-C1VN) boot, I saw it load both "USB" and "USB-storage" modules. With the Inspiron, I realize that it was only loading "USB"

In rc_local, I had to use both of these commands:

rmmod usb_storage
modprobe usb-storage

The flashdrive automounts now, and the underscore and the hyphen are deliberate in those commands.

Why did I have trouble here, when the identical OS works fine in two other laptops? And why did these commands work?

Very confused,
Jake
Back to top
View user's profile Send_private_message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Sat 28 Jan 2012, 22:08    Post_subject:  

rmmod and modprobe are for drivers

Usb modules are ohci_hcd (AMD) , uhci_hcd (Intel) and ehci_hcd (usb-2.0) .

One of these three should work :

Code:
modprobe [select e, u, or o]hci_hcd


though see Barry's blog

http://bkhome.org/blog/?viewDetailed=02001

maybe a delay is all that's needed?

Aitch Smile
Back to top
View user's profile Send_private_message 
jakfish

Joined: 18 Jul 2008
Posts: 756

PostPosted: Sun 29 Jan 2012, 08:41    Post_subject:  

Hi, Aitch,

Thanks for weighing in.

You got me in the right direction:

modprobe uhci_hcd

redraws the desktop icons and gives me both my Sony memory stick and usb flash drive, unmounted. Which is exactly what I want. Before, when clicking on the desktop icons, I had to go first through pmount to mount the drives. Now they both mount straight off.

Putting modprobe uhci_hcd in rc.local has no effect. I must use a small script in Startup that rmmod's uhci_hcd and then modprobes it again.

This may tie into BK's Wary workings (the post you cite), along with the fact that my cpu is so slow (P1 Crusoe 600Mhz) that it can't catch up properly to the boot commands, I dunno.

But this really helped a lot, thanks,

Jake
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0472s ][ Queries: 11 (0.0085s) ][ GZIP on ]