<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forums.obdev.at/app.php/feed/topic/8441" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2013-05-23T11:40:08+02:00</updated>

	<author><name><![CDATA[Objective Development Forums]]></name></author>
	<id>https://forums.obdev.at/app.php/feed/topic/8441</id>

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2013-05-23T11:40:08+02:00</updated>

		<published>2013-05-23T11:40:08+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8441&amp;p=25310#p25310</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8441&amp;p=25310#p25310"/>
		<title type="html"><![CDATA[Re: V-USB device connected through VMWare Workstation]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8441&amp;p=25310#p25310"><![CDATA[
And how does it work with USBaspLoader. Since it uses just one (control)endpoint ist might be more stable?<br /><br />Maybe you can post a log with USBaspLoader<br /><br />Best regards<p>Statistics: Posted by Guest — Thu May 23, 2013 11:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[p1gl3t]]></name></author>
		<updated>2013-05-22T13:59:03+02:00</updated>

		<published>2013-05-22T13:59:03+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8441&amp;p=25297#p25297</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8441&amp;p=25297#p25297"/>
		<title type="html"><![CDATA[Re: V-USB device connected through VMWare Workstation]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8441&amp;p=25297#p25297"><![CDATA[
vouvoume, thanks for your quick reply. Unfortunately I was busy with other stuff and didn't have the time to reply.<br />The problem is really more annoying as I can't use the device at all when the Ubuntu VM is running. I must suspend it or else the HIDBootFlash utility can not identify the bootloadHID device.<br />From what I can tell after looking in the VMWare logs the device does not even connect to the VM. It seems to fail midway while being handled by the VM manager.<br />Here are some lines from the log file:<br /><br />2013-05-22T14:42:41.632+03:00| vmx| I120: VUsbUpdateVigorFieldsAndAutoconnect: New set of 4 USB devices<br />2013-05-22T14:42:41.632+03:00| vmx| I120: USB: Found device [name:VOTI\ HIDBoot vid:16c0 pid:05df path:1/0/0/4 speed:low family:vendor,hid instanceId:USB\\VID_0E0F&amp;PID_0001\\6&amp;13F4C3E&amp;0&amp;5 arbRuntimeKey:b version:2]<br />// some other devices were listed here<br />2013-05-22T14:42:50.889+03:00| vmx| I120: USBGW: Write arbitrator op:13 len:18 // repeated 4 times<br />2013-05-22T14:42:53.889+03:00| vmx| I120: USB: Connecting pattern [path:1/0/0/4 version:2] controller []<br />2013-05-22T14:42:53.889+03:00| vmx| I120: USB: Connecting device 0x2000000b16c005df<br />2013-05-22T14:42:53.889+03:00| vmx| I120: USBGW: Write arbitrator op:8 len:8<br />2013-05-22T14:42:53.889+03:00| vmx| I120: MsgHint: msg.usb.generic.stopDevice<br />// After I instruct vmware to connect the device to the VM<br />2013-05-22T14:42:53.889+03:00| vmx| I120+ A USB device is about to be unplugged from the host and connected to this virtual machine. It will first be stopped to enable safe removal. With some devices, the host may display the message &quot;The device can now safely be removed.&quot;<br />2013-05-22T14:42:53.889+03:00| vmx| I120+ ---------------------------------------<br />2013-05-22T14:42:53.920+03:00| vmx| I120: USBGW: Write arbitrator op:6 len:22<br />2013-05-22T14:42:53.921+03:00| vmx| I120: USBGW: Write arbitrator op:13 len:18 // 13 times<br />2013-05-22T14:44:53.939+03:00| vmx| W110: USBGA: Failed to connect device 2000000b16c005df, error (4)<br />2013-05-22T14:44:53.939+03:00| vmx| I120: Msg_Post: Warning<br />2013-05-22T14:44:53.939+03:00| vmx| I120: [msg.usb.connectFailedErr] The connection for the USB device &quot;VOTI HIDBoot&quot; was unsuccessful. Driver error.<br />2013-05-22T14:44:53.939+03:00| vmx| I120: ----------------------------------------<br />2013-05-22T14:44:53.980+03:00| vmx| I120: USB: Disconnecting device 0x2000000b16c005df<br />2013-05-22T14:44:53.980+03:00| vmx| I120: USBGW: Disconnecting device: 3BE9DD8 id: 2000000b16c005df<br /><br /><br />No ideea how I should debug it. I'd be really satisfied if only VMW Workstation could leave the device alone so I can use it in the Windows host.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=19714">p1gl3t</a> — Wed May 22, 2013 1:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2013-05-15T18:25:28+02:00</updated>

		<published>2013-05-15T18:25:28+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8441&amp;p=25277#p25277</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8441&amp;p=25277#p25277"/>
		<title type="html"><![CDATA[Re: V-USB device connected through VMWare Workstation]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8441&amp;p=25277#p25277"><![CDATA[
When I use it within Qemu it works pretty perfekt. (Slower, but works.)<br /><br />Because USB within Qemu really sucks, I would have had assumed VMWare should be no problem at all.<br />If your schematic is correct than V-USB does implement all the necessary stuff to be enumerated correctly on any USB Host Controller.<br />(It even passes the tests in usb.org’s test utility.)<br />Because (during enumeration and during USBaspLoaders normal work) only the control endpoint is used, it should really be no problem to use it in VMWare.<br />Perhaps close all &quot;outside VM&quot; software using the device and try it again in VM. <br /><br />What is your problem in detail? Does the VM enumerate the device? Can you perhaps post your VMs syslog after plug and unplugging the USBaspLoader?<br />What outputs &quot;lsusb -vvvv&quot; ?<br /><br />Out of curiosity: What USBaspLoader do you use? The recent &quot;https://github.com/baerwolf/USBaspLoader&quot; one?<br /><br />Best regards,<p>Statistics: Posted by Guest — Wed May 15, 2013 6:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[p1gl3t]]></name></author>
		<updated>2013-05-15T00:42:48+02:00</updated>

		<published>2013-05-15T00:42:48+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=8441&amp;p=25269#p25269</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=8441&amp;p=25269#p25269"/>
		<title type="html"><![CDATA[V-USB device connected through VMWare Workstation]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=8441&amp;p=25269#p25269"><![CDATA[
Hello,<br />I'm a student and my current project involves programming an atmega324pa by USB.<br />I tried with both BootloadHID and USBaspLoader but couldn't get the MCU to be seen as an usb device when connected to a Ubuntu guest VM running in VMWare Workstation on a Windows 7 host. The device works correctly when used from the Windows host.<br />Even tried setting the usb quirks mode in the vmx file, but it was a no go. The connection fails in a few minutes after clicking &quot;Connect (Disconnect from Host)&quot; and the little usb icon in the status bar remains grayed out.<br />I suspect that V-USB does not implement some kind of reinitalization required when connecting the device to the VM. Though I really have no experience with USB firmware or drivers, I could try to implement the needed functionality if someone could point out the specific problem.<br />I'm really grateful to you guys for providing V-USB.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=19714">p1gl3t</a> — Wed May 15, 2013 12:42 am</p><hr />
]]></content>
	</entry>
	</feed>
