Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Hardware & Laptops
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Hardware & Laptops
Problems with hardware & laptops not being detected or supported during or after install.

 
 
Thread Tools Display Modes
Old July 1st, 2007   #1
milli
First Cup of Ubuntu
 
milli's Avatar
 
Join Date: Oct 2005
Beans: 11
iPhone USB pass-through to VMware broken?

Help? Hints?

Ok, I've been Googling for a couple days now, chasing down any possible lead and I've come up short.

Setup: Thinkpad T60p laptop, Ubuntu Feisty (7.04), kernel 2.6.20-16-generic (latest). VMware workstation 6.0.0 build-45731installed with Window XP SP2 guest. (obstensibly to run Quicken and QuickBooks, but now also to run iTunes...)

Problem: iPhone cannot connect via USB 2.0 to Windows XP and be recognized, hence, can't sync, activate, etc..

Sypmtoms:

The ehci_hcd driver seems to pick up on the iPhone okay, and HAL does recognize it as a camera device (and thus causes a popup asking what to do with it). I didn't want HAL to do that so I told HAL to ignore the device (created /etc/hal/fdi/preprobe/10-iphone.fdi in which I put instructions to "info.ignore" the device). Good on that front.

Jul 1 17:28:42 host kernel: [150548.956000] usb 5-2: new high speed USB device using ehci_hcd and address 24
Jul 1 17:28:42 host kernel: [150549.088000] usb 5-2: configuration #1 chosen from 3 choices

When I go into VMware to connect it to Windows, by selecting VM->Removable Devices->USB Devices->Apple iPhone, which should enable it, it does a quick connect and disconnect in the VM...

Jul 01 17:26:27.405: vmx| USB: Connecting device 0xe005001605ac1290
Jul 01 17:26:27.405: vmx| USB: Found device [name:Genesys\ Logic\ USB\ Reader vid:05e3 pid:0710 path:5/3 speed:high family:storage]
Jul 01 17:26:27.405: vmx| USB: Found device [name:SGS\ Thomson\ Biometric\ Coprocessor vid:0483 pid:2016 path:4/1 speed:full family:vendor]
Jul 01 17:26:27.405: vmx| USB: Found device [name:Apple\ iPhone vid:05ac pid:1290 path:5/4 speed:high family:vendor,hid,imaging autoclean:1]
Jul 01 17:26:27.405: vmx| USBG: CONNREQ: Dequeued head request after 0 ms for [name:Apple\ iPhone vid:05ac pid:1290 path:5/4 speed:high family:vendor,hid,imaging autoclean:1]
Jul 01 17:26:27.466: vmx| USBGL: Connect failed for e005001605ac1290
Jul 01 17:26:27.715: vmx| USB: Autoconnecting e005001705ac1290
Jul 01 17:26:27.715: vmx| USBGL: Connect failed for e005001705ac1290
Jul 01 17:26:27.715: vmx| USBGL: Autoconnect failed for e005001705ac1290

There were some hints on the VMware forums and elsewhere that this is caused by the USB driver in the kernel, some posts referencing problems with the 2.6.21 kernel on other distros, and that going back to 2.6.20 fixed it. Well, that's what I'm running of course and I have the problem attributed to 2.6.21... perhaps some of the kernel git commits from 2.6.21 have been applied to 2.6.20-16-generic in Ubuntu and re-introduce the problem?

I'll keep looking, but could use some help / hints / more clues...
milli is offline  
Old July 1st, 2007   #2
fheinsen
Just Give Me the Beans!
 
Join Date: Jan 2005
Location: NYC
Beans: 54
Re: iPhone USB pass-through to VMware broken?

Similar problem here. Running XP SP2 under vmware player 2.0. Win XP actually *does* recognize the iPhone -- but then it never shows up on iTunes.

Any help would be appreciated of course.
__________________
Ubuntu Linux user
Since November 2004
fheinsen is offline  
Old July 3rd, 2007   #3
jtatum
First Cup of Ubuntu
 
Join Date: Apr 2006
Beans: 3
Re: iPhone USB pass-through to VMware broken?

Running VMware server on my laptop which is running Dapper. Kernel version is 2.6.17 and the guest is XP Pro SP2. Same problems as above - the device shows in the guest OS but does not appear in iTunes. It looks good in the log:

Jul 03 13:40:51: vmx| USB: Found device [name:Apple\ Inc.\ iPhone vid:05ac pid:1
290 path:5/4]
Jul 03 13:40:51: vmx| USB: Autoconnecting device "Apple Inc. iPhone" matching pa
ttern [path:5/4 autoclean:1]
Jul 03 13:40:51: vmx| USB: Connecting device 0xe005000505ac1290

Edit: Looks like an issue that VMware is already working on...
http://www.vmware.com/community/thre...ssageID=686593

Last edited by jtatum; July 3rd, 2007 at 01:54 PM..
jtatum is offline  
Old July 3rd, 2007   #4
fheinsen
Just Give Me the Beans!
 
Join Date: Jan 2005
Location: NYC
Beans: 54
Re: iPhone USB pass-through to VMware broken?

