[Arm-netbook] First push to EOMA-68 firmware :)

Luke Kenneth Casson Leighton lkcl at lkcl.net
Tue Jul 19 17:44:17 BST 2016


---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68


On Tue, Jul 19, 2016 at 11:30 AM, Albert ARIBAUD <albert.aribaud at free.fr> wrote:
> Hi all,
>
> Just did a quick "git push" to test that I can actually push onto the
> EOMA-68 EC firmware repo. Changes are trivial: on branch master,
> I just did some cleanup of main.c; more to come soon.

 awesome.  btw please don't remove things that are commented out, #if
0 them out instead - they're usually there for some sort of debug or
experimentation purposes.

 also: there is a chromebook using the STM32F072 with keyboard
controller firmware as well, it's quite hard to understand.

 one major thing that needs doing is to add a 2nd USB-HID "mouse"
endpoint, starting possible with the mouse usb-hid example which makes
the cursor move backwards and forwards.  i happen to have a
dual-keyboard-and-mouse logitech thing so the dual endpoint is
attached just so we don't lose track... i'll also add it here

 http://rhombus-tech.net/community_ideas/laptop_15in/pcb2/usbhid.txt


> Also, I created a new branch, "aaribaud/nucleo-f072rb", for stuff which
> allow/help developing the EC firmware on the NUCLEO dev board. That
> branch is intended to stay rebased on top of "master".
>
> Luke: right now I intend to keep on pushing onto master; but maybe you
> prefer that I push onto a dev branch (e.g. "aaribaud/master"), and from
> time to time you or I do a merge into master?

 naah, haven't got time to mess about with branches, unless it's a
really big rewrite that needs everyone to work *in* that branch.
-------------- next part --------------
Bus 001 Device 122: 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     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


More information about the arm-netbook mailing list