2.15CE doesn't show menu in IceWM, does in JWM

Booting, installing, newbie
Message
Author
User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#21 Post by Sit Heel Speak »

@WhoDo and
@Béèm:

Scroll down and examine the message of "Zigzagcom" at

http://forums.fedoraforum.org/showthread.php?t=76648

and see if that provides clues. Zigzagcom's way of sensing a mouse does work on Puppy, but I don't have a touchpad so can't test that part of it.

I do not know whether Béèm's English is up to the challenge of Zigzagcom's prose, so I thought I would just see if I could figure his situation out myself based on his /proc/bus/input files, but I guess you're both grown ...er, St. Bernard and ...um, ...Sirius B native? :wink:

Mstar
Posts: 74
Joined: Fri 16 Feb 2007, 20:04

#22 Post by Mstar »

Wow, from Puppy to fire engines all on the same thread. What have I started here?<G>

The reason for two mice is a combination of lazy and necessary. I've tried a number of Puppy variants that would only work with the wired mouse until I could install the USB mouse after booting. Don't know why, but that's the way my machine works. I also have two keyboards attached for the same reason.

Yes, I play around with Puppy a lot. One of these days I'll actually figure out what I'm doing and maybe then I will be able to contribute something useful to the forum.

Oddly enough the USB keyboard is not a problem, only the mouse.

So, rather than plug/unplug when I try something new, I just leave both active. 2.15CE is the only version of Puppy -- or anything else -- that has seen this as a problem. Everything else just works right away, or works after I set it up.

Lobster,
No, I've run the Wizard several times. Not only does it not help, it does not remember the installation from boot to boot.

To reiterate, this is a full HD install, although the mouse issue also exists when run from CD using pfix=ram.

Thanks for all your help and comments.

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#23 Post by Sit Heel Speak »

Mstar wrote:So, rather than plug/unplug when I try something new, I just leave both active. 2.15CE is the only version of Puppy -- or anything else -- that has seen this as a problem. Everything else just works right away, or works after I set it up.
I just booted both 2.14 (liveDVD, puppy pfix=ram) and 2.15CE (frugal install to usb stick) with both a ps2 mouse and a cordless usb mouse plugged in, together at the same time, and Puppy sees and responds to both mice just fine, including the main menu unrolling up from lower left as expected.

Let me try it your way...2.15CE liveDVD with a 2.15CE full hard drive install also present...hold on...

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

#24 Post by WhoDo »

Sit Heel Speak wrote:Scroll down and examine the message of "Zigzagcom" at

http://forums.fedoraforum.org/showthread.php?t=76648

and see if that provides clues. Zigzagcom's way of sensing a mouse does work on Puppy, but I don't have a touchpad so can't test that part of it.
Yep. I have tested the mouse sensing in Xorg the way the post suggests. My Synaptic Touch Pad is /dev/input/mouse0 and my Trackpoint device is /dev/input/mouse1. Interestingly there is no /dev/input/mouse2 and my USB mouse doesn't respond in either /dev/input/mouse0 or mouse1 but DOES respond in /dev/input/mice?

Theoretically I could disable the Trackpoint device in BIOS and then disable the Touch Pad using a specific call in the xorg.conf file; probably by selecting the Trackpoint device again. I'm just concerned that might also disable not only my Touch pad but also my USB mouse. I'll try it out on a test installation later.

Thanks, guys.
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com

Mstar
Posts: 74
Joined: Fri 16 Feb 2007, 20:04

#25 Post by Mstar »

Sit Heel Speak,

That's interesting. Are both 2.14 and 2.15CE using Icewm? On my machine the USB mouse works with JWM, but not with Icewm, so I think the problem must be somehow related to Icewm rather than the USB handlers. If I just change window managers without changing anything else then the mouse opens the menu properly.

BTW, I did not use a live DVD, just the iso burned to a CD, so there was no pupsave file created, which indicates the problem is there from the very beginning. Maybe this is a bug, albeit a very limited one.

