kern/123510: [ums] Mouse Wheel Fails to Work [regression]

Merritt Draney tmdraney at verizon.net
Thu May 8 23:32:52 UTC 2008


vwe at FreeBSD.org wrote:
> Synopsis: [ums] Mouse Wheel Fails to Work [regression]
>
> State-Changed-From-To: open->feedback
> State-Changed-By: vwe
> State-Changed-When: Thu May 8 20:06:50 UTC 2008
> State-Changed-Why: 
>
> Merrit: Do you use moused? If so, can you try and change your xorg.conf for
> direct /dev/ums0 access instead of /dev/sysmouse?
> Please fetch the krepdump tool:
> http://people.freebsd.org/~kaiw/tools/krepdump.tgz
> extract the tarball, do a make and kldload krepdump. Then insert your device
> and grab dmesg output.
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=123510
>
>   
Here is my dmesg.  I already tried using only /dev/ums0 and that did not 
work either.  Thanks.

popcorn# dmesg
Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
    The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-RELEASE-p1 #0: Wed May  7 06:38:04 EDT 2008
    merritt at popcorn.myhome.westell.com:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ (2211.35-MHz 
686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x20f32  Stepping = 2
  
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x1<SSE3>
  AMD Features=0xe2500800<SYSCALL,NX,MMX+,FFXSR,LM,3DNow!+,3DNow!>
  AMD Features2=0x3<LAHF,CMP>
  Cores per package: 2
real memory  = 1073676288 (1023 MB)
avail memory = 1028689920 (981 MB)
ACPI APIC Table: <Nvidia AWRDACPI>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 <Version 1.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
hptrr: HPT RocketRAID controller driver v1.1 (May  7 2008 06:37:48)
acpi0: <Nvidia AWRDACPI> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 3fef0000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0: <ACPI CPU> on acpi0
powernow0: <Cool`n'Quiet K8> on cpu0
device_attach: powernow0 attach returned 6
cpu1: <ACPI CPU> on acpi0
powernow1: <Cool`n'Quiet K8> on cpu1
device_attach: powernow1 attach returned 6
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <memory> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xd4003000-0xd4003fff irq 21 
at device 2.0 on pci0
ohci0: [GIANT-LOCKED]
ohci0: [ITHREAD]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: <nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 10 ports with 10 removable, self powered
ehci0: <NVIDIA nForce4 USB 2.0 controller> mem 0xfeb00000-0xfeb000ff irq 
22 at device 2.1 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb1: EHCI version 1.0
usb1: companion controller, 4 ports each: usb0
usb1: <NVIDIA nForce4 USB 2.0 controller> on ehci0
usb1: USB revision 2.0
uhub1: <nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb1
uhub1: 10 ports with 10 removable, self powered
pci0: <multimedia, audio> at device 4.0 (no driver attached)
atapci0: <nVidia nForce CK804 UDMA133 controller> port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 6.0 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
atapci1: <nVidia nForce CK804 SATA300 controller> port 
0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xd400-0xd40f mem 
0xd4001000-0xd4001fff irq 21 at device 7.0 on pci0
atapci1: [ITHREAD]
ata2: <ATA channel 0> on atapci1
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci1
ata3: [ITHREAD]
atapci2: <nVidia nForce CK804 SATA300 controller> port 
0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xc000-0xc00f mem 
0xd4000000-0xd4000fff irq 22 at device 8.0 on pci0
atapci2: [ITHREAD]
ata4: <ATA channel 0> on atapci2
ata4: [ITHREAD]
ata5: <ATA channel 1> on atapci2
ata5: [ITHREAD]
pcib1: <ACPI PCI-PCI bridge> at device 9.0 on pci0
pci5: <ACPI PCI bus> on pcib1
xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xa000-0xa03f irq 18 at 
device 8.0 on pci5
miibus0: <MII bus> on xl0
nsphy0: <DP83840 10/100 media interface> PHY 24 on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:10:5a:08:65:09
xl0: [ITHREAD]
pcib2: <ACPI PCI-PCI bridge> at device 11.0 on pci0
pci4: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 12.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 13.0 on pci0
pci2: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> at device 14.0 on pci0
pci1: <ACPI PCI bus> on pcib5
nvidia0: <GeForce 7300 GS> mem 
0xd0000000-0xd0ffffff,0xc0000000-0xcfffffff,0xd1000000-0xd1ffffff irq 18 
at device 0.0 on pci1
nvidia0: [GIANT-LOCKED]
nvidia0: [ITHREAD]
acpi_tz0: <Thermal Zone> on acpi0
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FILTER]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on 
acpi0
sio0: type 16550A
sio0: [FILTER]
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xcefff,0xd0000-0xd3fff pnpid 
ORM0000 on isa0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: <Parallel port bus> on ppc0
ppbus0: [ITHREAD]
ppbus0: IEEE1284 device found /NIBBLE
Probing for PnP devices on ppbus0:
ppbus0: <EPSON Stylus COLOR 600> PRINTER ESCPL2,BDC
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ppc0: [GIANT-LOCKED]
ppc0: [ITHREAD]
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ums0: <Microsoft Microsoft Wireless Optical Mouse\M-. 1.0A, class 0/0, 
rev 2.00/0.57, addr 2> on uhub0
ums0: 5 buttons and Z dir and a TILT dir.
Timecounters tick every 1.000 msec
hptrr: no controller detected.
ad0: DMA limited to UDMA33, device found non-ATA66 cable
ad0: 9641MB <Maxtor 31024H1 YAH814Y0> at ata0-master UDMA33
acd0: DVDR <TSSTcorpCD/DVDW SH-S162L/TS01> at ata1-master UDMA33
ad8: 76293MB <WDC WD800JD-75MSA1 10.01E01> at ata4-master SATA150
ad10: 76293MB <WDC WD800JD-75MSA1 10.01E01> at ata5-master SATA150
SMP: AP CPU #1 Launched!
GEOM_LABEL: Label for provider acd0 is iso9660/Personal Data, Nov 25, 2007.
GEOM_LABEL: Label for provider ad0s1 is ext2fs//backup.
Trying to mount root from ufs:/dev/ad8s1a
IP Filter: v4.1.28 initialized.  Default = pass all, Logging = enabled
acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00
ums0: at uhub0 port 4 (addr 2) disconnected
ums0: detached
ums0: <Microsoft Microsoft Wireless Optical Mouse\M-. 1.0A, class 0/0, 
rev 2.00/0.57, addr 2> on uhub0
ums0: 5 buttons and Z dir and a TILT dir.
kldload: Unsupported file type
kldload: Unsupported file type
ums0: at uhub0 port 4 (addr 2) disconnected
ums0: detached

