VMware Communities
jpreed
Contributor
Contributor

Workstation 6 + Linux + iPhone

Hey all,

I wasn't planning on getting an iPhone, but some peer pressure ensued and now I have one.

I've been trying to activate it for a couple days now using a Linux guest and XP SP2, but have had no success. The basic problem is that when I plug the device in, Windows chimes with its little "USB device connected" sound, but iTunes doesn't list the device in its device list. (I am therefore willing to chalk this up to a software problem inside the guest, but...)

I started with an XP SP 2 VM running under Workstation 5; had the same problems there (and in fact, got a warning about "slower than expected speeds," so I'm assuming that was the lack of USB 2.0 support in 5.x), so I installed WS 6, upgraded the virtual hardware, and tried again.

This time, when I first plug in the iPhone, Windows says "New Hardware Found: iPhone," and installs drivers. Again, I can plug/unplug the phone, and Windows beeps, but iTunes sees nothing.

Some relevant log files:

from vmware.log

Jul 01 15:58:15.176: vmx| USB: Found device [name:Apple\ iPhone vid:05ac pid:129

0 path:4/3 speed:high family:vendor,hid,imaging]

Jul 01 15:58:15.176: vmx| VMXVmdbLoadUsbDevices: New set of 1 USB devices

Other times I connected the phone, I've gotten this:

Jul 01 03:31:54.350: vmx| USB: Autoconnecting e004000405ac1290

Jul 01 03:31:54.351: vmx| USB: Found device [name:Apple\ iPhone vid:05ac pid:129

0 path:4/3 speed:high family:vendor,hid,imaging]

Jul 01 03:31:54.351: vmx| VMXVmdbLoadUsbDevices: New set of 1 USB devices

Jul 01 03:31:54.873: vmx| SOCKET 177 client closed connection

Jul 01 03:31:55.873: vmx| EHCI: setup data packet over run 8 0

Jul 01 03:31:55.884: vmx| EhciNewBulk: tdlengths = 18924, pipesize = 16392

Jul 01 03:31:55.886: vmx| EhciNewBulk: tdlengths = 18924, pipesize = 16392

Jul 01 03:31:55.888: vmx| EhciNewBulk: tdlengths = 18924, pipesize = 16392

Jul 01 03:31:55.889: vmx| EhciNewBulk: tdlengths = 18924, pipesize = 16392

Jul 01 03:31:55.891: vmx| EhciNewBulk: tdlengths = 18924, pipesize = 16392

Jul 01 03:31:55.892: vmx| EhciNewBulk: tdlengths = 18924, pipesize = 16392

...

Jul 01 03:31:59.346: vmx| EhciNewBulk: tdlengths = 18924, pipesize = 16392

Jul 01 03:31:59.348: vmx| EhciNewBulk: tdlengths = 18924, pipesize = 16392

Jul 01 03:31:59.349: vmx| EhciNewBulk: tdlengths = 18924, pipesize = 16392

Jul 01 03:31:59.351: vmx|

Jul 01 03:31:59.351: vmx| <<< Log Throttled >>

from dmesg:

usb 4-4: new high speed USB device using ehci_hcd and address 6

usb 4-4: configuration #1 chosen from 3 choices

usb 4-4: USB disconnect, address 6

A couple of questions:

When I did the upgrade from WS 5 -> 6, the VM saw the changes and wanted to reboot due to "new hardware." I'm wondering if because this copy of XP was installed on a VM that had no USB 2 support if something inside the VM is grabbing it as a USB 1 device and preventing iTunes from seeing it (or something similar).

Which is to ask: would re-installing Windows cleanly under Workstation 6 help this problem?

I'd really like to get this working under VMware, so I don't have to have a computer lying around \*just* for my phone. 😕

TIA,

preed

Message was edited by:

RDPetruska

Removed emoticon from subject line

Reply
0 Kudos
179 Replies
frobroj
Contributor
Contributor

Anyone tried OSX86 in VMW6? I am guessing that the guest OS aint gonna matter if VMW6 doesn't pass thru the USB properly...

Reply
0 Kudos
nate_sammons
Contributor
Contributor

Bump... still no answer on this?

Reply
0 Kudos
Harald_Rudell
Contributor
Contributor

vmware-server 1.0.4 build-56528 Host: Ubuntu 7.10 Guest: Windows XP, iTunes 7.4.2.4, iPhone 1.0.2

VMware usb does not work

Reply
0 Kudos
terlynn4
Contributor
Contributor

Over 3 months since iPhone's release... any word on a fix yet?

Sorry, it's still being worked on. I believe there's concern about breaking things for other USB devices...

Still no info on a beta version for those of us who don't care if all the other USB devices break? The iPhone would be my SOLE purpose for purchasing/using VMware, I don't need anything else to work. I also don't want to waste my time waiting around on a fix that's starting to look like it's never going to come. So if it's not going to happen in the near future, please let me know so I can recover all the hard drive space my expired trial version of VMware workstation is taking up.

Reply
0 Kudos
BigCat400
Contributor
Contributor

Have u tried vmware 6.0.1 build 55017. This version now works on my XP guest (Vista 64bit host). iTunes recognized the iPhone correctly.

Reply
0 Kudos
terlynn4
Contributor
Contributor

Have u tried vmware 6.0.1 build 55017. This version now works on my XP guest (Vista 64bit host). iTunes recognized the iPhone correctly.

I was not aware there was a new release, I will check that out now... thanks. (I guess I was sort of expecting a post here with a nice announcement

that everything was working perfectly... you know, with virtual fireworks and maybe a party hat....)

Reply
0 Kudos
admin
Immortal
Immortal

Whoops! I didn't notice that the iPhone fix went in. Yes, it should be working in Workstation 6.0.1. Smiley Happy

Reply
0 Kudos
terlynn4
Contributor
Contributor

Is there something special I should have to do for iTunes to detect my iPhone using the new version of VMware Workstation? It's still not seeing my iPhone when I connect it (just the camera wizard detects it, like before). I'm using WinXP Pro (guest) in SUSE Linux 10.2 (host) if that makes a difference.

Reply
0 Kudos
BigCat400
Contributor
Contributor

I did not do anything special. In my case, XP also detects it as camera (which is great too). I click on cancel if I do not want to import pictures, and then immediately iTunes detects it. I open iTunes manually before connecting the phone, not sure this makes a difference.

Also, I always make sure vmware is the active application before I connect the phone. I set it to full screen before connecting the phone. I think this makes vmware connect the device directly to the guest OS.

I also installed the latest version of iTunes from Apple.

My host is vista though. Good luck.

Reply
0 Kudos
terlynn4
Contributor
Contributor

Except the host machine, it sounds like everything is the same between what you did and what I did. I had the latest version of iTunes open as the active application in XP/VMware, which was fullscreen. I just tried a reboot of the VM also just in case some setting in the new version of iTunes didn't take effect... but no difference. It is telling me that my version of VMTools is out of date so I'm taking care of that now, not sure if it affects this or not.

Reply
0 Kudos
Lenbok2
Contributor
Contributor

I can also confirm that the iphone USB support is not working in workstation 6.0.1 build 55017, under a Fedora FC6 host, XP Pro guest.

Reply
0 Kudos
terlynn4
Contributor
Contributor

And I was hoping it was just something I was doing wrong.... 😐

Reply
0 Kudos
BigCat400
Contributor
Contributor

oh well, I guess they just fixed it for windows hosts...

Reply
0 Kudos
nate_sammons
Contributor
Contributor

This really sucks.... and idea when it'll be fixed for Linux hosts?

Reply
0 Kudos
admin
Immortal
Immortal

Hm, I don't think the fix is supposed to be Windows-specific. I'll ask around.

Reply
0 Kudos
admin
Immortal
Immortal

Yeah, there's unfortunately a known issue with Linux kernels prior to 2.6.16.

Reply
0 Kudos
terlynn4
Contributor
Contributor

Ok, that's understandable... but my kernel is 2.6.18, so that shouldn't apply, right? I can still try upgrading anyway... I think the latest is 2.6.22, so I can put that on my to-do list for this week.

Reply
0 Kudos
dkw
Contributor
Contributor

I'm running Fedora 7, kernel 2.6.22 and still can't see my iPhone in iTunes. Tried two completely different XP images.

Fedora pops up a window asking me if I want to import the pictures from the phone, and so does XP. But no sign of the phone in iTunes.

Reply
0 Kudos
kkass
Contributor
Contributor

I am running 2.6.20-16 on Ubuntu 7.04, and I am seeing the same issue!

Reply
0 Kudos
terlynn4
Contributor
Contributor

I just upgraded to the latest openSUSE 10.3 with kernel 2.6.22 on my secondary machine, and got the same result. If anyone finds a kernel and/or distribution that DOES work, please post... I'm not picky so long as it's Linux.

jameslin, any chance you can find out what kernel and distribution they tested on when they created the "fix"?

Reply
0 Kudos