[vbox-dev] is this code correct in rdpusb.c?
Huihong Luo
huisinro at yahoo.com
Mon Mar 21 19:25:36 GMT 2011
Thanks, made rdesktop-vrdp to work now. It's tricky, need to run it a few times, and one of them may work.
--- On Mon, 3/21/11, Vitali Pelenjow <Vitali.Pelenjow at oracle.com> wrote:
From: Vitali Pelenjow <Vitali.Pelenjow at oracle.com>
Subject: Re: [vbox-dev] is this code correct in rdpusb.c?
To: "Huihong Luo" <huisinro at yahoo.com>
Cc: "Howard Su" <howard0su at gmail.com>, vbox-dev at virtualbox.org
Date: Monday, March 21, 2011, 1:55 AM
Huihong,
have you tried to compile rdesktop-vrdp with RDPUSB_DEBUG?
This might show what fails on the client.
Best regards,
Vitali.
Huihong Luo wrote:
> Doing both, a full rdp client and ms rdp plugin. However, couldn't
> figure out how to make current rdesktop-vrdp to work.
>
>
> ------------------------------------------------------------------------
> * From: * Howard Su <howard0su at gmail.com>;
> * To: * Huihong Luo <huisinro at yahoo.com>;
> * Cc: * <vbox-dev at virtualbox.org>;
> * Subject: * Re: [vbox-dev] is this code correct in rdpusb.c?
> * Sent: * Sat, Mar 19, 2011 1:50:56 AM
>
>
>
> On Sat, Mar 19, 2011 at 6:45 AM, Huihong Luo <huisinro at yahoo.com
> <javascript:return>> wrote:
>
> trying to implement RemoteUSB on Windows, and found the following
> code in rdpusb.c:
>
> are u saying to implement a extension for MS Windows RDP client to
> support redirect USB? if so, it is interesting to me.
>
> static void
> rdpusb_send_reply (uint8_t code, uint8_t status, uint32_t devid)
> {
> STREAM s = rdpusb_init_packet(1, code);
> out_uint8(s, status);
> out_uint32_le(s, devid);
> s_mark_end(s);
> rdpusb_send(s);
> }
>
> the first line seems to be incorrect, should it be something like
> this: (i.e., 1 --> 5 for the length)
>
> STREAM s = rdpusb_init_packet(5, code);
>
> I think you are right.
>
>
> Tried very hard to play with remote usb using rdesktop-vrdp, it
> never worked for me. The Windows guest shows some error in Mass
> Storage Device. The usb was initially detected inside vm, but
> never worked. It's a flash drive.
>
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org <javascript:return>
> http://vbox.innotek.de/mailman/listinfo/vbox-dev
>
>
>
>
> --
> -Howard
>
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20110321/1f6a4f37/attachment.html>
More information about the vbox-dev
mailing list