Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #274018

Re: battery tester

From Joe <joe@jretrading.com>
Newsgroups linux.debian.user
Subject Re: battery tester
Date 2024-10-24 23:00 +0200
Message-ID <JBd62-3YE2-13@gated-at.bofh.it> (permalink)
References <JzInD-33U6-5@gated-at.bofh.it> <JAKx3-3Hre-9@gated-at.bofh.it> <JAUZr-3NFO-1@gated-at.bofh.it> <JBbGV-3XVx-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 24 Oct 2024 15:21:24 -0400
"Roy J. Tellason, Sr." <roy@rtellason.com> 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 Oct 24 15:14:28 Workstation1 mtp-probe: checking bus 7,
> device 13:
> "/sys/devices/pci0000:00/0000:00:1a.7/usb7/7-1/7-1.4/7-1.4.4" Oct 24
> 15:14:28 Workstation1 mtp-probe: bus: 7, device: 13 was not an MTP
> device Oct 24 15:14:29 Workstation1 org.xfce.FileManager[1332]:
> thunar-volman: Unsupported USB device type "usb". Oct 24 15:14:29
> Workstation1 org.xfce.FileManager[1332]: thunar-volman: Unsupported
> USB device type "ch341".
> 
> I don't recognize that mtp stuff,  and don't know how thunar-volman
> gets into the picture...
> 

It's just seeing what software you have installed that is likely to want
to talk to the device, and it didn't find any. It's mostly looking for
USB drives. But you can see it has assigned ttyUSB0 to the device. See
my other post, but once you have the right serial parameters set by
stty, you can just cat /dev/ttyUSB0 to see if your gadget is sending
anything by itself. Or any such text will appear in the CuteCom window,
if you run that. Other serial monitors are available...

-- 
Joe

-- 
Joe

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

battery tester "Roy J. Tellason, Sr." <roy@rtellason.com> - 2024-10-20 20:00 +0200
  Re: battery tester David Christensen <dpchrist@holgerdanske.com> - 2024-10-21 03:10 +0200
  Re: battery tester Darac Marjal <lists-debian-user@bendel.debian.org> - 2024-10-21 13:50 +0200
    Re: battery tester "Roy J. Tellason, Sr." <roy@rtellason.com> - 2024-10-23 16:30 +0200
      Re: battery tester Max Nikulin <manikulin@gmail.com> - 2024-10-24 03:40 +0200
        Re: battery tester "Roy J. Tellason, Sr." <roy@rtellason.com> - 2024-10-24 21:30 +0200
          Re: battery tester <tomas@tuxteam.de> - 2024-10-24 21:30 +0200
            Re: battery tester "Roy J. Tellason, Sr." <roy@rtellason.com> - 2024-10-24 21:40 +0200
          Re: battery tester Jeffrey Walton <noloader@gmail.com> - 2024-10-24 22:10 +0200
          Re: battery tester Dan Ritter <dsr@randomstring.org> - 2024-10-24 22:30 +0200
            Re: battery tester Max Nikulin <manikulin@gmail.com> - 2024-10-25 03:30 +0200
          Re: battery tester Joe <joe@jretrading.com> - 2024-10-24 23:00 +0200
  Re: battery tester George at Clug <Clug@goproject.info> - 2024-10-22 08:50 +0200
    Re: battery tester "Roy J. Tellason, Sr." <roy@rtellason.com> - 2024-10-23 17:00 +0200
    Re: battery tester Jeffrey Walton <noloader@gmail.com> - 2024-10-23 17:20 +0200
      Re: battery tester <tomas@tuxteam.de> - 2024-10-23 20:20 +0200
      Re: battery tester Max Nikulin <manikulin@gmail.com> - 2024-10-24 04:10 +0200

csiph-web