bugAVR Downloader/UploaDEr - Bugs: bug #44248, trunk version doesn't work with...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #44248: trunk version doesn't work with ch340g in linux

Submitted by:  None
Submitted on:  Sat 14 Feb 2015 04:56:30 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: neeo
Originator Email: -unavailable-Open/Closed: Open
Release: NoneProgrammer hardware: 
Device type: 

Mon 13 Jul 2015 09:20:42 AM UTC, comment #1:

This behaviour was introduced by patch #8380, in SVN revision 1351.

I've run into the same issue trying to use an STK500 with a Linux laptop, as none of my USB-serial converters support these ioctls either.

Jon Escombe <jescombe>
Sat 14 Feb 2015 04:56:30 PM UTC, original submission:

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.

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jescombe (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1