[report desc size=209]
USAGE PAGE Generic Desktop(0x1)
USAGE Mouse(0x2)[Generic Desktop(0x1)]
COLLECTION Application(1)
  REPORT ID 1
  USAGE Pointer(0x1)[Generic Desktop(0x1)]
  COLLECTION Physical(0)
    USAGE PAGE Button(0x9)
    USAGE MINIMUM Button1(1)
    USAGE MAXIMUM Button5(5)
    LOGICAL MINIMUM 0
    LOGICAL MAXIMUM 1
    REPORT SIZE 1
    REPORT COUNT 5
    INPUT ( Data Variable Absolute ) (2)
    REPORT SIZE 3
    REPORT COUNT 1
    INPUT ( Const Array Absolute ) (1)
    USAGE PAGE Generic Desktop(0x1)
    LOGICAL MINIMUM -127
    LOGICAL MAXIMUM 127
    REPORT SIZE 8
    USAGE X(0x30)[Generic Desktop(0x1)]
    USAGE Y(0x31)[Generic Desktop(0x1)]
    REPORT COUNT 2
    INPUT ( Data Variable Relative ) (6)
    COLLECTION Logical(2)
      USAGE Resolution Multiplier(0x48)[Generic Desktop(0x1)]
      LOGICAL MINIMUM 0
      LOGICAL MAXIMUM 1
      PHYSICAL MINIMUM 1
      PHYSICAL MAXIMUM 4
      REPORT COUNT 1
      REPORT SIZE 2
      FEATURE ( Data Variable Absolute ) (2)
      PHYSICAL MINIMUM 0
      PHYSICAL MAXIMUM 0
      REPORT SIZE 6
      FEATURE ( Const Array Absolute ) (1)
      USAGE Wheel(0x38)[Generic Desktop(0x1)]
      LOGICAL MINIMUM -127
      LOGICAL MAXIMUM 127
      REPORT SIZE 8
      INPUT ( Data Variable Relative ) (6)
    END COLLECTION
    USAGE PAGE Consumer(0xc)
    USAGE AC Pan(0x238)[Consumer(0xc)]
    INPUT ( Data Variable Relative ) (6)
  END COLLECTION
