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 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 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


Re: [lfs-support] bash vs dash

2013-01-05 Thread Richard Coffee


 -Original Message-

 My error with this page, even after having built one or two versions of
 LFS, was that the last line:
 
 gcc compilation OK
 
 that made me ignore the other lines, when some of these lines were
 telling me that I had requirements to fix.
 
 my script aborts if /bin/sh is not bash, awk not gawk or yacc not bison.
 if awk or yacc are scripts, i show a message to check the script.
 
 The idea of the script was that it should be short.  Generally the
 problem is that the symlinks are not set and occasionally makeinfo is
 not installed.  Rarely is the problem an out-of-date executable.

I have a suggestion.

At the bottom of the list, which the average person will pay more attention to 
anyway, add this test:

 [ $(readlink /bin/sh) == dash ]  echo FIX ME!

or perhaps:

 if [ $(readlink /bin/sh) == dash ]; then
echo FIX ME!
 fi

just my two cents.

richard


FREE ONLINE PHOTOSHARING - Share your photos online with your friends and 
family!
Visit http://www.inbox.com/photosharing to find out more!


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