Re: [avrdude-dev] [bug #44218] linuxgpio not working with raspberryPi 2. Can't open gpioX/direction : Permission denied. Fixed by little delay

2015-02-14 Thread Richard Ryniker
Problem in Raspbian, discussed in:

  https://github.com/raspberrypi/linux/issues/553

Does not occur in Pidora.  Raspbian decided to extend the export
operation to user space but the implementation is ugly - the write to
/sys/class/gpio/export completes before the user-space logic modifies the
created files, which can disrupt use of those files.

Wait a bit can help, but is unsatisfactory because there is no reliable
definition of how long a bit must be to be effective.  The write to
/sys/class/gpio/export should block until the user-space operation is
complete.

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


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

2015-02-14 Thread anonymous
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


[avrdude-dev] [bug #44252] Build fails when no libusb is detected.

2015-02-14 Thread anonymous
URL:
  http://savannah.nongnu.org/bugs/?44252

 Summary: Build fails when no libusb is detected.
 Project: AVR Downloader/UploaDEr
Submitted by: None
Submitted on: Sa 14 Feb 2015 19:34:11 UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: None
  Status: None
 Privacy: Public
 Assigned to: None
 Originator Name: Georg Bisseling
Originator Email: s...@bisseling.de
 Open/Closed: Open
 Discussion Lock: Any

___

Details:

The build fails because of declarations for dfu_init and dfu_open in dfu.h
that differ from the implementation in dfu.c.

The reaon is quite obvious.

Today's sources. Build to version 6.1.






___

Reply to this item at:

  http://savannah.nongnu.org/bugs/?44252

___
  Nachricht gesendet von/durch Savannah
  http://savannah.nongnu.org/


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