Skip to contentSkip to conversation

Check for Linux USBFS in configure

PATCH Cortland Setlow Tölva 1 participant 1 message Oct 4, 2018 6 messages not in the archive

lore
Share & tools
lore
#6 lore raw
In reply to a message not in the archive

Hi Laurent,

The deeper view on part 3 can wait - I have found an issue with 64-bit hosts. In linux-user/syscall_defs.h the references to struct usbdevfs_urb and so forth are incorrect and I need to define struct target_usbdevfs_urb for the size and the ioctl code to be calculated with the target's ABI.

I will send updated patches.

--CST

Quoted 16 lines · Laurent Vivier
Quoted 2 lines · Blake Tölva

Thanks Laurent, I have updated the patch. Should I resend the whole series to the list?

yes.

Quoted 4 lines

I believe the third patch may also need revision as the call to thunk_convert at the end
of do_ioctl_usbdevfs_reapurb seems clunky. Would love some comments.

I didn't read your comment before reviewing this patch. I'm going to have deeper view on this part.

Thanks,
Laurent