USB mouse not working in 2.12? Here's a solution

Using applications, configuring, problems
Message
Author
User avatar
pakt
Posts: 1157
Joined: Sat 04 Jun 2005, 16:54
Location: Sweden

#31 Post by pakt »

* 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

:P
Paul
Methinks Raspberry Pi were ideal for runnin' Puppy Linux

ricstef
Posts: 52
Joined: Wed 02 Aug 2006, 02:25
Location: Woodstock, ON. Canada

USB wireless mouse testing

#32 Post by ricstef »

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. :D
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. :D

Richard.

User avatar
pakt
Posts: 1157
Joined: Sat 04 Jun 2005, 16:54
Location: Sweden

#33 Post by pakt »

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. :)

Paul
Methinks Raspberry Pi were ideal for runnin' Puppy Linux

John Doe
Posts: 1681
Joined: Mon 01 Aug 2005, 04:46
Location: Michigan, US

#34 Post by John Doe »

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.

John Doe
Posts: 1681
Joined: Mon 01 Aug 2005, 04:46
Location: Michigan, US

USB Keyboard ZBoard Test Success.

#35 Post by John Doe »

IT WORKED!!

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

Great work Paul!

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#36 Post by BarryK »

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!

User avatar
Crash
Posts: 453
Joined: Fri 09 Dec 2005, 06:34
Location: Melbourne, FL

#37 Post by Crash »

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.

User avatar
pakt
Posts: 1157
Joined: Sat 04 Jun 2005, 16:54
Location: Sweden

#38 Post by pakt »

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 :)

Paul
Methinks Raspberry Pi were ideal for runnin' Puppy Linux

jairomacon
Posts: 3
Joined: Wed 21 Apr 2010, 13:51

#39 Post by jairomacon »

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.

Post Reply