Re: [lfs-support] 7.3 trackball not working with gpm

2013-08-20 Thread Richard Coffee
 On Sun, 18 Aug 2013 18:57:14 -0800
 Richard Coffee richard.cof...@inbox.com wrote:
 
 My setup is virtually identical, except POLLDEV was set to Module.  Am
 recompiling kernel now for it.  Hope it makes a difference.  Thanks.
 
 
 You can cat each device in /dev/input/  while you move your trackball and
 see which device is used. /dev/input/mice is input from all mice. Then
 you have separate mouse devices or if your mouse somehow gets an event
 device then it is with an event device and number. If you get no terminal
 output when catting /dev/input/mice or /dev/input/mouse0 mouse1...  then
 still a kernel issue. Can always view your kernel log and see what is
 being loaded.
 
 William Harrington kb0...@berzerkula.org

Thank you, that was exactly the information I needed to debug the problem.  
Catting /dev/input/mouse0 gave me good results, and I finally tracked the issue 
down to, of course, human error, specifically /etc/sysconfig/mouse, the config 
file for gpm.  I had copied the file from my working LFS install on the same 
machine, without realizing that the path might change.  Had to change this line:

MDEVICE=/dev/mouse

to:

MDEVICE=/dev/input/mouse0

I also believe that creating the /dev/mouse link to /dev/input/mouse0 should 
have worked as well.  I haven't really studied that part of the install before, 
just never had any problems there.

Also ran across something I didn't understand, in that there was a kernel 
message indicating that a /dev/hidraw0 is also the trackball.  Catting it 
indicated this is the case, but gpm would not work with it, only with 
/dev/input/mouse0.  Tailing both input to files showed a difference between the 
data each is producing.  hidraw0 is not present on other LFS installs I've 
done.  Figure it has to be the new kernel version.

Thanks to everyone that answered:  William, Ken, and Armin.  I appreciate the 
help.


richard


GET FREE SMILEYS FOR YOUR IM  EMAIL - Learn more at 
http://www.inbox.com/smileys
Works with AIM®, MSN® Messenger, Yahoo!® Messenger, ICQ®, Google Talk™ and most 
webmails


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] 7.3 trackball not working with gpm

2013-08-18 Thread Richard Coffee

I recently finished up with 7.3.  Didn't have serious problems getting it to 
boot, however, when I installed gpm, I couldn't get my trackball to work.  
Googling the issue came up with a few hits, but nothing very helpful.  I 
suspect it has something to do with the kernel or udev because there is no 
mouse symlink in /dev as there is with older LFS installs I've done.  Grepping 
the config file for MOUSE showed the exact same settings as I've used in 
previous kernels.

Any advice would be appreciated.


richard


FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] 7.3 trackball not working with gpm

2013-08-18 Thread Armin K.
On 08/18/2013 07:56 AM, Richard Coffee wrote:
 
 I recently finished up with 7.3.  Didn't have serious problems getting it to 
 boot, however, when I installed gpm, I couldn't get my trackball to work.  
 Googling the issue came up with a few hits, but nothing very helpful.  I 
 suspect it has something to do with the kernel or udev because there is no 
 mouse symlink in /dev as there is with older LFS installs I've done.  
 Grepping the config file for MOUSE showed the exact same settings as I've 
 used in previous kernels.
 
 Any advice would be appreciated.
 
 
 richard
 
 
 FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
 Check it out at http://www.inbox.com/earth
 
 

mouse nodes should be in /dev/input/, for main mouse it's
/dev/input/mice. You don't really want the old /dev/psaux interface.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] 7.3 trackball not working with gpm

2013-08-18 Thread Richard Coffee
 
 I recently finished up with 7.3.  Didn't have serious problems getting
 it to boot, however, when I installed gpm, I couldn't get my trackball
 to work.  Googling the issue came up with a few hits, but nothing very
 helpful.  I suspect it has something to do with the kernel or udev
 because there is no mouse symlink in /dev as there is with older LFS
 installs I've done.  Grepping the config file for MOUSE showed the exact
 same settings as I've used in previous kernels.
 
 mouse nodes should be in /dev/input/, for main mouse it's
 /dev/input/mice. You don't really want the old /dev/psaux interface.