Again, thanks for the help.

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#26 Post by Sit Heel Speak »

Mstar wrote:Are both 2.14 and 2.15CE using Icewm?
No, 2.14 uses jwm. 2.15CE is the standard unmodified Final-2 version which uses icewm.

I have now tried 2.15CE from a live-DVD (same thing as a live-CD) using puppy pfix=ram (so it ignores pup_save's on the hard disks, same as a clean install) and both mice work fine. Tried it on a P3 tower with USB 1 ports, a P4 tower with USB 2 ports, and a P3 laptop with a single USB 1 port. No problems.

There will be some delay in me trying a full hd install of 2.15CE, as I'm taking a detour through helping Dougal to develop a new Puppy Universal Installer with hammer, tongs, and no mercy for a day or two or as long as it takes Dougal and critics to perfect the thing (***EDITED: well, that didn't take Dougal long...no hammer necessary at all...his new Puppy Universal Installer works great...no criticism from me forthcoming whatsoever...I am indeed impressed...I'm still having trouble with Barry's new grubconfig though...***).

Must be something unusual about your system, is my guess. I'm curious what is the brand of mouse, and are you simply plugging it into an ordinary usb2 port, or are you using a hub or pcmcia adapter or other such complication?

Also, what is your video adapter?
Last edited by Sit Heel Speak on Mon 23 Apr 2007, 05:47, edited 1 time in total.

Mstar
Posts: 74
Joined: Fri 16 Feb 2007, 20:04

#27 Post by Mstar »

Sit Heel Speak,

By all means devote your time to something more useful to the community than helping with this peculiar problem of mine.

Here is the information on the machine:
Motherboard: ASUS P4P800MX
CPU: Intel P4 @ 3 gHz
RAM: 1 gb
Video: Onboard Intel 82865G
USB Mouse/Keyboard: Microsoft Wireless Optical Desktop 1000
PS2 Keyboard: And old IBM
PS2 Mouse: Gigabyte G-Max

The machine has six USB ports. The Mouse receiver is connected to one of the four primaries that appear to be hardwired to the motherboard. The only other USB device attached is a Logitech camera (Have not tried it under Puppy, but it works under Win2K).

Once again, thanks for your help.

Mstar
Posts: 74
Joined: Fri 16 Feb 2007, 20:04

#28 Post by Mstar »

Here's some more information:

I just cold booted the HD install with the PS2 mouse and keyboard disconnected. The mouse was detected as "PS2" during boot, although the keyboard was detected as "USB". The USB mouse was not shown in the Wizard.

Behavior is exactly the same. I can only open the menu when a window is open on the desktop. If I minimize the window to the taskbar, the mouse does not open the menu, and I cannot re-open the window by clicking on the taskbar. I can only open a window from one of the icons on the pinboard.

Looks more and more like something in 2.15CE does not like my USB mouse, and it may not be Icewm after all. I say that because the mouse is mis-detected during bootup.

Anyway, it just gets curiousier and curiousier.

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#29 Post by Sit Heel Speak »

The video on my P4 is also onboard Intel 82865G.

Through Google, I see several user-reports of problems with that mouse and keyboard on Asus Athlon mainboards under Windows...perhaps one shouldn't be surprised if the very newest Microsoft hardware bollixes-up Linux (my cordless usb mouse is a vintage-2000 Logitech).

However, solving this issue might be a matter of simply identifying a suitable usb mouse (and maybe keyboard) Linux driver.

I'm curious: in your /etc/X11/xorg.conf, there are two sections titled

Section "InputDevice"

with entries for a mouse and for a keyboard. Can you paste those here?

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#30 Post by Sit Heel Speak »

And, same question, to WhoDo and Béèm?

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

#31 Post by WhoDo »

Sit Heel Speak wrote:And, same question, to WhoDo and Béèm?
Your wish is my command, SHS.

Code: Select all

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option      "XkbRules" "xorg"
	Option      "XkbModel" "pc102"
	Option      "XkbLayout" "us" #xkeymap0
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2" #mouse0protocol
	Option	    "Device" "/dev/mouse"
	#Option      "Emulate3Buttons"
	#Option      "Emulate3Timeout" "50"
	Option      "ZAxisMapping" "4 5" #scrollwheel
EndSection
Cheers
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com

Mstar
Posts: 74
Joined: Fri 16 Feb 2007, 20:04

#32 Post by Mstar »

Sit Heel Speak,

Here are the entires:

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc102"
Option "XkbLayout" "us" #xkeymap0
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2" #mouse0protocol
Option "Device" "/dev/mouse"
#Option "Emulate3Buttons"
#Option "Emulate3Timeout" "50"
Option "ZAxisMapping" "4 5" #scrollwheel

As an experiment, I used the Wizard to install the USB mouse and then re-copied the sections.

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc102"
Option "XkbLayout" "us" #xkeymap0
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2" #mouse0protocol
Option "Device" "/dev/mouse"
#Option "Emulate3Buttons"
#Option "Emulate3Timeout" "50"
Option "ZAxisMapping" "4 5" #scrollwheel
EndSection

Does not look like anything changed. As usual, the USB mouse had not been detected when I opened the wizard.

Again, thanks for your continuing interest in this issue. Your help is appreciated.

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#33 Post by Sit Heel Speak »

@Béèm and @WhoDo:

It's really a bit beyond my experience level at present, but...

I notice, with regard to touchpads, there is a synaptics driver in

/usr/X11R7/lib/xorg/modules/input

and so, I wonder if either of you have, thereby, a third "InputDevice" section in /etc/X11/xorg.conf with the identifier "Synaptics Mouse" as described at:

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

or else, if you don't have it, could one simply add such a section, e.g.

Code: Select all

Section "InputDevice"
Identifier "Synaptics Mouse"
Driver "synaptics"
Option "Device" "/dev/psaux"
Option "TouchpadOff" "1"
EndSection
(the Option "TouchpadOff" "1" line is described at

http://www.die.net/doc/linux/man/man5/synaptics.5.html

)

and put

Code: Select all

modprobe evdev
in /etc/rc.d/rc.local to activate the driver...as mentioned at

http://www.puppyos.net/forum/azbb.php?1166117515

(note: it looks like the standard xorgwizard which comes with 2.15CE does not contain the modified choosemousefunc() which is included in the modified xorgwizard, available at the above URL)

