LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 02-14-2005, 01:20 PM   #1
paul167
LQ Newbie
 
Registered: Feb 2005
Posts: 7

Rep: Reputation: 0
USB mouse loaded but no /dev/input/mice output


Hi everyone,

I've been trying to beat this all afternoon, googling all over the place... I need some help now.

I'm running a gentoo with 3 usb devices; my wireless intellimouse explorer, a pen drive and a casio ex-s100 digital camera.

Until yesterday, only the mouse worked, I wasn't getting any dmesg / log feedback for other devices plugging in (I had never tried to ude them before). I figured out it was because I had compiled the wrong Host Controller in the kernel. I had UHCI Alternate and I changed to OHCI because I have a SiS chipset.
As I did that I aslo compiled Preliminary USB Device Filesystem, USB Full HID support and Input Core Mouse Support.

Now that I have OHCI, all my devices show up in dmesg and the logs when I plug/unplug them. I've tested the pendrive and the camera and they work fine.

My mouse though, also shows up in dmesg and the kernel log but it doesn't work with Xorg anymore (it did back when I still had UHCI Alternate compiled in the kernel).
I believe the device is supposed to be /dev/input/mice, but it doesn't output anything when I cat /dev/input/mice and wiggle the mouse, neither with /dev/mouse. It's completely dead in Xorg and I've runned out of ideas on what to try.

Any tips would be gratly appreciated !

Here are some of my outputs:

extract of cat /proc/bus/usb/devices:
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=045e ProdID=0059 Rev= 0.16
S: Manufacturer=Microsoft
S: Product=Microsoft Wireless Intellimouse Explorer® 1.0A

/var/log/kernel/current when I unplug/plug the mouse:
Feb 14 20:17:57 [kernel] usb.c: USB disconnect on device 00:03.0-1 address 2
Feb 14 20:18:03 [kernel] hub.c: new USB device 00:03.0-1, assigned address 3
Feb 14 20:18:03 [kernel] : USB HID v1.10 Mouse [Microsoft Microsoft Wireless Intellimouse Explorer® 1.0A] on usb1:3.0

extract of dmesg:
hub.c: new USB device 00:03.0-1, assigned address 2
: USB HID v1.10 Mouse [Microsoft Microsoft Wireless Intellimouse Explorer® 1.0A] on usb1:2.0
reiserfs: checking transaction log (device ide0(3,4)) ...
for (ide0(3,4))
ide0(3,4):Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 124k freed
hub.c: new USB device 00:03.1-3, assigned address 2
hub.c: USB hub found
hub.c: 2 ports detected

the beginning of my xorg.conf:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Speedo/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
Load "record"
Load "extmod"
Load "dbe"
Load "glx"
Load "xtrap"
Load "freetype"
Load "type1"
Load "speedo"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
# Option "Buttons" "7"
# Option "ZAxisMapping" "6 7"
EndSection

Some of the Output of my Xorg server:
(II) Initializing extension GLX
(**) Option "Protocol" "IMPS/2"
(**) Mouse0: Device: "/dev/input/mice"
(**) Mouse0: Protocol: "IMPS/2"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/input/mice"
(==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(==) Mouse0: Buttons: 3
(**) Mouse0: SmartScroll: 1
(II) Keyboard "Keyboard0" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
(II) Mouse0: ps2EnableDataReporting: succeeded
Could not init font path element /usr/share/fonts/CID/, removing from list!
GetModeLine - scrn: 0 clock: 108000
GetModeLine - hdsp: 1280 hbeg: 1328 hend: 1440 httl: 1688
vdsp: 1024 vbeg: 1025 vend: 1028 vttl: 1066 flags: 5

f1x root # ls -l /dev/input/
total 0
crw-r--r-- 1 root root 13, 63 Jan 1 1970 mice

As I said, /dev/input/mice and /dev/mouse stay completely silent on 'cat'.
If you need anything more, let me know.

Any thoughts ?

Thanks
 
Old 02-14-2005, 01:27 PM   #2
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
You can always get a usb to ps/2 adapter and use /dev/psaux for mouse input :P. Just an idea, i have like 5 of them lying around and it frees up usb.
 
Old 02-14-2005, 01:42 PM   #3
paul167
LQ Newbie
 
Registered: Feb 2005
Posts: 7

Original Poster
Rep: Reputation: 0
That seems like a good idea, but its wireless and the led on the little wireless box which is plugged into the computer doesn't even turn on when I try it with a ps/2 adapter.

Maybe it needs USB for power ? Are those wireless thingies supposed to work with adapters like that ?

Paul
 
Old 02-14-2005, 01:48 PM   #4
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
It probably does, USB sports alot more amp then ps/2. And to generate a signal it'll probably need the extra amp, so discard being able to use ps/2, unless you make a cheap mod to source more power.
Since it worked in linux i'd discard it using some wierd chipset. It is detected, maybe the modules aren't loaded or you don't select the correct protocol to use when configuring X. Dunno, i've never used gentoo, i know you can emerge or something like that, but i don't think i'll be able to help much, sorry.

Last edited by bobbens; 02-14-2005 at 01:50 PM.
 
Old 02-14-2005, 01:56 PM   #5
paul167
LQ Newbie
 
Registered: Feb 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Well I dunno what other modules to load... I've enabled OHCI / HID / Input Core in the kernel, I thought that was enough.

When you cat the mouse device and wiggle it, you're always supposed to get some output right ? That would allow me to assume that the problem is not xorg.conf related.

Thanks
 
Old 02-14-2005, 03:13 PM   #6
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
Mmm, you'll probably have to look into your previous setup where only the mouse worked and the new one where it doesn't and it's probably related to that. If it doesn't work, you might have to get either a usb pci card or a new mouse, but i think the usb would probably be cheaper if your mouse is wireless, and plus the mouse worked fine. It could also be the mouse though. Do you get an error with startx? If it doesn't detect your mouse (at least in XFree86) it won't start up and that means your batteries are dead or the reciever and mouse aren't on the same channel. Can't think of anything else. Good luck.
 
Old 02-15-2005, 08:53 AM   #7
paul167
LQ Newbie
 
Registered: Feb 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Well I've narrowed it down a little bit;

The usb mouse works great on /dev/mouse (which links to /dev/psaux) WITHOUT any usb controller support loaded (neither in the kernel or as module).

When I load OHCI as module for example, everything looks good in dmesg and the kernel log but I can't get the mouse to work.

/dev/input/mice stays silent, so does /dev/mouse.

What other Device might I use for my usb mouse ? Or how do I find out what the right one is ?
 
Old 02-15-2005, 09:33 AM   #8
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
try browsing the /sys directory, that's where you find all the hardware you have. Good luck.
 
Old 02-16-2005, 02:24 AM   #9
paul167
LQ Newbie
 
Registered: Feb 2005
Posts: 7

Original Poster
Rep: Reputation: 0
thanks for your help guys !

I tried compiling ehci as a module, and it loads fine, but it doedn't make a difference for my mouse, I still can't get any feedback when OHCI is loaded.

any thougts ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
xwindows trouble -no /dev/mouse /dev/input/mice fatblueduck Linux - General 2 06-05-2005 11:03 PM
input/output dev/hda error meira Red Hat 2 09-01-2004 08:31 AM
psmouse and wacom pen in kernel 2.6.6 on /dev/input/mice Moloko Linux - Hardware 0 07-18-2004 12:33 PM
/dev/input/mice desappeared Hitan Debian 10 04-03-2004 06:58 AM
/dev/input/mice doesn't work Bogdan29 Linux - Newbie 3 05-07-2003 11:19 PM


All times are GMT -5. The time now is 12:09 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration