[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: battery tester



On Thursday 24 October 2024 03:26:06 pm tomas@tuxteam.de wrote:
> On Thu, Oct 24, 2024 at 03:21:24PM -0400, Roy J. Tellason, Sr. wrote:
> > On Wednesday 23 October 2024 09:38:04 pm Max Nikulin wrote:
> > > On 23/10/2024 21:25, Roy J. Tellason, Sr. wrote:
> > > > Connecting the device with a USB cable I see it wake up,  at which point
> > > > there's a menu on its screen.
> > > 
> > > Start "journalctl -f" as root before connecting the device. Logs may 
> > > contain some hints how to communicate with it. Perhaps "udevadm monitor" 
> > > with some options may provide more low level info.
> > 
> > I did find some info in one of the log files:
> > 
> > Oct 24 15:14:28 Workstation1 kernel: [1915052.140032] usb 7-1.4.4: new full-speed USB device number 13 using ehci-pci
> > Oct 24 15:14:28 Workstation1 kernel: [1915052.249009] usb 7-1.4.4: New USB device found, idVendor=1a86, idProduct=7523
> > Oct 24 15:14:28 Workstation1 kernel: [1915052.249012] usb 7-1.4.4: New USB device strings: Mfr=0, Product=2, SerialNumber=0
> > Oct 24 15:14:28 Workstation1 kernel: [1915052.249014] usb 7-1.4.4: Product: USB Serial
> > Oct 24 15:14:28 Workstation1 kernel: [1915052.249308] ch341 7-1.4.4:1.0: ch341-uart converter detected
> > Oct 24 15:14:28 Workstation1 kernel: [1915052.251232] usb 7-1.4.4: ch341-uart converter now attached to ttyUSB0
>                                                                                                           ^^^^^^^
> 
> There it is. Now you can try "cat /dev/ttyUSB0" and wiggle your
> tester. Perhaps it just dumps measurements out the serial?

Tried that,  and when I plug the device in and it lights up,  I select the print option.  Then it displays "print wait" on the screen and after a few seconds goes back to the menu.  Nothing comes through on the terminal.  Perhaps a baud rate mismatch?  I'll have to fiddle with it some more...
 
> (More involved tests might offer better success chances, of course :)
> 
> Cheers



-- 
Member of the toughest, meanest, deadliest, most unrelenting -- and
ablest -- form of life in this section of space,  a critter that can
be killed but can't be tamed.  --Robert A. Heinlein, "The Puppet Masters"
-
Information is more dangerous than cannon to a society ruled by lies. --James 
M Dakin


Reply to: