bugAVR Downloader/UploaDEr - Bugs: bug #46483, version 6.2. ser_open(): can't set...

 
 

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

bug #46483: version 6.2. ser_open(): can't set attributes for device

Submitted by:  None
Submitted on:  Fri 20 Nov 2015 03:52:02 PM UTC  
Votes:  100  
 
Category: NoneSeverity: 3 - Normal
Priority: 7 - HighItem Group: None
Status: ConfirmedPrivacy: Public
Assigned to: NoneOriginator Name: Yuri
Originator Email: -unavailable-Open/Closed: Open
Release: NoneProgrammer hardware: 
Device type: 

(Jump to the original submission Jump to the original submission)

Wed 09 Dec 2015 10:46:47 PM UTC, comment #7:

The offending change has been backed out in r1365.

Joerg Wunsch <joerg_wunsch>
Project Administrator
Mon 07 Dec 2015 09:02:27 PM UTC, comment #6:

This bug breaks Linux Arch package as well. It is a severe problem and commit that introduced it should be reverted.

Anatol <arzedos>
Fri 04 Dec 2015 07:09:33 AM UTC, comment #5:

The problem came in with patch #8380. I'm adding the author
of that patch to the Cc list.

Joerg Wunsch <joerg_wunsch>
Project Administrator
Mon 30 Nov 2015 07:59:49 PM UTC, comment #4:

Sigh, I wish the driver API were the same regardless of which
baudrate the driver supports.

But OK, thanks for the hint, I got the idea.

Joerg Wunsch <joerg_wunsch>
Project Administrator
Tue 24 Nov 2015 04:00:14 AM UTC, comment #3:

I had the same problem but with a stk500 connected with a PL2303 USB-serial cable.

I assume not all of these USB-serial devices support custom baud rates. So I wrote a patch (avrdude-r1531-custom-baudrate.patch) which sets the baud rate the standard way for standard baud rates. For custom baud rates it uses the linux way on linux and errors on other OS.

Martin Furter <sabor>
Fri 20 Nov 2015 09:40:06 PM UTC, comment #2:

strace archive added on behalf of Yuri.

(file #35509)

Joerg Wunsch <joerg_wunsch>
Project Administrator
Fri 20 Nov 2015 04:46:53 PM UTC, comment #1:

As I don't have an Arduino around, please re-run the command
prepending

strace -o trace.txt avrdude …

and attach the file trace.txt to this bug report.

Preferrably, also do it for version 6.1, for comparison.

Joerg Wunsch <joerg_wunsch>
Project Administrator
Fri 20 Nov 2015 03:52:02 PM UTC, original submission:

After upgrading avrdude from 6.1 to 6.2. I have been unable to program my avr.

avrdude output:

Using Port : /dev/ttyACM0
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: Cannot set serial port speed to 115200. ioctl returned -1
avrdude: ser_open(): can't set attributes for device "/dev/ttyACM0": Operation
not permitted

User is added to the dialout group. Downgrading the package makes it work
again. Furthermore other software has no problem setting attributes of the
serial device.

Installed from the Debian repository.

debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=805642

Anonymous

 

Attached Files
file #35534:  avrdude-r1531-custom-baudrate.patch added by sabor (4KiB - text/x-patch - Patch)
file #35509:  strace.tar.gz added by joerg_wunsch (54KiB - application/gzip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ildar
  • -unavailable- added by arzedos (Posted a comment)
  • -unavailable- added by zabereer (Voted in favor of this item)
  • -unavailable- added by joerg_wunsch (Author of patch #8380)
  • -unavailable- added by sabor (Updated the item)
  • -unavailable- added by joerg_wunsch (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 100 encouragements so far.

    Only logged-in users can vote.

     

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

     

     

    Follow 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 17 Sep 2016 07:45:25 PM UTCildarCarbon-Copy-=>Added ildar
    Sun 06 Dec 2015 08:35:52 PM UTCzabereerCarbon-Copy-=>Added zabereer
    Fri 04 Dec 2015 07:09:33 AM UTCjoerg_wunschStatusNone=>Confirmed
      Carbon-Copy-=>Added oni
    Fri 04 Dec 2015 07:07:41 AM UTCjoerg_wunschPriority5 - Normal=>7 - High
    Mon 30 Nov 2015 07:59:49 PM UTCjoerg_wunschStatusNeed Info=>None
    Tue 24 Nov 2015 03:48:33 AM UTCsaborAttached File-=>Added avrdude-r1531-custom-baudrate.patch, #35534
    Fri 20 Nov 2015 09:40:06 PM UTCjoerg_wunschAttached File-=>Added strace.tar.gz, #35509
    Fri 20 Nov 2015 04:46:53 PM UTCjoerg_wunschStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1