Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917397 - dev-embedded/avrdude: please add a parport USE flag
Summary: dev-embedded/avrdude: please add a parport USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Embedded Gentoo Team
URL: https://forums.gentoo.org/viewtopic-t...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-15 23:10 UTC by klammerj
Modified: 2024-01-02 18:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description klammerj 2023-11-15 23:10:10 UTC
dev-embedded/avrdude-7.0: does not support dumb parport prommers

Reproducible: Always

Steps to Reproduce:
1. I was trying to upload a program to an attiny 24 using a dumb parport dongle
(stk200). avrdude erred out claiming not to know the dongle. There was no entry in the config file,
so I added one, taken from a known-good debian install.
Quote:	

programmer
id = "stk200";
desc = "STK200";
type = "par";
connection_type = parallel;
buff = 4, 5;
sck = 6;
mosi = 7;
reset = 9;
miso = 10;
;

2. the command was:
avrdude -i 10 -p t24 -P /dev/parport0 -c stk200    -U flash:w:main.hex -U eeprom:w:main.eep

Actual Results:  
It said:	

avrdude: parallel port access not available in this configuration

avrdude: Fatal error: Programmer does not support open()avrdude: opening programmer "stk200" on port "/dev/parport0" failed



equery u sez:

Quote:	

U I
- - ftdi : Enable support for USB FTDI chips via dev-embedded/libftdi
+ + readline : Enable support for libreadline, a GNU line-editing library that
almost everyone wants


I would like a parport useflag, please.

Thank you

Somebody suggested the following workaround:

Temporarily, set MYCMAKEARGS="-DHAVE_PARPORT=ON" in a package.env entry for dev-embedded/avrdude to get what you need in the meantime.
Comment 1 Larry the Git Cow gentoo-dev 2024-01-02 18:59:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da58f729dd160b30b506d5fc0f2251e9d5d3d9a4

commit da58f729dd160b30b506d5fc0f2251e9d5d3d9a4
Author:     Matthew Smith <matthew@gentoo.org>
AuthorDate: 2024-01-02 18:51:09 +0000
Commit:     Matthew Smith <matthew@gentoo.org>
CommitDate: 2024-01-02 18:58:48 +0000

    dev-embedded/avrdude: add 7.2
    
    Add a subslot for libavrdude, and build in parallel port support.
    
    Closes: https://bugs.gentoo.org/879013
    Closes: https://bugs.gentoo.org/917397
    Signed-off-by: Matthew Smith <matthew@gentoo.org>

 dev-embedded/avrdude/Manifest           |  1 +
 dev-embedded/avrdude/avrdude-7.2.ebuild | 64 +++++++++++++++++++++++++++++++++
 dev-embedded/avrdude/metadata.xml       |  3 ++
 3 files changed, 68 insertions(+)