LinuxQuestions.org
Review your favorite Linux distribution.
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
  Search this Thread
Old 06-24-2003, 07:02 AM   #1
forkvoid
LQ Newbie
 
Registered: Nov 2001
Location: Phoenix, Arizona, USA
Distribution: Debian
Posts: 19

Rep: Reputation: 0
USB Mouse


So I've scoured the 'net for any and all tutorials pertaining to USB mice and Linux, and none of it has helped. I recompiled to kernel again, to make sure I had HID support built-in.

I can get X to run, and I see a big X cursor, but I can't move it, and the light inside my mouse isn't on. I'm using the device /dev/ttyS0 as my mouse. Any help here?
 
Old 06-24-2003, 07:35 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
/dev/usb/mice



Which version of slack are you using btw?

Cool
 
Old 06-24-2003, 07:51 AM   #3
forkvoid
LQ Newbie
 
Registered: Nov 2001
Location: Phoenix, Arizona, USA
Distribution: Debian
Posts: 19

Original Poster
Rep: Reputation: 0
Slackware 8.1

And thanks, I'm going to go try it out right now.
 
Old 06-24-2003, 08:04 AM   #4
forkvoid
LQ Newbie
 
Registered: Nov 2001
Location: Phoenix, Arizona, USA
Distribution: Debian
Posts: 19

Original Poster
Rep: Reputation: 0
I replaced the device '/dev/ttyS0' in XF86Config with /dev/usb/mice, and X wouldn't boot due to 'No core pointer'.

And on a side note, I booted back into Windows to find that Mozilla is damn near dead(all settings have been put at default), and my bookmarks have been deleted. All the more reason for me to hurry up and switch everything to Linux.
 
Old 06-24-2003, 09:37 AM   #5
forkvoid
LQ Newbie
 
Registered: Nov 2001
Location: Phoenix, Arizona, USA
Distribution: Debian
Posts: 19

Original Poster
Rep: Reputation: 0
I realized the error of my ways, and noticed that I was supposed to put /dev/input/mice. I did this, and could boot into X, but no mouse support. I ran mouseconfig, and it added that line it always adds(can't remember exactly), and then I did 'ln -s /dev/input/mice /dev/mouse' so it would exist. I started X, but still no luck with the mouse working; the light always stays off. Please guys, help!
 
Old 06-24-2003, 11:41 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Hmm..

Here's my section from XF86Config:
Code:
Section "InputDevice"

# Identifier and driver

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/input/mice"
    Option "ZAxisMapping""4 5"
#    Option "CursorShadow" "on"
#    Option "CursorShadowAlpha" "40"
#    Option "CursorShadowXOffset" "4"
#    Option "CursorShadowYOffset" "2"
# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.
Also, I have GPM started at bootup, I don't know if that makes a difference or not.

Cool
 
Old 06-24-2003, 11:46 AM   #7
forkvoid
LQ Newbie
 
Registered: Nov 2001
Location: Phoenix, Arizona, USA
Distribution: Debian
Posts: 19

Original Poster
Rep: Reputation: 0
I don't think that really matters there, as this is a problem with getting USB to work. Unfortunately, this forum is not much help.
 
Old 06-24-2003, 05:46 PM   #8
lezek
Member
 
Registered: Apr 2003
Distribution: Gentoo
Posts: 52

Rep: Reputation: 15
The problem here is that the people giving answers aren't using Slackware and so aren't aware of the fact that it doesn't, by default, use devfs. Therefore, the device names that exist on your system are limited to those which you've created and those which Slackware gives you, and by default there are no device names for USB devices.

Three solutions exist; you can either find out the appropriate minor and major numbers for a usb mouse device and create one using mknod, or you can recompile your kernel including devfs, which will dynamically create device names as needed, thus creating a /dev/usbmouse for you. Finally, there may be a setting in your BIOS to simulate a PS/2 mouse using the USB device. I would recommend the devfs route, simply because devfs is something I wouldn't want to live without.
 
Old 06-24-2003, 07:38 PM   #9
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
he he, I'm using slack 8.1

You also need to modprobe up a few things:
modprobe uhci
modprobe hid

Then try again.

Cool
 
Old 06-26-2003, 08:53 PM   #10
lezek
Member
 
Registered: Apr 2003
Distribution: Gentoo
Posts: 52

Rep: Reputation: 15
well, i did use slack 8.1 until i stupidly installed mandrake. you do indeed need to modprobe those items, as well as creating the appropriate device files.
 
Old 06-26-2003, 10:26 PM   #11
mr_nohj
LQ Newbie
 
Registered: Jun 2003
Distribution: Slackware 10.1
Posts: 14

Rep: Reputation: 0
This post may help. IT helped me get my USB mouse working in Slackware 9.0
http://www.linuxquestions.org/questi...threadid=64821
also hotplug needs to be instaled in my version of slackware to make the mouse "light up" otherwise the USB devices don't get turned on.

Last edited by mr_nohj; 06-26-2003 at 10:29 PM.
 
Old 06-27-2003, 12:48 AM   #12
vicomte
LQ Newbie
 
Registered: Jun 2003
Location: Brisbane Australia
Distribution: Debian
Posts: 17

Rep: Reputation: 0
have you tried
/dev/usb/mouse0
works for me
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
disconnect USB mouse data from the mouse pointer Yeronimo Programming 0 04-07-2005 03:26 AM
Erratic mouse pointer with wireless USB mouse jomax Fedora 0 01-04-2005 03:38 AM
Cannot change USB mouse back to PS/2 mouse under Mandrake 10 RedUcer Linux - Hardware 11 10-27-2004 01:40 AM
How do you configure to mouses, a laptop mouse and a Logitc USB Mouse dbratton Linux - Hardware 8 03-06-2004 05:02 PM
USB mouse, keyboard, hid, console mouse problems jqcaducifer Linux - General 1 08-05-2003 09:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:56 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration