Posts: 162
drg
Joined: 22 Feb 2010
#106
As to antiX-core-t3, it is very much a testing version.
Just happened to have it on hand. Uses the antiX 3.3.3 kernel, newer than your M11 version, but that may not be relevant.
I literally found this PS/2 optical mouse, and I think it may be slightly damaged. The cheerful ruby light indicating a powerful connection disappears, as well as functioning, unless I position its wire just so. But it does work.

*******************

There was no xorg.conf file. Default install, noxorg.

For fun, I built one using the X-configure method given above in this thread. Pertinent parts are possibly:

Section"ServerLayout"
Identifier"X.org Configured"
Screen 0"Screen0" 0 0
Screen 1"Screen1" RightOf"Screen0"
Screen 2"Screen2" RightOf"Screen1"
InputDevice"Mouse0""CorePointer"
InputDevice"Keyboard0""CoreKeyboard"
EndSection


Section"InputDevice"
Identifier"Keyboard0"
Driver"kbd"
EndSection

Section"InputDevice"
Identifier"Mouse0"
Driver"mouse"
Option"Protocol""auto"
Option"Device""/dev/input/mice"
Option"ZAxisMapping""4 5 6 7"
EndSection

Also hwinfo found it and gave info.

But they are different models, and all this may be irrelevant to you, except that they are PS/2 optical mice.
Last edited by drg on 09 May 2012, 20:03, edited 1 time in total.
Posts: 81
FreeOS-LuvR
Joined: 22 Mar 2012
#107
Greetings rokytnji,
Posted: Tue May 08, 2012 3:16 pm by rokytnji
....
If you ever get that HP mouse working in whatever live session you run. I would do 2 things if me. I would copy /etc/X11/xorg.conf in whatever live session that the mouse works in.
....
Below are my efforts with DSL to see if I could get an xorg.conf file.
To let you know in advance I was not able to get one.
I got similar results as drg:
Posted: Wed May 09, 2012 2:29 am by drg
There was no xorg.conf file. Default install, noxorg.
Below are my efforts:
Loaded DSL 4400 sys LiveCD (running Linux 2.4.31)
upon boot selected <F2> to enter boot options

Code: Select all

boot: dsl xsetup
During boot I observed the mouse loading as:

Code: Select all

Mouse is Generic PS/2 wheel Mouse at /dev/psaux
During boot I got the following dialog session:

Code: Select all

Runs"DSL X Setup"
selected"Xvesa"
USB mouse? No
IMPS/2 mouse wheel? Yes
Choose your preferred screen resolution. ... 800x600
Choose your preferred color depth. ... 16 bit
Choose your own dpi? If you have no idea, it is best to skip this. ... No
Please choose keyboard ... Default: us
DSL 4400 sys loaded successfully and the HP PS/2 optical mouse worked just fine.

HOWEVER in /etc/X11 no xorg.conf file existed.
The contents of /etc/X11 of the DSL 4400 sys is below:

Code: Select all

lrwxrwxrwx    1 root     root           18 May  9 11:40 X -> /KNOPPIX/etc/X11/X
drwxr-xr-x    2 root     root         1.0k Feb 25  2003 Xresources
drwxr-xr-x    2 root     root         1.0k Oct 28  2004 app-defaults
drwxr-xr-x    4 root     root         1.0k Feb 23  2003 fonts
drwxrwxr-x    2 root     root         1.0k Nov  5  2007 pwm
lrwxrwxrwx    1 root     root           24 May  9 11:40 rgb.txt -> /KNOPPIX/etc/X11/rgb.txt
lrwxrwxrwx    1 root     root           26 May  9 11:40 rxvt.menu -> /KNOPPIX/etc/X11/rxvt.menu
lrwxrwxrwx    1 root     root           23 May  9 11:40 xsetup -> /KNOPPIX/etc/X11/xsetup
I tried to run xorgsetup ... command not found
I tried to run X -configure ... I got the following:

Code: Select all

X: unable to open wrapper config file /etc/X11/Xwrapper.config
X: /tmp/.X11-unix has suspicious mode (not 1777) or is not a directory, aborting.
Below is the current xorg.conf file on the antiX M11 486 box:

Code: Select all

Section"ServerFlags"
    Option"AutoAddDevices""false"
EndSection

Section"ServerLayout"
    Identifier    "X.org Configured"
    Screen      0 "Screen0" 0 0
    InputDevice   "Mouse0""CorePointer"
    InputDevice   "Keyboard0""CoreKeyboard"
