<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Thanks, made rdesktop-vrdp to work now. It's tricky, need to run it a few times, and one of them may work.<BR><BR>--- On <B>Mon, 3/21/11, Vitali Pelenjow <I><Vitali.Pelenjow@oracle.com></I></B> wrote:<BR>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>From: Vitali Pelenjow <Vitali.Pelenjow@oracle.com><BR>Subject: Re: [vbox-dev] is this code correct in rdpusb.c?<BR>To: "Huihong Luo" <huisinro@yahoo.com><BR>Cc: "Howard Su" <howard0su@gmail.com>, vbox-dev@virtualbox.org<BR>Date: Monday, March 21, 2011, 1:55 AM<BR><BR>
<DIV class=plainMail>Huihong,<BR><BR>have you tried to compile rdesktop-vrdp with RDPUSB_DEBUG?<BR>This might show what fails on the client.<BR><BR>Best regards,<BR>Vitali.<BR><BR>Huihong Luo wrote:<BR>> Doing both, a full rdp client and ms rdp plugin. However, couldn't <BR>> figure out how to make current rdesktop-vrdp to work.<BR>><BR>><BR>> ------------------------------------------------------------------------<BR>> * From: * Howard Su <<A href="http://us.mc343.mail.yahoo.com/mc/compose?to=howard0su@gmail.com" ymailto="mailto:howard0su@gmail.com">howard0su@gmail.com</A>>;<BR>> * To: * Huihong Luo <<A href="http://us.mc343.mail.yahoo.com/mc/compose?to=huisinro@yahoo.com" ymailto="mailto:huisinro@yahoo.com">huisinro@yahoo.com</A>>;<BR>> * Cc: * <<A href="http://us.mc343.mail.yahoo.com/mc/compose?to=vbox-dev@virtualbox.org" ymailto="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</A>>;<BR>> * Subject:
 * Re: [vbox-dev] is this code correct in rdpusb.c?<BR>> * Sent: * Sat, Mar 19, 2011 1:50:56 AM<BR>><BR>><BR>><BR>> On Sat, Mar 19, 2011 at 6:45 AM, Huihong Luo <<A href="http://us.mc343.mail.yahoo.com/mc/compose?to=huisinro@yahoo.com" ymailto="mailto:huisinro@yahoo.com">huisinro@yahoo.com</A> <BR>> <javascript:return>> wrote:<BR>><BR>>     trying to implement RemoteUSB on Windows, and found the following<BR>>     code in rdpusb.c:<BR>><BR>> are u saying to implement a extension for MS Windows RDP client to <BR>> support redirect USB? if so, it is interesting to me.<BR>><BR>>     static void<BR>>     rdpusb_send_reply (uint8_t code, uint8_t status, uint32_t devid)<BR>>     {<BR>>         STREAM s = rdpusb_init_packet(1, code);<BR>>     
    out_uint8(s, status);<BR>>         out_uint32_le(s, devid);<BR>>         s_mark_end(s);<BR>>         rdpusb_send(s);<BR>>     }<BR>><BR>>     the first line seems to be incorrect, should it be something like<BR>>     this: (i.e., 1 --> 5 for the length)<BR>><BR>>     STREAM s = rdpusb_init_packet(5, code);<BR>><BR>> I think you are right.<BR>><BR>><BR>>     Tried very hard to play with remote usb using rdesktop-vrdp, it<BR>>     never worked for me. The Windows guest shows some error in Mass<BR>>     Storage Device. The usb was initially detected inside vm, but<BR>>     never worked. It's a flash drive.<BR>><BR>><BR>> 
    _______________________________________________<BR>>     vbox-dev mailing list<BR>>     <A href="http://us.mc343.mail.yahoo.com/mc/compose?to=vbox-dev@virtualbox.org" ymailto="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</A> <javascript:return><BR>>     <A href="http://vbox.innotek.de/mailman/listinfo/vbox-dev" target=_blank>http://vbox.innotek.de/mailman/listinfo/vbox-dev</A><BR>><BR>><BR>><BR>><BR>> -- <BR>> -Howard<BR>><BR>><BR>> _______________________________________________<BR>> vbox-dev mailing list<BR>> <A href="http://us.mc343.mail.yahoo.com/mc/compose?to=vbox-dev@virtualbox.org" ymailto="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</A><BR>> <A href="http://vbox.innotek.de/mailman/listinfo/vbox-dev" target=_blank>http://vbox.innotek.de/mailman/listinfo/vbox-dev</A><BR>>   
 <BR><BR></DIV></BLOCKQUOTE></td></tr></table>