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 Tue 02 Sep 2014, 15:32
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Improving Puppyserialdetect
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [40 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Sat 28 Apr 2007, 01:33    Post subject:  

I'll try the new version about 10 hours from now. I see Mstar's negative report in the other thread, but it is not clear to me whether he rebooted before testing the mouse-menu-action or not. Nor do I know whether it is necessary to reboot, in order for the new puppyserialdetect's sensings to take effect--is it? Presuming that to be a possibility, I gave Mstar instructions to replace /usr/sbin/puppyserialdetect with the new version and then reboot and see if there is any change.

Puppy user jonyo has also posted his /proc/bus/input/devices, over at

http://murga-linux.com/puppy/viewtopic.php?t=17655

It is a 2.15CE, but not the Final-2, puppyserialdetect is unmodified, and his /proc/bus/input/devices appears to suffer a drastic problem (***EDITED no, no drastic problem, just his first attempt at posting it went awry).

Would it serve a useful purpose for me to rerun the above test series on the "d" version?

Cheers,
SHS
Back to top
View user's profile Send private message 
jonyo

Joined: 28 Dec 2006
Posts: 2727

PostPosted: Sat 28 Apr 2007, 13:04    Post subject:  

edit-(oopps just noticed your above note SHS..guess i'll leave mine here for now)

I'm running live cd save file to hard drive 2.15 CE with a combo logitech wifi keyboard & mouse (no drivers afaik). Had some probs with the mouse pointer disappearing from the screen once in a blue moon so plugged in a secondary usb corded mouse to see if it'd still work if I lost the wifi one.

Both mice work at the same time & haven't lost the pointer since, so might be a wifi mouse bug.
http://www.murga-linux.com/puppy/viewtopic.php?t=17655

Dougal wrote:

Please will people start testing this? Batter try now than have detection problems when you try and boot 2.16!

SHS: what do you mean plugged in simultaniously? I wonder if it's listed in the file in /proc where the mouse is listed... but in any case you can only "detect" one mouse, so it doesn't matter...

Have you tried the USB alone? If then it isn't detected it's a problem.
Back to top
View user's profile Send private message 
pakt


Joined: 04 Jun 2005
Posts: 1089
Location: Sweden

PostPosted: Sat 28 Apr 2007, 13:46    Post subject:  

Ok, finally had a chance to try puppyserialdetect-1.1d.tar.gz

I used a laptop with PS/2 mousepad plus these three mice connected:

- Old MS two-button serial mouse
- Logitech Optical USB mouse
- Brand X Optical USB mouse

Running 2.14 - results from within a rxvt terminal (same results running text mode):
Code:

# puppyserialdetect
Type:PS2-mouse|Port:/dev/input/mice
Type:PS2-mouse|Port:/dev/input/mice
Type:USB-mouse|Port:/dev/input/mice
Type:USB-mouse|Port:/dev/input/mice
Type:SERIAL-mouse|Port:/dev/ttyS0
#

Code:

# cat /proc/bus/input/devices
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input0
H: Handlers=kbd
B: EV=120013
B: KEY=4 2000000 3802078 f840d001 feffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7

I: Bus=0011 Vendor=0002 Product=0008 Version=0000
N: Name="PS/2 Mouse"
P: Phys=isa0060/serio1/input1
S: Sysfs=/class/input/input1
H: Handlers=mouse0
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3

I: Bus=0011 Vendor=0002 Product=0008 Version=7321
N: Name="AlpsPS/2 ALPS GlidePoint"
P: Phys=isa0060/serio1/input0
S: Sysfs=/class/input/input2
H: Handlers=mouse1
B: EV=f
B: KEY=420 0 70000 0 0 0 0 0 0 0 0
B: REL=3
B: ABS=1000003

I: Bus=0003 Vendor=1267 Product=0210 Version=2270
N: Name="PS/2+USB Mouse"
P: Phys=usb-0000:00:1d.0-1/input0
S: Sysfs=/class/input/input3
H: Handlers=mouse2
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103

I: Bus=0003 Vendor=046d Product=c03d Version=2000
N: Name="Logitech USB-PS/2 Optical Mouse"
P: Phys=usb-0000:00:1d.1-1/input0
S: Sysfs=/class/input/input7
H: Handlers=mouse3
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103

#

It was interesting to note that I could use both USB mice and the mousepad at the same time Laughing - however the serial mouse didn't react.

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 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Sun 29 Apr 2007, 08:54    Post subject:  

Pakt: the reason the serial mouse worked when the others did is that all the others seem to automatically work with /input/mice, but serial doesn't.

So what you have, in fact, is that /input/mice will work for all modern mice (i.e. no need to do the detection), but serial need to be detected.

_________________
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Back to top
View user's profile Send private message 
jonyo

Joined: 28 Dec 2006
Posts: 2727

PostPosted: Sun 29 Apr 2007, 09:30    Post subject:  

Wonder why puppyserialdetect comes up with zip though I have 2 mice working & they show up with
> cat /proc/bus/input/devices <in console.

sh-3.00# puppyserialdetect
sh-3.00#
Back to top
View user's profile Send private message 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Sun 29 Apr 2007, 16:09    Post subject:  

jonyo wrote:
Wonder why puppyserialdetect comes up with zip though I have 2 mice working & they show up with
> cat /proc/bus/input/devices <in console.

sh-3.00# puppyserialdetect
sh-3.00#


You're using the version that comes with Puppy and only detects serial mice.

You need to download Jesse's latest binary, open a ternimal in it's directory and run
Code:
./puppyserialdetect

_________________
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Back to top
View user's profile Send private message 
Jesse

Joined: 08 May 2005
Posts: 465
Location: Auckland, NZ

PostPosted: Thu 03 May 2007, 22:08    Post subject:  

Hello,

In the efforts to fix up the occasional problems with mouse detection for Puppy users, one component of the problem is getting puppyserialdetect to get the right information in the first place.
It seems to me that this step is complete, please post to let us know if you have tried the 1.1d version of puppyserialdetect and it does not indicate all mice attached to your computer!
Please note that if you download and try the new edition of PuppySerialDetect, that you use the ./ prefix to the name ( ./puppyserialdetect ) so that it runs the version in the local directory, rather than the edition you booted with.

Happy Mousing!
Jesse
Back to top
View user's profile Send private message 
lvds


Joined: 23 Jan 2007
Posts: 315
Location: Near the window

PostPosted: Sat 05 May 2007, 16:25    Post subject:  

Hi,

I have been using puppyserialdetect since days now and there is something new i had not seen before. When i use a USB mouse, it works ok, but it does not recognise anymore usb-keys i might plugins. MUT or pmount never see them anymore... but the usb mouse still works fine.

And, though usb mouse works great, many users reported that ps2 mouse are not recognized... See here also:
http://www.murga-linux.com/puppy/viewtopic.php?t=17810&start=15

Code:

sh-3.00# cat /proc/bus/input/devices
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input0
H: Handlers=kbd
B: EV=120013
B: KEY=4 2000000 3802078 f840d001 feffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7

I: Bus=0003 Vendor=0518 Product=0001 Version=0001
N: Name="Composite USB PS2 Converter USB to PS2 Adaptor  v1.12"
P: Phys=usb-0000:00:10.0-1/input0
S: Sysfs=/class/input/input1
H: Handlers=kbd
B: EV=120003
B: KEY=10000 7 ff800000 7ff febeffdf ffefffff ffffffff fffffffe
B: LED=7

I: Bus=0003 Vendor=0518 Product=0001 Version=0001
N: Name="Composite USB PS2 Converter USB to PS2 Adaptor  v1.12"
P: Phys=usb-0000:00:10.0-1/input1
S: Sysfs=/class/input/input2
H: Handlers=kbd mouse0
B: EV=f
B: KEY=c0002 400 0 0 7001f c00 78000 2639fa d841d7ad 9e0000 0 0 0
B: REL=143
B: ABS=1 0

I: Bus=0003 Vendor=050d Product=3201 Version=0218
N: Name="Belkin Corporation Flip KVM"
P: Phys=usb-0000:00:10.1-2.2/input0
S: Sysfs=/class/input/input3
H: Handlers=kbd
B: EV=20003
B: KEY=2 0 e0000 0 0 0
B: LED=100

sh-3.00# puppyserialdetect
Type:USB-mouse|Port:/dev/input/mice
sh-3.00#


This is for my USB Mouse working fine, and an usb-key plugged but not seen by MUT.

Best regards,
Laurent.

_________________
This is China today
Asus 1225C eeePC Atom Cedar Trail 2G Ram - DELL Optiplex 780 core2 duo 4G Ram, Intel4 chipset Video, ICH10 chipset Audio, Intel 82567LM-3 Network

Last edited by lvds on Sat 05 May 2007, 16:58; edited 3 times in total
Back to top
View user's profile Send private message 
lvds


Joined: 23 Jan 2007
Posts: 315
Location: Near the window

PostPosted: Sat 05 May 2007, 16:35    Post subject:  

pakt wrote:
Running 2.14 - results from within a rxvt terminal (same results running text mode):


Hi Paul,
May you explain how you copy some text from rxvt into another window ?

EDIT: ok, i found Wink here is how i do:

If you have a lot of text into rxvt to copy, maximise your rxvt window ...
1. go at the end of text and press left+right mouse buttons (this select all the rxvt window text)
2. press right mouse button (and release ; just press it once, don't keep it pressed) this copy text into buffer
3. open a leafpad text editor window
4. type CTRL V this paste text into editor
5. into leafpad, select your text again with CTRL A
6. then copy with CTRL C
7. now paste with CTRL V your text in firefox or wherever you want...

as text cannot be copied directly from rxvt into firefox
(at least on my computer Wink )

Best regards,
Laurent

_________________
This is China today
Asus 1225C eeePC Atom Cedar Trail 2G Ram - DELL Optiplex 780 core2 duo 4G Ram, Intel4 chipset Video, ICH10 chipset Audio, Intel 82567LM-3 Network
Back to top
View user's profile Send private message 
jonyo

Joined: 28 Dec 2006
Posts: 2727

PostPosted: Sat 05 May 2007, 16:57    Post subject:  

http://www.murga-linux.com/puppy/viewtopic.php?t=17526
Back to top
View user's profile Send private message 
lvds


Joined: 23 Jan 2007
Posts: 315
Location: Near the window

PostPosted: Mon 07 May 2007, 13:29    Post subject:  

Hi,

I have made more tests with other people on more computers.
I confirm there is a problem with ps2 mouses using the new puppyserialdetect_v_1.1d ... Puppy says it see the mouse but the mouse is not working, xvesa or xorg no matter. I have not been able to capture datas about it today but it is confirmed not working. I will try to send datas when available.

Also when using a usb mouse, it happens often other usb peripherals like usb keys or usb disks do not work.

Best regards,
Laurent.

_________________
This is China today
Asus 1225C eeePC Atom Cedar Trail 2G Ram - DELL Optiplex 780 core2 duo 4G Ram, Intel4 chipset Video, ICH10 chipset Audio, Intel 82567LM-3 Network
Back to top
View user's profile Send private message 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Mon 07 May 2007, 15:43    Post subject:  

lvds wrote:
puppyserialdetect_v_1.1d ... Puppy says it see the mouse but the mouse is not working, xvesa or xorg no matter.


What do you mean it sees the mouse but it doesn't work?

This new puppyserialdetect is not supposed to go in /usr/sbin!
You are only supposed to test it and see that it recognizes the mouse correctly.

If you want to use it in Puppy, you'll have to replace the code in /etc/rc.d/rc.local0 with code that is intended for the new puppyserialdetect.

I am attaching an example of such code.

_________________
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

Last edited by Dougal on Sun 12 Apr 2009, 05:50; edited 1 time in total
Back to top
View user's profile Send private message 
lvds


Joined: 23 Jan 2007
Posts: 315
Location: Near the window

PostPosted: Tue 08 May 2007, 11:47    Post subject:  

Dougal wrote:
lvds wrote:
puppyserialdetect_v_1.1d ... Puppy says it see the mouse but the mouse is not working, xvesa or xorg no matter.


What do you mean it sees the mouse but it doesn't work?


Hi Dougal,

Puppyserialdetect reports for a PS2 mouse connected but when one moves the mouse, the little arrow cursor on the screen does not move.

Dougal wrote:
This new puppyserialdetect is not supposed to go in /usr/sbin!
You are only supposed to test it and see that it recognizes the mouse correctly.


ARG Crying or Very sad i am sorry, i really misunderstood that !

Dougal wrote:
If you want to use it in Puppy, you'll have to replace the code in /etc/rc.d/rc.local0 with code that is intended for the new puppyserialdetect.

I am attaching an example of such code.


Ok i will see and test what to do, if i downgrade or if i upgrade.
Thank you very much.

Best regards,
Laurent.

_________________
This is China today
Asus 1225C eeePC Atom Cedar Trail 2G Ram - DELL Optiplex 780 core2 duo 4G Ram, Intel4 chipset Video, ICH10 chipset Audio, Intel 82567LM-3 Network
Back to top
View user's profile Send private message 
Jesse

Joined: 08 May 2005
Posts: 465
Location: Auckland, NZ

PostPosted: Thu 10 May 2007, 10:57    Post subject:  

Hi,

Here is latest update 1.1e, only minor changes:

+ FIXED: with -e cmd option, 'Direct:' field may be incorrect for a combo device.
+ ADDED: cmd option -t to read from a testcases.tx file.
+ ADDED: version number to debug output
+ CHANGE: now compiled with -Os saves a few Kb.

Attached file includes source code, example testcases file, and binaries.

Jesse
puppyserialdetect-1.1e.tar.gz
Description 
gz

 Download 
Filename  puppyserialdetect-1.1e.tar.gz 
Filesize  29.08 KB 
Downloaded  496 Time(s) 
Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4367
Location: Southeast Georgia, USA

PostPosted: Wed 29 Oct 2008, 15:54    Post subject:  

This thread seems old but the content is really relevant to a current app.

I have tried both 4.1 and 4.11rc and cannot see my weather station which is addressed via the Serial port.

How does one identify and access the serial ports in 4.1 or 4.11, please?

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 2 of 3 [40 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
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.1311s ][ Queries: 13 (0.0344s) ][ GZIP on ]