[Bug 865266] [NEW] [SRU] Ethernet library: read from Socket broken
Launchpad Bug Tracker
865266 at bugs.launchpad.net
Wed Oct 19 14:38:34 UTC 2011
You have been subscribed to a public bug by Scott Howard (showard314):
SRU proposal for Arduino in 11.10 (oneiric)
[Impact] When using the ethernet library and the version of gcc-avr in
oneiric, the ethernet shield (i.e. ethernet port on an arduino) doesn't
work. This is a very heavily used package in Ubuntu, and many of the
users have the ethernet shield
[Development fix] Fixed in Debian Experimental, requestsync for precise.
They use the same patch as posted here. Upstream has this bug report and
pull request, but hasn't applied it yet.
[Stable fix] See below debdiff
[Test case]: requires specific hardware, but just try compiling the
sample webserver for arduino and use it, it won't work. I (showard314)
don't have the ethernet shield, but this has been reported in the forums
for arduino and the proposed fix in PPA form has been confirmed by two
users below.
[Regression potential] Patch only affects ethernet library, and it
doesn't work now - so it can't get any worse.
original report below:
Using the Ubuntu version of arduino-core and avr-gcc makes it impossible
to get the example Arduino Webserver working.
Reading from the Socket returns garbled output.
The Arduino forum has found as solution, which works for me:
http://arduino.cc/forum/index.php/topic,68624.msg523739.html#msg523739
I've attached a patch for /usr/share/arduino/libraries/Ethernet/utility/w5100.h
---
ApportVersion: 1.23-0ubuntu2
Architecture: amd64
DistroRelease: Ubuntu 11.10
InstallationMedia: Kubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
Package: arduino 0022+dfsg-4
PackageArchitecture: all
ProcEnviron:
LANGUAGE=de_DE
LANG=de_DE.UTF-8
LC_MESSAGES=de_DE.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4
Tags: oneiric
Uname: Linux 3.0.0-12-generic x86_64
UpgradeStatus: Upgraded to oneiric on 2011-09-01 (31 days ago)
UserGroups: adm admin cdrom dialout fuse lpadmin plugdev sambashare
** Affects: arduino
Importance: Undecided
Status: New
** Affects: arduino (Ubuntu)
Importance: Medium
Status: Triaged
** Affects: arduino (Debian)
Importance: Unknown
Status: Confirmed
** Tags: apport-collected oneiric patch
--
[SRU] Ethernet library: read from Socket broken
https://bugs.launchpad.net/bugs/865266
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list