Using Logitech K400 wireless keyboard with Linux


Besides the camera, I also bought a very basic computer yesterday equipped with the Logitech K400 wireless keyboard. It will be placed at home beside the LCD TV and be used as a media player and for some light-weight computing tasks. Linux is my favorite OS but I’m not sure whether the Logitech K400 can be used. The Logitech website only specify it supports MS Windows. This post is to confirm that K400 does work with Debian and Ubuntu. It works out-of-the-box with no configurations required.

Advertisement

10 Responses to Using Logitech K400 wireless keyboard with Linux

  1. Pingback: Ride2Esc » Using Logitech K400 wireless keyboard with Linux

  2. Arnaud Diederen November 9, 2011 at 8:42 pm

    Dear Sir, I thank you for your informative post.
    On my way to buy one…

  3. Alex January 9, 2012 at 8:20 am

    ?? Mine doesn’t. lsusb returns the logitech unifying receiver, but no functionality beyond that. Am I missing something?

    Running xubuntu 11.10

    • Arnaud Diederen January 9, 2012 at 6:48 pm

      Alex,

      this is somewhat asking you to blow the dust (http://www.joelonsoftware.com/articles/customerservice.html), but .. did you set the small switch on the keyboard side to “on”?
      If so, please post the results of an lsusb; I’ll try and have a look this evening at home.

      A.

      • Alex January 10, 2012 at 11:31 am

        hah, yes, I did.

        Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
        Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
        Bus 001 Device 009: ID 0bc2:5031 Seagate RSS LLC
        Bus 002 Device 006: ID 046d:c52b Logitech, Inc. Unifying Receiver
        Bus 002 Device 007: ID 046d:c049 Logitech, Inc. G5 Laser Mouse
        Bus 002 Device 008: ID 046d:c316 Logitech, Inc. HID-Compliant Keyboard

      • Arnaud Diederen January 15, 2012 at 5:45 pm

        Alex,

        [sorry for the delay]
        [also, sorry for properly replying to _your_ message, but for whatever reason, it has no 'reply' button]

        Here’s my lsusb:
        —–
        Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
        Bus 003 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
        Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
        Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
        Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
        Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
        —–

        As you can see, we seem to have somewhat similar info on the wireless keyboard.
        (You have other logitech devices, though, and I hope they don’t .. interfere. Have you tried removing the other devices, just for testing purposes?)

        Otherwise, here’s the verbose version of lsusb for the k400:
        —–
        Bus 003 Device 002: 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
        iProduct 2
        iSerial 0
        bNumConfigurations 1
        Configuration Descriptor:
        bLength 9
        bDescriptorType 2
        wTotalLength 84
        bNumInterfaces 3
        bConfigurationValue 1
        iConfiguration 4
        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 0×81 EP 1 IN
        bmAttributes 3
        Transfer Type Interrupt
        Synch Type None
        Usage Type Data
        wMaxPacketSize 0×0008 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 0×82 EP 2 IN
        bmAttributes 3
        Transfer Type Interrupt
        Synch Type None
        Usage Type Data
        wMaxPacketSize 0×0008 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 0×83 EP 3 IN
        bmAttributes 3
        Transfer Type Interrupt
        Synch Type None
        Usage Type Data
        wMaxPacketSize 0×0020 1x 32 bytes
        bInterval 2
        can’t get device qualifier: Operation not permitted
        can’t get debug descriptor: Operation not permitted
        cannot read device status, Operation not permitted (1)
        aundro@ribbon:~
        —–

        If you have something similar, then there’s always the possibility that you were sold a defective unit, and your only option is obviously to return it.

  4. Vinícius January 14, 2012 at 2:14 am

    Thank you friend!

    I was thinking to buy one and this information was very important to me!

    I’ll put it in a ATOM mediacenter pc i use.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.