LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 07-26-2003, 01:34 PM   #1
zeppelin
Member
 
Registered: Apr 2003
Location: Athens, Greece
Distribution: Arch
Posts: 182

Rep: Reputation: 30
USB mouse thru a USB modem & linux support


hello everyone. I had Genius NetMouse Pro (ps/2). I switched tao Microsoft Wheel Optical Mouse. Everything works the same, except that I want to PLUG in in USB (rather than ps/2) anymore. (I also have the MS Natural Keyboard PRO [which has sth like a usb hub] and it works great if i plug there my mouse! -in windows of course..)
I don't have place in my motherboard for another USB, so I want to to plug it in my keyboard's USB.
My question is: how will I say to Slackware, to look for the mouse in the USB "hub" of my Keyboard?
thanks..

ps. Someone who will read this post, might think that I am Microsoft fan or sth.. But the products I bought from Microsoft is HARDWARE. And I strongly believe that Microsoft's Hardware Products (mice & keyboards & gamepads) suit me perfect. So this is all about hardware and I hope I don't give help to Microsoft expand the software monopoly..
that was my ps. Thank you for reading, hope you reply..
 
Old 07-26-2003, 03:00 PM   #2
stevenhasty
Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Slackware-current
Posts: 169

Rep: Reputation: 30
I have a usb hub with a usb mouse plugged in, and when I installed slack I turned on usb probing. If you have that turned on, it should recognize the hub and it either loads modules automatically or uses drivers in the kernel. This is all I had to do (usb mice and keyboard are pretty well supported nowadays). I think you might have to uncomment some lines in /etc/rc.d/rc.modules but I'm not sure. And you have to change your X config to use the usb mouse, too.
 
Old 07-26-2003, 04:28 PM   #3
stevenhasty
Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Slackware-current
Posts: 169

Rep: Reputation: 30
in /etc/X11/XF86Config :

if your Section "ServerLayout" says this:

InputDevice "Mouse0" "CorePointer"

use that mouse name in the Section "InputDevice"

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/mouse"
Option "Name" "AutoDetected"
Option "Protocol" "IMPS/2"
Option "Vendor" "AutoDetected"
Option "ZAxisMapping" "4 5"
EndSection

depending on how many buttons your mouse has that ZAxisMapping may or may not work for your scroll wheel. you may want to look up which numbers to use.
 
Old 07-27-2003, 06:44 PM   #4
zeppelin
Member
 
Registered: Apr 2003
Location: Athens, Greece
Distribution: Arch
Posts: 182

Original Poster
Rep: Reputation: 30
the problem is that the kernel (while booting) doesn't see my mouse, and doesn't let me to type (I have to unplug the mouse from the usb port in the keyboard!)
any ideas?
 
Old 07-28-2003, 06:59 PM   #5
zeppelin
Member
 
Registered: Apr 2003
Location: Athens, Greece
Distribution: Arch
Posts: 182

Original Poster
Rep: Reputation: 30
anyone..?
 
Old 07-28-2003, 07:05 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
what does your lsmod say?

Cheers,
Tink
 
Old 07-29-2003, 06:46 AM   #7
zeppelin
Member
 
Registered: Apr 2003
Location: Athens, Greece
Distribution: Arch
Posts: 182

Original Poster
Rep: Reputation: 30
a) keyboard freezes when I use the mouse from USB motherboard or hub's port, even though it says it founds the HUB and also the 3 button (?) intelli mouse and all that stuff, it also says about a device not being claimed by any driver.. [these recognition happens only when the mouse is on usb port in motherboard ONLY, cause while on the hub's port, just freezes..]
As I said, I used to have a PS/2 and now It only works fine (?) when i have it plugged in PS/2 but this is temporary for me.. (ok there is also a USB modem working fine, after a mknod I maid)