END COLLECTION
USAGE PAGE Consumer(0xc)
USAGE Consumer Control(0x1)[Consumer(0xc)]
COLLECTION Application(1)
  REPORT ID 2
  USAGE PAGE Generic Desktop(0x1)
  USAGE Mouse(0x2)[Generic Desktop(0x1)]
  COLLECTION Logical(2)
    USAGE PAGE Microsoft(0xff00)
    LOGICAL MINIMUM 0
    LOGICAL MAXIMUM 3
    REPORT SIZE 2
    REPORT COUNT 1
    USAGE Unknown Usage(0xfe01)[Microsoft(0xff00)]
    INPUT ( Data Variable Absolute ) (2)
    LOGICAL MAXIMUM 1
    REPORT SIZE 1
    REPORT COUNT 2
    USAGE Unknown Usage(0xfe02)[Microsoft(0xff00)]
    USAGE Unknown Usage(0xfe00)[Microsoft(0xff00)]
    INPUT ( Data Variable Absolute ) (2)
    LOGICAL MAXIMUM 3
    REPORT SIZE 2
    REPORT COUNT 1
    USAGE Unknown Usage(0xff03)[Microsoft(0xff00)]
    INPUT ( Data Variable Absolute ) (2)
    INPUT ( Const Array Absolute ) (1)
  END COLLECTION
END COLLECTION
USAGE PAGE Consumer(0xc)
USAGE Consumer Control(0x1)[Consumer(0xc)]
COLLECTION Application(1)
  REPORT ID 3
  USAGE PAGE Generic Desktop(0x1)
  USAGE Mouse(0x2)[Generic Desktop(0x1)]
  COLLECTION Logical(2)
    USAGE PAGE Consumer(0xc)
    USAGE AC Pan(0x238)[Consumer(0xc)]
    REPORT SIZE 8
    REPORT COUNT 1
    LOGICAL MINIMUM -127
    LOGICAL MAXIMUM 127
    INPUT ( Data Variable Relative ) (6)
    USAGE PAGE Microsoft(0xff00)
    USAGE Unknown Usage(0xff04)[Microsoft(0xff00)]
    USAGE Unknown Usage(0xff06)[Microsoft(0xff00)]
    LOGICAL MINIMUM 0
    LOGICAL MAXIMUM 1
    REPORT SIZE 1
    REPORT COUNT 2
    FEATURE ( Data Variable Absolute ) (2)
    REPORT COUNT 6
    FEATURE ( Const Array Absolute ) (1)
  END COLLECTION
END COLLECTION
[hexdump]
0000 05 01 09 02 A1 01 85 01 09 01 A1 00 05 09 19 01
0010 29 05 15 00 25 01 75 01 95 05 81 02 75 03 95 01
0020 81 01 05 01 15 81 25 7F 75 08 09 30 09 31 95 02
0030 81 06 A1 02 09 48 15 00 25 01 35 01 45 04 95 01
0040 75 02 B1 02 35 00 45 00 75 06 B1 01 09 38 15 81
0050 25 7F 75 08 81 06 C0 05 0C 0A 38 02 81 06 C0 C0
0060 05 0C 09 01 A1 01 85 02 05 01 09 02 A1 02 06 00
0070 FF 15 00 25 03 75 02 95 01 0A 01 FE 81 02 25 01
0080 75 01 95 02 0A 02 FE 0A 00 FE 81 02 25 03 75 02
0090 95 01 0A 03 FF 81 02 81 01 C0 C0 05 0C 09 01 A1
00A0 01 85 03 05 01 09 02 A1 02 05 0C 0A 38 02 75 08
00B0 95 01 15 81 25 7F 81 06 06 00 FF 0A 04 FF 0A 06
00C0 FF 15 00 25 01 75 01 95 02 B1 02 95 06 B1 01 C0
00D0 C0
ums0: <Microsoft Microsoft Wireless Optical Mouse\M-. 1.0A, class 0/0, 
rev 2.00/0.57, addr 2> on uhub0
ums0: 5 buttons and Z dir and a TILT dir.



More information about the freebsd-bugs mailing list