Hi, try this patch
Index: src/mouse.c =================================================================== RCS file: /cvs/xenocara/driver/xf86-input-mouse/src/mouse.c,v retrieving revision 1.10 diff -u -p -r1.10 mouse.c --- src/mouse.c 22 Apr 2011 18:35:19 -0000 1.10 +++ src/mouse.c 4 Jun 2011 16:57:38 -0000 @@ -941,7 +941,7 @@ MousePreInit(InputDriverPtr drv, InputIn goto out; } - device = xf86SetStrOption(pInfo->options, "Device", NULL); + device = xf86SetStrOption(pInfo->conf_idev->commonOptions, "Device", NULL); /* Default Mapping: 1 2 3 8 9 10 11 ... */ for (i = 0; i < MSE_MAXBUTTONS; i++) On Sat, Jun 04, 2011 at 05:05:54PM +0200, Christopher Zimmermann wrote: > On 06/04/11 16:32, pat wrote: > > Thanks for your reply, but it doesn't work. Logs are still reporting absence > > of device specification, as a result default /dev/wsmouse gets picked up for > > TrackPoint.. Here's the changed fragment: > > I had the very same problem and worked around it by renaming > /dev/wsmouse to /dev/wsmouse.rest here's my xorg.conf: > This seems to be a bug in the pointer device driver infrastrucure in > xenocara, I tried to track it down, but gave up after several hours. > > > Section "Files" > FontPath "/usr/local/lib/X11/fonts/terminus/" > FontPath "/usr/local/lib/X11/fonts/Liberation/" > FontPath "/usr/local/lib/X11/fonts/WinFonts/" > EndSection > > Section "InputDevice" > Identifier "TouchPad0" > Driver "synaptics" > Option "Device" "/dev/wsmouse0" > #Option "AutoServerLayout" "true" > EndSection > > Section "InputDevice" > Identifier "TrackPoint1" > Driver "mouse" > Option "Device" "/dev/wsmouse1" > Option "Emulate3Buttons" "false" > Option "EmulateWheel" "true" > Option "EmulateWheelButton" "2" > # No "AutoServerLayout" here, since xorg automatically > # adds first InputDevice with "mouse" driver as CorePointer. > #Option "AutoServerLayout" "true" > EndSection > > Section "InputDevice" > Identifier "Mouse" > Driver "mouse" > Option "Device" "/dev/wsmouse2" > #Option "AutoServerLayout" "true" > EndSection > > Section "Device" > Identifier "ATI FireGL M24" > Option "DynamicClocks" "true" > EndSection > > Section "Screen" > Identifier "wide" > Device "ATI FireGL M24" > SubSection "Display" > Virtual 3200 1200 > EndSubSection > EndSection > > Section "ServerLayout" > Identifier "Layout0" > Screen "wide" > InputDevice "TouchPad0" "SendCoreEvents" > InputDevice "TrackPoint1" "CorePointer" > InputDevice "Mouse" "SendCoreEvents" > Option "BlankTime" "5" > EndSection > > > > > > > Section "InputDevice" > > Identifier "TrackPoint" > > Driver "mouse" > > Option "Device" "/dev/wsmouse0" > > Option "Protocol" "wsmouse" > > Option "CorePointer" > > Option "ZAxisMapping" "4 5 6 7" > > Option "EmulateWheel" "yes" > > Option "EmulateWheelButton" "2" > > EndSection > > > > Section "InputDevice" > > Identifier "USBMouse" > > Driver "mouse" > > Option "Device" "/dev/wsmouse1" > > Option "Protocol" "wsmouse" > > Option "SendCoreEvents" "true" > > Option "ZAxisMapping" "4 5 6 7" > > EndSection > > > > > > On Fri, Jun 3, 2011 at 7:04 AM, Tomas Bodzar <tomas.bod...@gmail.com> wrote: > > > >> 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 "/usr/X11R6/lib/modules" > >>> FontPath "/usr/X11R6/lib/X11/fonts/misc/" > >>> FontPath "/usr/X11R6/lib/X11/fonts/TTF/" > >>> FontPath "/usr/X11R6/lib/X11/fonts/OTF/" > >>> FontPath "/usr/X11R6/lib/X11/fonts/Type1/" > >>> FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" > >>> FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" > >>> EndSection > >>> > >>> Section "Module" > >>> Load "dbe" > >>> Load "dri" > >>> Load "dri2" > >>> Load "extmod" > >>> Load "glx" > >>> Load "record" > >>> EndSection > >>> > >>> Section "InputDevice" > >>> Identifier "Keyboard0" > >>> Driver "kbd" > >>> EndSection > >>> > >>> Section "InputDevice" > >>> Identifier "TrackPoint" > >>> Driver "mouse" > >>> Option "Protocol" "wsmouse" > >>> Option "ZAxisMapping" "4 5 6 7" > >>> Option "EmulateWheel" "yes" > >>> Option "EmulateWheelButton" "2" > >>> Option "Device" "/dev/wsmouse0" > >>> EndSection > >>> > >>> Section "InputDevice" > >>> Identifier "USBMouse" > >>> Driver "mouse" > >>> Option "Protocol" "wsmouse" > >>> Option "ZAxisMapping" "4 5 6 7" > >>> Option "Device" "/dev/wsmouse1" > >>> EndSection > >>> > >>> Section "Monitor" > >>> Identifier "Monitor0" > >>> VendorName "Monitor Vendor" > >>> ModelName "Monitor Model" > >>> EndSection > >>> > >>> Section "Device" > >>> ### Available Driver options are:- > >>> ### Values: <i>: integer, <f>: float, <bool>: "True"/"False", > >>> ### <string>: "String", <freq>: "<f> Hz/kHz/MHz", > >>> ### <percent>: "<f>%" > >>> ### [arg]: arg optional > >>> #Option "NoAccel" # [<bool>] > >>> #Option "SWcursor" # [<bool>] > >>> #Option "ColorKey" # <i> > >>> #Option "CacheLines" # <i> > >>> #Option "Dac6Bit" # [<bool>] > >>> #Option "DRI" # [<bool>] > >>> #Option "NoDDC" # [<bool>] > >>> #Option "ShowCache" # [<bool>] > >>> #Option "XvMCSurfaces" # <i> > >>> #Option "PageFlip" # [<bool>] > >>> Identifier "Card0" > >>> Driver "intel" > >>> BusID "PCI:0:2:0" > >>> EndSection > >>> > >>> Section "Screen" > >>> Identifier "Screen0" > >>> Device "Card0" > >>> Monitor "Monitor0" > >>> SubSection "Display" > >>> Viewport 0 0 > >>> Depth 1 > >>> EndSubSection > >>> SubSection "Display" > >>> Viewport 0 0 > >>> Depth 4 > >>> EndSubSection > >>> SubSection "Display" > >>> Viewport 0 0 > >>> Depth 8 > >>> EndSubSection > >>> SubSection "Display" > >>> Viewport 0 0 > >>> Depth 15 > >>> EndSubSection > >>> SubSection "Display" > >>> Viewport 0 0 > >>> Depth 16 > >>> EndSubSection > >>> SubSection "Display" > >>> Viewport 0 0 > >>> Depth 24 > >>> EndSubSection > >>> EndSection > >>> > >>> Section "ServerLayout" > >>> Identifier "X.org Configured" > >>> Screen "Screen0" 0 0 > >>> InputDevice "Keyboard0" "CoreKeyboard" > >>> InputDevice "TrackPoint" "CorePointer" > >>> InputDevice "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 > >>> 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 = 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 type LION > >> 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 > -- Alexandr Shadchin