Qware mouse claimed by driver HID but do not work

From: DEMAINE Benoit-Pierre (demaine_at_tele2.fr)
Date: 05/27/04


Date: Thu, 27 May 2004 20:04:42 +0200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I got a Qware mouse cordless optical for notebooks

when I plug it while some other USB mouse are plugued , i get

************************************************
May 27 19:50:54 pluton kernel: uhci.c: d800: wakeup_hc
May 27 19:50:54 pluton kernel: uhci.c: root-hub INT complete: port1: 1ab
port2: 180 data: 2
May 27 19:50:54 pluton kernel: hub.c: port 1, portstatus 301, change 3,
1.5 Mb/s
May 27 19:50:54 pluton kernel: hub.c: port 1 connection change
May 27 19:50:54 pluton kernel: hub.c: port 1, portstatus 301, change 3,
1.5 Mb/s
May 27 19:50:55 pluton kernel: hub.c: port 1, portstatus 301, change 2,
1.5 Mb/s
May 27 19:50:55 pluton kernel: hub.c: port 1, portstatus 301, change 2,
1.5 Mb/s
May 27 19:50:55 pluton kernel: uhci.c: root-hub INT complete: port1: 1a9
port2: 180 data: 2
May 27 19:50:55 pluton kernel: hub.c: port 1, portstatus 301, change 2,
1.5 Mb/s
May 27 19:50:55 pluton kernel: hub.c: port 1, portstatus 301, change 2,
1.5 Mb/s
May 27 19:50:55 pluton kernel: hub.c: port 1, portstatus 303, change 0,
1.5 Mb/s
May 27 19:50:55 pluton kernel: hub.c: new USB device 00:11.3-1, assigned
address 3
May 27 19:51:00 pluton kernel: usb_control/bulk_msg: timeout
May 27 19:51:00 pluton kernel: usb.c: USB device not accepting new
address=3 (error=-110)
May 27 19:51:00 pluton kernel: hub.c: port 1, portstatus 303, change 0,
1.5 Mb/s
May 27 19:51:00 pluton kernel: hub.c: new USB device 00:11.3-1, assigned
address 4
May 27 19:51:05 pluton kernel: usb_control/bulk_msg: timeout
May 27 19:51:05 pluton kernel: usb.c: USB device not accepting new
address=4 (error=-110)
May 27 19:51:05 pluton kernel: hub.c: port 2, portstatus 300, change 0,
1.5 Mb/s
May 27 19:51:05 pluton kernel: hub.c: port 1, portstatus 301, change 0,
1.5 Mb/s
May 27 19:51:05 pluton kernel: hub.c: port 2, portstatus 300, change 0,
1.5 Mb/s
************************************************

while there is no pb using at the same time 2 USB logitech + 1 USB
microsoft ....

then I have to unplug all USB mouses rmmod/modprobe hid ... and rplug
the Qware mouse:

****************************************************
May 27 19:50:38 pluton kernel: uhci.c: d800: wakeup_hc
May 27 19:50:38 pluton kernel: uhci.c: root-hub INT complete: port1: 1ab
port2: 180 data: 2
May 27 19:50:38 pluton kernel: hub.c: port 1, portstatus 301, change 3,
1.5 Mb/s
May 27 19:50:38 pluton kernel: hub.c: port 1 connection change
May 27 19:50:38 pluton kernel: hub.c: port 1, portstatus 301, change 3,
1.5 Mb/s
May 27 19:50:38 pluton kernel: hub.c: port 1, portstatus 301, change 2,
1.5 Mb/s
May 27 19:50:38 pluton kernel: hub.c: port 1, portstatus 301, change 2,
1.5 Mb/s
May 27 19:50:38 pluton kernel: uhci.c: root-hub INT complete: port1: 1a9
port2: 180 data: 2
May 27 19:50:38 pluton kernel: hub.c: port 1, portstatus 301, change 2,
1.5 Mb/s
May 27 19:50:38 pluton kernel: hub.c: port 1, portstatus 301, change 2,
1.5 Mb/s
May 27 19:50:38 pluton kernel: hub.c: port 1, portstatus 303, change 0,
1.5 Mb/s
May 27 19:50:38 pluton kernel: hub.c: new USB device 00:11.3-1, assigned
address 2
May 27 19:50:38 pluton kernel: usb.c: kmalloc IF cd4e1bc0, numif 1
May 27 19:50:38 pluton kernel: usb.c: skipped 1 class/vendor specific
interface descriptors
May 27 19:50:38 pluton kernel: usb.c: new device strings: Mfr=1,
Product=2, SerialNumber=0
May 27 19:50:38 pluton kernel: usb.c: USB device number 2 default
language ID 0x409
May 27 19:50:38 pluton kernel: Manufacturer: Cellink Co., LTD.
May 27 19:50:38 pluton kernel: Product: Wireless RF Mouse
May 27 19:50:38 pluton kernel: uhci.c: uhci_result_control() failed with
status 500000
May 27 19:50:38 pluton kernel: [ce66a0c0] link (0e66a032) element (0e66c214)
May 27 19:50:38 pluton kernel: Depth traverse
May 27 19:50:38 pluton kernel: Element != First TD
May 27 19:50:38 pluton kernel: 0: [ce66c1e0] link (0e66c214) e3 LS
Length=7 MaxLen=7 DT0 EndPt=0 Dev=2, PID=2d(SETUP) (buf=0d4e18c0)
May 27 19:50:38 pluton kernel: 1: [ce66c210] link (0e66c244) e3 LS
Stalled Babble Length=0 MaxLen=0 DT1 EndPt=0 Dev=2, PID=69(IN)
(buf=013ede70)
May 27 19:50:38 pluton kernel: 2: [ce66c240] link (00000001) e3 LS IOC
Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=2, PID=e1(OUT) (buf=00000000)
May 27 19:50:38 pluton kernel:
May 27 19:50:43 pluton kernel: usb_control/bulk_msg: timeout
May 27 19:50:43 pluton kernel: input: USB HID v1.10 Mouse [Cellink Co.,
LTD. Wireless RF Mouse] on usb1:2.0
May 27 19:50:43 pluton kernel: usb.c: hid driver claimed interface cd4e1bc0
May 27 19:50:43 pluton kernel: usb.c: kusbd: /sbin/hotplug add 2
May 27 19:50:43 pluton kernel: usb.c: kusbd policy returned 0xfffffffe
May 27 19:50:43 pluton kernel: hub.c: port 2, portstatus 300, change 0,
1.5 Mb/s
May 27 19:50:43 pluton kernel: hub.c: port 1, portstatus 303, change 0,
1.5 Mb/s
May 27 19:50:43 pluton kernel: hub.c: port 2, portstatus 300, change 0,
1.5 Mb/s
*******************************************

