qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] hw/usb.c: fix some issues with hub layer preventing bsd guest usb stack from running
@ 2006-03-17  8:18 Lonnie Mendez
  0 siblings, 0 replies; only message in thread
From: Lonnie Mendez @ 2006-03-17  8:18 UTC (permalink / raw)
  To: qemu-devel

   Hello list.  Linked are some fixes to the hub layer that allow a 
FreeBSD guest's usb stack to run.  Basically it allows for a variable 
hub descriptor size (if qemu currently had 7 emulated ports on the hub 
it would be OK).  With this it was able to mount a flash drive and 
transfer some files from the drive to the guest.  The patch applies to 
current cvs.

The 'FreeBSD Workaround' can best be explained by this:

http://fxr.watson.org/fxr/source/dev/usb/uhub.c?v=RELENG6#L83

The data for the status change enpdoint in FreeBSD's uhub layer is a 
fixed byte.  This is of course incorrect and the patch compensates 
slightly for this in order to allow the driver to at least run.


http://gnome.dnsalias.net/patches/qemu-hubfixups.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-03-17  8:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-17  8:18 [Qemu-devel] [PATCH] hw/usb.c: fix some issues with hub layer preventing bsd guest usb stack from running Lonnie Mendez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).