Ticket #1384 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

QEmu usb gadget support broken for kernel >= 2.6.23

Reported by: t-lo@… Owned by: balrogg@…
Priority: high Milestone:
Component: qemu-neo1973 Version: 2007.2
Severity: normal Keywords:
Cc: buglog@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:
Reproducible:

Description

In 2.6.23 and later kernels the kernel gadget interface moved from
linux/usb_gadget.h to linux/usb/gadget.h. Unfortunately QEmu's "configure"
script and "usb-linux-gadget.c" code does not honor the new interface; QEmu
fails to detect gadget support with kernels > 2.6.22 for me.

Attachments

qemu-gadgetfs-2.6.23.patch (1.1 KB) - added by t-lo@… 5 years ago.
have qemu honor gadgetfs include file changes in 2.6.23

Change History

Changed 5 years ago by t-lo@…

have qemu honor gadgetfs include file changes in 2.6.23

comment:1 Changed 5 years ago by balrogg@…

  • Owner changed from openmoko-devel@… to balrogg@…
  • Summary changed from QEmu usb gadget support broken for kernel =< 2.6.23 to QEmu usb gadget support broken for kernel >= 2.6.23

comment:2 Changed 5 years ago by balrogg@…

  • Status changed from new to assigned

comment:3 Changed 5 years ago by balrogg@…

  • Status changed from assigned to closed
  • Resolution set to fixed

Thanks, committed in r4417 with a slight modification.

Note: See TracTickets for help on using tickets.