EndSection

Section"Files"
    ModulePath  "/usr/lib/xorg/modules"
    FontPath    "/usr/share/fonts/X11/misc"
    FontPath    "/usr/share/fonts/X11/cyrillic"
    FontPath    "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath    "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath    "/usr/share/fonts/X11/Type1"
    FontPath    "/usr/share/fonts/X11/100dpi"
    FontPath    "/usr/share/fonts/X11/75dpi"
    FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    FontPath    "built-ins"
EndSection

Section"Module"
    Load "glx"
    Load "extmod"
    Load "record"
    Load "dri2"
    Load "dri"
    Load "dbe"
EndSection

Section"InputDevice"
    Identifier "Keyboard0"
    Driver     "kbd"
EndSection

Section"InputDevice"
    Identifier "Mouse0"
    Driver     "mouse"
    Option     "CorePointer"    
    Option       "Protocol""PS/2"
    Option     "Emulate3Buttons""true"
    #Option       "Device""/dev/input/mice"
    Option     "Device""/dev/psaux"
    Option       "ZAxisMapping""6 7"
EndSection

Section"Monitor"
    Identifier  "Monitor0"
    VendorName  "Monitor Vendor"
    ModelName   "Monitor Model"
        Option      "DPMS""true"
        HorizSync    30-75
        VertRefresh  55-70
EndSection

Section"Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>:"True"/"False",
        ### <string>:"String", <freq>:"<f> Hz/kHz/MHz",
        ### <percent>:"<f>%"
        ### [arg]: arg optional
        #Option    "ShadowFB"               # [<bool>]
        #Option    "Rotate"                 # <str>
        #Option    "fbdev"                  # <str>
        #Option    "debug"                  # [<bool>]
    Identifier "Card0"
    #Driver     "fbdev"
        Driver     "trident"
    BusID      "PCI:0:8:0"
EndSection

Section"Screen"
    Identifier"Screen0"
    Device    "Card0"
    Monitor   "Monitor0"
    DefaultColorDepth 16
    SubSection"Display"
        Viewport   0 0
        Depth     1
                Modes    "800x600"
    EndSubSection
    SubSection"Display"
        Viewport   0 0
        Depth     4
                Modes    "800x600"
    EndSubSection
    SubSection"Display"
        Viewport   0 0
        Depth     8
                Modes    "800x600"
    EndSubSection
    SubSection"Display"
        Viewport   0 0
        Depth     15
                Modes    "800x600"
    EndSubSection
    SubSection"Display"
        Viewport   0 0
        Depth     16
                Modes    "800x600"
    EndSubSection
    SubSection"Display"
        Viewport   0 0
        Depth     24
                Modes    "800x600"
    EndSubSection
EndSection
I'll try another live CD and see if I can get an xorg.conf file there.
HOWEVER, if you know how to generate one from DSL 4400 sys, please let me know.
Posts: 162
drg
Joined: 22 Feb 2010
#108
Tried antiX-M11-486 with that Dexxa PS/ 2 optical mouse and no problem with detection and use.
Also works fine with a standard USB optical wheel mouse which is plugged into an USB/PS2 adapter to connect to computer. Better actually, for me.
That’s also without using or needing an xorg.conf file.
PS. Added a bit more to my post above, just in case it helps.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#109
Mouse is Generic PS/2 wheel Mouse at /dev/psaux
So. Listen to what drg says for starters. I bet you forgot to look into /dev/psaux while in DSL and copy and paste what was said in there. Probably code though knowing our luck.

Mine to show for grins. I opened a root terminal in /dev to show this.

Code: Select all

# ls -l psaux
crw------- 1 root root 10, 1 May  9 08:00 psaux
Beats the hell out of me since I am not a coder on what it means.

Edit:
Probably code though knowing our luck.
Yep. I did a cat psaux while in /dev in terminal. It's code.

