Ok this is from my /var/log/Xorg.0.log (and this is also why I believe that
no matter what i do in xorg.conf hal overrides:

(II) config/hal: Adding input device Logitech USB Receiver
(**) Logitech USB Receiver: always reports core events
(**) Logitech USB Receiver: Device: "/dev/input/event2"
(II) Logitech USB Receiver: Found x and y relative axes
(II) Logitech USB Receiver: Found 8 mouse buttons
(II) Logitech USB Receiver: Configuring as mouse
(II) XINPUT: Adding extended input device "Logitech USB Receiver" (type:
MOUSE)
(**) Logitech USB Receiver: YAxisMapping: buttons 4 and 5
(**) Logitech USB Receiver: EmulateWheelButton: 4, EmulateWheelInertia: 10,
EmulateWheelTimeout: 200

sigh wish I could get this to work.

On Tue, Jan 27, 2009 at 1:53 PM, MacNean Tyrrell <[email protected]> wrote:

>
>
> On Tue, Jan 27, 2009 at 1:34 PM, Gus Wirth <[email protected]> wrote:
>
>> MacNean Tyrrell wrote:
>> > Don't know if any of you could help out.  I've posted in the ubuntu
>> forums
>> > to no avail, but if you could help or point me to a more knowledgeable
>> > mailinglist/forum i would appreciate that too.
>> >
>> > I'm trying to invert the Y axis on my mouse (mainly because Perfect
>> World
>> > Int. doesn't have an ability to do this in game) and I'm old school
>> gamer,
>> > so I can't function without it inverted.  Anyways, so before 8.10 (at
>> least
>> > i think so) you would just add this line to your xorg.conf file in the
>> input
>> > device section:
>> >
>> > Option InvY "true"
>> >
>> > Now xorg or something uses HAL and you have to create an FDI file (which
>> > i've done):
>> >
>> > <?xml version="1.0" encoding="UTF-8"?>
>> > <deviceinfo version="0.2">
>> >  <device>
>> >   <match key="input.x11_driver" contains="mouse">
>> >    <merge key="input.x11_options.InvY" type="bool">true</merge>
>> >   </match>
>> >  </device>
>> > </deviceinfo>
>> >
>> >
>> > and this is seen by running lshal:
>> >
>> > for my touchpad:
>> >
>> > input.x11_driver = 'synaptics'  (string)
>> >   input.x11_options.InvY = true  (bool)
>> >
>> >
>> >
>> > and then my usb mouse:
>> >
>> > < udi =
>> '/org/freedesktop/Hal/devices/usb_device_46d_c51b_noserial_if0_logicaldev_input'
>> > <   info.capabilities = {'input', 'input.mouse'} (string list)
>> > <   info.category = 'input'  (string)
>> > <   info.parent =
>> > '/org/freedesktop/Hal/devices/usb_device_46d_c51b_noserial_if0'
>> > (string)
>> > <   info.product = 'Logitech USB Receiver'  (string)
>> > <   info.subsystem = 'input'  (string)
>> > <   info.udi =
>> '/org/freedesktop/Hal/devices/usb_device_46d_c51b_noserial_if0_logicaldev_input'
>> >  (string)
>> > <   input.device = '/dev/input/event11'  (string)
>> > <   input.originating_device =
>> > '/org/freedesktop/Hal/devices/usb_device_46d_c51b_noserial_if0'
>> > (string)
>> > <   input.product = 'Logitech USB Receiver'  (string)
>> > <   input.x11_driver = 'evdev'  (string)
>> > <   input.x11_options.InvY = true  (bool)
>> > <   linux.device_file = '/dev/input/event11'  (string)
>> > <   linux.hotplug_type = 2  (0x2)  (int)
>> > <   linux.subsystem = 'input'  (string)
>> > <   linux.sysfs_path =
>> >
>> '/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1:1.0/input/input12/event11'
>> >  (string)
>> >
>> >
>> >
>> > So it should be working, but it doesn't invert the mouse.  Anyone know
>> what
>> > the problem is?
>>
>> Only work with one input device at a time. By default, X will use
>> /dev/input/mice , which consolidates all the mice into a single device
>> selection. Force X to use only a single mouse by putting the following
>> in your xorg.conf file:
>>
> Ok.
>
>>
>> Section "ServerLayout"
>>        Identifier     "Default Layout"
>>        Screen      0  "Screen0" 0 0
>>        InputDevice    "Keyboard0" "CoreKeyboard"
>>        InputDevice    "Mouse0" "CorePointer"
>> EndSection
>>
> In mine CorePointer is in the inputdevice section i believe not in the
> server layout.
>
>>
>> Section "InputDevice"
>>        Identifier  "Mouse0"
>>        Driver      "mouse"
>>        Option      "Device" "/dev/input/mouse1"
>>        Option      "Protocol" "ImPS/2"
>>        Option      "ZAxisMapping" "4 5"
>>        Option      "CorePointer"
>>        Option      "InvY" "true"
>> EndSection
>>
> ok it uses like /dev/psaux (at least i'm like 80% think it does)
>
>>
>> You will probably have to play around with the /dev/input/mouseN to
>> figure out which mouse you want. I recommend using a standard PS/2 mouse
>> to start with.
>>
> So unplug my wireless and plug in a ps/2 one? not even sure if my laptop
> has a ps/2 port.  I do have a non wireless usb one.  I can try that.
>
>>
>> Please note that you have to include the "InvY" option in quotes as I
>> have shown. You did not so I don't know if that is a typo or an actual
>> cut-and-paste from your real xorg.conf.
>>
> Yea i knew that, it wasn't cut and paste.
>
>>
>> Once you have done that, start X and look at your log file in
>> /var/log/Xorg.0.log and see that it picks up the option on the mouse. If
>> it doesn't, there is something else going on.
>>
> Ok i'll try that tonite thanks.  One of the main reasons i was excited
> about HAL/FDI was the ability to hot swap the invert y without restarting
> X.  I have a feeling it's not working because of the touchpad or something.
>
>>
>> Gus
>>
>> --
>> [email protected]
>> http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie
>>
>
>
>
> --
> Sincerely,
>
> MacNean C. Tyrrell
>



-- 
Sincerely,

MacNean C. Tyrrell
-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie

Reply via email to