I then can cat /dev/input/mouse0 , but nothing appears, and neitehr GPM
nor Xfree cursor move. (YES the power switch was ON)

The mouse works fine under Windows.

the PDF from http://www.qware.info/downloads/md_download.php?md_id=42
describes it as

QW MS-108
Mini Notebook
Mouse

I wrote to vojtech@suse.cz but he did not answer me.

So there are 2 pb :
- - HID bugs when the Qware is plug at the same time as any other USB mouse
- - it is so bugous that the best way to make the mouses work is to
unload/reload the HID driver

to finish, here is the dump of USBView

**********************************
mouse
Speed: 1.5Mb/s (low)
USB Version: 1.10
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 8
Number of Configurations: 1
Vendor Id: 1733
Product Id: 0101
Revision Number: 0.01

Config Number: 1
        Number of Interfaces: 1
        Attributes: a0
        MaxPower Needed: 100mA

        Interface Number: 0
                Name: hid
                Alternate Number: 0
                Class: 03(HID )
                Sub Class: 1
                Protocol: 2
                Number of Endpoints: 1

                        Endpoint Address: 81
                        Direction: in
                        Attribute: 3
                        Type: Int.
                        Max Packet Size: 4
                        Interval: 10ms
****************************************

what can I do to make it work ?

PS: I write a lot of C, but never worked around drivers.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAti25GWSTLbOSw8IRAkPHAJ9DB6M8BHmxP76kEZxN/QS1Bpy9VQCfYLEN
U+Xm1bop29by83/7HNwrxnc=
=7ZRG
-----END PGP SIGNATURE-----



Relevant Pages

  • ohci_hcd, usb scanner and kernel 2.6.8.1 or 2.6.10 troubles
    ... Powering on scanner (usb hub unplugged, ... 0001, 12 Mb/s ... roothub.portstatus = 0x00100103 PRSC PPS PES CCS ... controller (state 0x8 ...
    (Linux-Kernel)
  • Re: FW vs. USB 2.0 transfer rates to 4G iPod
    ... I expect it will be considerably faster on Firewire, ... (The Intel iMac doesn't support FW800.) ... Firewire 400 40 MB/s ... The poor performance of USB 2 in this case may be partly due to protocol ...
    (comp.sys.mac.system)
  • Re: Questions about a self powered USB Hub
    ... I have to deal with even more esoteric bus systems than just a simple USB ... little observable bandwidth impact from the USB1.1 items (of which there ... You picked an unfortunate example of a single 12 Mb/s webcam and a 480 ...
    (comp.sys.laptops)
  • Re: No USB for G3 Beige Box?
    ... I use the Beige for its speed has never been a problem ... i.e. it is acting like a USB 1.1 connection. ... MB/s transfer rate to a 2.5" USB hard drive. ... I'd expect USB 2.0 to be a little slower than Firewire on a beige G3, ...
    (comp.sys.mac.misc)
  • Re: Datendurchsatz beim Kopierern
    ... Die ersten Minuten war der Durchsatz bei ca. 5.6 MB/s. ... USB 2.0 schafft rein rechnerisch maximal 480 MBit/s oder 60 MB/s. ...
    (de.comp.hardware.laufwerke.festplatten)