LinuxQuestions.org
Visit Jeremy's Blog.
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 04-18-2005, 02:34 PM   #1
JamesGolick
LQ Newbie
 
Registered: Apr 2005
Distribution: Ubuntu - Hoary - Kernel 2.6.11 (custom)
Posts: 21

Rep: Reputation: 15
USB Mouse -- HELLLLLLLLLLP! :)


I bought this little usb mouse for my notebook, but I can't get the thing to work, no matter what I do.

I am running Ubuntu Hoary. 2.6.11. On my desktop, I am running basically hte identical kernel config, and it works fine. When I put the mouse in the usb port of my notebook, tho, nothing shows up in lsusb... if i do -v , it shows that C_Connect on the port, but nothign more. On my desktop, it shows the hardware brand, etc, and even works. The bizarre thing is that my usb flash drive works great.

Help!

Thanks,
James
 
Old 04-18-2005, 02:54 PM   #2
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
You have to make sure your BIOS can see it first. Most BIOS's disable usb keyboard and mice by default. Enable it.
 
Old 04-18-2005, 03:11 PM   #3
JamesGolick
LQ Newbie
 
Registered: Apr 2005
Distribution: Ubuntu - Hoary - Kernel 2.6.11 (custom)
Posts: 21

Original Poster
Rep: Reputation: 15
There's no option for it in my bios.

Also, it works under windoze.

James
 
Old 04-18-2005, 03:19 PM   #4
gbhil
Member
 
Registered: Jan 2005
Location: /dev/input/chair0
Distribution: Slackware, Gentoo, Vector, Roll-your-own-with-GNU binutils
Posts: 174

Rep: Reputation: 30
does lsmod show usb HID_core loaded? (not sure of exact module names, but USB, USB HID support both need to be loaded.)

with mouse plugged in run cat /dev/input/mice and see if you get any characters echoed to the console when moving the mouse.
 
Old 04-18-2005, 03:28 PM   #5
JamesGolick
LQ Newbie
 
Registered: Apr 2005
Distribution: Ubuntu - Hoary - Kernel 2.6.11 (custom)
Posts: 21

Original Poster
Rep: Reputation: 15
It wasn't loaded, but now it is...still no dice.

I also loaded usbmouse -- nothign

cat /dev/input/mice gets nothing
but neither does /dev/psaux , which is my other mouse...

Is it possible, that for some reason, the usb module won't allow power to the receiver for this mouse? Because when i plug in my desktop keys and mouse i get no power lights on the receiver, and same situation with lsusb, etc. Is there a way to change this?

James

Last edited by JamesGolick; 04-18-2005 at 03:32 PM.
 
Old 04-18-2005, 03:45 PM   #6
gbhil
Member
 
Registered: Jan 2005
Location: /dev/input/chair0
Distribution: Slackware, Gentoo, Vector, Roll-your-own-with-GNU binutils
Posts: 174

Rep: Reputation: 30
According to the 2.6.11-7 /Documentation/input/input.txt:


Code:
2. Simple Usage
~~~~~~~~~~~~~~~
  For the most usual configuration, with one USB mouse and one USB keyboard,
you'll have to load the following modules (or have them built in to the
kernel):

        input
        mousedev
        keybdev
        usbcore
        uhci_hcd or ohci_hcd or ehci_hcd
        usbhid

  After this, the USB keyboard will work straight away, and the USB mouse
will be available as a character device on major 13, minor 63:

        crw-r--r--   1 root     root      13,  63 Mar 28 22:45 mice

  This device has to be created, unless you use devfs, in which case it's
created automatically. The commands to do create it by hand are:

        cd /dev
        mkdir input
        mknod input/mice c 13 63

  After that you have to point GPM (the textmode mouse cut&paste tool) and
XFree to this device to use it - GPM should be called like:

        gpm -t ps2 -m /dev/input/mice

  And in X:

        Section "Pointer"
            Protocol    "ImPS/2"
            Device      "/dev/input/mice"
            ZAxisMapping 4 5
        EndSection

  When you do all of the above, you can use your USB mouse and keyboard.
