Hello Stephan,

It's so good that you are trying to do things by yourself!

I understand you have written some code locally, which you are now
trying to make work. Would you be comfortable to share this as a
patch? This way people can look and perhaps give advice.

The instructions how to send a patch are here:
https://flashrom.org/dev_guide/development_guide.html

You can add in the commit title "WIP", "doesn't work yet", or
something like this. And post the link to the patch in this thread.
Thank you!

On Sun, Dec 8, 2024 at 12:14 AM S. <b...@uxdx.net> wrote:
>
> Next errormessage, now he likes the VID 5523:
>
> flashrom v1.5.0 on Linux 6.8.0-49-generic (x86_64)
> flashrom is free software, get the source code at https://flashrom.org
>
> Using default 2000kHz clock. Use 'spispeed' parameter to override.
> linux_spi_init: failed to set speed to 2000000Hz: Inappropriate ioctl
> for device
> Error: Programmer initialization failed.
>
> Stephan
>
>
> Am 07.12.24 um 13:58 schrieb S.:
> > Hello,
> > now I have tried it myself, the only difference I know between ch341a
> > and ch341b is PID:VID 1A86:5523 (instead of 1A86:5512). So I changed the
> > VID in ch341a_spi.c and flashrom_udev.rules. But unfortunately this does
> > not help, I get the error message “Couldn't open device 1a86:5512” when
> > starting flashrom, although in the source code PID:VID is now set to
> > 1a86:5523. Strange.
> > Stephan
> >
> > Am 25.10.24 um 15:36 schrieb S.:
> >> flashrom supports only programmers with ch341a, but many programmers
> >> sold now have ch341b onboard, pid:vid is then 1a86:5523
> >>
> >> tnx in advance
> >> Stephan
> >> _______________________________________________
> >> flashrom mailing list -- flashrom@flashrom.org
> >> To unsubscribe send an email to flashrom-le...@flashrom.org
> > _______________________________________________
> > flashrom mailing list -- flashrom@flashrom.org
> > To unsubscribe send an email to flashrom-le...@flashrom.org
> _______________________________________________
> flashrom mailing list -- flashrom@flashrom.org
> To unsubscribe send an email to flashrom-le...@flashrom.org



-- 
Anastasia.
_______________________________________________
flashrom mailing list -- flashrom@flashrom.org
To unsubscribe send an email to flashrom-le...@flashrom.org

Reply via email to