delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2013/01/30/04:05:00

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Wed, 30 Jan 2013 10:03:51 +0100
From: Jan Kasprzak <kas AT fi DOT muni DOT cz>
To: geda-user AT delorie DOT com
Subject: [geda-user] [patch] Pinnumbers in mosfet-with-diode-1.sym
Message-ID: <20130130090351.GE32216@fi.muni.cz>
MIME-Version: 1.0
User-Agent: Mutt/1.5.20 (2009-12-10)
X-Muni-Spam-TestIP: 147.251.48.3
X-Muni-Envelope-From: kas AT fi DOT muni DOT cz
X-Muni-Virus-Test: Clean
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (minas.ics.muni.cz [147.251.4.35]); Wed, 30 Jan 2013 10:03:52 +0100 (CET)
Reply-To: geda-user AT delorie DOT com

	Hello,

I use Fedora, and I am not sure whether the following issue should
be reported here or to Fedora bugzilla:

The file /usr/share/gEDA/sym/transistor/mosfet-with-diode-1.sym
from the geda-symbols-1.8.1-1.fc18.noarch package is broken
- the pinnumbers are in fact letters D, G, and S instead of numbers.
The symbol works in gschem, but after running gsch2pcb and opening the result
in pcb, the transistor footprint has no connections in the netlist.
Replacing the pinnumber letters with numbers fixes the problem.

Quick "grep -R pinnumber=[^0-9] /usr/share/gEDA/sym" reveals more files
with non-numeric pinnumbers. So either the symbols should be fixed,
or the gsch2pcb should be fixed to allow non-numeric pinnumbers.

Patch for mosfet-with-diode-1.sym attached (also pinseqs modified to
reflect the common pin numbering of most SOT-23 MOSFETs).

	Thanks,

-Yenya

--- /usr/share/gEDA/sym/transistor/mosfet-with-diode-1.sym	2012-11-13 16:08:29.000000000 +0100
+++ mosfet-with-diode-1.sym	2013-01-29 18:01:27.884176556 +0100
@@ -1,10 +1,10 @@
-v 20031231 1
+v 20121123 2
 P 600 1000 600 800 1 0 0
 {
 T 500 850 5 6 1 1 0 0 1
-pinnumber=D
+pinnumber=3
 T 500 850 5 6 0 0 0 0 1
-pinseq=1
+pinseq=3
 T 500 850 5 6 0 1 0 0 1 
 pinlabel=D
 T 500 850 5 6 0 1 0 0 1 
@@ -13,9 +13,9 @@
 P 600 200 600 0 1 0 1
 {
 T 500 50 5 6 1 1 0 0 1
-pinnumber=S
+pinnumber=2
 T 500 50 5 6 0 0 0 0 1
-pinseq=3
+pinseq=2
 T 500 50 5 6 0 1 0 0 1 
 pinlabel=S
 T 500 50 5 6 0 1 0 0 1 
@@ -28,9 +28,9 @@
 P 0 500 184 500 1 0 0
 {
 T 100 550 5 6 1 1 0 0 1
-pinnumber=G
+pinnumber=1
 T 100 550 5 6 0 0 0 0 1
-pinseq=2
+pinseq=1
 T 100 550 5 6 0 1 0 0 1 
 pinlabel=G
 T 100 550 5 6 0 1 0 0 1 

-- 
| Jan "Yenya" Kasprzak  <kas at {fi.muni.cz - work | yenya.net - private}> |
| New GPG 4096R/A45477D5 - see http://www.fi.muni.cz/~kas/pgp-rollover.txt |
| http://www.fi.muni.cz/~kas/    Journal: http://www.fi.muni.cz/~kas/blog/ |
Please don't top post and in particular don't attach entire digests to your
mail or we'll all soon be using bittorrent to read the list.     --Alan Cox

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019