USB mouse problems...

Daniel J Blueman (daniel.j.blueman@stud.umist.ac.uk)
Tue, 6 Jul 1999 22:06:32 +0100


Hi,

I have a Logitech PilotMouse+ USB which still fails to work correctly with
the current development kernel (2.3.9). I thought the different protocols in
the USB stack were standardised to avoid this kind of issue, although it
could be a problem elsewhere (eg the PS/2 mouse protocol emulation).

I use SuSE 6.0 with linux-2.3.9 and egcs-1.1.2. When I move the mouse (eg in
XF86Setup) the interrupts are getting through, but I get odd movement, such
as the mouse pointer always seems to want to move up and right on the screen
(positive in the X and Y axis? unsigned?) - sometimes I can get it to move
left, but in large steps, and movement seems to be toggling the button
states too. The buttons and wheel give some response also.

Attached below is the kernel boot messages I get, giving details of the
mouse.

Any further information as to what information I need to collect in order to
help kernel developers, etc would be great. I'd try hacking around with the
USB mouse driver if I
had some documents. Any pointers? I dearly would love to get into developing
for the linux kernel, so I'm eager to try (cautiously).

By the way, a while ago, I got my mouse working with a small USB mouse-test
program either in Inaky's USB driver, or (less likely, but no offence)
Linus's USB driver.

Please post a private copy of your response to me, as I'm not subscribed -
yet.

PS The help for the USB mouse driver in the kernel menuconfig states it taps
into the /dev/ps2aux device, which would be better reading /dev/psaux IMHO.

Thanks in advance,
Dan
__________________________
Daniel J Blueman - daniel.j.blueman@stud.umist.ac.uk
Undergraduate - BSc Computing Science
UMIST university - Manchester

Linux version 2.3.9 (root@sesame) (gcc version egcs-2.91.66 19990314
(egcs-1.1.2 release)) #4 Mon Jul 5 21:14:26 BST 1999
Detected 463912545 Hz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 462.03 BogoMIPS
Memory: 127900k/131072k available (756k kernel code, 404k reserved, 1968k
data, 44k init)
Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
CPU: Intel Celeron (Mendocino) stepping 00
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.35 (19990512) Richard Gooch (rgooch@atnf.csiro.au)
PCI: Using configuration type 1
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
TCP: Hash tables configured (established 131072 bind 131072)
Starting kswapd v 1.5
USB HID boot protocol mouse registered.
Uniform Multi-Platform E-IDE driver Revision: 6.19
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
hda: Maxtor 91024D4, ATA DISK drive
hdc: MATSHITADVD-ROM SR-8583, ATAPI CDROM drive
hdd: LS-120 CSMO 05 UHD Floppy, ATAPI FLOPPY drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: Maxtor 91024D4, 9765MB w/512kB Cache, CHS=1244/255/63, UDMA(33)
uhci_control_thread at c019e644
New bus registered
hdc: ATAPI 32X DVD-ROM drive, 512kB Cache, UDMA
Uniform CDROM driver Revision: 2.55
uhci_connect_change: called for 0
hdd: 123264kB, 963/8/32 CHS, 533 kBps, 512 sector size, 720 rpm
hdd: The drive reports both 126222336 and 0 bytes as its capacity
3c59x.c:v0.99H 11/17/98 Donald Becker
http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html
eth0: 3Com 3c905 Boomerang 100baseTx at 0xec00, 00:60:08:0e:96:ba, IRQ 12
8K word-wide RAM 3:5 Rx:Tx split, MII interface.
MII transceiver found at address 24, status 7849.
Enabling bus-master transmits and whole-frame receives.
Partition check:
hda: hda1 hda3 hda4
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 44k freed
USB new device connect, assigned device number 1
Found 02:09
Found 04:09
Expected descriptor 05/07, got 21/09 - skipping
0 09
1 21
2 00
3 01
4 00
5 01
6 22
7 38
8 00
Found 05:07
parsed = 34 len = 0
Set toggle from c0010160 rval 0
uhci_td_result() failed with status 40
00010164 SPD e3 LS Length=7 MaxLen=7 EndPt=0 Dev=1, PID=2d(SETUP)
(buf=0001bda0)
000101a4 SPD e3 LS Stalled Length=7ff MaxLen=1 DT EndPt=0 Dev=1, PID=69(IN)
(buf=0001bdcc)
00000001 SPD e3 LS IOC Active Length=0 MaxLen=7ff DT EndPt=0 Dev=1,
PID=e1(OUT) (buf=00000000)
Failed cmd - 80 06 03 03 09 04 02 00
Manufacturer: Logitech
Product: N48
USB mouse found
Adding Swap: 120480k swap-space (priority -1)
ide-floppy: hdd: I/O error, pc = 0, key = 2, asc = 3a, ascq = 0
ide-floppy: hdd: I/O error, pc = 1b, key = 2, asc = 3a, ascq = 0
hdd: The drive reports both 126222336 and 0 bytes as its capacity
ide-floppy: hdd: I/O error, pc = 0, key = 2, asc = 3a, ascq = 0
ide-floppy: hdd: I/O error, pc = 1b, key = 2, asc = 3a, ascq = 0
hdd: The drive reports both 126222336 and 0 bytes as its capacity

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/