LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-29-2002, 11:29 PM   #1
Iceman Cometh
Member
 
Registered: Feb 2002
Posts: 33

Rep: Reputation: 15
USB Mouse in Slackware


Apparently Slackware doesn't appreciate my USB mouse. Tells me it can't read the device...I tried all the ttys[0..3] ports and nothing doing. Anyone know a quick fix or should I run to Kmart and get a converter?
 
Old 11-30-2002, 12:31 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
Screw kmart Actually I like kmart, just got me a few new toys for my truck there tonight

Anyway, no. Not yet anyway. You can rebuild your kernel, add support for USB devices, or maybe your kernel already has the necessary tools:
modprobe usbcore
modprobe hid
modprobe uhci (depending on your chipset anyway)

And then try setting up your mouse. This is what got me at first when I switched over to Slack, but it's not as bad as it seemed.

Cool
 
Old 11-30-2002, 02:00 AM   #3
Iceman Cometh
Member
 
Registered: Feb 2002
Posts: 33

Original Poster
Rep: Reputation: 15
Well, I committed the ultimate Linux sin and forgot about case sensitivity, which is why ttys0 wasn't working and ttyS0 was

So, X starts up fine now and looks nice and pretty...even though apparently AGP didn't start, but oh well.

Still nothing from the old mouse. The good news is that now when I move the mouse the optical light comes on, which is an improvement. Still doesn't give me anything on the screen, though. I uncommented those modules you mentioned and a couple of others in /etc/rc.d/rc.modules to no avail.

Something of note...

When I startup, I notice that I get this message among the scroll:

input0: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse ] on usb1:2.0

That'd be my mouse alright. Is ttyS0 not the way to go?
 
Old 11-30-2002, 02:16 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
In your /etc/X11/XF86Config show me your pointer section, here's mine (you probably will have something very close):

Code:
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/input/mice"
    Option "ZAxisMapping""4 5"
Cool
 
Old 11-30-2002, 01:48 PM   #5
Iceman Cometh
Member
 
Registered: Feb 2002
Posts: 33

Original Poster
Rep: Reputation: 15
Just from memory...

Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "Microsoft" (I've tried several)
Option "Device" "/dev/ttyS0"
 
Old 11-30-2002, 03:05 PM   #6
Iceman Cometh
Member
 
Registered: Feb 2002
Posts: 33

Original Poster
Rep: Reputation: 15
Ah hah!

Went out on a limb and tried using /dev/input/mice instead of /dev/ttyS0 and with a little finagling got it working.

Posting this from Linux now. Thanks
 
Old 12-01-2002, 02:12 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Your Welcome

Cool
 
Old 12-01-2002, 09:15 PM   #8
deesto
Member
 
Registered: May 2002
Location: NY, USA
Distribution: FreeBSD, Fedora, RHEL, Ubuntu; OS X, Win; have used Slackware, Mandrake, SuSE, Xandros
Posts: 448

Rep: Reputation: 31
Sorry; how did you get this to work? There was no entry for a USB mouse while running xf86config to configure the display and core devices, and when I try to run xstart, everything seems to work except the mouse...from my log after trying to run startx:
(WW) No core pointer registered
No core pointer
Fatal server error:
failed to initialize core devices

What do I need to do, and where do I do it, to get the USB thing working?
Sorry for the 'newbie' question, but my 1st time playing with Slackware and searches in LQ didn't pull any solid answers.
Thanks!
 
Old 12-02-2002, 01:59 AM   #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
No, there isn't an option while running that setup program, so afterwards you have to manually edit your /etc/X11/XF86Config file to suit. Find the pointer section and make the changes for the device as shown above.

Also, you will need USB support in your kernel, but with any luck your default kernel will have it, and will save you for a short time from a kernel recompile.

Cool
 
Old 01-08-2003, 10:53 PM   #10
Eibwen
LQ Newbie
 
Registered: Jan 2003
Location: California
Distribution: Slackware 8
Posts: 10

Rep: Reputation: 0
I just had my logitech USB mouse working earlier today, but now... no go!

Anyway, the question: If I'm in using Konsole in KDE to edit my XF86Config, when I save those changes and exit the file, will i be able to see them take right away, or do I need to restart? I'd like to mess around with the file a bit and test some settings, but I don't know if I want to do that if I restart whenever I make the most minor of changes.

I have uncommented /sbin/modprobe hid
from the /etc/rc.d/rc.modules, and that's it. Should I uncomment a USB Host conoller, maybe? I don't think I needed to when I got this working before.. damn.

Last edited by Eibwen; 01-08-2003 at 11:51 PM.
 
  


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
usb mouse is not working, slackware 10.2 amer_58 Linux - Newbie 7 11-07-2005 07:26 PM
usb mouse on slackware 10.1 kr5 Linux - Hardware 1 06-07-2005 02:52 PM
slackware 9.1 USB mouse and other usb devices not working jimMC Linux - Hardware 11 01-24-2004 11:58 AM
USB mouse problems in Slackware 9 CASAO Linux - Hardware 0 06-19-2003 05:34 AM
Slackware 8.0 / X / USB mouse Deanodriver Linux - Software 3 03-04-2002 05:44 AM

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

All times are GMT -5. The time now is 04:42 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