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 Fri 31 Oct 2014, 06:47
All times are UTC - 4
 Forum index » Advanced Topics » Hardware
Slacko doesn't see all 3 USB ports (FIXED)
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
maddog

Joined: 08 Dec 2005
Posts: 31

PostPosted: Mon 19 Mar 2012, 18:37    Post_subject:  Slacko doesn't see all 3 USB ports (FIXED)  

Hey all!

I've noticed that Slacko Puppy 5.3.1 doesn't recognize all three usb ports on my Inspiron N7110. It only sees one of them. The other two do nothing when I plug in my mouse and/or keyboard. However, my CentOS 6 installation on the same laptop sees all three usb ports without issue. Any ideas? Not sure why one Linux installation would be different than another in this regard. This is really strange.

--Ray.

Edited_time_total
Back to top
View user's profile Send_private_message 
musher0


Joined: 04 Jan 2009
Posts: 4278
Location: Gatineau (Qc), Canada

PostPosted: Fri 30 Mar 2012, 21:29    Post_subject:  

Hello, maddog.

You probably need to "declare" your usb drives in fstab. Here's mine :

Code:
#
# /etc/fstab: static file system information
#
/dev/sdc2     none         swap     pri=5,defaults         0 0
none          /proc        proc     defaults               0 0
none          /sys         sysfs    defaults               0 0
none          /dev/pts     devpts   gid=2,mode=620         0 0
/dev/fd0      /mnt/floppy  auto     noauto,rw              0 0
/dev/sda2     /mnt/sda2    ext3      defaults,noatime,nodiratime 0 2

(... other hard drives...)

/dev/sdc1     /mnt/sdc1    ntfs      defaults,noatime,nodiratime   0 2
/dev/sdc2     /mnt/sdc2    ext2      defaults,noatime,nodiratime  0 2
/dev/sdc3     /mnt/sdc3    vfat      defaults,noatime,nodiratime   0 2
/dev/sdc4     /mnt/sdc4    ext2      defaults,noatime,nodiratime  0 2
/dev/sdd1     /mnt/sdd1    vfat      defaults,noatime,nodiratime  0 2
/dev/sdd2     /mnt/sdd2    ext2     defaults,noatime,nodiratime  0 2
/dev/sde1     /mnt/sde1    vfat      defaults,noatime,nodiratime  0 2
/dev/sde2     /mnt/sde2    ext2     defaults,noatime,nodiratime  0 2
/dev/ram0   /mnt/disqv    ext2      defaults,noatime,nodiratime  0 0 # ramdrive
/dev/sr0       /mnt/sr0     iso9660   noauto,user,ro,unhide  0 0 # cd/dvd


Note: You would need the "noatime,nodiratime" if you have thumbdrives, to save on the number of writes, or on any drive, to speed up things a little. But beware, "atime" is the access time, so if you indicate "noatime", no access time will be written to the drive for the corresponding file.

You would also need to activate these drives in /etc/rc.d/rc.local, something like this (just insert, don't touch anything else in this file):

Code:
####
mount -a -t ext3
sleep 0.4s
mount -a -t ext2
sleep 0.4s
mount -a -t vfat
sleep 0.4s
# Only keep mounted the needed drives # saves time to do it this way.
umount /mnt/sda2
sleep 0.4s
umount /mnt/sda5
sleep 0.4s
# umount /mnt/sda6
# sleep 0.4s
umount /mnt/sdb6
sleep 0.4s
umount /mnt/sdb7
sleep 0.4s

# FreeAgent drive
ntfs-3g /dev/sdc1 /mnt/sdc1
sleep 0.4s
mount -t ext2 /dev/sdc2 /mnt/sdc2
sleep 0.4s
mount -t vfat /dev/sdc3 /mnt/sdc3
sleep 0.4s
mount -t ext2 /dev/sdc4 /mnt/sdc4
sleep 0.4s


At the top of this, "mount -a -t (filesystem)" mounts all partitions of the type; then I selectively unmount some drives which I rarely use.

The FreeAgent part is for a usb harddrive divided in four partitions.
The "sleep" 's are there because the mount program needs a little time to do its stuff on each drive.

I know you are talking about "ports" rather than drives or partitions, but it is essentially in the same ball park. A port will generally NOT be displayed
* if there is nothing in the port OR
* there is a (thumb)drive in the port, but it has no corresponding listing in fstab to support it.

The simpler way to go about this is of course to use the PMount utility. But it's painfully slow, and you'd need to launch PMount every time you want to mount a drive.

There is also the handy list of drives at the bottom left of your Puppy desktop, but sometimes, as you noticed, this list is not complete, because of no listing in fstab and no script lines in rc.local to activate them.

I hope this helps. BFN.

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send_private_message Visit_website 
musher0


Joined: 04 Jan 2009
Posts: 4278
Location: Gatineau (Qc), Canada

PostPosted: Fri 30 Mar 2012, 21:39    Post_subject:  

Silly me... My bad. I just realized that you were concerned about usb mouse and keyboard not being recognized... Not drives... Oh, well, I'll leave the info in the post in case someone needs it.

However, there is a menu item under "config" -> "wizards" -> "mouse and keyboard" that may help you get what you want. The 4th item there says "Choose type of mouse"; and the 2nd item offers various options for keyboards.

BFN.

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send_private_message Visit_website 
maddog

Joined: 08 Dec 2005
Posts: 31

PostPosted: Thu 17 May 2012, 15:20    Post_subject: FIXED!  

I updated to FatSlacko which fixed the issue with the USB ports. I suspect that it is because of the later kernel used in FS but I don't know for sure.

--Ray.
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 » Advanced Topics » Hardware
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.0637s ][ Queries: 12 (0.0126s) ][ GZIP on ]