(but I don't think it should be necessary, if you simply modprobe the driver and then hand-edit xorg.conf as above)

Does this solve the problem?

***(EDITED: then again...you might need to add, to

Section "ServerLayout"

in xorg.conf, the line

Code: Select all

InputDevice   "Mouse0"   "AlwaysCore"
...replacing Mouse0 with Mouse1 if that is the number your touchpad makes go crazy, on Zigzagcom's test described above...

)

HTH,
SHS

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#34 Post by Sit Heel Speak »

@MStar: this was reported by "bunnydowell" at

http://www.linuxcompatible.org/Microsof ... 29386.html

to work under OpenSuse 10.1 but I don't know whether it will work under icewm. In /etc/X11/xorg.conf, replace your present mouse InputDevice section with this (make a backup of xorg.conf first, of course):

Code: Select all

Section "InputDevice"
Driver "mouse"
Identifier "Mouse0" ## change to Mouse1 if doesn't work
Option "Buttons" "5"
Option "Device" "/dev/input/mice"
Option "Name" "Autodetection"
Option "Protocol" "explorerps/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection 
and make sure in

Section "ServerLayout"

there is a line

Code: Select all

InputDevice   "Mouse0"   "AlwaysCore"
or "Mouse1" if that is the number in the InputDevice section.

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#35 Post by Béèm »

Thank you Sit Heal Speak, you are a champion. :D

I followed your 'dangerous' :wink: suggestion, but had to add an extra input device in the serverlayout section, the synaptics mouse.
I don't know if extra parameters apply there.
Only after adding this I have no more Touchpad active, but the trackpoint is still active.
BTW, I noticed that /dev/mouse is a symlink to /dev/psaux

Here is my conf now:

Code: Select all

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

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option      "XkbRules" "xorg"
	Option      "XkbModel" "pc102"
	Option      "XkbLayout" "be" #xkeymap0
EndSection

Section "InputDevice"
Identifier "Synaptics Mouse"
Driver "synaptics"
Option "Device" "/dev/psaux"
Option "TouchpadOff" "1"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto" #mouse0protocol
	Option	    "Device" "/dev/mouse"
	#Option      "Emulate3Buttons"
	#Option      "Emulate3Timeout" "50"
	Option      "ZAxisMapping" "4 5" #scrollwheel
EndSection

Mstar
Posts: 74
Joined: Fri 16 Feb 2007, 20:04

#36 Post by Mstar »

Sit Heel Speak,

It had no effect. Tried it both ways, mouse0 and mouse1, didn't matter.

Thanks for the effort.

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#37 Post by Béèm »

@mstar
Can you post your "ServerLayout" section?
In fact can you post in the same way as I did, so including the "InputDevice" section as well?

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#38 Post by Sit Heel Speak »

Mstar wrote:It had no effect. Tried it both ways, mouse0 and mouse1, didn't matter.
Yes, please post the whole stretch as Béèm requests. It goes between the markers left-square-bracket code right-square-bracket and the same with /code in between, no spaces. I see that Dougal has now posted an update to puppyserialdetect, just within the last few hours. Perhaps this holds a key clue.

What is the result of the Zigzagcom test, referenced above?

Have you tried plugging-in the mouse-receiver not through a USB port, but rather into a PS/2 port using a USB-to-PS/2 adapter (little plastic thing about an inch-and-a-quarter long, sold locally in the color green for $1.50)?

Mstar
Posts: 74
Joined: Fri 16 Feb 2007, 20:04

#39 Post by Mstar »

OK, here is the entire server section

# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12). This allows clients to receive these key
# events.

# Option "DontVTSwitch"

# Enables mode switching with xrandr
# There is a report that this can cause Xorg not to work on some
# video hardware, so default is commented-out...
# but i want to use it in xorgwizard so leave on...

Option "RandR" "on"

EndSection

#everything past here is auto-generated by Puppy's Xorg Wizard...

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

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc102"
Option "XkbLayout" "us" #xkeymap0
EndSection

Section "InputDevice"
Driver "mouse"
Identifier "Mouse1" ## change to Mouse1 if doesn't work
Option "Buttons" "5"
Option "Device" "/dev/input/mice"
Option "Name" "Autodetection"
Option "Protocol" "explorerps/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
#DisplaySize 380 300 # mm
Identifier "Monitor0"
VendorName "VSC"
ModelName "VA912-3SERIES"
Option "DPMS"
HorizSync 30-82
VertRefresh 50-81
#UseModes "Modes0" #monitor0usemodes
EndSection

Section "Modes"
Identifier "Modes0"
#modes0modeline0
EndSection

Section "Device"
# Available Driver options are:-
# Values: <i>: integer, <f>: float, <bool>: "True"/"False",
# <string>: "String", <freq>: "<f> Hz/kHz/MHz"
# [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
#Option "DRI" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "PageFlip" # [<bool>]
Identifier "Card0"
Driver "i810" #card0driver
VendorName "Intel Corporation"
BoardName "82865G Integrated Graphics Controller"
BusID "PCI:0:2:0"
EndSection


Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1280x1024"
EndSubsection
EndSection

#PuppyHardwareProfile=Intel_r_865G_Graphics_ChipVSC4e1c


I don't have a USB to PS2 adapter with my mouse. Will pick one up next time I'm out and report the results. Might be a few days, though.

Thanks again.

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#40 Post by Béèm »

Do you really have this file on your disk?

Code: Select all

 Option "Device" "/dev/input/mice" 
Strange as I have

Code: Select all

/dev/mouse

Post Reply