Project

General

Profile

Keenetic Linear » History » Revision 2

Revision 1 (laforge, 12/16/2022 12:06 PM) → Revision 2/3 (laforge, 12/16/2022 12:09 PM)

h1. Keenetic Linear 

 The _Keenetic Linear_ is a two-port FXS adapter with a USB interface.    It allows you to interface two analog telephones with a soft switch or VoIP device.    The vendor originally intends this device to be used with one of their own Router/CPE. 

 {{thumbnail(20221216_125606.jpg)}} 
 {{thumbnail(20221216_125617.jpg)}} 
 {{thumbnail(20221216_125629.jpg)}} 

 h2. Hardware 

 The hardware is based around the "Skyworks Si32287 Single-chip Dual Channel ProSLIC":https://www.skyworksinc.com/en/Products/Voice/Si3228x-Dual-Channel-ProSLIC/Si32287 attached to an "EFM32HG310F64G":https://www.silabs.com/mcu/32-bit-microcontrollers/efm32-happy-gecko/device.efm32hg310f64g-qfn32 (Cortex-M0+) microcontroller. 

 * Skyworks Si32287 attachment:Si3228x-datasheet.pdf 
 * EFM32HG310F64G attachment:efm32hg-datasheet.pdf 

 {{thumbnail(20221216_130144.jpg)}} 
 {{thumbnail(20221216_130152.jpg)}} 
 {{thumbnail(20221216_130317.jpg)}} 

 h2. USB interface 

 _of course_ the vendor couldn't bother to implement a standard USB-Audio interface or similar.    Instead, a custom CDC-ACM based interface is exposed by the device: 

 <pre> 
 Bus 001 Device 124: ID 31b7:0002 Keenetic, Ltd. USB CDC serial port device 
 Device Descriptor: 
   bLength                  18 
   bDescriptorType           1 
   bcdUSB                 2.00 
   bDeviceClass              2 Communications 
   bDeviceSubClass           0  
   bDeviceProtocol           0  
   bMaxPacketSize0          64 
   idVendor             0x31b7  
   idProduct            0x0002  
   bcdDevice              0.00 
   iManufacturer             1 Keenetic, Ltd. 
   iProduct                  2 USB CDC serial port device 
   iSerial                   3 S2145NS000558 
   bNumConfigurations        1 
   Configuration Descriptor: 
     bLength                   9 
     bDescriptorType           2 
     wTotalLength         0x0043 
     bNumInterfaces            2 
     bConfigurationValue       1 
     iConfiguration            0  
     bmAttributes           0xc0 
       Self Powered 
     MaxPower                100mA 
     Interface Descriptor: 
       bLength                   9 
       bDescriptorType           4 
       bInterfaceNumber          0 
       bAlternateSetting         0 
       bNumEndpoints             1 
       bInterfaceClass           2 Communications 
       bInterfaceSubClass        2 Abstract (modem) 
       bInterfaceProtocol        0  
       iInterface                0  
       CDC Header: 
         bcdCDC                 1.20 
       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       0x0040    1x 64 bytes 
         bInterval               255 
     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       0x81    EP 1 IN 
         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       0x01    EP 1 OUT 
         bmAttributes              2 
           Transfer Type              Bulk 
           Synch Type                 None 
           Usage Type                 Data 
         wMaxPacketSize       0x0040    1x 64 bytes 
         bInterval                 0 
 Device Status:       0x0001 
   Self Powered 
 </pre>
Add picture from clipboard (Maximum size: 48.8 MB)