On previous installs /dev/mouse has been a link to /dev/input/mouse0.  That 
link is not created for 7.3.  If course I don't know if that is the issue, but 
it is one of the differences I've spotted.  Manually creating the link didn't 
fix the problem, so I'm guessing that it's a symptom and not the cause.  I've 
also looked through the /lib/udev directory files, and tried turning off psaux 
in the kernel. :(


richard


FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] 7.3 trackball not working with gpm

2013-08-18 Thread Ken Moffat
On Sun, Aug 18, 2013 at 05:54:38AM -0800, Richard Coffee wrote:
  
  I recently finished up with 7.3.  Didn't have serious problems getting
  it to boot, however, when I installed gpm, I couldn't get my trackball
  to work.  Googling the issue came up with a few hits, but nothing very
  helpful.  I suspect it has something to do with the kernel or udev
  because there is no mouse symlink in /dev as there is with older LFS
  installs I've done.  Grepping the config file for MOUSE showed the exact
  same settings as I've used in previous kernels.
  
  mouse nodes should be in /dev/input/, for main mouse it's
  /dev/input/mice. You don't really want the old /dev/psaux interface.
 
 On previous installs /dev/mouse has been a link to /dev/input/mouse0.  That 
 link is not created for 7.3.  If course I don't know if that is the issue, 
 but it is one of the differences I've spotted.  Manually creating the link 
 didn't fix the problem, so I'm guessing that it's a symptom and not the 
 cause.  I've also looked through the /lib/udev directory files, and tried 
 turning off psaux in the kernel. :(
 
 This is what I've got on my current machine.  I don't use gpm, or a
trackball, so these might not be _enough_ and I've no idea if the
SCREEN sizes matter.

#
# Input device support
#
CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set
CONFIG_INPUT_POLLDEV=y
# CONFIG_INPUT_SPARSEKMAP is not set
# CONFIG_INPUT_MATRIXKMAP is not set

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
CONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set

 [snip keyboard ]

CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=m
CONFIG_MOUSE_PS2_ALPS=y
CONFIG_MOUSE_PS2_LOGIPS2PP=y
CONFIG_MOUSE_PS2_SYNAPTICS=y
CONFIG_MOUSE_PS2_CYPRESS=y
CONFIG_MOUSE_PS2_LIFEBOOK=y
CONFIG_MOUSE_PS2_TRACKPOINT=y
 (my options after this are unset, but they might apply to your
hardware).

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] 7.3 trackball not working with gpm

2013-08-18 Thread Richard Coffee
 
 I recently finished up with 7.3.  Didn't have serious problems getting
 it to boot, however, when I installed gpm, I couldn't get my trackball
 to work.  Googling the issue came up with a few hits, but nothing very
 helpful.  I suspect it has something to do with the kernel or udev
 because there is no mouse symlink in /dev as there is with older LFS
 installs I've done.  Grepping the config file for MOUSE showed the
 exact
 same settings as I've used in previous kernels.
 
 mouse nodes should be in /dev/input/, for main mouse it's
 /dev/input/mice. You don't really want the old /dev/psaux interface.
 
 On previous installs /dev/mouse has been a link to /dev/input/mouse0.
 That link is not created for 7.3.  If course I don't know if that is the
 issue, but it is one of the differences I've spotted.  Manually creating
 the link didn't fix the problem, so I'm guessing that it's a symptom and
 not the cause.  I've also looked through the /lib/udev directory files,
 and tried turning off psaux in the kernel. :(
 
  This is what I've got on my current machine.  I don't use gpm, or a
 trackball, so these might not be _enough_ and I've no idea if the
 SCREEN sizes matter.
 
 #
 # Input device support
 #
 CONFIG_INPUT=y
 # CONFIG_INPUT_FF_MEMLESS is not set
 CONFIG_INPUT_POLLDEV=y
 # CONFIG_INPUT_SPARSEKMAP is not set
 # CONFIG_INPUT_MATRIXKMAP is not set
 
...stuff trimmed

 CONFIG_MOUSE_PS2_TRACKPOINT=y
  (my options after this are unset, but they might apply to your
 hardware).
 
My setup is virtually identical, except POLLDEV was set to Module.  Am 
recompiling kernel now for it.  Hope it makes a difference.  Thanks.


richard


GET FREE SMILEYS FOR YOUR IM  EMAIL - Learn more at 
http://www.inbox.com/smileys
Works with AIM®, MSN® Messenger, Yahoo!® Messenger, ICQ®, Google Talk™ and most 
webmails


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page