Code: Select all

                     �(�(�(�(�(�(�(�(
�(    �((�(�(�8��8��(�8��(�8��(�(�8��(�8��(������(�(�(�(�(�(�(�(�(�(�(�(�(�8��8��8��(�(��(���    �����������������������������������������
Posts: 81
FreeOS-LuvR
Joined: 22 Mar 2012
#110
Greetings Dave,
Posted: Tue May 08, 2012 4:13 pm by Dave
maybe you need to install sysv-rc-conf ? (apt-get -f install sysv-rc-conf) though this should have been preinstalled as the antix control center uses it.
....
From my understanding the '-f' option is for fixing/correcting broken dependencies.

The results of apt-get -f install sysv-rc-conf

Code: Select all

sysv-rc-conf is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 951 not upgraded.
To get SSH running I normally enter:

Code: Select all

/etc/init.d/ssh start
Could I enter this in one of the boot scripts?

As always thank you Dave.

I'm still working on:
Posted: Fri May 04, 2012 3:03 am by FreeOS-LuvR
When I get a chance ... my intention will be to:
- Get SSH running automatically on this box
- I've the idea of running Knoppix LiveCD and seeing if the xorg.conf the
mouse works.
I've already tried the DSL 4400 sys (part 2 of my objective quoted above) and no xorg.conf was generated.
Posts: 81
FreeOS-LuvR
Joined: 22 Mar 2012
#111
Greetings Dave,

I attempted the GUI (run level 5) to start the SSH service automatically, I did the following:

Code: Select all

Clicked Start -> Applications -> Preferences -> antiXCC
Choose Startup Services
ROXTerm launched with Password: prompt.
I entered the root password.
SysV Runlevel Config ... ran successfully in the terminal.
I opened up another terminal and did a top and filtered user.
The only thing I found was that terminals were running and other processes.
I quit the top.

I then did a:

Code: Select all

ps -ef | grep sysv

root      1326  1301  0 07:17 pts/1    00:00:01 su -c sysv-rc-conf
root      1360  1326 10 07:18 pts/1    00:01:01 /usr/bin/perl -w /usr/sbin/sysv-rc-conf
mastero   1491  1308  0 07:28 pts/0    00:00:00 grep sysv
I went back to other terminal running SysV Runlevel Config and select run levels (2,3,4,5) for ssh.
I pressed 'q' to quit

I rebooted into run level 3.
ssh was not running ... I think maybe I didn't save it in SysV Runlevel Config (GUI terninal session)
I ran out of time and had to leave the box.

Ok, there's something truly interesting here ... sysv-rc-conf runs in the GUI.
It seems that antiX Control Center has some form of lock on sysv-rc-conf.

I will try this again and post my results ... thanks again Dave
Posts: 81
FreeOS-LuvR
Joined: 22 Mar 2012
#112
Greetings Dave,
Posted: Thu May 10, 2012 1:57 pm by FreeOS-LuvR
...
I went back to other terminal running SysV Runlevel Config and select run levels (2,3,4,5) for ssh.
...
I rebooted into run level 3.
ssh was not running ... I think maybe I didn't save it in SysV Runlevel Config (GUI terninal session)
I ran out of time and had to leave the box.

Ok, there's something truly interesting here ... sysv-rc-conf runs in the GUI.
It seems that antiX Control Center has some form of lock on sysv-rc-conf.

I will try this again and post my results ... thanks again Dave
I booted the box into the GUI (runlevel 5)
I ran antiXCC (Control Center)
I accessed the SysV Runlevel Config (from 'Choose Startup Services' in Control Center (System Tab))
Runlevels 2,3,4,5 were still selected for ssh.
I tried to ssh into the box and got

Code: Select all

ssh: connect to host <ip-addr removed> port 22: Connection refused
As root user I ran

Code: Select all

/etc/init.d/ssh start

Starting OpenBSD Secure Shell server: sshd.
I tried to ssh into the box again and was able to.

These results prove that ssh doesn't load when in antiX M11 GUI (runlevel 5) it's only running
when the start commands executed as root user.

Couldn't we just write a bash script and have it execute the /etc/init.d/sshh start line.
Kinda like oldschool autoexec.bat or config.sys in DOS and Windows.
Posts: 81
FreeOS-LuvR
Joined: 22 Mar 2012
#113
Greetings,

I've gotten my hands on another PS/2 mouse (non HP Optical Mouse) This mouse is NOT an OPTICAL mouse (it has a ball).
I booted antiX M11 486 (2.6.36-1-mepis) and the mouse DID NOT work.
I ran DSL 4.4.10 and it worked.

This is interesting ... I can't conclude and say that there's a problem with
the PS/2 port due to the fact that ... The PS/2 mouse works on DSL 4.4.10
running linux kernel 2.4.31 (This is for both: Optical and Non Optical)

Is there a way to check the state of the PS/2 port in Linux?

NOTE: I am still looking into getting SSH to run on boot on this box