[Bug 865266] Re: [SRU] Ethernet library: read from Socket broken

Scott Howard showard314 at ubuntu.com
Wed Oct 19 14:43:07 UTC 2011


Thanks for your comments!

I just filed for this to get fixed in an update to Oneiric. This will be
updated to oneiric-proposed and will require your verification. The
package won't be able to be updated in oneiric unless we get two users
confirming that the fix works. Since I don't have an ethernet shield,
we'll be relying on your feedback to get this fixed for everyone else.

Thank you again!

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/865266

Title:
  [SRU] Ethernet library: read from Socket broken

Status in Arduino - open-source electronics prototyping platform:
  New
Status in “arduino” package in Ubuntu:
  Triaged
Status in “arduino” package in Debian:
  Confirmed

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/arduino/+bug/865266/+subscriptions



More information about the Ubuntu-sponsors mailing list