I
I
Ivan Gumenyuk2014-06-06 21:14:01
linux
Ivan Gumenyuk, 2014-06-06 21:14:01

How to make Dazzle Kingsun KS-959 work as an IRDA receiver (lirc, xbmc)?

I bought USB-IRDA-dongles for as much as 20 rubles. Home server under Debian with XBMC. I have long wanted to screw the receiver and teach it to work with the remote control. There is a problem with the infrared receiver. It is not in the usual lirc list during the initial setup, but I found some modules in the kernel for it. Tell me where to dig? How to force lirc to use specific modules if they are present? Below is information on the dongle.
Output of lsusb -v

Bus 006 Device 002: ID 07d0:4959 Dazzle Kingsun KS-959 Infrared Adapter
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x07d0 Dazzle
  idProduct          0x4959 Kingsun KS-959 Infrared Adapter
  bcdDevice            1.00
  iManufacturer           1 
  iProduct                2 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               1

Find / |grep ks959 output
/sys/bus/usb/drivers/ks959-sir
/sys/bus/usb/drivers/ks959-sir/bind
/sys/bus/usb/drivers/ks959-sir/module
/sys/bus/usb/drivers/ks959-sir/new_id
/sys/bus/usb/drivers/ks959-sir/uevent
/sys/bus/usb/drivers/ks959-sir/unbind
/sys/bus/usb/drivers/ks959-sir/remove_id
find: `/sys/kernel/debug': Отказано в доступе
/sys/module/irda/holders/ks959_sir
/sys/module/ks959_sir
/sys/module/ks959_sir/srcversion
/sys/module/ks959_sir/notes
/sys/module/ks959_sir/notes/.note.gnu.build-id
/sys/module/ks959_sir/taint
/sys/module/ks959_sir/drivers
/sys/module/ks959_sir/drivers/usb:ks959-sir
/sys/module/ks959_sir/initstate
/sys/module/ks959_sir/coresize
/sys/module/ks959_sir/sections
/sys/module/ks959_sir/sections/.init.text
/sys/module/ks959_sir/sections/.smp_locks
/sys/module/ks959_sir/sections/.data
/sys/module/ks959_sir/sections/.text
/sys/module/ks959_sir/sections/__mcount_loc
/sys/module/ks959_sir/sections/.rodata
/sys/module/ks959_sir/sections/.strtab
/sys/module/ks959_sir/sections/.symtab
/sys/module/ks959_sir/sections/.gnu.linkonce.this_module
/sys/module/ks959_sir/sections/.rodata.str1.1
/sys/module/ks959_sir/sections/.rodata.str1.8
/sys/module/ks959_sir/sections/__bug_table
/sys/module/ks959_sir/sections/.note.gnu.build-id
/sys/module/ks959_sir/sections/.exit.text
/sys/module/ks959_sir/refcnt
/sys/module/ks959_sir/uevent
/sys/module/ks959_sir/holders
/sys/module/ks959_sir/initsize

[email protected]:/usr/share/lirc/remotes$ uname -a
Linux Kubuntu-desktop 3.13.0-29-generic #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question