[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Logitech unified wireless



On Wed 2013-10-16 (13:04), Dan Ritter wrote:
> > Ran into this today too (with the logitech mk520 keyboard/mouse),
> > seems like you need to unpair/pair the devices on each reboot?
> 
> No, once programmed the pairing ought to continue until
> reprogrammed. Keyboards paired this way should be usable at BIOS
> boot time, assuming your BIOS can cope with USB HID (almost
> all can).

I could use the keyboard/mouse in the BIOS from the start fine.
I do need to redo the pairing on each boot in the OS though.

If anyone's interested:

# uname -a
Linux cow 3.10-3-amd64 #1 SMP Debian 3.10.11-1 (2013-09-10) x86_64 GNU/Linux

# lsmod | grep logitech
hid_logitech_dj        13238  0 
hid                    81894  5 hid_generic,usbhid,hid_logitech_dj

re-pairing:

Oct 16 14:39:26 cow kernel: [    2.006318] usb 3-5: Manufacturer: Logitech
Oct 16 14:39:26 cow kernel: [    6.846603] logitech-djreceiver 0003:046D:C52B.0004: hiddev0,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-5/input2
Oct 16 14:40:02 cow kernel: [   54.497184] logitech-djreceiver 0003:046D:C52B.0004: logi_dj_recv_destroy_djhid_device: can't destroy a NULL device
Oct 16 14:40:10 cow kernel: [   62.040497] logitech-djreceiver 0003:046D:C52B.0004: logi_dj_recv_destroy_djhid_device: can't destroy a NULL device
Oct 16 14:40:20 cow kernel: [   72.159565] input: Logitech Unifying Device. Wireless PID:2011 as /devices/pci0000:00/0000:00:14.0/usb3/3-5/3-5:1.2/0003:046D:C52B.0004/input/input13
Oct 16 14:40:20 cow kernel: [   72.159926] logitech-djdevice 0003:046D:C52B.0005: input,hidraw2: USB HID v1.11 Keyboard [Logitech Unifying Device. Wireless PID:2011] on usb-0000:00:14.0-5:1
Oct 16 14:40:28 cow kernel: [   80.174418] input: Logitech Unifying Device. Wireless PID:1024 as /devices/pci0000:00/0000:00:14.0/usb3/3-5/3-5:1.2/0003:046D:C52B.0004/input/input14
Oct 16 14:40:28 cow kernel: [   80.174985] logitech-djdevice 0003:046D:C52B.0006: input,hidraw3: USB HID v1.11 Mouse [Logitech Unifying Device. Wireless PID:1024] on usb-0000:00:14.0-5:2

# solaar-cli show
Unifying Receiver [/dev/hidraw1:A3E79BAD] with 2 devices
1: K520 [K520:5086F8BB] 
2: M310 [M310:2A2AC894] 


lsusb -v:

Bus 003 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x046d Logitech, Inc.
  idProduct          0xc52b Unifying Receiver
  bcdDevice           12.01
  iManufacturer           1 Logitech
  iProduct                2 USB Receiver
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           84
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          4 RQR12.01_B0019
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower               98mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      59
         Report Descriptors: 
           ** UNAVAILABLE **
      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               8
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     148
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               2
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      98
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval               2
Device Status:     0x0000
  (Bus Powered)


Reply to: