Keenetic Linear » History » Version 2
laforge, 12/16/2022 12:09 PM
1 | 1 | laforge | h1. Keenetic Linear |
---|---|---|---|
2 | |||
3 | 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. |
||
4 | |||
5 | 2 | laforge | {{thumbnail(20221216_125606.jpg)}} |
6 | {{thumbnail(20221216_125617.jpg)}} |
||
7 | {{thumbnail(20221216_125629.jpg)}} |
||
8 | |||
9 | 1 | laforge | h2. Hardware |
10 | |||
11 | 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. |
||
12 | |||
13 | * Skyworks Si32287 attachment:Si3228x-datasheet.pdf |
||
14 | * EFM32HG310F64G attachment:efm32hg-datasheet.pdf |
||
15 | 2 | laforge | |
16 | {{thumbnail(20221216_130144.jpg)}} |
||
17 | {{thumbnail(20221216_130152.jpg)}} |
||
18 | {{thumbnail(20221216_130317.jpg)}} |
||
19 | 1 | laforge | |
20 | h2. USB interface |
||
21 | |||
22 | _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: |
||
23 | |||
24 | <pre> |
||
25 | Bus 001 Device 124: ID 31b7:0002 Keenetic, Ltd. USB CDC serial port device |
||
26 | Device Descriptor: |
||
27 | bLength 18 |
||
28 | bDescriptorType 1 |
||
29 | bcdUSB 2.00 |
||
30 | bDeviceClass 2 Communications |
||
31 | bDeviceSubClass 0 |
||
32 | bDeviceProtocol 0 |
||
33 | bMaxPacketSize0 64 |
||
34 | idVendor 0x31b7 |
||
35 | idProduct 0x0002 |
||
36 | bcdDevice 0.00 |
||
37 | iManufacturer 1 Keenetic, Ltd. |
||
38 | iProduct 2 USB CDC serial port device |
||
39 | iSerial 3 S2145NS000558 |
||
40 | bNumConfigurations 1 |
||
41 | Configuration Descriptor: |
||
42 | bLength 9 |
||
43 | bDescriptorType 2 |
||
44 | wTotalLength 0x0043 |
||
45 | bNumInterfaces 2 |
||
46 | bConfigurationValue 1 |
||
47 | iConfiguration 0 |
||
48 | bmAttributes 0xc0 |
||
49 | Self Powered |
||
50 | MaxPower 100mA |
||
51 | Interface Descriptor: |
||
52 | bLength 9 |
||
53 | bDescriptorType 4 |
||
54 | bInterfaceNumber 0 |
||
55 | bAlternateSetting 0 |
||
56 | bNumEndpoints 1 |
||
57 | bInterfaceClass 2 Communications |
||
58 | bInterfaceSubClass 2 Abstract (modem) |
||
59 | bInterfaceProtocol 0 |
||
60 | iInterface 0 |
||
61 | CDC Header: |
||
62 | bcdCDC 1.20 |
||
63 | CDC Call Management: |
||
64 | bmCapabilities 0x00 |
||
65 | bDataInterface 1 |
||
66 | CDC ACM: |
||
67 | bmCapabilities 0x02 |
||
68 | line coding and serial state |
||
69 | CDC Union: |
||
70 | bMasterInterface 0 |
||
71 | bSlaveInterface 1 |
||
72 | Endpoint Descriptor: |
||
73 | bLength 7 |
||
74 | bDescriptorType 5 |
||
75 | bEndpointAddress 0x82 EP 2 IN |
||
76 | bmAttributes 3 |
||
77 | Transfer Type Interrupt |
||
78 | Synch Type None |
||
79 | Usage Type Data |
||
80 | wMaxPacketSize 0x0040 1x 64 bytes |
||
81 | bInterval 255 |
||
82 | Interface Descriptor: |
||
83 | bLength 9 |
||
84 | bDescriptorType 4 |
||
85 | bInterfaceNumber 1 |
||
86 | bAlternateSetting 0 |
||
87 | bNumEndpoints 2 |
||
88 | bInterfaceClass 10 CDC Data |
||
89 | bInterfaceSubClass 0 |
||
90 | bInterfaceProtocol 0 |
||
91 | iInterface 0 |
||
92 | Endpoint Descriptor: |
||
93 | bLength 7 |
||
94 | bDescriptorType 5 |
||
95 | bEndpointAddress 0x81 EP 1 IN |
||
96 | bmAttributes 2 |
||
97 | Transfer Type Bulk |
||
98 | Synch Type None |
||
99 | Usage Type Data |
||
100 | wMaxPacketSize 0x0040 1x 64 bytes |
||
101 | bInterval 0 |
||
102 | Endpoint Descriptor: |
||
103 | bLength 7 |
||
104 | bDescriptorType 5 |
||
105 | bEndpointAddress 0x01 EP 1 OUT |
||
106 | bmAttributes 2 |
||
107 | Transfer Type Bulk |
||
108 | Synch Type None |
||
109 | Usage Type Data |
||
110 | wMaxPacketSize 0x0040 1x 64 bytes |
||
111 | bInterval 0 |
||
112 | Device Status: 0x0001 |
||
113 | Self Powered |
||
114 | </pre> |