URL:
  <http://savannah.nongnu.org/bugs/?44248>

                 Summary: trunk version doesn't work with ch340g in linux
                 Project: AVR Downloader/UploaDEr
            Submitted by: None
            Submitted on: Sat 14 Feb 2015 04:56:30 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: neeo
        Originator Email: n...@xl.wp.pl
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

There're lots of arduino clones using ch340g usb converter - which uses ch341
linux driver. However latest (newer than 6.0.1) avrdude doesn't get serial
settings from these devices (with error "Cannot get serial port settings").

The function ser_setspeed tries to get settings using ioctl(fd->ifd,
TIOCGSERIAL, &ss) - unfortnatelly the ch341 (nor the ch34x from the chipset
vendor) doesn't implement any ioctls.

avrdude 6.0.1 (and older) doesn't do all the ifdef magic for different OS, and
it works as expected.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?44248>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
avrdude-dev mailing list
avrdude-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to