Re: Mouse Problems in X

2002-09-02 Thread Nick Hastings


Howdy Travis,

* Travis Troyer <[EMAIL PROTECTED]> [020903 16:14]:
> Thanks to everyone for the suggestions.  I followed what Nick Hastings 
> suggested, and found that when I tried to modprobe usbcore, hid, input,
> or 
> mousedev, that it said they couldn't be located.  I also tried uname -a,
> and 
> got:
> 
> 2.2.20-idepci #1
> 
> Being a newbie, I went to dselect to look for the modules, and noticed
> there 
> were various kernel images there, including mine, for which the
> description 
> said it only contained ide and pci support.  So, I thought that might
> have 
> something to do with it.  I choose the base 2.2.20 kernel image, and 
> installed it, and now my mouse works fine, as did the modprobe of those 
> modules.  

Good stuff!

> The thing is, now my network is inaccessible and I receive
> errors, 
> something along these lines (I'm not in linux right now, and did not
> think 
> to right it down):
> 
> /etc/moldules.conf is newer than modules.dep
> 
> It doesn't seem to hurt anything, however.

Hmm... the command update-modules comes to mind... have a look at the
man page.
> 
> Anybody have any idea what I did to my network, and what I can do to fix

Yep, I'm guessing that the module for your ethernet card is not
installed anymore. Do you know what type of card you have? If not try
the command

lspci

Among other things it should list your networkcard:
Look for "Ethernet controller:"

 Next, you need to find out what driver that card needs (you can google 
for it). Then install that module with modprobe.

An example:
---
hastings@zooks ~ 1%  lspci | grep "Ethernet controller"
02:08.0 Ethernet controller: Intel Corporation 82820 820 (Camino 2)
Chipset Ethernet (rev 03)

Then linux  google for "Intel Corporation 82820 820 (Camino 2)"

yeilds eepro100

so:

modprobe eepro100
-

An alternative is to run modconf, and navigate throught the menus
until you find the correct module (some of them have discriptions).
> 
> this error?  I'm thinking about reinstalling, now that I have learned
> some 
> basics.

Resist the temptation, you'll learn more, by fixing the problem rather
than starting from scratch.

Cheers,

Nick.

BTW a warning: some of this stuff might not work for your system (which 
I guess is woody) because I don't know what is installed and I don't have any
experience with 2.2 series kernels.

-- 
Debian testing/unstable
Linux onefish 2.4.19-lavienx #1 Mon Aug 12 20:29:59 EST 2002
i686 unknown unknown GNU/Linux


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




RE: Mouse Problems in X

2002-09-02 Thread Travis Troyer

Thanks to everyone for the suggestions.  I followed what Nick Hastings 
suggested, and found that when I tried to modprobe usbcore, hid, input,
or 
mousedev, that it said they couldn't be located.  I also tried uname -a,
and 
got:

2.2.20-idepci #1

Being a newbie, I went to dselect to look for the modules, and noticed
there 
were various kernel images there, including mine, for which the
description 
said it only contained ide and pci support.  So, I thought that might
have 
something to do with it.  I choose the base 2.2.20 kernel image, and 
installed it, and now my mouse works fine, as did the modprobe of those 
modules.  The thing is, now my network is inaccessible and I receive
errors, 
something along these lines (I'm not in linux right now, and did not
think 
to right it down):

/etc/moldules.conf is newer than modules.dep

It doesn't seem to hurt anything, however.

Anybody have any idea what I did to my network, and what I can do to fix

this error?  I'm thinking about reinstalling, now that I have learned
some 
basics.

Thanks you all for your help,

Travis Troyer


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Mouse Problems in X

2002-09-02 Thread Kent West

Travis Troyer wrote:

>I have a Logitech 2 button optical USB mouse, with a wheel, and I cannot
>get it to work properly in x.  If I move the mouse around, the cursor
>goes to the top-left corner, and bounces around that area.  I have tried
>different protocols, such as Microsoft and IMPS/2, and tried to follow
>the steps outlines on various sites, but I am lost. 
>
>Most recently, I tried the guide at
>http://www.linux-usb.org/USB-guide/x194.html, but got confused at the
>very first part. It says:
>
>"In the kernel configuration stage, you need to turn on USB Human
>Interface Device (HID) support in the USB support and Mouse Support in
>the Input core support."
>
>I'm not sure what they mean by kernel configuration stage? Do they mean
>during the initial setup?  Will I have to rebuild my kernel to get this
>to work?  It also says I'll need to load the input.o, hid.o, and
>mousedev.o modules.  I don't have these.  Are these in the kernel
>source, for me to add when I rebuild?
>  
>
Since you're getting activity from the mouse, that means the kernel has 
support for the mouse -- no need to (re)compile a kernel.

