Re: USB Mouse, GPM and Kernel 2.4

2001-12-21 Thread Didier Malenfant
I was the one with the ES1371 problems, I tried to start from scratch by
compiling 2.4.16 myself and now my soundcard works fine. Only difference
seems to be that I now have an audio codec module loaded, didn't have
that under 2.2.18.

I don't have a /dev/input directory, am I missing a package? (devfs?)

I haven't tried /dev/usbmouse under X but I will do.

-D

On Thu, 2001-12-20 at 00:06, Cameron Matheson wrote:
 Hello
 
 On Thu, 2001-12-20 at 00:25, Didier Malenfant wrote:
  I'm switching to 2.4 to try and sort out some other problems (with
  sound).
 
 Have you tried Alsa (it's great).  What kind of problems are you having?
  
  Under 2.2.18 my Intellimouse explorer would work with GPM, from what I
  gather the usbmouse driver would translate everything into a standard
  PS/2 format because gpm.conf was still using /dev/psaux and everything
  worked (even though the mouse was in the USB port).
 
 That kinda surprises me.  My usb mouse is /dev/input/mice (i also made a
 symlink to /dev/mouse)  I believe you will find info on creating
 /dev/input/mice in Documentation/usb/hid.txt (in the kernel source).
 
  Under 2.4 this doesn't work. I tried to point gpm to /dev/usbmouse but
  no chance. Loaded modules are input, usbmouse and mousedev.
  
  What settings should I be using in gpm.conf and what modules need to be
  loaded?
 
 Sorry... gpm started to make my system lose input on bootup, so I
 stopped using it a while ago... If you can't get it to work even w/ the
 /dev/input/mice, i'll try gpm again
  
  (I'm using /dev/gpmdata for X so if I get gpm working, X works)
 
 Just curious... what happens if you try X w/ your /dev/usbmouse file?
 
  Thanks,
  -D
 
 Cameron Matheson
 
 
 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com
 




Re: USB Mouse, GPM and Kernel 2.4

2001-12-21 Thread dman
On Fri, Dec 21, 2001 at 12:14:33PM -0800, Didier Malenfant wrote:
 
| I don't have a /dev/input directory, am I missing a package? (devfs?)

devfs isn't a package.  It is a feature of the 2.4 kernels, but you
don't have to use it.  If you want to learn more about it, read the
kernel docs and http://www.atnf.csiro.au/~rgooch/linux/docs/devfs.html

-D

-- 

The wise in heart are called discerning,
and pleasant words promote instruction.
Proverbs 16:21



Re: USB Mouse, GPM and Kernel 2.4

2001-12-21 Thread Jerome Acks Jr

Didier Malenfant wrote:


I was the one with the ES1371 problems, I tried to start from scratch by
compiling 2.4.16 myself and now my soundcard works fine. Only difference
seems to be that I now have an audio codec module loaded, didn't have
that under 2.2.18.

I don't have a /dev/input directory, am I missing a package? (devfs?)



For setting up your USB mouse take a look at
http://www.linux-usb.org/USB-guide/c122.html
http://www.linux-usb.org/USB-guide/x173.html
http://www.linux-usb.org/USB-guide/x194.html
Also load kernel module mousedev.o, if it is not compiled into your kernel.




I haven't tried /dev/usbmouse under X but I will do.



I couldn't get my USB mouse to work with this device and use /dev/input/mice




-D

On Thu, 2001-12-20 at 00:06, Cameron Matheson wrote:


Hello

On Thu, 2001-12-20 at 00:25, Didier Malenfant wrote:


I'm switching to 2.4 to try and sort out some other problems (with
sound).


Have you tried Alsa (it's great).  What kind of problems are you having?



Under 2.2.18 my Intellimouse explorer would work with GPM, from what I
gather the usbmouse driver would translate everything into a standard
PS/2 format because gpm.conf was still using /dev/psaux and everything
worked (even though the mouse was in the USB port).


That kinda surprises me.  My usb mouse is /dev/input/mice (i also made a
symlink to /dev/mouse)  I believe you will find info on creating
/dev/input/mice in Documentation/usb/hid.txt (in the kernel source).



Under 2.4 this doesn't work. I tried to point gpm to /dev/usbmouse but
no chance. Loaded modules are input, usbmouse and mousedev.

What settings should I be using in gpm.conf and what modules need to be
loaded?


Sorry... gpm started to make my system lose input on bootup, so I
stopped using it a while ago... If you can't get it to work even w/ the
/dev/input/mice, i'll try gpm again



(I'm using /dev/gpmdata for X so if I get gpm working, X works)


Just curious... what happens if you try X w/ your /dev/usbmouse file?



Thanks,
-D


Cameron Matheson


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com










--
Jerome



USB Mouse, GPM and Kernel 2.4

2001-12-20 Thread Didier Malenfant
I'm switching to 2.4 to try and sort out some other problems (with
sound).

Under 2.2.18 my Intellimouse explorer would work with GPM, from what I
gather the usbmouse driver would translate everything into a standard
PS/2 format because gpm.conf was still using /dev/psaux and everything
worked (even though the mouse was in the USB port).

Under 2.4 this doesn't work. I tried to point gpm to /dev/usbmouse but
no chance. Loaded modules are input, usbmouse and mousedev.

What settings should I be using in gpm.conf and what modules need to be
loaded?

(I'm using /dev/gpmdata for X so if I get gpm working, X works)

Thanks,
-D






Re: USB Mouse, GPM and Kernel 2.4

2001-12-20 Thread Cameron Matheson
Hello

On Thu, 2001-12-20 at 00:25, Didier Malenfant wrote:
 I'm switching to 2.4 to try and sort out some other problems (with
 sound).

Have you tried Alsa (it's great).  What kind of problems are you having?
 
 Under 2.2.18 my Intellimouse explorer would work with GPM, from what I
 gather the usbmouse driver would translate everything into a standard
 PS/2 format because gpm.conf was still using /dev/psaux and everything
 worked (even though the mouse was in the USB port).

That kinda surprises me.  My usb mouse is /dev/input/mice (i also made a
symlink to /dev/mouse)  I believe you will find info on creating
/dev/input/mice in Documentation/usb/hid.txt (in the kernel source).

 Under 2.4 this doesn't work. I tried to point gpm to /dev/usbmouse but
 no chance. Loaded modules are input, usbmouse and mousedev.
 
 What settings should I be using in gpm.conf and what modules need to be
 loaded?

Sorry... gpm started to make my system lose input on bootup, so I
stopped using it a while ago... If you can't get it to work even w/ the
/dev/input/mice, i'll try gpm again
 
 (I'm using /dev/gpmdata for X so if I get gpm working, X works)

Just curious... what happens if you try X w/ your /dev/usbmouse file?

 Thanks,
 -D

Cameron Matheson


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Re: USB Mouse, GPM and Kernel 2.4

2001-12-20 Thread dman
On Thu, Dec 20, 2001 at 01:06:54AM -0700, Cameron Matheson wrote:
| On Thu, 2001-12-20 at 00:25, Didier Malenfant wrote:
|  I'm switching to 2.4 to try and sort out some other problems (with
|  sound).
| 
| Have you tried Alsa (it's great).  What kind of problems are you having?
|  
|  Under 2.2.18 my Intellimouse explorer would work with GPM, from what I
|  gather the usbmouse driver would translate everything into a standard
|  PS/2 format because gpm.conf was still using /dev/psaux and everything
|  worked (even though the mouse was in the USB port).
| 
| That kinda surprises me.  My usb mouse is /dev/input/mice (i also made a
| symlink to /dev/mouse)  I believe you will find info on creating
| /dev/input/mice in Documentation/usb/hid.txt (in the kernel source).

My USB mouse is /dev/input/mouse0.  All (connected) USB mice can be
accessed via /dev/input/mice (so if you have 2 plugged in, they both
work transparently to the client code, this is nice for GPM since it
doesn't support mulitple mice like X does).

Of course, this is using devfs as well.  I don't know the major/minor
numbers to create a node for using a static /dev.

/dev/psaux should only work for a PS/2 mouse.  (btw, I never used usb
in 2.2 kernels)

I use the 'imps2' protocol (Logitech MouseMan Wheel) and it works
great.

|  Under 2.4 this doesn't work. I tried to point gpm to /dev/usbmouse but
|  no chance. Loaded modules are input, usbmouse and mousedev.
|  
|  What settings should I be using in gpm.conf and what modules need to be
|  loaded?

You will need 'hid' too (human input device).  Do you see a message on
the console when you plug the mouse in?  You should.  It will tell you
that a USB device was found and give some info about it.  You should
see a similar message when you unplug it.

-D

-- 

Pleasant words are a honeycomb,
sweet to the soul and healing to the bones.
Proverbs 16:24