Can't set up IR receiver (ir remote control)

Hello.

pc-remote.jpg


I'm trying to set up such an IR remote control (PC remote) with a complete usb IR receiver, it doesn't work, please help.
I bought it back in 2012-2013, it works well on windows and linux. On ubuntu it works immediately without settings, with live-cd.
On freebsd does not want to work.

Tried on:
FreeBSD 13.2-STABLE-HBSD
FreeBSD 13.1-RELEASE

/etc/rc.conf
Code:
dbus_enable="YES"
hald_enable="YES"


Defined as a mouse - /dev/ums0

[840] ugen0.2: <vendor 0x073a product 0x2230> at usbus0
[840] ums0 on uhub0
[840] ums0: <vendor 0x073a product 0x2230, class 0/0, rev 1.10/2.00, addr 2> on usbus0
[840] ums0: 3 buttons and [XYZ] coordinates ID=2



# moused -p /dev/ums0 -i all
/dev/ums0 usb sysmouse generic


There are no signals from the mouse:
# moused -f -d -p /dev/ums0 -t auto
moused: proto params: f8 80 00 00 8 00 ff
moused: port: /dev/ums0 interface: usb type: sysmouse model: generic


I tried this, it doesn't work either
# irrecord -d /dev/ums0 ./config.conf

irrecord - application for recording

Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)

irrecord: could not get hardware features
irrecord: this device driver does not support the LIRC ioctl interface
irrecord: major number of /dev/ums0 is 1
irrecord: make sure /dev/ums0 is a LIRC device and use a current version of the driver
irrecord: could not init hardware (lircd running ? --> close it, check permissions)


Please tell me how to make this IR receiver ("mouse") work?
Thank you.
 
Now the usb receiver is defined like this:
Code:
[12559] ugen0.9: <vendor 0x073a product 0x2230> at usbus0
[12559] usbhid6 on uhub2
[12559] usbhid6: <vendor 0x073a product 0x2230, class 0/0, rev 1.10/2.00, addr 9> on usbus0
[12559] hidbus6: <HID bus> on usbhid6
[12559] hkbd2: <vendor 0x073a product 0x2230 Keyboard> on hidbus6
[12559] kbd4 at hkbd2
[12559] hms1: <vendor 0x073a product 0x2230 Mouse> on hidbus6
[12559] hms1: 3 buttons and [XYW] coordinates ID=2
[12559] hcons1: <vendor 0x073a product 0x2230 Consumer Control> on hidbus6
[12559] hkbd3: <vendor 0x073a product 0x2230 Keyboard> on hidbus6
[12559] kbd5 at hkbd3
[12559] hkbd4: <vendor 0x073a product 0x2230 Keyboard> on hidbus6
[12559] kbd6 at hkbd4
[12559] hsctrl1: <vendor 0x073a product 0x2230 System Control> on hidbus6

Code:
# usbconfig -d 0.9 dump_all_desc
ugen0.9: <vendor 0x073a product 0x2230> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (100mA)

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0110
  bDeviceClass = 0x0000  <Probed by interface class>
  bDeviceSubClass = 0x0000
  bDeviceProtocol = 0x0000
  bMaxPacketSize0 = 0x0008
  idVendor = 0x073a
  idProduct = 0x2230
  bcdDevice = 0x0200
  iManufacturer = 0x0000  <no string>
  iProduct = 0x0000  <no string>
  iSerialNumber = 0x0000  <no string>
  bNumConfigurations = 0x0001

 Configuration index 0

    bLength = 0x0009
    bDescriptorType = 0x0002
    wTotalLength = 0x0029
    bNumInterfaces = 0x0001
    bConfigurationValue = 0x0001
    iConfiguration = 0x0000  <no string>
    bmAttributes = 0x00a0
    bMaxPower = 0x0032

    Interface 0
      bLength = 0x0009
      bDescriptorType = 0x0004
      bInterfaceNumber = 0x0000
      bAlternateSetting = 0x0000
      bNumEndpoints = 0x0001
      bInterfaceClass = 0x0003  <HID device>
      bInterfaceSubClass = 0x0001
      bInterfaceProtocol = 0x0002
      iInterface = 0x0000  <no string>

      Additional Descriptor

      bLength = 0x09
      bDescriptorType = 0x21
      bDescriptorSubType = 0x10
       RAW dump:
       0x00 | 0x09, 0x21, 0x10, 0x01, 0x00, 0x01, 0x22, 0xef,
       0x08 | 0x00

     Endpoint 0
        bLength = 0x0007
        bDescriptorType = 0x0005
        bEndpointAddress = 0x0081  <IN>
        bmAttributes = 0x0003  <INTERRUPT>
        wMaxPacketSize = 0x0008
        bInterval = 0x000a
        bRefresh = 0x0000
        bSynchAddress = 0x0000

     Endpoint 1
        bLength = 0x0007
        bDescriptorType = 0x0005
        bEndpointAddress = 0x0001  <OUT>
        bmAttributes = 0x0003  <INTERRUPT>
        wMaxPacketSize = 0x0008
        bInterval = 0x000a
        bRefresh = 0x0000
        bSynchAddress = 0x0000

Perhaps now it will be possible to start the work of the IR remote control with the receiver?
Help me please.
 
Back
Top