avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] [bug #44248] trunk version doesn't work with ch340g in lin


From: anonymous
Subject: [avrdude-dev] [bug #44248] trunk version doesn't work with ch340g in linux
Date: Sat, 14 Feb 2015 16:56:32 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36 OPR/27.0.1689.69

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: address@hidden
             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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]