neerolyte / select-docs

0 stars 0 forks source link

Update USB connecting docs for newer inverters #3

Open neerolyte opened 3 months ago

neerolyte commented 3 months ago

Newer inverters (~2024 models) are showing ID 04d8:000a Microchip Technology, Inc. CDC RS-232 Emulation Demo instead of the ID 0403:8508 Future Technology Devices International, Ltd reported by lsusb for most earlier SP Pro 2s.

This means the https://github.com/neerolyte/select-docs/blob/main/connecting/usb.md is innaccurate as it assumes you always have to load the FTDI drivers and convince them to use run for the altered vendor and product codes that Selectronic were previously using.

It appears the 04d8:000a loads up as a ttyUSB device on modern distros without issue, so the guide can probably just be adjusted to explain "if there's no new ttyUSB device, try this...".

neerolyte commented 3 months ago

usb-devices output:

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=02(commc) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=04d8 ProdID=000a Rev=01.00
S:  Manufacturer=Microchip Technology ABC.
S:  Product=SP PRO - Advanced Comms Board
S:  SerialNumber=SPPRO0_xxxxxx
C:  #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr=100mA
I:  If#=0x0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=01 Driver=cdc_acm
I:  If#=0x1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm

v.s

T:  Bus=01 Lev=02 Prnt=02 Port=02 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0403 ProdID=8508 Rev=06.00
S:  Manufacturer=Selectronic
S:  Product=Selectronic SP PRO
S:  SerialNumber=0_xxxxx
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#=0x0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=ftdi_sio
neerolyte commented 3 months ago

The difference may come down to whether the inverter has the upgrade described on https://www.selectronic.com.au/kits/managedbattery.html or is a 2i (and has it built in).