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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-29-2002, 11:29 PM
|
#1
|
Member
Registered: Feb 2002
Posts: 33
Rep:
|
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?
|
|
|
11-30-2002, 12:31 AM
|
#2
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
11-30-2002, 02:00 AM
|
#3
|
Member
Registered: Feb 2002
Posts: 33
Original Poster
Rep:
|
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?
|
|
|
11-30-2002, 02:16 AM
|
#4
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
11-30-2002, 01:48 PM
|
#5
|
Member
Registered: Feb 2002
Posts: 33
Original Poster
Rep:
|
Just from memory...
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "Microsoft" (I've tried several)
Option "Device" "/dev/ttyS0"
|
|
|
11-30-2002, 03:05 PM
|
#6
|
Member
Registered: Feb 2002
Posts: 33
Original Poster
Rep:
|
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 
|
|
|
12-01-2002, 02:12 AM
|
#7
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Your Welcome
Cool
|
|
|
12-01-2002, 09:15 PM
|
#8
|
Member
Registered: May 2002
Location: NY, USA
Distribution: FreeBSD, Fedora, RHEL, Ubuntu; OS X, Win; have used Slackware, Mandrake, SuSE, Xandros
Posts: 448
Rep:
|
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!
|
|
|
12-02-2002, 01:59 AM
|
#9
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
01-08-2003, 10:53 PM
|
#10
|
LQ Newbie
Registered: Jan 2003
Location: California
Distribution: Slackware 8
Posts: 10
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 04:42 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|