I would make sure the following modules are loaded for your case:
input
mousedev
usbcore
uhci_hcd or ohci_hcd or ehci_hcd
usbhid

The look to see if /dev/input/mice is there. If so, then try the cat /dev/input/mice command again.
 
Old 04-18-2005, 04:13 PM   #7
JamesGolick
LQ Newbie
 
Registered: Apr 2005
Distribution: Ubuntu - Hoary - Kernel 2.6.11 (custom)
Posts: 21

Original Poster
Rep: Reputation: 15
okay...maybe we're on to something here.

but i have no mousedev, i tried going to /usr/src/linux/drivers/input/make mousedev

but it fails with a number of errors...
if i have to make-kpkg modules again, what do i change in config to make mousedev compile?

EDIT: I just looked in my config for this kernel, and i build that support in to the kernel...INPUT_MOUSEDEV , that is.

James

Last edited by JamesGolick; 04-18-2005 at 04:15 PM.
 
Old 04-18-2005, 11:10 PM   #8
JamesGolick
LQ Newbie
 
Registered: Apr 2005
Distribution: Ubuntu - Hoary - Kernel 2.6.11 (custom)
Posts: 21

Original Poster
Rep: Reputation: 15
bump.........

please help me!!
 
Old 04-19-2005, 05:25 PM   #9
JamesGolick
LQ Newbie
 
Registered: Apr 2005
Distribution: Ubuntu - Hoary - Kernel 2.6.11 (custom)
Posts: 21

Original Poster
Rep: Reputation: 15
1 more bump...
 
Old 04-20-2005, 05:29 PM   #10
gbhil
Member
 
Registered: Jan 2005
Location: /dev/input/chair0
Distribution: Slackware, Gentoo, Vector, Roll-your-own-with-GNU binutils
Posts: 174

Rep: Reputation: 30
Better late than never...........

I did some experimenting here.
To make my USB mouse work, I either have to have all the required drivers built into the kernel

or

boot WITHOUT the mouse inserted, make sure usb hotplug is running, load the required modules, THEN insert the USB mouse receiver.

kernel 2.4.28 and 2.4.29 DO NOT have this issue, so this leads me to believe it's related to using udev (which I'm using here) dynamic device naming.

In any case, try booting without, modprobe, then insert mouse........see what happens
 
Old 04-20-2005, 06:03 PM   #11
JamesGolick
LQ Newbie
 
Registered: Apr 2005
Distribution: Ubuntu - Hoary - Kernel 2.6.11 (custom)
Posts: 21

Original Poster
Rep: Reputation: 15
thanks, but still no luck.

is it possible that input is not loaded? by the soudns of it, i would'nt think that i could have any input without hte "input" module...maybe not?

EDIT: is there any way to check which resources devices are using to determine conflicts?? I think maybe it could be a conflict....

James

Last edited by JamesGolick; 04-20-2005 at 06:05 PM.
 
Old 04-21-2005, 05:30 PM   #12
JamesGolick
LQ Newbie
 
Registered: Apr 2005
Distribution: Ubuntu - Hoary - Kernel 2.6.11 (custom)
Posts: 21

Original Poster
Rep: Reputation: 15
bump.
 
Old 04-22-2005, 10:14 PM   #13
Earl Parker II
Member
 
Registered: Jan 2002
Location: Shelby, NC, US
Distribution: Linux Mint 19.2
Posts: 130

Rep: Reputation: 17
FWIW I'm having the same problem with a Slack 10.1 box. PS2 mouse works fine but a USB won't. Tomorrow I'm going to try plugging the USB mouse into a PS2 port with an adapter. Yes, if it works it's the easy way out but I just don't have the time to jump through all the hoops. I'll let you know how it comes out.
 
  


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
How do you configure to mouses, a laptop mouse and a Logitc USB Mouse dbratton Linux - Hardware 8 03-06-2004 05:02 PM
PS/2 mouse did not work after temp removal of USB mouse edwardp Linux - Hardware 1 09-06-2003 04:57 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 10:30 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