Quote:
Originally Posted by jtatum View Post
Looks like an issue that VMware is already working on...
http://www.vmware.com/community/thre...ssageID=686593
Jtatum - thanks, this is helpful -- it means we will need to wait for the VMware patch. In the meantime, I was able to get the phone activated by creating a new hard drive partition, installing and booting Win XP in it, and then running the new version of iTunes. (Like many others in these forums, I have a handful of unused CDs of Win XP from past PC purchases.) I hope this is helpful to others seeking to activate their iPhones.
__________________
Ubuntu Linux user
Since November 2004
fheinsen is offline  
Old July 11th, 2007   #5
gadgetgirl
5 Cups of Ubuntu
 
Join Date: Apr 2006
Beans: 15
Ubuntu 7.04 Feisty Fawn
Re: iPhone USB pass-through to VMware broken?

Quote:
Originally Posted by milli View Post
The ehci_hcd driver seems to pick up on the iPhone okay, and HAL does recognize it as a camera device (and thus causes a popup asking what to do with it). I didn't want HAL to do that so I told HAL to ignore the device (created /etc/hal/fdi/preprobe/10-iphone.fdi in which I put instructions to "info.ignore" the device). Good on that front.
Could someone post the fdi to ignore the iPhone in HAL here? I plugged in my iPhone today to charge it on my ubuntu laptop, and it's freaking out. The iPhone goes into charge mode, the photo import dialog comes up in gnome, and the iPhone drops out of charge mode. I'm hoping that configuring HAL to ignore it will fix this.

Edit:
I think the fdi to handle it is:
Code:
<?xml version="1.0" encoding="UTF-8"?>

<deviceinfo version="0.2">
  <device>
    <match key="info.product" string="iPhone">
      <merge key="info.ignore" type="bool">true</merge>
    </match>
  </device>
</deviceinfo>
However, that didn't fix anything for me. I'll make a new post for my question.
__________________
ThinkPad T43p | Pentium M 760 (2.0GHz) | ATI X300 64MB PCIe | 1.5GB PC4200
PowerEdge 400SC | Pentium 4 (2.8GHz) Intel 875P | ATI Rage XL 8MB PCI | 512MB PC2700

Last edited by gadgetgirl; July 11th, 2007 at 04:45 PM..
gadgetgirl is offline  
Old July 12th, 2007   #6
milli
First Cup of Ubuntu
 
milli's Avatar
 
Join Date: Oct 2005
Beans: 11
Re: iPhone USB pass-through to VMware broken?

Here's mine...

/etc/hal/fdi/preprobe/10-iphone.fdi:

Code:
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->

<deviceinfo version="0.2">
  <device> 
    <match key="usb.vendor_id" int="1452">
      <match key="usb.product_id" int="4752">
        <merge key="info.ignore" type="bool">true</merge>
      </match>
    </match>
  </device>
</deviceinfo>
Don't forget to "/etc/init.d/dbus restart", which will restart HAL so this change is picked up.
milli is offline  
Old July 26th, 2007   #7
haldor64
First Cup of Ubuntu
 
Join Date: Jul 2007
Beans: 1
Re: iPhone USB pass-through to VMware broken?

Same here (T60p, Feisty, VMware Server...)

But it looks like its not an VMware issue, try lsusb.
As soon as you do lsusb, the iPhone goes into charging mode.
Then after a second or two comes back to normal, but you don't see it with lsusb...
The Windows XP VMware guest was able to connect the iPhone USB port when I did a
$ while true; do lsusb; sleep 1; done
first.

But then XP just recognized a "Apple Mobile Device USB Driver".

Then I stopped the Apple Mobile Device service (just run services.msc), and the Found New Hardware Wizard popped up, wants to install a driver for iPhone.

When I want to install the driver automatically, says cant find it.
Under C:/Program files/common Files/Apple/Mobile Device Support/Drivers
there is only a driver for the USB part.

Starting the Apple Mobile Device service again freezes... I have to disconnect the iPhone to recover.

Any ideas, could this be a workaround?

Or is patching the USB kernel modules the only way?
haldor64 is offline  
Old September 5th, 2007   #8
niclane
First Cup of Ubuntu
 
Join Date: Apr 2007
Beans: 5
Re: iPhone USB pass-through to VMware broken?

Hey anyone find a solution to this????

Nic
niclane is offline  
Old September 19th, 2007   #9
Xlorep DarkHelm
First Cup of Ubuntu
 
Join Date: Nov 2006
Beans: 10
Re: iPhone USB pass-through to VMware broken?

I also am quite interested. It definitely appears to be a problem with the kernel driver from what I can tell. My iPhone won't charge for more than a half second then immediately drops out from charging mode. There are times it appears to connect, disconnect, connect, etc. multiple times in a series over a few seconds, usually if I try to do anything with the phone, like see pictures on it. This does not appear to be a problem exclusive to vmware or virtualbox or any other virtualization software, but rather something wrong in the module that os used by the Kernel itself.

This is frustrating, because I have to currently borrow my roommate's computer to sync my iPhone, since I do not have a Windows partition on my system, nor want one.

Last edited by Xlorep DarkHelm; September 19th, 2007 at 08:26 PM..
Xlorep DarkHelm is offline  
Old October 3rd, 2007   #10
wireless
A Carafe of Ubuntu
 
wireless's Avatar
 
Join Date: Sep 2005
Location: Israel
Beans: 125
Ubuntu Karmic Koala (testing)
Re: iPhone USB pass-through to VMware broken?

Hey All.
Any progress with this issue?
running gutsy beta, thinkpad x60, and VW 6.0.1 and having the same issue exactly.
__________________
Thinkpad X60
3rd shot of UbuntuCohol !
wireless is offline  
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:42 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry