6 Replies Latest reply on Dec 15, 2016 3:43 PM by Intel Corporation

    Using Ostro OS + Serial CDC

    Taimoor

      Hello Everybody,

       

      In my quest to using Intel's Wireless AC-3160 wifi PCIe card with the Galileo, I compiled the swupd version of Ostro OS and everything seemed to work well except for the Serial port.

       

      My USB CDC device does not appear as an ACMx file interface (/dev/ttyACM0 for example). Has anyone had similar problems with kernel 4.4?

       

      I've put some commands I ran, that might help the context at the end of this post. The device in question is the STMicroelectronics STM32F407. I can confirm that reverting to the standard image for the Galileo fixes this issue.

       

      Thank you...

       

      # lsusb
      Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      Bus 002 Device 003: ID 8087:07dc Intel Corp. 
      Bus 002 Device 002: ID 0483:5740 STMicroelectronics STM32F407
      Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
      

       

       

      # lsusb -d 0483:5740 -v    # for STM32F407
      
      Bus 002 Device 002: ID 0483:5740 STMicroelectronics STM32F407
      Device Descriptor:
        bLength                18
        bDescriptorType         1
        bcdUSB               2.00
        bDeviceClass            0 
        bDeviceSubClass         0 
        bDeviceProtocol         0 
        bMaxPacketSize0        64
        idVendor           0x0483 STMicroelectronics
        idProduct          0x5740 STM32F407
        bcdDevice            2.00
        iManufacturer           1 STMicroelectronics
        iProduct                2 STM32 Virtual ComPort
        iSerial                 3 00000000001A
        bNumConfigurations      1
        Configuration Descriptor:
          bLength                 9
          bDescriptorType         2
          wTotalLength           67
          bNumInterfaces          2
          bConfigurationValue     1
          iConfiguration          0 
          bmAttributes         0x80
            (Bus Powered)
          MaxPower              250mA
          Interface Descriptor:
            bLength                 9
            bDescriptorType         4
            bInterfaceNumber        0
            bAlternateSetting       0
            bNumEndpoints           1
            bInterfaceClass         2 Communications
            bInterfaceSubClass      2 Abstract (modem)
            bInterfaceProtocol      1 AT-commands (v.25ter)
            iInterface              0 
            CDC Header:
              bcdCDC               1.10
            CDC Call Management:
              bmCapabilities       0x00
              bDataInterface          1
            CDC ACM:
              bmCapabilities       0x02
                line coding and serial state
            CDC Union:
              bMasterInterface        0
              bSlaveInterface         1 
            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              16
          Interface Descriptor:
            bLength                 9
            bDescriptorType         4
            bInterfaceNumber        1
            bAlternateSetting       0
            bNumEndpoints           2
            bInterfaceClass        10 CDC Data
            bInterfaceSubClass      0 
            bInterfaceProtocol      0 
            iInterface              0 
            Endpoint Descriptor:
              bLength                 7
              bDescriptorType         5
              bEndpointAddress     0x01  EP 1 OUT
              bmAttributes            2
                Transfer Type            Bulk
                Synch Type               None
                Usage Type               Data
              wMaxPacketSize     0x0040  1x 64 bytes
              bInterval               0
            Endpoint Descriptor:
              bLength                 7
              bDescriptorType         5
              bEndpointAddress     0x81  EP 1 IN
              bmAttributes            2
                Transfer Type            Bulk
                Synch Type               None
                Usage Type               Data
              wMaxPacketSize     0x0040  1x 64 bytes
              bInterval               0
      can't get device qualifier: Resource temporarily unavailable
      can't get debug descriptor: Resource temporarily unavailable
      Device Status:     0x0000
        (Bus Powered)
      

       

       

       

      # cat /dev/tty
      tty     tty11   tty15   tty19   tty22   tty26   tty3    tty33   tty37   tty40   tty44   tty48   tty51   tty55   tty59   tty62   tty9    ttyS2   
      tty0    tty12   tty16   tty2    tty23   tty27   tty30   tty34   tty38   tty41   tty45   tty49   tty52   tty56   tty6    tty63   ttyGS0  ttyS3   
      tty1    tty13   tty17   tty20   tty24   tty28   tty31   tty35   tty39   tty42   tty46   tty5    tty53   tty57   tty60   tty7    ttyS0   
      tty10   tty14   tty18   tty21   tty25   tty29   tty32   tty36   tty4    tty43   tty47   tty50   tty54   tty58   tty61   tty8    ttyS1