Configuring Compaq Wireless Optical Wheel Mouse

Gerard Seibert gerard-seibert at rcn.com
Sun Apr 18 14:07:31 PDT 2004


On Sunday, April 18, 2004 3:01:17 PM mark.cullen at dsl.pipex.com wrote:

|>> |>Subject: Configuring Compaq Wireless Optical Wheel Mouse
|>> |>
|>> |>
|>> |>> I am trying to configure a COMPAQ Wirless Optical Mouse to work with
|>KDE
|>> |>on
|>> |>> FreeBSD 5.2.1. so far I have not been very successful. This is a USB
|>> |>mouse.
|>> |>>
|>> |>> I can get the mouse pointer to work in FreeBSD and KDE without any
|>> |>problem.
|>> |>> However, I can not get the wheel to work anywhere.
|>> |>>
|>> |>> This is the output of the 'dmesg.today' file:
|>> |>>
|>> |>> root at dhcppc3 /var/log $ cat dmesg.today
|>> |>> Copyright (c) 1992-2004 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 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004
|>> |>>     root at wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC
|>> |>> Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a0e000.# Identifier
|>and
|>> |>> driver
|>> |>> Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc0a0e0cc.
|>> |>> Preloaded elf module "/boot/kernel/sn# Identifier and driver
|>> |>> d_ess.ko" at 0xc0a0e178.
|>> |>> Preloaded elf module "/boot/kernel/snd_sbc.ko" at 0xc0a0e224.
|>> |>> Timecounter "i8254" frequency 1193182 Hz quality 0
|>> |>> CPU: Pentium II/Pentium II Xeon/Celeron (397.33-MHz 686-class CPU)
|>> |>>   Origin = "GenuineIntel"  Id = 0x651  Stepping = 1
|>> |>>
|>>
|>|>Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMO
|>V,
|>> |>PAT,PSE36,MMX,FXSR>
|>> |>> real memory  = 402653184 (384 MB)
|>> |>> avail memory = 381427712 (363 MB)
|>> |>> Pentium Pro MTRR support enabled
|>> |>> npx0: [FAST]
|>> |>> npx0: <math processor> on motherboard
|>> |>> npx0: INT 16 interface
|>> |>> pcibios: BIOS version 2.10
|>> |>> Using $PIR table, 5 entries at 0xc00fa040
|>> |>> pcib0: <Intel 82443BX (440 BX) host to PCI bridge> at pcibus 0 on
|>> |>motherboard
|>> |>> pci0: <PCI bus> on pcib0
|>> |>> pci_cfgintr: 0:4 INTA BIOS irq 11
|>> |>> pci_cfgintr: 0:20 INTD BIOS irq 11
|>> |>> agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem
|>> |>0x44000000-0x47ffffff at
|>> |>> device 0.0 on pci0
|>> |>> pcib1: <PCI-PCI bridge> at device 1.0 on pci0
|>> |>> pci1: <PCI bus> on pcib1
|>> |>> pci_cfgintr: 0:1 INTA routed to irq 4
|>> |>> pcib1: slot 0 INTA is routed to irq 4
|>> |>> pci1: <display, VGA> at device 0.0 (no driver attached)
|>> |>> rl0: <RealTek 8139 10/100BaseTX> port 0x2400-0x24ff mem
|>> |>0x41100000-0x411000ff
|>> |>> irq 11 at device 4.0 on pci0
|>> |>> rl0: Ethernet address: 00:50:ba:40:6d:e1
|>> |>> miibus0: <MII bus> on rl0
|>> |>> rlphy0: <RealTek internal media interface> on miibus0
|>> |>> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
|>> |>> isab0: <PCI-ISA bridge> at device 20.0 on pci0
|>> |>> isa0: <ISA bus> on isab0
|>> |>> atapci0: <Intel PIIX4 UDMA33 controller> port 0x20a0-0x20af at device
|>20.1
|>> |>on
|>> |>> pci0
|>> |>> ata0: at 0x1f0 irq 14 on atapci0
|>> |>> ata0: [MPSAFE]
|>> |>> ata1: at 0x170 irq 15 on atapci0
|>> |>> ata1: [MPSAFE]
|>> |>> uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x2080-0x209f
|>irq 11
|>> |>at
|>> |>> device 20.2 on pci0
|>> |>> usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
|>> |>> usb0: USB revision 1.0
|>> |>> uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
|>> |>> uhub0: 2 ports with 2 removable, self powered
|>> |>> ums0: MOUSE SYSTEM U+P RF Mouse Receiver, rev 1.10/0.00, addr 2,
|>iclass
|>> |>3/1
|>> |>> ums0: 5 buttons and Z dir.
|>> |>> piix0: <PIIX Timecounter> port 0xee80-0xee8f at device 20.3 on pci0
|>> |>> Timecounter "PIIX" frequency 3579545 Hz quality 0
|>> |>> orm0: <Option ROM> at iomem 0xc0000-0xcffff on isa0
|>> |>> pmtimer0 on isa0
|>> |>> atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
|>> |>> atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
|>> |>> kbd0 at atkbd0
|>> |>> fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port
|>> |>> 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
|>> |>> fdc0: FIFO enabled, 8 bytes threshold
|>> |>> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
|>> |>> 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/15 bytes threshold
|>> |>> ppbus0: <Parallel port bus> on ppc0
|>> |>> plip0: <PLIP network interface> on ppbus0
|>> |>> lpt0: <Printer> on ppbus0
|>> |>> lpt0: Interrupt-driven port
|>> |>> ppi0: <Parallel I/O> on ppbus0
|>> |>> sc0: <System console> at flags 0x100 on isa0
|>> |>> sc0: VGA <16 virtual consoles, flags=0x300>
|>> |>> sio0: configured irq 4 not in bitmap of probed irqs 0
|>> |>> sio0: port may not be enabled
|>> |>> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
|>> |>> sio0: type 16550A
|>> |>> 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
|>> |>> sio4: <U.S. Robotics 56K Voice INT> at port 0x2f8-0x2ff irq 3 on isa0
|>> |>> sio4: type 16550A
|>> |>> unknown: <PNP0401> can't assign resources (port)
|>> |>> unknown: <PNP0501> can't assign resources (port)
|>> |>> sbc0: <ESS ES1869 (Compaq OEM)> at port
|>> |>0x330-0x331,0x388-0x38b,0x220-0x22f
|>> |>> irq 5 drq 3,1 on isa0
|>> |>> pcm0: <ESS 18xx DSP> on sbc0
|>> |>> unknown: <PNP0700> can't assign resources (port)
|>> |>> unknown: <PNP0303> can't assign resources (port)
|>> |>> unknown: <PNP0c02> can't assign resources (port)
|>> |>> Timecounter "TSC" frequency 397331698 Hz quality 800
|>> |>> Timecounters tick every 10.000 msec
|>> |>> GEOM: create disk ad0 dp=0xc3b55260
|>> |>> ad0: 7665MB <QUANTUM Bigfoot TX8.0AT> [15574/16/63] at ata0-master
|>UDMA33
|>> |>> acd0: DVDROM <COMPAQ DVD-ROM GD-2000> at ata1-master WDMA2
|>> |>> GEOM: create disk afd0 dp=0xc3b5446c
|>> |>> afd0: REMOVABLE <IOMEGA ZIP 100 ATAPI> at ata1-slave PIO0
|>> |>> Mounting root from ufs:/dev/ad0s1a
|>> |>>
|>> |>> This is my 'rc.conf' file:
|>> |>>
|>> |>> blanktime="3600"
|>> |>> #hostname="dhcppc3.cable.rcn.com"
|>> |>> hostname=""
|>> |>> ifconfig_rl0="DHCP"
|>> |>> linux_enable="YES"
|>> |>> lpd_enable="YES"
|>> |>> named_enable="NO"
|>> |>> saver="logo"
|>> |>> sendmail_enable="NONE"
|>> |>> sshd_enable="YES"
|>> |>> usbd_enable="YES"
|>> |>> ntpd_enable="YES"
|>> |>> clear_tmp_enabled="YES"
|>> |>> moused_flags="z 6 7"
|>> |>> moused_port="/dev/usb0"
|>> |>> moused_type="auto"
|>> |>> moused_enable="YES"
|>> |>>
|>> |>> Finally, here the the mouse section from the 'XF86Config' file:
|>> |>>
|>> |>> # Identifier and driver
|>> |>>
|>> |>>     Identifier  "Mouse1"
|>> |>>     Driver      "mouse"
|>> |>>     Option "Protoco"     "Auto"
|>> |>>     Option "Device"      "/dev/sysmouse"
|>> |>>     Option "Buttons"     "7"
|>> |>>     Option "ZAxisMapping" "6 7"
|>> |>>
|>> |>> I might add that I receive an error message upon boot up that the
|>'moused'
|>> |>was
|>> |>> not supplied with the correct port. I have tried every port I can
|>think
|>> |>of,
|>> |>> and it sill gives me an error.
|>> |>>
|>> |>> I would really appreciate any help someone might be able to afford me.
|>> |>>
|>> |>> Thanks!
|>> |>>
|>> |>> Gerard Seibert
|>> |>> gerard-seibert at rcn.com
|>>
|>>
|>> ********** Reply Separator **********
|>> Sunday, April 18, 2004 7:36:53 AM
|>>
|>> That doesn't help either. I am still receiving the following error message
|> at boot-up:
|>>
|>> Starting moused: moused: no such port name specified
|>>
|>> It then give me the usages tor moused. Even with your change, the wheel
|>does not work, and I have tried all sorts of different configurations. It
|>does work just fine under WinXP, even without using the driver supplied with
|>it.
|>>
|>> Any other ideas?
|>>
|>> Thanks!
|>>
|>>
|>
|>Sorry about the top post before. I had only just woke up :o)
|>
|>So, with ums0 the mouse works you're saying? But the wheel doesn't? Or is it
|>always giving you no port and then the usage? If it's doing that try
|>commenting out moused_flags... I have a feeling it may be that making it
|>show you the usage, or perhaps it should be -z 6 7?


********** Reply Separator **********
Sunday, April 18, 2004 5:00:22 PM

You are correct, it should be '-z 6 7'. Funny how I missed that. However, while it corrects the moused error that I was receiving, it does not correct the wheel problem.

I did notice in one KDE application, that the wheel was causing the screen to move horizontally, instead of vertically. That was when there was a visible horizontal scroll bar present. Perhaps the mouse has it axis's inverted. If so, how would I correct that problem. I have tried Google, but came up empty.




More information about the freebsd-questions mailing list