On Saturday 29 January 2005 14:13, Richard wrote:
> Dear all,
> I'm using linux 2.6.10 kernel and want to write my own USB OHCI driver
> because there is no ported one. I tried to port my own driver using
I'm confused - there is an OHCI driver in 2.6.10:
[EMAIL PROTECTED]:~/linux-2.6.10/driv
> There's nothing unique about USB in this respect. Every device driver in
> the kernel is potentially subject to such an attack. Do you have any
> reason to think that USB might be especially vulnerable?
Just speculating here, since I don't know what Fabien was originally thinking
about: in sh
> Then my second question was about the USB stack integrity (no specific
> to a linux platform) Do you think that devices could create an overflow
> in order to take control/install a software in the computer ?
In terms of DMAing to buffers, the only device you have to trust to play nice
is your
> The storage gadget takes a backing file and exposes it to a USB host as
> a disk. Can I also mount that as a filesystem on the system running the
> gadget driver? I'm guessing not -- that sounds like two things mounting
> the same device and is probably a Really Bad Idea.
I imagine it'd work f
> There's a more comprehensive fix for this in 2.6, as needed to
> support the more generic driver infrastructure for devices
> ("driver model") that aren't on PCI
OK, that's good to hear. I'm not so familiar with 2.6 but I see that the USB
code has undergone major changes.
> act like PCI. The
Thanks for the replies.
> I am positive about it, but I am not thrilled with extra #ifdef's.
> I need to look closer, maybe it can be abstracted a little bit.
It works but I agree it's a bit ugly.
> Also, a patch to run 2.4 under Xen is not about to be merged anyway, right?
> So, this cannot be
Sorry, I'd accidentally munged the previous patch in a stupid way. The one
attached to this mail should work properly.
Apologies for cluttering up your mailboxes.
Cheers,
Mark
On Tuesday 04 January 2005 17:49, Mark Williamson wrote:
> Hello all,
>
> I just tried to build a USB-
Hello all,
I just tried to build a USB-enabled 2.4.28 without PCI support and it barfs
with the following error:
hcd.c: In function `hcd_submit_urb':
hcd.c:1211: error: structure has no member named `pdev'
hcd.c:1217: error: structure has no member named `pdev'
hcd.c: In function `usb_hcd_giveba