Since you're tried different protocols, that leads me to three possible 
conclusions: 1) you haven't tried the right protocol; 2) your mouse is 
"broken" in regard to the protocols available; and 3) your X mouse 
driver is conflicting with the console mouse driver (gpm). Of these, I 
suspect #3 is your problem.

To test #3, press Ctrl-Alt-F1 to switch to the first virtual terminal; 
move the mouse. Do you see a square cursor moving around? If so, you 
have gpm running, and it's nearly certain that you just need to get the 
two drivers to play nice together.

Another way to test #3 is to run "ps ax | grep [g]pm"; if you see a line 
like:
  180 ?S  0:00 /usr/sbin/gpm -m /dev/input/mice -t imps2 -Rraw
then yep, you've got gpm running; you just need to get the two drivers 
to play nice together.

If that's the case, post that info and we'll help you to get the two 
drivers to work together.

Kent

>  
>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Mouse Problems in X

2002-09-02 Thread Geoff Crompton

On Tue, Sep 03, 2002 at 12:10:10AM -0400, Travis Troyer wrote:
> I have a Logitech 2 button optical USB mouse, with a wheel, and I cannot
> get it to work properly in x.  If I move the mouse around, the cursor
> goes to the top-left corner, and bounces around that area.  I have tried
> different protocols, such as Microsoft and IMPS/2, and tried to follow
> the steps outlines on various sites, but I am lost. 
> 
> Most recently, I tried the guide at
> http://www.linux-usb.org/USB-guide/x194.html, but got confused at the
> very first part. It says:
> 
> "In the kernel configuration stage, you need to turn on USB Human
> Interface Device (HID) support in the USB support and Mouse Support in
> the Input core support."
> 
> I'm not sure what they mean by kernel configuration stage? Do they mean
> during the initial setup?  Will I have to rebuild my kernel to get this
> to work?  It also says I'll need to load the input.o, hid.o, and
> mousedev.o modules.  I don't have these.  Are these in the kernel
> source, for me to add when I rebuild?
> 
> Any help would be appreciated.

  It sounds like you are getting data from the USB mouse. I take it that
  if you start X, and you don't move the mouse, the pointer sits still
  in the middle of the screen? It is only when you move the mouse that
  it leaps up to the top left corner and bounces around?

  This sounds like it is the wrong protocol. You probably want to read
  /usr/share/doc/xserver-xfree86/README.mouse.gz.

  In your XF86Config-4 file, in the InputDevice corresponding to the
  mouse I would try the following lines (not all at the same time
  though):
  Option "Protocol" "Auto"
  Option "Protocol" "usb"
  Option "Protocol" "PS/2"

  It sounds like the Option "Device" is set ok, as you are getting data
  from the mouse (an making the pointer jump to the top left of the
  screen).

  Also, does the log from X starting up show anything mentioning the
  mouse?

  Geoff Crompton


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Mouse Problems in X

2002-09-02 Thread Nick Hastings

Hi,

* Travis Troyer <[EMAIL PROTECTED]> [020903 14:11]:
> I have a Logitech 2 button optical USB mouse, with a wheel, and I cannot
> get it to work properly in x.  If I move the mouse around, the cursor
> goes to the top-left corner, and bounces around that area.  I have tried
> different protocols, such as Microsoft and IMPS/2, and tried to follow
> the steps outlines on various sites, but I am lost. 
> 
> Most recently, I tried the guide at
> http://www.linux-usb.org/USB-guide/x194.html, but got confused at the
> very first part. It says:
> 
> "In the kernel configuration stage, you need to turn on USB Human
> Interface Device (HID) support in the USB support and Mouse Support in
> the Input core support."
> 
> I'm not sure what they mean by kernel configuration stage? Do they mean
> during the initial setup?  Will I have to rebuild my kernel to get this
> to work?  

Your kernel is probably ok.

> It also says I'll need to load the input.o, hid.o, and
> mousedev.o modules.  I don't have these.  Are these in the kernel
> source, for me to add when I rebuild?

What kernel are you using?  

uname -a

I'm guessing you've got a stock Debian one. In which case everything
should have been compiled into the kernel or as a module. Assuming that
you have the modules you need to install them into your kernel. As root
do:

modprobe usbcore hid input mousedev