even now, with the new Mouse in the PS/2, dmesg says about USB:
Quote:
uhci.c: USB UHCI at I/O 0xd400, IRQ 5
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 5 for device 00:07.3
PCI: Sharing IRQ 5 with 00:07.2
uhci.c: USB UHCI at I/O 0xd800, IRQ 5
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport_pc: Via 686A parallel port: io=0x378
hub.c: new USB device 00:07.2-1, assigned address 2
usb-uhci.c: $Revision: 1.275 $ time 15:38:38 Mar 11 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: USB device 2 (vend/prod 0x45a/0xb4a) is not claimed by any active driver.
usb.c: registered new driver acm
ttyACM0: USB ACM device

b) lsmod
Quote:
Module Size Used by Tainted: P
ppp_deflate 3256 0 (autoclean)
zlib_deflate 18200 0 (autoclean) [ppp_deflate]
bsd_comp 4312 0 (autoclean)
ppp_async 7520 1 (autoclean)
ppp_generic 15452 3 (autoclean) [ppp_deflate bsd_comp ppp_async]
slhc 5040 1 (autoclean) [ppp_generic]
appletalk 21508 1 (autoclean)
ipx 17316 1 (autoclean)
agpgart 35776 3 (autoclean)
nvidia 1539840 10 (autoclean)
acm 5856 2
parport_pc 14724 0
parport 23264 0 [parport_pc]
uhci 24560 0 (unused)
usbcore 58144 1 [acm uhci]
emu10k1 61288 1
ac97_codec 9512 0 [emu10k1]
soundcore 3332 4 [emu10k1]
emu10k1-gp 1352 0 (unused)
gameport 1452 0 [emu10k1-gp]
ide-scsi 8048 0
apm 9608 1
nls_iso8859-7 3612 4 (autoclean)
nls_cp737 3836 4 (autoclean)
I sometimes see (when i plug my mouse in USB and freezes, if you plug it out, then keyboard works ok) and then I type lsmod, and I see KEYDEV and MOUSEDEV or sth like that..

GOSH! why WINDOZ find it automatically?

Last edited by zeppelin; 07-29-2003 at 07:09 AM.
 
Old 07-29-2003, 04:43 PM   #8
zeppelin
Member
 
Registered: Apr 2003
Location: Athens, Greece
Distribution: Arch
Posts: 182

Original Poster
Rep: Reputation: 30
Suddenly the kernel did some MAGIC!
a) in one boot, kernel saw the mouse as INTELLI MOUSE 3BUTTON

b) afterwards I got disappointed..
WHAT DID I DO TO HAVE IT WORKING RIGHT NOW I AM NOT SO SURE..
BUT, I disabled automatic gpm launch while booting.. (this was needed once)
The settings in GPM and XF86CONFIG file were the SAME (and are the same, that is working flawlessly)
After DISABLING the GPM, I had my pc working..
I then tried to enable GPM (automatically, rather than typing manually the stuff- when I did that manually worked fine [the same settings!] and guess what, now it works AUTOMATICALLY and all go well)

I didn't change anything, and all works as I had changed sth.. :|
don't know if anyone believes me, yet I now have other MOUSEDEV, KEYBDEV, INPUT (important!) and HID (or the heck is that!)

Don't know if the problem was that SLACKWARE wanted once to boot without gpm (but that fixed my problem) Go figure..

[the whole thing reminded me a bit of WINDOWS.. hehe]
Now I am happy and working (hope the USB-magic keeps working!)

if anyone has a explaination about the GPM making problem to the kernel I can listen to him.. (you see I don't believe in MAGIC)
 
  


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
Problem with Mandrake 10.0 Community, Sagem usb modem and logitech usb mouse. al370601 Mandriva 4 04-29-2004 07:48 PM
USB modem support in Linux sanjaya Linux - Hardware 1 02-11-2004 12:37 AM
linux locks up when usb mouse attached to usb port during startup. BGuy891653 Linux - Hardware 0 02-08-2004 06:26 PM
HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu arnostienen Slackware 2 01-29-2004 04:22 PM
USB mouse support thru usb "hub" of MS keyboard.. zeppelin Linux - Hardware 3 07-30-2003 12:25 AM


All times are GMT -5. The time now is 08:04 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration