Saturday, November 17, 2018

Dell Latitude e7470 plugged in not charging

My work laptop began not recognizing its charger cable. I tried a bunch of alternative chargers and mostly it didn't recognize any of them although interestingly there was one it would charge from for a while before it stopped charging from that one. I had some fear that perhaps the laptop was damaging each charger I tried it with, but I have been too impatient to systematically rule that out. Somewhat disorganized testing seems to have shown that the chargers are okay. A whole lot of research has revealed that the charger identification is done through the comically tiny center pin of the charger plug, and interestingly the charge power delivered through contacts the inside and outside of the outer ring. I learned that the communication on the center wire is a protocol called "one wire" which seems like a particularly sketchy system. It talks to a memory chip of all things in the charger, and this chip is called "The Dallas Chip".

Here is the final evolution of my Google searches for this issue. This one produces the best links: https://www.google.com/search?q=dell+latitude+e7470+plugged+in+not+charging

Here's the basic debugging chain presented as a funny video: https://www.youtube.com/watch?v=XjB48jGjUVg

The debugging chain offered some hope in that the problem could be in the plug in the laptop, or the cable between the plug and the motherboard. So I got a cable and installed it but sadly this didn't fix the issue.

Here is the cable on Amazon: https://www.amazon.com/Eathtek-Replacement-Latitude-E7270-DC30100VI00/dp/B07HK61LDW/

I accidently lost a lot of my research trail when my browser crashed, but here are a few more links:

This is the mother of all google hits for this problem. It describes the cause of the problem and actually shows a person debugging the issue finding the Dallas Chip in a charger. It also has a link for stand-alone external battery chargers for Dell batteries, which is pretty much my only hope since the problem seems to be on the motherboard rather than the charger so I have to find a way to add charge to the battery for the moments between when I enter and exit the laptop from hibernation mode:
https://www.laptop-junction.com/toast/content/inside-dell-ac-power-adapter-mystery-revealed



PCMANFM deleting bookmarks

I accidently hit the eject symbol for the MicroSD card on a file browser in Raspbian. To my surprise, the system continued to function, contrary to what I'd read elsewhere. I think that what happened was not an ejection of the OS but it deleted a link which opens the browser to the OS top level. After some frantic searches, I was reminded that this browser is called PCMANFM and learned that the links in the side panel are "bookmarks". The following article provide enough info for me to manually reestablish the bookmark. It seems like the browser app remembers changes to the list of bookmarks even through restarts. Here is the article that helped me get a handle on what was going on: https://www.raspberrypi.org/forums/viewtopic.php?t=107216

Heater Power Supplies

Looking for a 60V 5A power supply, here are some of the options that fell out of Google. Of course the TDK-Lamda would be perfect but it has a long lead time, and the Keysight equivalent is too expensive. What was left was lots of links to the antique Agilent 6646 and some BK supplies. The BK supplies are cheap because they are switching supplies. You wouldn't think that this would make a difference for pissing away electricity through a heater, but my boss was too scared to get something that wasn't a linear power supply.

Here's the old Agilent:

BK makes some nice single-output benchtop switching supplies: Here's the super cheap one, model number 1685B: https://www.amazon.com/Precision-1685B-Switching-Bench-Supplies/dp/B00B03VNTS/ref=asc_df_B00B03VNTS/

Here is the next higher level BK. It doesn't seem all that much different from the cheap one though. Model number 1902: https://www.amazon.com/Switching-Supplies-NIST-Traceable-Calibration-Certificate/dp/B072QLD3Z8/ref=sr_1_6

Here's a nice Keysight bench top supply that is capable of 50V and almost enough amps: https://www.keysight.com/en/pd-836423-pn-E3634A/200w-power-supply-25v-7a-or-50v-4a?cc=US&lc=eng

We used to have a lot of old Sorensen supplies around, but apparently they are quite antique because there are a lot of newer replacement models out now.

Here's a benchtop dual output model that's pretty impressive, the Sorensen XPF60-20 .https://www.testequity.com/products/24089/





Favorite 'Hamilton' links



The Wikipedia page for Aaron Burr: https://en.wikipedia.org/wiki/Aaron_Burr

The Wikipedia page for The Battle Of Yorktown: https://en.wikipedia.org/wiki/Siege_of_Yorktown

The Wikipedia page for Rochambeau: https://en.wikipedia.org/wiki/Jean-Baptiste_Donatien_de_Vimeur,_comte_de_Rochambeau

The ultimate lyrics explainer page: http://mentalfloss.com/article/69731/22-hamilton-lyrics-explained

This is the incredible truth about being a parent of a 'Hamilkid'. Favorite line: "The impulse to rap as quickly as Daveed Diggs will lead to some god-awful rapping that every parent of a Hamilkid must endure." https://esme.com/single-mom-lifestyles/kids-stuff/10-ways-to-survive-your-kids-hamilton-obsession


Thursday, November 15, 2018

PCB mount HD-78 connector

PCB mount connector
https://www.digikey.com/product-detail/en/conec/163A17519X/626-1894-ND/3838176

Its Datasheet:
https://media.digikey.com/pdf/Data%20Sheets/Conec%20PDFs/163A17519X.pdf

Plain HD78 shell, has links to its pins so I can order them separately:
https://www.digikey.com/product-detail/en/te-connectivity-aerospace-defense-and-marine/204509-1/1122-1183-ND/299474

Cool datasheet for Hammond 1553B boxes:
https://media.digikey.com/pdf/Data%20Sheets/Hammond%20PDFs/1553%20Color%20Series.pdf

Monday, November 12, 2018

Using SCP under Putty-CAC with PIV

Our Linux host is now PIV login only, so I have to use PuTTY-CAC to access it. The default procedure that I was handed was to also install WinSCP and use that with Pageant selected as a session handler once PuTTY-CAC was set up, but I didn't have an option to install WinSCP. Starting a PuTTY-CAC session with PIV causes Pageant to be started in the background. Theoretically I should be able to use that Pagent session to run pscp.exe but it didn't work the way that I expected.

Here's how to run and install PuTTY-CAC as required by our security policy: https://piv.idmanagement.gov/engineering/ssh/


Here's one of many identical readouts of the pscp man page. Pscp can normally just be run from a CMD window. Way down at the bottom of thie man page it has suggestions for linking up pscp with Pageant. Pscp didn't automatically authenticate using Pageant as advertised, and the -agent argument seemed to have no effect. The one which worked was using a saved PuTTY session name in place of the host. The example was confusing because it showed a download from a remote host, which I hadn't realized was a thing, but just substituting the session name for the upload host name worked just fine. ftp://ftp.fu-berlin.de/pc/network/putty/putty-0.56/htmldoc/Chapter5.html
Also here: http://www.straightrunning.com/puttymanual/Chapter5.html



Here's what my command line looked like with all the paths to things hard coded:
"C:\Program Files\PuTTY\pscp.exe" -r directory host-piv:/home/user

Sunday, November 11, 2018

MicroUSB panel mount socket

I didn't want a PCB mount MicroUSB socket, I wanted something that I could mount to a panel and wire to in order to pick off the power lines. So far I have only found one option, a circular hemetic mount which isn't necessarily so bad looking. It comes in PCB pin options but also with a solder pad option.

Here it is at DigiKey: https://www.digikey.com/product-detail/en/conxall-switchcraft/DCP-USBCB-SC/SC2114-ND/5213112


Lots of ones like these at DigiKey which are PCB mount: https://www.digikey.com/products/en?keywords=USB%20micro%20USB%202.0%20Receptacle%20Connector%20Panel%20Mount%2C%20Through%20Hole%20


Here it is at Mouser: https://www.mouser.com/ProductDetail/Conxall-Switchcraft/DCP-USBCB-SC?qs=WOhmfB76lAZDzcHiw27Ogg%3D%3D


Here is the Conxall datasheet: http://www.switchcraft.com/Documents/npb_c716_sealed_micro_usb_connectors.pdf


Here it is at Newark: https://www.newark.com/switchcraft-conxall/dcp-usbcb-sc/micro-usb-2-0-type-ab-rcpt-panel/dp/14AC6615


Here is Sager's own page on the product line: https://www.sager.com/new-products/harsh-environment-connectivity-solutions/


Here's the kind of crap that comes up from a Google search: https://www.google.com/search?q=panel+mount+micro+usb+feed+through&oq=panel+mount+micro+usb+feed+through


TDK Lambda heater power supplies

Used almost exclusively by Mario, the TDK lambda supplies are cheaper than the Keysight equivalents, but they don't build one until you place an order:

Here is Genesys's store top page. Scroll down to see links for the 750W full and half rack units. I love the half rack units and would have gone for one of them if we hadn't been in such a hurry. https://www.genesysdcstore.com/


Here's TDK's site. It looks strangely out of date. However clicking any button from this page takes you to the Genesys store top page. https://www.us.tdk-lambda.com/hp/product_html/genesys1u.htmhttps://www.us.tdk-lambda.com/hp/product_html/genesys1u.htm


For reference, here is the equivalent Keysight supply. It is humorously duplicative. https://www.keysight.com/en/pd-839913-pn-N5747A/dc-system-power-supply-60v-125a-750w?cc=US&lc=eng