MOUSE AUTODETECTION: NEED FEEDBACK FROM EVERYBODY

Under development: PCMCIA, wireless, etc.
Message
Author
User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#31 Post by Sit Heel Speak »

Thinkpad T21 with a Logitech cordless mouse plugged into the PS2 port through an adapter:

CPU0
0: 483345 XT-PIC timer
1: 8349 XT-PIC keyboard
2: 0 XT-PIC cascade
3: 31206 XT-PIC usb-uhci
5: 17775 XT-PIC eth0
8: 0 XT-PIC rtc
9: 2 XT-PIC acpi
10: 0 XT-PIC Texas Instruments PCI1450 (#2)
11: 0 XT-PIC Texas Instruments PCI1450, CS46XX
12: 152887 XT-PIC PS/2 Mouse
14: 108689 XT-PIC ide0
NMI: 0
ERR: 0

lostdog
Posts: 105
Joined: Wed 05 Oct 2005, 16:56

#32 Post by lostdog »

This is what I have:
12: 1494544 XT-PIC PS/2 Mouse
I have an old Dell Inspiron XPS R450 P2 450.
The truth is out there.

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

#33 Post by BarryK »

Well, detection is getting there... see Developer News page for April 16:
http://www.puppyos.com/news.htm

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

#34 Post by BarryK »

On the Developer News page there's announcement of a new mouse detect program, with download link,
and here is new forum thread to report on it:
http://www.murga.org/~puppy/viewtopic.php?t=7475

ducwiz
Posts: 25
Joined: Fri 16 Sep 2005, 15:10
Location: Germany

#35 Post by ducwiz »

I tried to support your work an ran puppyserialdetect, but had no success. I downloaded puppyserialdetect.gz, gunzipped it
# whoami
root
# ./puppyserialdetect
bash: ./puppyserialdetect: Permission denied
What's wrong here, or with me?

d.

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#36 Post by rarsa »

ducwiz wrote:What's wrong here, or with me?
Or both? (just kidding)

In Linux a file must have executable permissions to execute.

To execute a script there are two options:

a) Execute it by passing it as a parameter to the shel

Code: Select all

sh puppyserialdetect
b) Set the execute permission. After that the script can be executed by itself

Code: Select all

chmod   a+x    puppyserialdetect
./puppyserialdetect
[url]http://rarsa.blogspot.com[/url] Covering my eclectic thoughts
[url]http://www.kwlug.org/blog/48[/url] Covering my Linux How-to

ducwiz
Posts: 25
Joined: Fri 16 Sep 2005, 15:10
Location: Germany

#37 Post by ducwiz »

Ah, OK, something wrong with me ;o{
Have to learn al lot more ...

But:
# chmod a+x puppyserialdetect
# puppyserialdetect
bash: puppyserialdetect: command not found
sh puppyserialdetect
puppyserialdetect: 1: Syntax error: "(" unexpected
???

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

#38 Post by BarryK »

ducwiz wrote:Ah, OK, something wrong with me ;o{
Have to learn al lot more ...

But:
# chmod a+x puppyserialdetect
# puppyserialdetect
bash: puppyserialdetect: command not found
sh puppyserialdetect
puppyserialdetect: 1: Syntax error: "(" unexpected
???
Yes, unix/linux executable search path does not include the current directory,
so you have to do this:

Code: Select all

# ./puppyserialdetect

ducwiz
Posts: 25
Joined: Fri 16 Sep 2005, 15:10
Location: Germany

#39 Post by ducwiz »

Well, seems that I'm still stuck wth the old DOS times ...
I promise to buy or download a bunch of LINUX documentation and study it ;-)

After I chmoded puppyserialdetect with 755 it returns for 3 different serial mice:
# ./puppyserialdetect
Type:mouse|Port:/dev/ttyS0
# ./puppyserialdetect
Type:mouse|Port:/dev/ttyS1
My old serial modem gives:
# ./puppyserialdetect
Type:modem|Port:/dev/ttyS1|Speed:230400
Presently I use v1.08r1 with a PS/2 mouse and Xorg. Xproc tells me:
12: 211831 XT-PIC PS/2 mouse
I have 4 older PCs available here (Asus PIII-F P3-550, Asus PIIB-B P3-450, PCChips M726MRT Cel.-333, Gigabyte G586HX P1-120), and all kinds of mice. If you write me down a "mose detect test schedule", I will perform it for you.

yours d.

Post Reply