Re: Mouse0: No Device specified, looking for one.. (it's specified)

2011-08-01 Thread LEVAI Daniel
On Sun, Jul 31, 2011 at 18:37:03 +0200, Christopher Zimmermann wrote:
[...]
 See also xorg.conf(5); this may be what you need.
 
 Option AllowEmptyInput boolean
If enabled, don't add the standard keyboard and mouse drivers,
if there are no input devices in the config file.  Enabled by
default if AutoAddDevices and AutoEnableDevices is enabled,
otherwise disabled.  If AllowEmptyInput is on, devices using the
kbd, mouse or vmmouse driver are ignored.

Thanks!
Adding this option to ServerFlags solved the problem.


Daniel

-- 
LIVAI Daniel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F



Re: Mouse0: No Device specified, looking for one.. (it's specified)

2011-07-31 Thread LEVAI Daniel
Hali!


FWIW, on my thinkpad t60 I can not configure the EmulateWheel option for
the trackpoint because of this. The configure option for the input
devices in xorg.conf are simply getting ignored.


Daniel


Section InputDevice
Identifier  TrackPoint
Driver  mouse
Option  Device/dev/wsmouse
Option  Emulate3Buttons   false
Option  EmulateWheel  true
Option  EmulateWheelButton2
Option  XAxisMapping  6 7
Option  YAxisMapping  4 5
EndSection



OpenBSD 5.0-beta (GENERIC.MP) #28: Tue Jul 26 20:15:10 MDT 2011
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM
real mem  = 2145775616 (2046MB)
avail mem = 2100592640 (2003MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/27/09, BIOS32 rev. 0 @ 0xfd6b0, SMBIOS 
rev. 2.4 @ 0xe0010 (68 entries)
bios0: vendor LENOVO version 79ETE5WW (2.25 ) date 08/27/2009
bios0: LENOVO 2007FRG
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4) 
EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpimcfg0 at acpi0 addr 0xf000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature is 127 degC
acpitz1 at acpi0: critical temperature is 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 93P5030 serial  2444 type LION oem SONY
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 
0xe/0x1!
cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1333, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03: apic 1 int 16
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 ATI Radeon Mobility X1400 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 1 int 16
drm0 at radeondrm0
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: msi
azalia0: codecs: Analog Devices AD1981HD, 0x/0x, using Analog Devices 
AD1981HD
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 20
pci2 at ppb1 bus 2
em0 at pci2 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00: msi, address 
00:16:41:aa:d2:70
ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int 21
pci3 at ppb2 bus 3
wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: msi, MoW2, 
address 00:18:de:65:2d:37
ppb3 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 1 int 22
pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02: apic 1 int 23
pci5 at ppb4 bus 12
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 1 int 16
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 1 int 17
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 1 int 18
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 1 int 19
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 1 int 19
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2
pci6 at ppb5 bus 21
cbb0 at pci6 dev 0 function 0 TI PCI1510 CardBus rev 0x00: apic 1 int 16
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 22 device 0 cacheline 0x8, lattimer 0xb0
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 Intel 82801GBM 

Re: Mouse0: No Device specified, looking for one.. (it's specified)

2011-07-31 Thread Christopher Zimmermann
Can you post your Xorg.log and complete xorg.conf?

See also xorg.conf(5); this may be what you need.

Option AllowEmptyInput boolean
   If enabled, don't add the standard keyboard and mouse drivers,
   if there are no input devices in the config file.  Enabled by
   default if AutoAddDevices and AutoEnableDevices is enabled,
   otherwise disabled.  If AllowEmptyInput is on, devices using the
   kbd, mouse or vmmouse driver are ignored.


Christopher


On 07/31/11 17:54, LEVAI Daniel wrote:
 Hali!
 
 
 FWIW, on my thinkpad t60 I can not configure the EmulateWheel option for
 the trackpoint because of this. The configure option for the input
 devices in xorg.conf are simply getting ignored.
 
 
 Daniel
 
 
 Section InputDevice
   Identifier  TrackPoint
   Driver  mouse
   Option  Device/dev/wsmouse
   Option  Emulate3Buttons   false
   Option  EmulateWheel  true
   Option  EmulateWheelButton2
   Option  XAxisMapping  6 7
   Option  YAxisMapping  4 5
 EndSection
 
 
 
 OpenBSD 5.0-beta (GENERIC.MP) #28: Tue Jul 26 20:15:10 MDT 2011
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
 cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz
 cpu0: 
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM
 real mem  = 2145775616 (2046MB)
 avail mem = 2100592640 (2003MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 08/27/09, BIOS32 rev. 0 @ 0xfd6b0, 
 SMBIOS rev. 2.4 @ 0xe0010 (68 entries)
 bios0: vendor LENOVO version 79ETE5WW (2.25 ) date 08/27/2009
 bios0: LENOVO 2007FRG
 acpi0 at bios0: rev 2
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT SSDT SSDT
 acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4) 
 EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpiec0 at acpi0
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: apic clock running at 166MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class) 1.83 GHz
 cpu1: 
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM
 ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
 ioapic0: misconfigured as apic 2, remapped to apid 1
 acpimcfg0 at acpi0 addr 0xf000, bus 0-63
 acpihpet0 at acpi0: 14318179 Hz
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 1 (AGP_)
 acpiprt2 at acpi0: bus 2 (EXP0)
 acpiprt3 at acpi0: bus 3 (EXP1)
 acpiprt4 at acpi0: bus 4 (EXP2)
 acpiprt5 at acpi0: bus 12 (EXP3)
 acpiprt6 at acpi0: bus 21 (PCI1)
 acpicpu0 at acpi0: C3, C2, C1, PSS
 acpicpu1 at acpi0: C3, C2, C1, PSS
 acpipwrres0 at acpi0: PUBS
 acpitz0 at acpi0: critical temperature is 127 degC
 acpitz1 at acpi0: critical temperature is 99 degC
 acpibtn0 at acpi0: LID_
 acpibtn1 at acpi0: SLPB
 acpibat0 at acpi0: BAT0 model 93P5030 serial  2444 type LION oem SONY
 acpibat1 at acpi0: BAT1 not present
 acpiac0 at acpi0: AC unit online
 acpithinkpad0 at acpi0
 acpidock0 at acpi0: GDCK not docked (0)
 bios0: ROM list: 0xc/0xfe00 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 
 0xe/0x1!
 cpu0: Enhanced SpeedStep 1829 MHz: speeds: 1833, 1333, 1000 MHz
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
 ppb0 at pci0 dev 1 function 0 Intel 82945GM PCIE rev 0x03: apic 1 int 16
 pci1 at ppb0 bus 1
 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility X1400 rev 0x00
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 radeondrm0 at vga1: apic 1 int 16
 drm0 at radeondrm0
 azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: msi
 azalia0: codecs: Analog Devices AD1981HD, 0x/0x, using Analog Devices 
 AD1981HD
 audio0 at azalia0
 ppb1 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 1 int 20
 pci2 at ppb1 bus 2
 em0 at pci2 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00: msi, 
 address 00:16:41:aa:d2:70
 ppb2 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x02: apic 1 int 21
 pci3 at ppb2 bus 3
 wpi0 at pci3 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: msi, 
 MoW2, address 00:18:de:65:2d:37
 ppb3 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x02: apic 1 int 22
 pci4 at ppb3 bus 4
 ppb4 at pci0 dev 28 function 3 Intel 82801GB PCIE rev 0x02: apic 1 int 23
 pci5 at ppb4 bus 12
 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 1 int 16
 uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 1 int 17
 uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 

Re: Mouse0: No Device specified, looking for one.. (it's specified)

2011-06-04 Thread pat
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:

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
  OptionProtocol wsmouse
  OptionZAxisMapping 4 5 6 7
  OptionEmulateWheel yes
  Option  EmulateWheelButton 2
  OptionDevice /dev/wsmouse0
  EndSection
 
  Section InputDevice
  Identifier  USBMouse
  Driver  mouse
  OptionProtocol wsmouse
  OptionZAxisMapping 4 5 6 7
  OptionDevice /dev/wsmouse1
  EndSection
 
  Section Monitor
  Identifier   Monitor0
  VendorName   Monitor Vendor
  ModelNameMonitor 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
  MonitorMonitor0
  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
  InputDeviceKeyboard0 CoreKeyboard
  InputDeviceTrackPoint CorePointer
  InputDeviceUSBMouse 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 

Re: Mouse0: No Device specified, looking for one.. (it's specified)

2011-06-04 Thread Christopher Zimmermann
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  EmulateWheelButton2
# 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 TrackPoint1CorePointer
   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
 OptionProtocol wsmouse
 OptionZAxisMapping 4 5 6 7
 OptionEmulateWheel yes
 Option  EmulateWheelButton 2
 OptionDevice /dev/wsmouse0
 EndSection

 Section InputDevice
 Identifier  USBMouse
 Driver  mouse
 OptionProtocol wsmouse
 OptionZAxisMapping 4 5 6 7
 OptionDevice /dev/wsmouse1
 EndSection

 Section Monitor
 Identifier   Monitor0
 VendorName   Monitor Vendor
 ModelNameMonitor 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  

Re: Mouse0: No Device specified, looking for one.. (it's specified)

2011-06-04 Thread Alexandr Shadchin
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 -  1.10
+++ src/mouse.c 4 Jun 2011 16:57:38 -
@@ -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  EmulateWheelButton2
   # 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 TrackPoint1CorePointer
InputDevice MouseSendCoreEvents
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
  OptionProtocol wsmouse
  OptionZAxisMapping 4 5 6 7
  OptionEmulateWheel yes
  Option  EmulateWheelButton 2
  OptionDevice /dev/wsmouse0
 

Mouse0: No Device specified, looking for one.. (it's specified)

2011-06-02 Thread pat
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
OptionProtocol wsmouse
OptionZAxisMapping 4 5 6 7
OptionEmulateWheel yes
Option  EmulateWheelButton 2
OptionDevice /dev/wsmouse0
EndSection

Section InputDevice
Identifier  USBMouse
Driver  mouse
OptionProtocol wsmouse
OptionZAxisMapping 4 5 6 7
OptionDevice /dev/wsmouse1
EndSection

Section Monitor
Identifier   Monitor0
VendorName   Monitor Vendor
ModelNameMonitor 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
MonitorMonitor0
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
InputDeviceKeyboard0 CoreKeyboard
InputDeviceTrackPoint CorePointer
InputDeviceUSBMouse 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

Re: Mouse0: No Device specified, looking for one.. (it's specified)

2011-06-02 Thread Tomas Bodzar
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