Re: usb mouse and XFree86 config problem

2002-06-18 Thread David Roundy
On Tue, Jun 18, 2002 at 07:15:23AM -0400, Bill from Tampa wrote:
> I can't get X to run on my new woody installation (installed from the net
> using the isolinux method). The base installation went well. I've tried
> several times to generate an XF86Config-4 file --but none of them work (I
> used XFree86 -configure, and also the ?debconf method). When I run startx,
> it ends with an error message: "cannot open device /dev/input/mice  No such
> device".
> 
> /dev/input/mice seems to exist, however.

What do you get when you type:

$ ls -l /dev/input/mice
crw-rw1 root root  13,  63 Jan  2 11:23 /dev/input/mice

Also, do you have gpm installed? If so, does your usb mouse work in the
console?

> Any ideas or suggestions? I installed the 2.4 kernel with woody, hoping it
> would have more mature usb handling capacity. Do I need to link or configure
> /dev/input/mice somehow, or is this a red herring?  Thanks for any help, as
> I am stuck!! I even had to boot into XP to send this...

If your /dev/input/mice doesn't match mine (see above) you could run
./MAKEDEV input in the /dev directory to create it.  The other two
possibilities I can think of are that you don't have the proper USB kernel
modules loaded, or that gpm is conflicting with x windows (this latter
option seems unlikely, as it tends to produce erratic behavior rather than
X failing to start up).

I'm no XF86Config-4 expert, but the 

Option  "SendCoreEvents""true"

line looks wrong to me.  This looks like an option for someone with two
mice (as I have--a laptop with a trackpointer and usb mouse).  I think you
would want instead 

Option  "CorePointer"

On the other hand, I don't think this could cause the problems you're
seeing.
-- 
David Roundy
http://civet.berkeley.edu/droundy/


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



Re: usb mouse and XFree86 config problem

2002-06-18 Thread Rox de Gabba
> /dev/input/mice seems to exist, however. My keyboard and mouse are both
> usb. 

Probably jst the device file exisis, not the device itself. Try running 
XF86Setup (or is it xf86Setup), it's a graphical configuration program, it 
lets you move around with tab and lets you try out different options.


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



Re: usb mouse and XFree86 config problem

2002-06-18 Thread Jason Healy
At 1024402523s since epoch (06/18/02 07:15:23 -0400 UTC), Bill from Tampa wrote:
> "cannot open device /dev/input/mice  No such device".
> 
> /dev/input/mice seems to exist, however.

"Seems" to exist?  Is it actually there, or not?  It would be best to
actually check.

If it's there, can you try configuring gpm (for console-based mouse
support) to use /dev/input/mice?  When X is acting up, I usually try
to make sure that everything works somewhere else as well.

As far as the USB support goes, it should work with both the 2.2 and
2.4 series of debian kernels.  I just installed woody on a new machine
last week, and my USB keyboard and mouse worked fine on the console
and in X.  (I'm using that box right now to type this, in fact.)

Make sure that you've loaded the correct modules.  The ones I'm using
are for full HID support (this is from /etc/modules):

keybdev
mousedev
hid
input
usb-uhci
usbcore

You can do an 'lsmod' to see if you've got those loaded or not.  If
those modules aren't loaded, maybe what's happened is that your BIOS
is using legacy support to make the USB devices appear as a legacy
keyboard and mouse.  If that's the case, you can either use the
traditional access device (/dev/psaux), or instantiate the modules and
access them through /dev/input/mice.

Hope that helps,

Jason

-- 
Jason Healy
http://www.logn.net/


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



Re: usb mouse and XFree86 config problem

2002-06-18 Thread Peter Whysall



Bill from Tampa wrote:

I can't get X to run on my new woody installation (installed from the net
using the isolinux method). The base installation went well. I've tried
several times to generate an XF86Config-4 file --but none of them work (I
used XFree86 -configure, and also the ?debconf method). When I run startx,
it ends with an error message: "cannot open device /dev/input/mice  No such
device".

/dev/input/mice seems to exist, however. My keyboard and mouse are both usb.
The mouse is a HP wheel mouse with a left and right button and the wheel.
Both the mouse and keyboard were working perfectly under Mandrake 8.2, which
I have unfortunately nuked to install Debian (I know I should have looked
carefully at my XF86Config-4 file under Mandrake...) The keyboard works fine
with the console (don't know about under X, haven't gotten that far yet...).
I copied a usb mouse config section from an XF86Config-4 file that someone
kindly posted to this group in the past  -- it also didn't work with the
same error message. Here is the relevant section:

Section"InputDevice"
Identifier"Mouse0"
Driver"mouse"
Option"SendCoreEvents""true"
Option"Device""/dev/input/mice"
Option"Protocol""ImPS/2"
Option"Emulate3Buttons""true"
Option"ZAxisMapping""4 5"

Any ideas or suggestions? I installed the 2.4 kernel with woody, hoping it
would have more mature usb handling capacity. Do I need to link or configure
/dev/input/mice somehow, or is this a red herring?  Thanks for any help, as
I am stuck!! I even had to boot into XP to send this...


You will need to install USB support into your kernel, and I didn't get 
sane USB on my sid box until I installed the "hotplug" package.


Regards

Peter.


--
ÿþ


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




Re: usb mouse and XFree86 config problem

2002-06-18 Thread Peter Whysall



Bill from Tampa wrote:

I can't get X to run on my new woody installation (installed from the net
using the isolinux method). The base installation went well. I've tried
several times to generate an XF86Config-4 file --but none of them work (I
used XFree86 -configure, and also the ?debconf method). When I run startx,
it ends with an error message: "cannot open device /dev/input/mice  No such
device".

/dev/input/mice seems to exist, however. My keyboard and mouse are both usb.
The mouse is a HP wheel mouse with a left and right button and the wheel.
Both the mouse and keyboard were working perfectly under Mandrake 8.2, which
I have unfortunately nuked to install Debian (I know I should have looked
carefully at my XF86Config-4 file under Mandrake...) The keyboard works fine
with the console (don't know about under X, haven't gotten that far yet...).
I copied a usb mouse config section from an XF86Config-4 file that someone
kindly posted to this group in the past  -- it also didn't work with the
same error message. Here is the relevant section:

Section"InputDevice"
Identifier"Mouse0"
Driver"mouse"
Option"SendCoreEvents""true"
Option"Device""/dev/input/mice"
Option"Protocol""ImPS/2"
Option"Emulate3Buttons""true"
Option"ZAxisMapping""4 5"

Any ideas or suggestions? I installed the 2.4 kernel with woody, hoping it
would have more mature usb handling capacity. Do I need to link or configure
/dev/input/mice somehow, or is this a red herring?  Thanks for any help, as
I am stuck!! I even had to boot into XP to send this...


You will need to install USB support into your kernel, and I didn't get 
sane USB on my sid box until I installed the "hotplug" package.


Regards

Peter.


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