Then, assuming you have X configured correctly, it should work. For
future reference about kernel modules have a look at the commands (ie
man pages) for

modprobe, lsmod and modconf

Cheers,

Nick.


-- 
Debian testing/unstable
Linux onefish 2.4.19-lavienx #1 Mon Aug 12 20:29:59 EST 2002
i686 unknown unknown GNU/Linux


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Mouse Problems in X

2002-09-02 Thread Russell

Travis Troyer wrote:
> 
> I have a Logitech 2 button optical USB mouse, with a wheel, and I cannot
> get it to work properly in x.  If I move the mouse around, the cursor
> goes to the top-left corner, and bounces around that area.  I have tried
> different protocols, such as Microsoft and IMPS/2, and tried to follow
> the steps outlines on various sites, but I am lost.
> 
> Most recently, I tried the guide at
> http://www.linux-usb.org/USB-guide/x194.html, but got confused at the
> very first part. It says:
> 
> "In the kernel configuration stage, you need to turn on USB Human
> Interface Device (HID) support in the USB support and Mouse Support in
> the Input core support."
> 
> I'm not sure what they mean by kernel configuration stage? Do they mean
> during the initial setup?  Will I have to rebuild my kernel to get this
> to work?  It also says I'll need to load the input.o, hid.o, and
> mousedev.o modules.  I don't have these.  Are these in the kernel
> source, for me to add when I rebuild?

If you do "make menuconfig" in /usr/src/,
there's a bunch of options for including mouse/usb support in the
kernel. So, you might need to compile and install a new kernel.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Mouse Problems in X

2002-09-02 Thread Travis Troyer

I have a Logitech 2 button optical USB mouse, with a wheel, and I cannot
get it to work properly in x.  If I move the mouse around, the cursor
goes to the top-left corner, and bounces around that area.  I have tried
different protocols, such as Microsoft and IMPS/2, and tried to follow
the steps outlines on various sites, but I am lost. 

Most recently, I tried the guide at
http://www.linux-usb.org/USB-guide/x194.html, but got confused at the
very first part. It says:

"In the kernel configuration stage, you need to turn on USB Human
Interface Device (HID) support in the USB support and Mouse Support in
the Input core support."

I'm not sure what they mean by kernel configuration stage? Do they mean
during the initial setup?  Will I have to rebuild my kernel to get this
to work?  It also says I'll need to load the input.o, hid.o, and
mousedev.o modules.  I don't have these.  Are these in the kernel
source, for me to add when I rebuild?

Any help would be appreciated.

thanks in advance,

travis troyer


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: mouse problems in 'X'

2000-11-19 Thread Virginie-ML
On Wed, Nov 15, 2000 at 10:35:53PM -0700, Ray Percival wrote:
> What kind of mouse is it? Is it by chance an Intellimouse?


No, a cordless logitech, but I don't think that configuration parameters
are really differents (PS/2 - 3 buttons)
gpm and mouse don't seem to work very fine together...




-- 
  ^^ 
   (_/°°-çVirginie   
   | \_`-"
   )/mutt|| 
   \nn   \nn  




Re: mouse problems in 'X'

2000-11-15 Thread Ray Percival
What kind of mouse is it? Is it by chance an Intellimouse?

-- Original Message --
From: Virginie-ML <[EMAIL PROTECTED]>
Date: Wed, 15 Nov 2000 23:04:31 +0100

>On Wed, Nov 15, 2000 at 01:31:51PM -0600, [EMAIL PROTECTED] wrote:
>> I looked in the archives and couldn't find the answer to my question.  It
>> is probably there but I just can't get the search string right.  Anyway
>> I've just installed Potato.  The mouse works with gpm. The mouse doesn't
>> work using fvwm.  If I move the mouse it flits around the perimiter of the
>> screen but there is no control.  I've listed it as /dev/mouse in
>> XF86Config.  /dev/mouse is a link to gpmdata.  It'a a ps/2 mouse.  I've
>> edited XF86Config changing to /dev/psaux and changing the permissions to
>> 777.  What am I doing wrong?  
>
>
>Maybe you should try to stop gpm and take it away from your rc*.d
>files...that worked for me :)
> 
>
>> 
>
>-- 
>  ^^ 
>   (_/°°-çVirginie   
>   | \_`-"
>   )/mutt|| 
>   \nn   \nn  
>
>
>
>-- 
>Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
>
>



Re: mouse problems in 'X'

2000-11-15 Thread Virginie-ML
On Wed, Nov 15, 2000 at 01:31:51PM -0600, [EMAIL PROTECTED] wrote:
> I looked in the archives and couldn't find the answer to my question.  It
> is probably there but I just can't get the search string right.  Anyway
> I've just installed Potato.  The mouse works with gpm. The mouse doesn't
> work using fvwm.  If I move the mouse it flits around the perimiter of the
> screen but there is no control.  I've listed it as /dev/mouse in
> XF86Config.  /dev/mouse is a link to gpmdata.  It'a a ps/2 mouse.  I've
> edited XF86Config changing to /dev/psaux and changing the permissions to
> 777.  What am I doing wrong?  


Maybe you should try to stop gpm and take it away from your rc*.d
files...that worked for me :)
 

> 

-- 
  ^^ 
   (_/°°-çVirginie   
   | \_`-"
   )/mutt|| 
   \nn   \nn  




Re: mouse problems in 'X'

2000-11-15 Thread Jay Ford
On Wed, 15 Nov 2000 [EMAIL PROTECTED] wrote:
> I looked in the archives and couldn't find the answer to my question.  It
> is probably there but I just can't get the search string right.  Anyway
> I've just installed Potato.  The mouse works with gpm. The mouse doesn't
> work using fvwm.  If I move the mouse it flits around the perimiter of the
> screen but there is no control.  I've listed it as /dev/mouse in
> XF86Config.  /dev/mouse is a link to gpmdata.  It'a a ps/2 mouse.  I've
> edited XF86Config changing to /dev/psaux and changing the permissions to
> 777.  What am I doing wrong?  

Here's what works for me:

/etc/gpm.conf (entire)___
device=/dev/psaux
responsiveness=
repeat_type=raw
type=imps2
append=""


/etc/X11/XF86Config (excerpt)
Section "Pointer"
Device "/dev/gpmdata"
Protocol "imps/2"
ZAxisMapping  4 5
Buttons 7
EndSection


The "ZAxisMapping  4 5" & "Buttons 7" are to enable the mouse wheel.


Jay Ford, Network Engineering Group, Information Technology Services
University of Iowa, Iowa City, IA 52242
email: [EMAIL PROTECTED], phone: 319-335-, fax: 319-335-5505



mouse problems in 'X'

2000-11-15 Thread kbrede
I looked in the archives and couldn't find the answer to my question.  It
is probably there but I just can't get the search string right.  Anyway
I've just installed Potato.  The mouse works with gpm. The mouse doesn't
work using fvwm.  If I move the mouse it flits around the perimiter of the
screen but there is no control.  I've listed it as /dev/mouse in
XF86Config.  /dev/mouse is a link to gpmdata.  It'a a ps/2 mouse.  I've
edited XF86Config changing to /dev/psaux and changing the permissions to
777.  What am I doing wrong?  
Thanks,
kent



Re: Mouse problems in X.

2000-08-26 Thread Daniel E. Baumann
On Sat, 26 Aug 2000, luke b wrote:
> I am having problems with my Logitech PS2 mouse in X.  GPM is set to use 
> /dev/psaux for the mouse and it works perfectly.  In X, I set the mouse to 
> use /dev/psaux as well.  I can move the mouse, but it moves really fast at 
> the very bottom of the screen and I can't control it.  And when I set the 
> mouse in X to /dev/mouse it doesn't work at all.  I noticed that /dev/mouse 
> was a symbolic link to /dev/gpmdata, if that matters.  Someone please help!!
> 
> luke
> 
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Run gpmconfig and set the repeat protocol to "none".

Dan
--
Daniel E. Baumann
E-mail: [EMAIL PROTECTED] (preferred)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED] (caution: dynamic DNS 


service, may bounce)

Web location:   http://www.msoe.edu/~baumannd
http://www.linuxfreak.com/~baumannd

"Life would be so much easier if we could just look at the source code." 

  -- Dave Olson
---



Re: Mouse problems in X.

2000-08-26 Thread luke b

This fixed it.  Thank you.

luke



From: Moritz Schulte <[EMAIL PROTECTED]>
To: debian-user@lists.debian.org
Subject: Re: Mouse problems in X.
Date: Sun, 27 Aug 2000 01:33:54 +0200

On Sat, Aug 26, 2000 at 05:04:57PM -0500, luke b wrote:

> I am having problems with my Logitech PS2 mouse in X.  GPM is set to use
> /dev/psaux for the mouse and it works perfectly.  In X, I set the mouse 
to
> use /dev/psaux as well.  I can move the mouse, but it moves really fast 
at
> the very bottom of the screen and I can't control it.  And when I set 
the
> mouse in X to /dev/mouse it doesn't work at all.  I noticed that 
/dev/mouse
> was a symbolic link to /dev/gpmdata, if that matters.  Someone please 
help!!


GPM and X conflict..
try setting up X to use /dev/gpmdata and let GPM act as a
'Repeater'. see GPM's manpage for information.. just set 'repeat_type'
in /etc/gpm.conf to 'raw'.

   moritz
--
/* Moritz Schulte <[EMAIL PROTECTED]>
 * http://hp9001.fh-bielefeld.de/~moritz/
 * PGP-Key available, encrypted Mail is welcome.
 */


--
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < 
/dev/null





Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



Re: Mouse problems in X.

2000-08-26 Thread s. keeling
On Sat, Aug 26, 2000 at 05:04:57PM -0500, luke b wrote:
> I am having problems with my Logitech PS2 mouse in X.  GPM is set to use 
> /dev/psaux for the mouse and it works perfectly.  In X, I set the mouse to 
> use /dev/psaux as well.  I can move the mouse, but it moves really fast at 
> the very bottom of the screen and I can't control it.  And when I set the 
> mouse in X to /dev/mouse it doesn't work at all.  I noticed that /dev/mouse 
> was a symbolic link to /dev/gpmdata, if that matters.  Someone please help!!

In /etc/gpm.conf, add the -R switch to send the output from gpm to the
named pipe /dev/gpmdata.  In X, use either /dev/gpmdata or /dev/mouse,
protocol MouseSystems.

#  /etc/gpm.conf - configuration file for gpm(1)
#
device=/dev/psaux
type=ps2
#
# note: the "-B 321" will show right-handers what it's like for a
# left-hander to live in a right-handed world.
#
append="-B 321 -R"
# responsiveness=


Caveat: apparently this elegant solution breaks with the next release
of XFree86.  See xfree86.org homepage.


-- 
[EMAIL PROTECTED] (Stephen) TopQuark Software & Serv. Enquire within.
[sed 's/[EMAIL PROTECTED]/@/g']   Contract programmer, server 
bum.  
Any technology distinguishable from magic is insufficiently advanced.



Re: Mouse problems in X.

2000-08-26 Thread Moritz Schulte
On Sat, Aug 26, 2000 at 05:04:57PM -0500, luke b wrote:

> I am having problems with my Logitech PS2 mouse in X.  GPM is set to use 
> /dev/psaux for the mouse and it works perfectly.  In X, I set the mouse to 
> use /dev/psaux as well.  I can move the mouse, but it moves really fast at 
> the very bottom of the screen and I can't control it.  And when I set the 
> mouse in X to /dev/mouse it doesn't work at all.  I noticed that /dev/mouse 
> was a symbolic link to /dev/gpmdata, if that matters.  Someone please help!!

GPM and X conflict..
try setting up X to use /dev/gpmdata and let GPM act as a
'Repeater'. see GPM's manpage for information.. just set 'repeat_type'
in /etc/gpm.conf to 'raw'.

   moritz
-- 
/* Moritz Schulte <[EMAIL PROTECTED]>
 * http://hp9001.fh-bielefeld.de/~moritz/
 * PGP-Key available, encrypted Mail is welcome.
 */



Mouse problems in X.

2000-08-26 Thread luke b
I am having problems with my Logitech PS2 mouse in X.  GPM is set to use 
/dev/psaux for the mouse and it works perfectly.  In X, I set the mouse to 
use /dev/psaux as well.  I can move the mouse, but it moves really fast at 
the very bottom of the screen and I can't control it.  And when I set the 
mouse in X to /dev/mouse it doesn't work at all.  I noticed that /dev/mouse 
was a symbolic link to /dev/gpmdata, if that matters.  Someone please help!!


luke

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



Mouse problems in X-Windows

1999-05-08 Thread Peter Ludwig
I've just recently purchased a new mouse, and it is supposed to be a
three-button mouse (software configurable), but two problems, 1) they
forgot to include the software, and 2) it does not respond to the "normal"
three button mouse reset codes.

Now, my main problem (I'll be satisfied using it as a two button mouse),
is that quite often when I'm on the internet I've got both an X-session
going, and am doing things on virtual terminals.  Occassionally (it
doesn't happen all the time), when I switch back to X-Windows the mouse
decides to die, it seems to be repetitively pressing the right mouse
button.

Does anyone have any ideas???

The main IC in the mouse is a EM8370BP if this helps...  It's very
generic, and was a cheapie...

Regards,
Peter Ludwig