PATCH: Got the USB tethering of the iPhone 4S working

Bug #900802 reported by Till Kamppeter
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
ipheth (Ubuntu)
Fix Released
Undecided
ALEKSEY
Precise
Fix Released
Undecided
ALEKSEY
linux (Ubuntu)
Fix Released
Wishlist
ALEKSEY
Precise
Fix Released
Wishlist
ALEKSEY

Bug Description

A patch (attached) of the "ipheth" kernel module makes the iPhone 4S working as modem on USB. The patch simply adds the iPhone's identity (USB vendor ID). Then the module recognizes the new model and an ethX interface gets generated. In addition, the package ipheth (in Universe) needs to get updated to current GUT snapshot.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :
Changed in ipheth (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ipheth - 1.0+git20111206-0ubuntu1

---------------
ipheth (1.0+git20111206-0ubuntu1) precise; urgency=low

  * New upstream release
     - GIT snapshot from Dec 6, 2011 (LP: #900802).
  * debian/patches/modprobe-conf-fix.patch: Fixed path to pairing utility.
 -- Till Kamppeter <email address hidden> Tue, 06 Dec 2011 14:09:28 +0100

Changed in ipheth (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The patch is relative to the ipheth.c kernel module as it comes with current GIT snapshot of ipheth-utils and this is also the module which I have tested. If the one in the kernel is older, please replace it by the full module attached to this comment.

Please also report the changes to the kernel upstream.

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 900802

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Brad, I do not know whether these logs are needed in this special case as the fix is already attached to the bug report (I have tested it with the actual piece of hardware, the iPhone 4S) and the logs are usually intended to find out what is going wrong to find a way to fix the bug.

Changed in linux (Ubuntu):
status: Incomplete → New
Revision history for this message
Brad Figg (brad-figg) wrote :

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 900802

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Fix is already tested and attached, so no logs needed. Setting to "Confirmed" to stop the bot.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Patch updated for current precise kernel.

Changed in linux (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Additional note: After a hint from Debian package maintainer Paul McEnery I have found out that the ipheth-utils package is not actually needed on an Ubuntu desktop system. All iPhones up to the 4 should work out-of-the-box on Ubuntu Desktop system, for the 4S it is enough to patch the kernel as described in this bug report. After loading the rebuilt "ipheth" kernel module the USB tethering with the 4S works out-of-the-box, too. I have tested this now on an Oneiric box which has never seen the ipheth-utils package.

Phil. V (philip.v)
tags: added: bot-stop-nagging
Tim Gardner (timg-tpi)
Changed in linux (Ubuntu Precise):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (5.4 KiB)

This bug was fixed in the package linux - 3.2.0-17.26

---------------
linux (3.2.0-17.26) precise; urgency=low

  [ Andy Whitcroft ]

  * [Config] clean up the human consumable package descriptions
  * [Config] fix generic flavour description
  * [Config] clean up linux-tools package descriptions
    - LP: #593107
  * deviations -- note the source of the Hyper-V updates
  * SAUCE: ata_piix: defer to the Hyper-V drivers by default
    - LP: #929545

  [ Eugeni Dodonov ]

  * SAUCE: drm/i915: do not enable RC6p on Sandy Bridge

  [ Kees Cook ]

  * SAUCE: (drop after 3.3) security: create task_free security callback
  * SAUCE: (drop after 3.3) security: Yama LSM
  * SAUCE: (drop after 3.3) Yama: add PR_SET_PTRACER_ANY
  * SAUCE: Yama: add link restrictions
  * SAUCE: security: unconditionally chain to Yama LSM

  [ Leann Ogasawara ]

  * Drop ndiswrapper

  [ Robert Hooker ]

  * SAUCE: drm/i915: Enable RC6 by default on sandybridge.

  [ Tim Gardner ]

  * SAUCE: ipheth: Add iPhone 4S
    - LP: #900802
  * dropped hv_mouse
  * [Config] CONFIG_X86_NUMACHIP=y

  [ Upstream Kernel Changes ]

  * Staging: hv: vmbus: Support building the vmbus driver as part of the
    kernel
  * hv: Add Kconfig menu entry
  * Drivers: hv: Fix a memory leak
  * Drivers: hv: Make the vmbus driver unloadable
  * Drivers: hv: Get rid of an unnecessary check in hv.c
  * Staging: hv: mousevsc: Make boolean states boolean
  * Staging: hv: mousevsc: Inline the code for mousevsc_on_device_add()
  * Staging: hv: mousevsc: Inline the code for reportdesc_callback()
  * Staging: hv: mousevsc: Cleanup mousevsc_on_channel_callback()
  * Staging: hv: mousevsc: Add a new line to a debug string
  * Staging: hv: mousevsc: Get rid of unnecessary include files
  * Staging: hv: mousevsc: Address some style issues
  * Staging: hv: mousevsc: Add a check to prevent memory corruption
  * Staging: hv: mousevsc: Use the KBUILD_MODNAME macro
  * Staging: hv: storvsc: Use mempools to allocate struct
    storvsc_cmd_request
  * Staging: hv: storvsc: Cleanup error handling in the probe function
  * Staging: hv: storvsc: Fixup the error when processing SET_WINDOW
    command
  * Staging: hv: storvsc: Fix error handling storvsc_host_reset()
  * Staging: hv: storvsc: Use the accessor function shost_priv()
  * Staging: hv: storvsc: Use the unlocked version queuecommand
  * Staging: hv: storvsc: use the macro KBUILD_MODNAME
  * Staging: hv: storvsc: Get rid of an unnecessary forward declaration
  * Staging: hv: storvsc: Upgrade the vmstor protocol version
  * Staging: hv: storvsc: Support hot add of scsi disks
  * Staging: hv: storvsc: Support hot-removing of scsi devices
  * staging: hv: Use kmemdup rather than duplicating its implementation
  * staging: hv: move hv_netvsc out of staging area
  * Staging: hv: mousevsc: Properly add the hid device
  * Staging: hv: storvsc: Disable clustering
  * Staging: hv: storvsc: Cleanup storvsc_device_alloc()
  * Staging: hv: storvsc: Fix a bug in storvsc_command_completion()
  * Staging: hv: storvsc: Fix a bug in copy_from_bounce_buffer()
  * Staging: hv: storvsc: Implement per device memory pools
  * Staging: hv: remove hv_mouse driver as it's now in the hid ...

Read more...

Changed in linux (Ubuntu Precise):
status: Fix Committed → Fix Released
Revision history for this message
ibotty (ibotty) wrote :

fyi: patch is upstream. (note the author line. i guess there was very much additional effort for tim gardner involved):
 https://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=72ba009b8a159e995e40d3b4e5d7d265acead983

Revision history for this message
José Alburquerque (jaalburquerque) wrote :

Quick question: Will this fix make itself into Oneiric also?

Revision history for this message
Luis Henriques (henrix) wrote :

This bug is awaiting verification that the kernel for Oneiric in -proposed solves the problem ( 3.0.0-18.31). Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-oneiric' to 'verification-done-oneiric'.

If verification is not done by one week from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-oneiric
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

It works for me. Thank you very much for the SRU!

Marking as verified ...

tags: added: verification-done-oneiric
removed: verification-needed-oneiric
ALEKSEY (azarov)
Changed in ipheth (Ubuntu):
assignee: nobody → ALEKSEY (azarov)
Changed in ipheth (Ubuntu Precise):
assignee: nobody → ALEKSEY (azarov)
Changed in linux (Ubuntu):
assignee: nobody → ALEKSEY (azarov)
Changed in linux (Ubuntu Precise):
assignee: nobody → ALEKSEY (azarov)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.