Logitech USB wireless keyboard with trackpad on XO-1.75

Paul Fox pgf at laptop.org
Sat Sep 20 11:19:21 EDT 2014


tkkang at nurturingasia.com wrote:
 > Tried this first thing in the morning.  Disabling kdbshim and the
 > MakeyMakey activity does the trick on my XO 1.75!

thanks.  would you be in a position to test a fix for this, if i sent
you a new olpc-kbdshim binary to try?  i prepared a patch some time
ago for kbdshim, which causes it to (mostly) ignore external devices. 
but since i don't have makeymakey hardware, it never really got
tested.  i think the same patch may solve your problem.

but first, please try this:
    - disable kbdshim, as you have done previously.
    - run "sudo evtest".  this will show you a list of
	system input devices.
    - one of those devices should be your logitech device.  select
	it by number.
    - it will dump a list of supported events and properties, then
	it will loop, reporting individual events as they arrive from
	that device.  i'm only interested in the initial list of events
	and properties, so you can use ^C to kill evtest as soon as you'd
	like.
    - send me the resulting output.

paul

 > 
 > Thanks for the advice  from all! There is so much to learn :-)
 > 
 > Have a great weekend!
 > 
 > 
 > >-----Original Message-----
 > >From: Paul Fox [mailto:pgf at laptop.org]
 > >Sent: Saturday, September 20, 2014 12:52 AM
 > >To: tkkang at nurturingasia.com
 > >Cc: devel at lists.laptop.org
 > >Subject: Re: Logitech USB wireless keyboard with trackpad on XO-1.75
 > >
 > >have you tried disabling kbdshim, as suggested by james? use either:
 > > 	sudo systemctl stop olpc-kbdshim.service
 > >    or the MakeyMakey activity to do this.  kbdshim can interfere with
 > >    the operation of some integrated multi-device hardware. 
 > >
 > >paul
 > >
 > >tkkang at nurturingasia.com wrote:
 > > > Managed to get via yum install usbutils 
 > > > 
 > > > "sudo lsusb -v" command gives a long list:
 > > > 
 > > > For the Logitec k400r (wireless keyboard with trackpad) I get this output:
 > > > 
 > > > Bus 001 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)
 > > > >-----Original Message-----
 > > > >From: James Cameron [mailto:quozl at laptop.org]
 > > > >Sent: Friday, September 19, 2014 09:48 AM
 > > > >To: tkkang at nurturingasia.com
 > > > >Cc: 'T Gillett', devel at lists.laptop.org, pgf at laptop.org
 > > > >Subject: Logitech USB wireless keyboard with trackpad on XO-1.75
 > > > >
 > > > >This deserves a new thread, as it is not related to purchase of
 > > > >replacement keyboards.  So I'm changing subject of post and including
 > > > >your post below.
 > > > >
 > > > >On Fri, Sep 19, 2014 at 12:47:13AM +0000, tkkang at nurturingasia.com wrote:
 > > > >> I plug a logitech wireless trackpad with keyboard on to a
 > > > >> XO1.75. The keyboard is recognised but not the trackpad. No luck
 > > > >> with just a stand alone wireless mouse also.
 > > > >> 
 > > > >> Are there things I need to do to get wireless input access on the
 > > > >> XO?
 > > > >
 > > > >Yes.
 > > > >
 > > > >There are too many Logitech wireless trackpads with keyboard to be
 > > > >able to identify your particular device; could you please supply the
 > > > >model number, and the USB vendor and product identifiers shown by the
 > > > >"sudo lsusb -v" command.
 > > > >
 > > > >There are too many ways in which a device may present the USB HID
 > > > >(human interface device) features to the host computer; if you can
 > > > >provide the "sudo lsusb -v" command output then I can check that.
 > > > >
 > > > >You may need to "sudo yum install -y lsusb" to get the lsusb program
 > > > >installed.
 > > > >
 > > > >Moving on to speculation:
 > > > >
 > > > >Some devices are not intentionally supported by OLPC OS, for reasons
 > > > >of space.  It is possible to add support.
 > > > >
 > > > >Some devices are not sadly not supported by Linux.  This particular
 > > > >device is unlikely to be affected, since other references to it show
 > > > >support on other Linux distributions [1].
 > > > >
 > > > >Our ticket #12616 [2] seems likely to be the cause of your problem.
 > > > >Please check to see if any of the workarounds in that ticket fix it
 > > > >for you.  In particular, try stopping olpc-kbdshim process,
 > > > >
 > > > >	sudo systemctl stop olpc-kbdshim.service
 > > > >
 > > > >But this also disables keyboard and touchpad idle detection, rotate
 > > > >key, touchpad and arrow keys screen rotation support, grab scrolling
 > > > >key, volume keys, and brightness keys.
 > > > >
 > > > >You might also try the MakeyMakey activity on Sugar Labs [3], which
 > > > >uses the same workaround.
 > > > >
 > > > >+CC Paul Fox, for interest as olpc-kbdshim author.
 > > > >
 > > > >References:
 > > > >
 > > > >[1]  http://elinux.org/RPi_USB_Keyboards
 > > > >
 > > > >[2]  http://dev.laptop.org/ticket/12616
 > > > >
 > > > >[3]  http://wiki.sugarlabs.org/go/Activities/MakeyMakey
 > > > >
 > > > >-- 
 > > > >James Cameron
 > > > >http://quozl.linux.org.au/
 > > > >
 > > > 
 > > > 
 > > > _______________________________________________
 > > > Devel mailing list
 > > > Devel at lists.laptop.org
 > > > http://lists.laptop.org/listinfo/devel
 > >
 > >=---------------------
 > > paul fox, pgf at laptop.org
 > >
 > 

=---------------------
 paul fox, pgf at laptop.org




More information about the Devel mailing list