From eb9862e25c406dd757b8267487bc78271434cb1a Mon Sep 17 00:00:00 2001
From: Krisjanis Rijnieks <krisjanis.rijnieks@gmail.com>
Date: Fri, 8 Apr 2022 16:33:02 +0300
Subject: [PATCH] Fix Conn_USB_A_Plug according to KLC

---
 fab.kicad_sym | 31 +++++++++++++++++--------------
 1 file changed, 17 insertions(+), 14 deletions(-)

diff --git a/fab.kicad_sym b/fab.kicad_sym
index 69f63eb..960d512 100644
--- a/fab.kicad_sym
+++ b/fab.kicad_sym
@@ -3136,11 +3136,11 @@
     )
   )
   (symbol "Conn_USB_A_Plug" (in_bom yes) (on_board yes)
-    (property "Reference" "P" (id 0) (at -6.35 10.16 0)
-      (effects (font (size 1.27 1.27)) (justify left bottom))
+    (property "Reference" "P" (id 0) (at -5.08 8.89 0)
+      (effects (font (size 1.27 1.27)) (justify left))
     )
-    (property "Value" "Conn_USB_A_Plug" (id 1) (at -6.35 7.62 0)
-      (effects (font (size 1.27 1.27)) (justify left bottom))
+    (property "Value" "Conn_USB_A_Plug" (id 1) (at 1.27 8.89 0)
+      (effects (font (size 1.27 1.27)) (justify left))
     )
     (property "Footprint" "fab:Conn_USB_A_Plug" (id 2) (at 0 0 0)
       (effects (font (size 1.27 1.27)) hide)
@@ -3154,46 +3154,49 @@
     (property "ki_description" "USB 2.0 type A Plug to be positioned on the edge of a PCB" (id 5) (at 0 0 0)
       (effects (font (size 1.27 1.27)) hide)
     )
+    (property "ki_fp_filters" "*USB*A*" (id 6) (at 0 0 0)
+      (effects (font (size 1.27 1.27)) hide)
+    )
     (symbol "Conn_USB_A_Plug_0_1"
-      (rectangle (start -6.35 6.35) (end 8.89 -6.35)
+      (rectangle (start -5.08 7.62) (end 5.08 -7.62)
         (stroke (width 0.254) (type default) (color 0 0 0 0))
         (fill (type background))
       )
-      (rectangle (start 1.27 -3.81) (end 7.62 -5.08)
+      (rectangle (start 1.27 -3.81) (end 5.08 -5.08)
         (stroke (width 0) (type default) (color 0 0 0 0))
         (fill (type none))
       )
-      (rectangle (start 1.27 -1.27) (end 5.08 -2.54)
+      (rectangle (start 1.27 -1.27) (end 4.445 -2.54)
         (stroke (width 0) (type default) (color 0 0 0 0))
         (fill (type none))
       )
-      (rectangle (start 1.27 2.54) (end 5.08 1.27)
+      (rectangle (start 1.27 2.54) (end 4.445 1.27)
         (stroke (width 0) (type default) (color 0 0 0 0))
         (fill (type none))
       )
-      (rectangle (start 1.27 5.08) (end 7.62 3.81)
+      (rectangle (start 1.27 5.08) (end 5.08 3.81)
         (stroke (width 0) (type default) (color 0 0 0 0))
         (fill (type none))
       )
     )
     (symbol "Conn_USB_A_Plug_1_1"
-      (pin power_out line (at -8.89 3.81 0) (length 2.54)
+      (pin power_in line (at 0 10.16 270) (length 2.54)
         (name "5V" (effects (font (size 1.27 1.27))))
         (number "1" (effects (font (size 1.27 1.27))))
       )
-      (pin bidirectional line (at -8.89 1.27 0) (length 2.54)
+      (pin bidirectional line (at -7.62 2.54 0) (length 2.54)
         (name "D-" (effects (font (size 1.27 1.27))))
         (number "2" (effects (font (size 1.27 1.27))))
       )
-      (pin bidirectional line (at -8.89 -1.27 0) (length 2.54)
+      (pin bidirectional line (at -7.62 -2.54 0) (length 2.54)
         (name "D+" (effects (font (size 1.27 1.27))))
         (number "3" (effects (font (size 1.27 1.27))))
       )
-      (pin power_out line (at -8.89 -3.81 0) (length 2.54)
+      (pin power_in line (at -2.54 -10.16 90) (length 2.54)
         (name "GND" (effects (font (size 1.27 1.27))))
         (number "4" (effects (font (size 1.27 1.27))))
       )
-      (pin passive line (at 0 -8.89 90) (length 2.54)
+      (pin passive line (at 0 -10.16 90) (length 2.54)
         (name "SHIELD" (effects (font (size 1.27 1.27))))
         (number "5" (effects (font (size 1.27 1.27))))
       )
-- 
GitLab