2006-11-20 11:17:03

by Sriram V

[permalink] [raw]
Subject: USB Mouse does not work, please advice

Hi,
Im using Linux 2.6.13 for PXA270.


I have connected a mouse and the mouse is detected.

When i do dmesg, i get the

usb 1-1: new low speed USB device using pxa27x-ohci and address 10
DEV: registering device: ID = '1-1'
bus usb: add device 1-1
bound device '1-1' to driver 'usb'
DEV: registering device: ID = '1-1:1.0'
bus usb: add device 1-1:1.0
usb: Matched Device 1-1:1.0 with Driver usbhid
input: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-pxa27x-1
bound device '1-1:1.0' to driver 'usbhid'
usb: Bound Device 1-1:1.0 to Driver usbhid

When i do 'cat /proc/bus/input/devices': I get the message


[root@Linux /]#cat /proc/bus/input/devices
I: Bus=0003 Vendor=046d Product=c001 Version=2010
N: Name="Logitech USB Mouse"
P: Phys=usb-pxa27x-1/input0
H: Handlers= event0
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103



The Handler field has only event0, But my mouse is not working?.


Please provide pointers to solve the problem.



Regards,
sriram


2006-11-20 11:50:29

by Jiri Slaby

[permalink] [raw]
Subject: Re: USB Mouse does not work, please advice

Ram wrote:
> Hi,
> Im using Linux 2.6.13 for PXA270.
>
>
> I have connected a mouse and the mouse is detected.
>
> When i do dmesg, i get the
>
> usb 1-1: new low speed USB device using pxa27x-ohci and address 10
> DEV: registering device: ID = '1-1'
> bus usb: add device 1-1
> bound device '1-1' to driver 'usb'
> DEV: registering device: ID = '1-1:1.0'
> bus usb: add device 1-1:1.0
> usb: Matched Device 1-1:1.0 with Driver usbhid
> input: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-pxa27x-1
> bound device '1-1:1.0' to driver 'usbhid'
> usb: Bound Device 1-1:1.0 to Driver usbhid
>
> When i do 'cat /proc/bus/input/devices': I get the message
>
>
> [root@Linux /]#cat /proc/bus/input/devices
> I: Bus=0003 Vendor=046d Product=c001 Version=2010
> N: Name="Logitech USB Mouse"
> P: Phys=usb-pxa27x-1/input0
> H: Handlers= event0
> B: EV=7
> B: KEY=70000 0 0 0 0 0 0 0 0
> B: REL=103
>
>
>
> The Handler field has only event0, But my mouse is not working?.

Where -- console (check your gpm conf) or X (check X conf, do you use evdev)?
[Does cat -A /dev/input/event0 output during mouse movement something?]

> Please provide pointers to solve the problem.

regards,
--
http://www.fi.muni.cz/~xslaby/ Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E

2006-11-22 12:19:23

by Sriram V

[permalink] [raw]
Subject: Re: USB Mouse does not work, please advice

Hi,
Im using Linux 2.6.13 for PXA270.


I have connected a mouse and the mouse is detected.

When i do dmesg, i get the

usb 1-1: new low speed USB device using pxa27x-ohci and address 10
DEV: registering device: ID = '1-1'
bus usb: add device 1-1
bound device '1-1' to driver 'usb'
DEV: registering device: ID = '1-1:1.0'
bus usb: add device 1-1:1.0
usb: Matched Device 1-1:1.0 with Driver usbhid
input: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-pxa27x-1
bound device '1-1:1.0' to driver 'usbhid'
usb: Bound Device 1-1:1.0 to Driver usbhid

When i do 'cat /proc/bus/input/devices': I get the message


[root@Linux /]#cat /proc/bus/input/devices
I: Bus=0003 Vendor=046d Product=c001 Version=2010
N: Name="Logitech USB Mouse"
P: Phys=usb-pxa27x-1/input0
H: Handlers= event0
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103


The Handler field has only event0, But my mouse is not working?.


If i do cat /dev/input/event0. Im able to see characters when i move
the mouse, Im also getting interrupts.

However, When i run XfbDev and move the mouse, the 'X' mark at the
centre does not move.


Am i missing something?.

Regards,
sriram

2006-11-22 12:54:58

by Oliver Neukum

[permalink] [raw]
Subject: Re: USB Mouse does not work, please advice

Am Mittwoch, 22. November 2006 13:19 schrieb Ram:
> The Handler field has only event0, But my mouse is not working?.
>
>
> If i do cat /dev/input/event0. Im able to see characters when i move
> the mouse, Im also getting interrupts.
>
> However, When i run XfbDev and move the mouse, the 'X' mark at the
> centre does not move.
>
>
> Am i missing something?.

If you only got event as handler X must be set up to use input events.
Which drivers have you loaded?

Regards
Oliver

2006-11-22 14:02:00

by Jiri Slaby

[permalink] [raw]
Subject: Re: USB Mouse does not work, please advice

Oliver Neukum wrote:
> Am Mittwoch, 22. November 2006 13:19 schrieb Ram:
>> The Handler field has only event0, But my mouse is not working?.
>>
>>
>> If i do cat /dev/input/event0. Im able to see characters when i move
>> the mouse, Im also getting interrupts.
>>
>> However, When i run XfbDev and move the mouse, the 'X' mark at the
>> centre does not move.
>>
>>
>> Am i missing something?.
>
> If you only got event as handler X must be set up to use input events.
> Which drivers have you loaded?

Exactly, use evdev driver in your X conf. I'm just confused, why you didn't get
input/mouseX handler. Is it self-configured vanilla or a distro kernel?

regards,
--
http://www.fi.muni.cz/~xslaby/ Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E