Set 'Option "CorePointer"' in InputDevice section for trackpoint and
'Option "SendCoreEvents" "true"' in InputDevice section for mouse.

On Fri, Jun 3, 2011 at 12:33 AM, pat <pkugri...@gmail.com> wrote:
> I'm having issues while trying to configure two mice separately in
> xorg.conf. Default "mouse" driver seems to pick up /dev/wsmouse by default
> instead of specified wsmouse0.. looks like it just ignores Option "Device"
> line (I tried to place it in the beginning of section also). Here I just
> want to enable a few additional parameters for Trackpoint. xorg.conf,
> Xorg.0.log files and dmesg are below.
>
> =============================================
> xorg.conf:
> =============================================
>
> Section "Files"
> ModulePath B  "/usr/X11R6/lib/modules"
> FontPath B  B  "/usr/X11R6/lib/X11/fonts/misc/"
> FontPath B  B  "/usr/X11R6/lib/X11/fonts/TTF/"
> FontPath B  B  "/usr/X11R6/lib/X11/fonts/OTF/"
> FontPath B  B  "/usr/X11R6/lib/X11/fonts/Type1/"
> FontPath B  B  "/usr/X11R6/lib/X11/fonts/100dpi/"
> FontPath B  B  "/usr/X11R6/lib/X11/fonts/75dpi/"
> EndSection
>
> Section "Module"
> Load B "dbe"
> Load B "dri"
> Load B "dri2"
> Load B "extmod"
> Load B "glx"
> Load B "record"
> EndSection
>
> Section "InputDevice"
> Identifier B "Keyboard0"
> Driver B  B  B "kbd"
> EndSection
>
> Section "InputDevice"
> Identifier B "TrackPoint"
> Driver B  B  B "mouse"
> Option B  B "Protocol" "wsmouse"
> Option B  B "ZAxisMapping" "4 5 6 7"
> Option B  B "EmulateWheel" "yes"
> Option B  B  B "EmulateWheelButton" "2"
> Option B  B "Device" "/dev/wsmouse0"
> EndSection
>
> Section "InputDevice"
> Identifier B "USBMouse"
> Driver B  B  B "mouse"
> Option B  B "Protocol" "wsmouse"
> Option B  B "ZAxisMapping" "4 5 6 7"
> Option B  B "Device" "/dev/wsmouse1"
> EndSection
>
> Section "Monitor"
> Identifier B  "Monitor0"
> VendorName B  "Monitor Vendor"
> ModelName B  B "Monitor Model"
> EndSection
>
> Section "Device"
> B  B  B  B ### Available Driver options are:-
> B  B  B  B ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
> B  B  B  B ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
> B  B  B  B ### <percent>: "<f>%"
> B  B  B  B ### [arg]: arg optional
> B  B  B  B #Option B  B  "NoAccel" B  B  B  B  B  B  # [<bool>]
> B  B  B  B #Option B  B  "SWcursor" B  B  B  B  B  # [<bool>]
> B  B  B  B #Option B  B  "ColorKey" B  B  B  B  B  # <i>
> B  B  B  B #Option B  B  "CacheLines" B  B  B  B  # <i>
> B  B  B  B #Option B  B  "Dac6Bit" B  B  B  B  B  B  # [<bool>]
> B  B  B  B #Option B  B  "DRI" B  B  B  B  B  B  B  B  # [<bool>]
> B  B  B  B #Option B  B  "NoDDC" B  B  B  B  B  B  B  # [<bool>]
> B  B  B  B #Option B  B  "ShowCache" B  B  B  B  B  # [<bool>]
> B  B  B  B #Option B  B  "XvMCSurfaces" B  B  B  # <i>
> B  B  B  B #Option B  B  "PageFlip" B  B  B  B  B  # [<bool>]
> Identifier B "Card0"
> Driver B  B  B "intel"
> BusID B  B  B  "PCI:0:2:0"
> EndSection
>
> Section "Screen"
> Identifier "Screen0"
> Device B  B  "Card0"
> Monitor B  B "Monitor0"
> SubSection "Display"
> Viewport B  0 0
> Depth B  B  1
> EndSubSection
> SubSection "Display"
> Viewport B  0 0
> Depth B  B  4
> EndSubSection
> SubSection "Display"
> Viewport B  0 0
> Depth B  B  8
> EndSubSection
> SubSection "Display"
> Viewport B  0 0
> Depth B  B  15
> EndSubSection
> SubSection "Display"
> Viewport B  0 0
> Depth B  B  16
> EndSubSection
> SubSection "Display"
> Viewport B  0 0
> Depth B  B  24
> EndSubSection
> EndSection
>
> Section "ServerLayout"
> Identifier B  B  "X.org Configured"
> Screen B  B  B  B  "Screen0" 0 0
> InputDevice B  B "Keyboard0" "CoreKeyboard"
> InputDevice B  B "TrackPoint" "CorePointer"
> InputDevice B  B "USBMouse" "SendCoreEvents"
> EndSection
>
> =============================================
> relevant peace from Xorg.0.log:
> =============================================
>
> [1382892.087] (WW) TrackPoint: No Device specified, looking for one...
> [1382892.173] (II) TrackPoint: found Device "/dev/wsmouse"
> [1382892.173] (--) TrackPoint: Device: "/dev/wsmouse"
> [1382892.173] (==) TrackPoint: Protocol: "WSMouse"
> [1382892.173] (**) Option "CorePointer"
> [1382892.173] (**) TrackPoint: always reports core events
> [1382892.173] (**) Option "Device" "/dev/wsmouse"
> [1382892.290] (==) TrackPoint: Emulate3Buttons, Emulate3Timeout: 50
> [1382892.290] (**) Option "ZAxisMapping" "4 5 6 7"
> [1382892.290] (**) TrackPoint: ZAxisMapping: buttons 4, 5, 6 and 7
> [1382892.290] (**) Option "EmulateWheel" "yes"
> [1382892.291] (**) Option "EmulateWheelButton" "2"
> [1382892.291] (==) TrackPoint: YAxisMapping: buttons 4 and 5
> [1382892.291] (**) TrackPoint: EmulateWheel, EmulateWheelButton: 2,
> EmulateWheelInertia: 10, EmulateWheelTimeout: 200
> [1382892.291] (**) TrackPoint: Buttons: 11
> [1382892.291] (II) XINPUT: Adding extended input device "TrackPoint" (type:
> MOUSE)
> [1382892.291] (**) TrackPoint: (accel) keeping acceleration scheme 1
> [1382892.291] (**) TrackPoint: (accel) acceleration profile 0
> [1382892.291] (**) TrackPoint: (accel) acceleration factor: 2.000
> [1382892.291] (**) TrackPoint: (accel) acceleration threshold: 4
> [1382892.411] (WW) USBMouse: No Device specified, looking for one...
> [1382892.411] (EE) USBMouse: Cannot find which device to use.
> [1382892.411] (==) USBMouse: Protocol: "WSMouse"
> [1382892.411] (**) Option "SendCoreEvents"
> [1382892.411] (**) USBMouse: always reports core events
> [1382892.411] (**) Option "Device" "/dev/wsmouse1"
> [1382892.411] (EE) xf86OpenSerial: Cannot open device /dev/wsmouse1
> Device busy.
> [1382892.411] (EE) USBMouse: cannot open input device
> [1382892.411] (II) UnloadModule: "mouse"
> [1382892.411] (EE) PreInit returned NULL for "USBMouse"
>
> =============================================
> dmesg:
> =============================================
>
> OpenBSD 4.9-current (GENERIC) #17: Tue May 31 00:11:37 MDT 2011
> B  B dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Intel(R) Pentium(R) 4 CPU 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz
> cpu0:
>
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,
ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR
> real mem B = 526905344 (502MB)
> avail mem = 507424768 (483MB)
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 06/19/03, BIOS32 rev. 0 @ 0xfd7e0,
> SMBIOS rev. 2.33 @ 0xe0010 (47 entries)
> bios0: vendor IBM version "1TET79WW (1.03b)" date 06/19/2003
> bios0: IBM 23883SG
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP SSDT ECDT BOOT
> acpi0: wakeup devices LID_(S3) SLPB(S4) PCI0(S4) BLAN(S4) CBS0(S0) USB0(S3)
> USB1(S3) USB2(S3) AC97(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpiec0 at acpi0
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 2 (PCI1)
> acpicpu0 at acpi0: C2
> acpitz0 at acpi0: critical temperature 90 degC
> acpibtn0 at acpi0: LID_
> acpibtn1 at acpi0: SLPB
> acpiac0 at acpi0: AC unit online
> acpibat0 at acpi0: BAT1 model "IBM-08K8181 " serial 142 B  B  B type LION
B oem
> "Panasonic"
> acpithinkpad0 at acpi0
> bios0: ROM list: 0xc0000/0xc600 0xcc800/0x1800 0xdc000/0x4000!
> 0xe0000/0x10000
> cpu0 at mainbus0: (uniprocessor)
> memory map conflict 0xf6f0000/0xd000
> memory map conflict 0xf6fd000/0x3000
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "Intel 82855GM Host" rev 0x01
> "Intel 82855GM Memory" rev 0x01 at pci0 dev 0 function 1 not configured
> "Intel 82855GM Config" rev 0x01 at pci0 dev 0 function 3 not configured
> vga1 at pci0 dev 2 function 0 "Intel 82855GM Video" rev 0x01
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> intagp0 at vga1
> agp0 at intagp0: aperture at 0xe0000000, size 0x8000000
> inteldrm0 at vga1: irq 11
> drm0 at inteldrm0
> "Intel 82855GM Video" rev 0x01 at pci0 dev 2 function 1 not configured
> uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x01: irq 11
> uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x01: irq 11
> uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x01: irq 11
> ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x01: irq 11
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb0 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x81
> pci1 at ppb0 bus 2
> bge0 at pci1 dev 0 function 0 "Broadcom BCM5901" rev 0x01, BCM5705 A1
> (0x3001): irq 11, address 00:06:1b:c2:02:c4
> brgphy0 at bge0 phy 1: BCM5705 10/100/1000baseT PHY, rev. 1
> cbb0 at pci1 dev 1 function 0 "TI PCI1410 CardBus" rev 0x02: irq 11
> cardslot0 at cbb0 slot 0 flags 0
> cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0x20
> pcmcia0 at cardslot0
> ichpcib0 at pci0 dev 31 function 0 "Intel 82801DBM LPC" rev 0x01
> pciide0 at pci0 dev 31 function 1 "Intel 82801DBM IDE" rev 0x01: DMA,
> channel 0 configured to compatibility, channel 1 configured to
compatibility
> wd0 at pciide0 channel 0 drive 0: <IC25N040ATMR04-0>
> wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
> atapiscsi0 at pciide0 channel 1 drive 0
> scsibus0 at atapiscsi0: 2 targets
> cd0 at scsibus0 targ 0 lun 0: <TEAC, DW-224E, B.0A> ATAPI 5/cdrom removable
> cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
> ichiic0 at pci0 dev 31 function 3 "Intel 82801DB SMBus" rev 0x01: irq 11
> iic0 at ichiic0
> spdmem0 at iic0 addr 0x50: 256MB DDR SDRAM non-parity PC2100CL2.5
> spdmem1 at iic0 addr 0x51: 256MB DDR SDRAM non-parity PC3200CL3.0
> auich0 at pci0 dev 31 function 5 "Intel 82801DB AC97" rev 0x01: irq 11,
ICH4
> AC97
> ac97: codec id 0x41445374 (Analog Devices AD1981B)
> ac97: codec features headphone, 20 bit DAC, No 3D Stereo
> audio0 at auich0
> "Intel 82801DB Modem" rev 0x01 at pci0 dev 31 function 6 not configured
> usb1 at uhci0: USB revision 1.0
> uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb2 at uhci1: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci2: USB revision 1.0
> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> isa0 at ichpcib0
> isadma0 at isa0
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> lpt2 at isa0 port 0x3bc/4: polled
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> mtrr: Pentium Pro MTRR support
> uhidev0 at uhub1 port 1 configuration 1 interface 0 "Logitech Optical USB
> Mouse" rev 2.00/3.40 addr 2
> uhidev0: iclass 3/1
> ums0 at uhidev0: 3 buttons, Z dir
> wsmouse1 at ums0 mux 0
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> root on wd0a swap on wd0b dump on wd0b

Reply via email to