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 28 Nov 2014, 16:49
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
USB mouse not working in 2.12? Here's a solution
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 3 [39 Posts]   Goto page: Previous 1, 2, 3
Author Message
pakt


Joined: 04 Jun 2005
Posts: 1089
Location: Sweden

PostPosted: Mon 11 Dec 2006, 13:05    Post subject:  

* FINALLY FOUND AN OFFICIAL DOCUMENT *

Ok, here it is: 'Device Class Definition for Human Interface Devices (HID)' on the USB Implementor's Forum: http://www.usb.org/developers/devclass_docs/HID1_11.pdf

To detect the keyboard:

Page 67: E.3 Interface Descriptor (Keyboard)
Class code (HID code assigned by USB) 0x03
Subclass code 0x01
Protocol code 0x01

To detect the mouse:

Page 70: E.7 Interface Descriptor (Mouse)
Class code (HID code assigned by USB) 0x03
Subclass code 0x01
Protocol code 0x02

Razz
Paul

_________________
Testing Puppy since v0.9.2 - my desktop OS since v1.0.7
Running SlaxerPup-4.12 - Puppy with a Slackware 12.2 heart Cool
Back to top
View user's profile Send private message 
ricstef

Joined: 01 Aug 2006
Posts: 52
Location: Woodstock, ON. Canada

PostPosted: Mon 11 Dec 2006, 13:37    Post subject:  USB wireless mouse testing  

Paul,
My m$ wireless USB mouse worked fine before but I applied your change anyway just to confirm your excellent work. So it was no surprise to me that the mouse worked just fine after rebooting. Very Happy
However, knowing what can happen if I ASSUME that the change took effect, I proceeded to verify that the present version of /etc/rc.d/rc.local0 indeed contained your change at line 192 ... YES ... it did !!!

Nice work, Paul. Very Happy

Richard.
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1089
Location: Sweden

PostPosted: Mon 11 Dec 2006, 15:31    Post subject:  

For those wishing to test both USB keyboard and USB mouse detection using the Class/Subclass/Protocol method, I have added a second modified rc.local0 file as an attachment to the first post in this thread. Smile

Paul

_________________
Testing Puppy since v0.9.2 - my desktop OS since v1.0.7
Running SlaxerPup-4.12 - Puppy with a Slackware 12.2 heart Cool
Back to top
View user's profile Send private message 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Mon 11 Dec 2006, 20:33    Post subject:  

Just remastered a CD and I'm calling my friend in a couple minutes. I'll give you a post back after the "zboard" test.

I did just test a Dynex USB mouse that I have. It works great with the new method.

Will this stuff "plug-n-play" after it's all tested? i noticed it didn't just get recognized when I plugged it in, but only when it's booted. Does puppy have some type of loop somewhere or event that can load up drivers when USB connections are made? Maybe even a Load USB Devices button in the Wizards menu would be sufficient if the other option isn't available.
Back to top
View user's profile Send private message 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Mon 11 Dec 2006, 23:23    Post subject: USB Keyboard ZBoard Test Success.  

IT WORKED!!

Puppy roared to life and the zboard worked, using the new method.

Great work Paul!
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7084
Location: Perth, Western Australia

PostPosted: Tue 12 Dec 2006, 09:15    Post subject:  

Paul, this is really great, you've fixed the usb keyboard detection
problem as well! I've downloaded the latest rc.local0.gz.
Looks like a definite goer for Pup 2.13!
Back to top
View user's profile Send private message Visit poster's website 
Crash


Joined: 09 Dec 2005
Posts: 432
Location: Garland, TX

PostPosted: Wed 13 Dec 2006, 02:09    Post subject:  

I tested two different USB mice on two different computers. The mice are:

Microsoft Wireless Notebook Optical Mouse
Logitech Cordless Optical Mouse

The two computers are:

Soyo K7VMP motherboard homebrew, Athlon XP 2400+, KM400 chip set, 256MB RAM
E-Machine, Athlon 64 3200+, 1GB RAM

I disabled the hard drives in both computers, booting off two live version 2.12 CDs, one with the old version of rc.local0, one with the new version.

The new rc.local0 works fine with the Logitech mouse on the Soyo computer. USB Mouse Support can be either on or off in the BIOS setup.

The old rc.local0 does not work with the Logitech mouse on the Soyo computer.

On the Soyo computer, either the old or new rc.local0 works with Microsoft mouse. USB Mouse Support can be either on or off in the BIOS setup.

On the E-Machine, the Logitech mouse works with the new rc.local0 whether or not USB Legacy Support is enabled in BIOS.

The old rc.local0 does not work with the Logitech mouse on the E-Machine.

On the E-Machine, the Microsoft mouse works with either the old or new version, whether or not USB Legacy Support is enabled in BIOS.

In conclusion, the new rc.local0 results were completely positive for these tests.
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1089
Location: Sweden

PostPosted: Wed 13 Dec 2006, 03:00    Post subject:  

Yes, I think this will be a reliable method for detecting USB mice and keyboards.

Many thanks to all the Puppy enthusiasts who tested and returned feedback Smile

Paul

_________________
Testing Puppy since v0.9.2 - my desktop OS since v1.0.7
Running SlaxerPup-4.12 - Puppy with a Slackware 12.2 heart Cool
Back to top
View user's profile Send private message 
jairomacon

Joined: 21 Apr 2010
Posts: 3

PostPosted: Wed 21 Apr 2010, 11:25    Post subject:  

I switched to Puppy 2.12 recently. I was confused in problem with my USB mouse in it. using your tweaks I resolved It. I switched to Puppy 2.12 recently. I was confused in problem with my USB mouse in it. Using your tweaks I resolved it. Further I had a problem with it's detection,some power supply was laking in it. Then severally it was happened that mouse can't not work for a while & then it start working.
_________________
Where there is will there is way.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 3 [39 Posts]   Goto page: Previous 1, 2, 3
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0699s ][ Queries: 13 (0.0054s) ][ GZIP on ]