Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22

Thread: Single click act as double click

  1. #11
    Join Date
    May 2006
    Beans
    44
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: Single click act as double click

    Quote Originally Posted by Favux View Post
    (...)I guess you'll have to locate it's .fdi file and configure it through that.
    Since it is cordless is it blue tooth?
    Hmm ... interesting, i don't know (yet) .fdi files but i'm gonna looking for it.
    i-rocks indicates "2.4GHz RF technology" : i guess it means it's radio technology (or something like that), the thing i'm pretty sure is that it's not bluetooth.
    I will test and search for .fdi file right now.
    . . . . . . . . . . . . . . . . . . . . . . . . . . .
    Do nothing unless you must, and when you must act -- hesitate.

  2. #12
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Single click act as double click

    Hi didli,

    .fdi=device information file. They started moving to them in Intrepid.

    Usually in /usr/share/hal/fdi/.

  3. #13
    Join Date
    May 2006
    Beans
    44
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: Single click act as double click

    Ok, found it.
    Did you see anything unusual ?
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <deviceinfo version="0.2">
      <device>
        <match key="info.subsystem" string="usb_device">
          <match key="usb_device.vendor_id" int="0x046d"> <!-- Logitech, Inc. -->
    
            <!-- Receiver for MX1000 Laser -->
            <match key="usb_device.product_id" int="0xc50e">
              <merge key="info.product" type="string">MX1000 Laser Mouse</merge>
              <merge key="battery.type" type="string">mouse</merge>
              <merge key="battery.is_rechargeable" type="bool">true</merge>
    	  <!-- proprietary properties defining the behavior -->
              <merge key="battery.csr.has_res" type="bool">false</merge>
              <merge key="battery.csr.has_sms" type="bool">false</merge>
              <merge key="battery.csr.is_dual" type="bool">false</merge>
            </match>
    
            <!-- Receiver for Cordless Click! -->
            <match key="usb_device.product_id" int="0xc510">
              <merge key="info.product" type="string">Cordless Click Mouse</merge>
              <merge key="battery.type" type="string">mouse</merge>
    	  <!-- proprietary properties defining the behavior -->
              <merge key="battery.csr.has_res" type="bool">false</merge>
              <merge key="battery.csr.has_sms" type="bool">false</merge>
              <merge key="battery.csr.is_dual" type="bool">false</merge>
            </match>
    
    	<!-- Receiver for Cordless Keyboard + Mouse combo -->
            <match key="usb_device.product_id" int_outof="0xc512;0xc505">
              <merge key="info.product" type="string">Cordless Keyboard+Mouse Receiver</merge>
              <merge key="battery.type" type="string">keyboard</merge>
    	  <!-- proprietary properties defining the behavior -->
              <merge key="battery.csr.has_res" type="bool">false</merge>
              <merge key="battery.csr.has_sms" type="bool">false</merge>
              <merge key="battery.csr.is_dual" type="bool">false</merge>
            </match>
    
            <!-- Mouse Receiver -->
            <match key="usb_device.product_id" int="0xc501">
              <merge key="info.product" type="string">Mouse Receiver</merge>
              <merge key="battery.type" type="string">mouse</merge>
              <merge key="battery.is_rechargeable" type="bool">true</merge>
              <!-- proprietary properties defining the behavior -->
              <merge key="battery.csr.has_res" type="bool">false</merge>
              <merge key="battery.csr.has_sms" type="bool">false</merge>
              <merge key="battery.csr.is_dual" type="bool">false</merge>
            </match>
    
            <!-- Dual Receiver -->
            <match key="usb_device.product_id" int="0xc502">
              <merge key="info.product" type="string">Logitech Dual Receiver</merge>
              <merge key="battery.type" type="string">mouse</merge>
              <merge key="battery.is_rechargeable" type="bool">true</merge>
              <!-- proprietary properties defining the behavior -->
              <merge key="battery.csr.has_res" type="bool">false</merge>
              <merge key="battery.csr.has_sms" type="bool">false</merge>
              <merge key="battery.csr.is_dual" type="bool">true</merge>
            </match>
    
            <!-- Receiver for Cordless Freedom Optical -->
            <match key="usb_device.product_id" int="0xc504">
              <merge key="info.product" type="string">Cordless Freedom Optical Mouse</merge>
              <merge key="battery.type" type="string">mouse</merge>
              <merge key="battery.is_rechargeable" type="bool">true</merge>
              <!-- proprietary properties defining the behavior -->
              <merge key="battery.csr.has_res" type="bool">false</merge>
              <merge key="battery.csr.has_sms" type="bool">false</merge>
              <merge key="battery.csr.is_dual" type="bool">true</merge>
            </match>
    
            <!-- Receiver for MX700 Optical Mouse -->
            <match key="usb_device.product_id" int="0xc506">
              <merge key="info.product" type="string">MX700 Optical Mouse</merge>
              <merge key="battery.type" type="string">mouse</merge>
              <merge key="battery.is_rechargeable" type="bool">true</merge>
              <!-- proprietary properties defining the behavior -->
              <merge key="battery.csr.has_res" type="bool">false</merge>
              <merge key="battery.csr.has_sms" type="bool">true</merge>
              <merge key="battery.csr.is_dual" type="bool">false</merge>
            </match>
    
            <!-- Receiver for Cordless Optical TrackMan -->
            <match key="usb_device.product_id" int="0xc508">
              <merge key="info.product" type="string">Cordless Optical TrackMan</merge>
              <merge key="battery.type" type="string">mouse</merge>
              <merge key="battery.is_rechargeable" type="bool">true</merge>
              <!-- proprietary properties defining the behavior -->
              <merge key="battery.csr.has_res" type="bool">false</merge>
              <merge key="battery.csr.has_sms" type="bool">true</merge>
              <merge key="battery.csr.is_dual" type="bool">false</merge>
            </match>
    
            <!-- Receiver for Cordless Presenter -->
            <match key="usb_device.product_id" int="0xc702">
              <merge key="info.product" type="string">Cordless Presenter</merge>
              <merge key="battery.type" type="string">mouse</merge>
              <merge key="battery.is_rechargeable" type="bool">true</merge>
              <!-- proprietary properties defining the behavior -->
              <merge key="battery.csr.has_res" type="bool">false</merge>
              <merge key="battery.csr.has_sms" type="bool">false</merge>
              <merge key="battery.csr.is_dual" type="bool">false</merge>
            </match>
    
          </match>
        </match>
      </device>
    </deviceinfo>
    i don't really know what to do with it. Everything seems fine to me.
    Is there any way to ensure my mouse is working correctly somewhere ?
    pfiouuu... how much I miss a magic command that will resolve this crazy stupid mouse behavior for this crazy stupid mouse.
    . . . . . . . . . . . . . . . . . . . . . . . . . . .
    Do nothing unless you must, and when you must act -- hesitate.

  4. #14
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Single click act as double click

    Hi didli,

    No, but then I don't know much about mouse .fdi's. As you might have guessed I know a little about the wacom.fdi. I don't see a header on a subsection with your mouses' name. Do you?

    To see how HAL sees your mouse:
    Code:
    lshal>lshal.txt
    After it shows up on your desktop open up with text editor (gedit). Big long output. In there will be a least one section on your mouse. You may be able to use search to make it easier. Then compare that section to what you're seeing in the .fdi and see if there is a problem.

  5. #15
    Join Date
    May 2006
    Beans
    44
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: Single click act as double click

    Hmm ... Favux, i think you may have point to the right thing to do. I did lshal and i can see that :
    Code:
    udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_1'
      access_control.file = '/dev/input/event2'  (string)
      access_control.type = 'mouse'  (string)
      info.callouts.add = {'hal-acl-tool --add-device'} (string list)
      info.callouts.remove = {'hal-acl-tool --remove-device'} (string list)
      info.capabilities = {'input', 'input.mouse', 'access_control'} (string list)
      info.category = 'input'  (string)
      info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
      info.product = 'Macintosh mouse button emulation'  (string)
      info.subsystem = 'input'  (string)
      info.udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_1'  (string)
      input.device = '/dev/input/event2'  (string)
      input.product = 'Macintosh mouse button emulation'  (string)
      input.x11_driver = 'evdev'  (string)
      linux.device_file = '/dev/input/event2'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      linux.subsystem = 'input'  (string)
      linux.sysfs_path = '/sys/devices/virtual/input/input2/event2'  (string)
    "Macintosh mouse button emulation" ? As far as i recall, mac mouse have only one button right ? Do you think this emulation has something to do with my problem ?
    . . . . . . . . . . . . . . . . . . . . . . . . . . .
    Do nothing unless you must, and when you must act -- hesitate.

  6. #16
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Single click act as double click

    Maybe, but how sure are you that is your wireless mouse? Shouldn't there be something that refers to wireless? This may be your notebook mouse. Do you have a synaptic pad or one of those eraser pointer things?

    Notice in the mouse .fdi you showed that the .fdi file is for usb devices. The first line picks up usb devices and the second uses a vendor id to focus on a specific device(s). Think of it as crawling out on a tree until you have specified one branch (device).

    The first line, udi, is unique device identifier. So maybe there are other sections with the same or similar udi with the wireless stuff or this isn't it.

  7. #17
    Join Date
    May 2006
    Beans
    44
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: Single click act as double click

    No synaptic pad, as my current problem concerned my desktop PC.
    Well i use a wireless notebook mouse with it, because i have small hands. This mouse has a small USB/Radio that connect it to the PC. I think it's kinda normal that it appears in USB devices, like this :
    [disconnect & reconnect the mouse] then dmesg :
    Code:
    [11819.436995] usb 1-1.4: USB disconnect, address 8
    [11820.676307] usb 1-1.4: new low speed USB device using ehci_hcd and address 9
    [11820.782312] usb 1-1.4: configuration #1 chosen from 1 choice
    [11820.843199] input:         USB Receiver as /devices/pci0000:00/0000:00:02.2/usb1/1-1/1-1.4/1-1.4:1.0/input/input9
    [11820.891975] generic-usb 0003:05AF:3062.0006: input,hiddev96,hidraw3: USB HID v1.10 Mouse [        USB Receiver] on usb-0000:00:02.2-1.4/input1
    . . . . . . . . . . . . . . . . . . . . . . . . . . .
    Do nothing unless you must, and when you must act -- hesitate.

  8. #18
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Single click act as double click

    OK, that makes sense. So then you want to find a vendor id like "0x046d" and see if a .fdi file uses it like the one you found. If it is different you could try adding it to one of the mouse .fdi subsections. Or if your mouse is handled by another .fdi see what's going on with that. There should be a HAL section relating to the usb receiver for the mouse, correct?

  9. #19
    Join Date
    May 2006
    Beans
    44
    Distro
    Xubuntu 12.10 Quantal Quetzal

    Re: Single click act as double click

    Correct, there is a hal section related to the usb receiver, like this :
    hal-device > /home/didli/Desktop/hal.txt :
    Code:
    0: udi = '/org/freedesktop/Hal/devices/usb_device_5af_3062_noserial_if0_logicaldev_input'
      info.capabilities = { 'input', 'input.keyboard', 'input.keypad', 'input.keys', 'button' } (string list)
      info.callouts.add = { 'debian-setup-keyboard' } (string list)
      input.xkb.rules = 'evdev'  (string)
      input.device = '/dev/input/event5'  (string)
      input.product = '        USB Receiver'  (string)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.2/usb1/1-1/1-1.4/1-1.4:1.0/input/input9/event5'  (string)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_5af_3062_noserial_if0'  (string)
      input.originating_device = '/org/freedesktop/Hal/devices/usb_device_5af_3062_noserial_if0'  (string)
      info.subsystem = 'input'  (string)
      info.product = '        USB Receiver'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_5af_3062_noserial_if0_logicaldev_input'  (string)
      info.addons.singleton = { 'hald-addon-input' } (string list)
      input.xkb.layout = 'fr'  (string)
      info.category = 'input'  (string)
      input.xkb.model = 'pc105'  (string)
      input.xkb.variant = 'oss'  (string)
      linux.device_file = '/dev/input/event5'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      linux.subsystem = 'input'  (string)
      input.x11_driver = 'evdev'  (string)
    
    1: udi = '/org/freedesktop/Hal/devices/usb_device_5af_3062_noserial_if1_logicaldev_input'
      info.capabilities = { 'input', 'input.keys', 'input.mouse', 'button', 'access_control' } (string list)
      access_control.file = '/dev/input/event6'  (string)
      access_control.type = 'mouse'  (string)
      info.callouts.add = { 'debian-setup-keyboard', 'hal-acl-tool --add-device' } (string list)
      info.callouts.remove = { 'hal-acl-tool --remove-device' } (string list)
      input.xkb.rules = 'evdev'  (string)
      input.device = '/dev/input/event6'  (string)
      input.product = '        USB Receiver'  (string)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.2/usb1/1-1/1-1.4/1-1.4:1.1/input/input10/event6'  (string)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_5af_3062_noserial_if1'  (string)
      input.originating_device = '/org/freedesktop/Hal/devices/usb_device_5af_3062_noserial_if1'  (string)
      info.subsystem = 'input'  (string)
      info.product = '        USB Receiver'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_5af_3062_noserial_if1_logicaldev_input'  (string)
      info.addons.singleton = { 'hald-addon-input' } (string list)
      input.xkb.layout = 'fr'  (string)
      info.category = 'input'  (string)
      input.xkb.model = 'pc105'  (string)
      input.xkb.variant = 'oss'  (string)
      linux.device_file = '/dev/input/event6'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      linux.subsystem = 'input'  (string)
      input.x11_driver = 'evdev'  (string)
    
    2: udi = '/org/freedesktop/Hal/devices/usb_device_5af_3062_noserial_if1'
      usb.device_class = 0  (0x0)  (int)
      usb.device_subclass = 0  (0x0)  (int)
      usb.device_protocol = 0  (0x0)  (int)
      usb.vendor_id = 1455  (0x5af)  (int)
      usb.product_id = 12386  (0x3062)  (int)
      usb.product = 'USB HID Interface'  (string)
      usb.device_revision_bcd = 1536  (0x600)  (int)
      usb.linux.device_number = 9  (0x9)  (int)
      usb.vendor = 'Jing-Mold Enterprise Co., Ltd'  (string)
      usb.num_ports = 0  (0x0)  (int)
      usb.version = 1.1  (double)
      usb.is_self_powered = false  (bool)
      usb.can_wake_up = true  (bool)
      info.subsystem = 'usb'  (string)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.2/usb1/1-1/1-1.4/1-1.4:1.1'  (string)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_5af_3062_noserial'  (string)
      usb.bus_number = 1  (0x1)  (int)
      usb.speed = 1.5  (double)
      usb.interface.class = 3  (0x3)  (int)
      info.linux.driver = 'usbhid'  (string)
      usb.interface.protocol = 2  (0x2)  (int)
      usb.interface.subclass = 1  (0x1)  (int)
      usb.interface.number = 1  (0x1)  (int)
      info.product = 'USB HID Interface'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_5af_3062_noserial_if1'  (string)
      usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.2/usb1/1-1/1-1.4/1-1.4:1.1'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      usb.num_configurations = 1  (0x1)  (int)
      linux.subsystem = 'usb'  (string)
    
    3: udi = '/org/freedesktop/Hal/devices/usb_device_5af_3062_noserial_if0'
      usb.device_class = 0  (0x0)  (int)
      usb.device_subclass = 0  (0x0)  (int)
      usb.device_protocol = 0  (0x0)  (int)
      usb.vendor_id = 1455  (0x5af)  (int)
      usb.product_id = 12386  (0x3062)  (int)
      usb.product = 'USB HID Interface'  (string)
      usb.device_revision_bcd = 1536  (0x600)  (int)
      usb.linux.device_number = 9  (0x9)  (int)
      usb.vendor = 'Jing-Mold Enterprise Co., Ltd'  (string)
      usb.num_ports = 0  (0x0)  (int)
      usb.version = 1.1  (double)
      usb.is_self_powered = false  (bool)
      usb.can_wake_up = true  (bool)
      info.subsystem = 'usb'  (string)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.2/usb1/1-1/1-1.4/1-1.4:1.0'  (string)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_5af_3062_noserial'  (string)
      usb.bus_number = 1  (0x1)  (int)
      usb.speed = 1.5  (double)
      usb.interface.class = 3  (0x3)  (int)
      info.linux.driver = 'usbhid'  (string)
      usb.interface.protocol = 1  (0x1)  (int)
      usb.interface.subclass = 1  (0x1)  (int)
      usb.interface.number = 0  (0x0)  (int)
      info.product = 'USB HID Interface'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_5af_3062_noserial_if0'  (string)
      usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.2/usb1/1-1/1-1.4/1-1.4:1.0'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      usb.num_configurations = 1  (0x1)  (int)
      linux.subsystem = 'usb'  (string)
    
    4: udi = '/org/freedesktop/Hal/devices/usb_device_5af_3062_noserial'
      linux.hotplug_type = 2  (0x2)  (int)
      linux.device_file = '/dev/bus/usb/001/009'  (string)
      usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.2/usb1/1-1/1-1.4'  (string)
      usb_device.num_configurations = 1  (0x1)  (int)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_5af_3062_noserial'  (string)
      usb_device.device_class = 0  (0x0)  (int)
      usb_device.device_subclass = 0  (0x0)  (int)
      usb_device.device_protocol = 0  (0x0)  (int)
      usb_device.vendor_id = 1455  (0x5af)  (int)
      usb_device.product_id = 12386  (0x3062)  (int)
      info.subsystem = 'usb_device'  (string)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:02.2/usb1/1-1/1-1.4'  (string)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_5e3_608_noserial'  (string)
      info.linux.driver = 'usb'  (string)
      usb_device.product = 'USB Receiver'  (string)
      usb_device.device_revision_bcd = 1536  (0x600)  (int)
      usb_device.vendor = 'Jing-Mold Enterprise Co., Ltd'  (string)
      info.product = 'USB Receiver'  (string)
      usb_device.linux.device_number = 9  (0x9)  (int)
      usb_device.version = 1.1  (double)
      usb_device.num_ports = 0  (0x0)  (int)
      usb_device.can_wake_up = true  (bool)
      info.vendor = 'Jing-Mold Enterprise Co., Ltd'  (string)
      usb_device.speed = 1.5  (double)
      usb_device.bus_number = 1  (0x1)  (int)
      usb_device.is_self_powered = false  (bool)
      linux.subsystem = 'usb'  (string)
    "0: udi" seems to be my keyboard, then "1: udi", "2:udi", "3: udi" and "4: udi" seem all related to my mouse.
    I'm currently searching for the .fdi file that should configure my mouse ...
    By the way Favux, thank you a lot for your kind help
    . . . . . . . . . . . . . . . . . . . . . . . . . . .
    Do nothing unless you must, and when you must act -- hesitate.

  10. #20
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Single click act as double click

    Hi didli,

    Alright, looking at the HAL sections the mouse and usb receiver are perceived as a pair, with the manufacturer being Jing-Mold Enterprise Co., Ltd. Does this sound right? It's being seen as an HID (human interface device). I'm guessing that means it's drivers are in the kernel. And evdev is taking control of the mouse/receiver. Have you checked mouse and keyboard in Preferences and made sure everything is configured the way you want? Especially Double-click Timeout in mouse. And that you don't accidentally have a mouse setting enabled in Preferences>Assistive Technologies?

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •