>> Would it not perhaps be better to make the interface look more like an ACM
>> device and supply any required modifications to the standard linux acm
>> device driver?
>It's funny you should say this, because empeg-car.c IS basically acm.c :)
>I've just removed all the control endpoint stuff (which doesn't exist) and make
>the buffers a lot larger, and put the right
>detection code in.
I realised that, that's why I made the suggestion. i.e. wouldn't it make more
sense to have an interfaceclass of 2 and interfaceprotocol of 1, etc, if it
indeed is a standard(ish) ACM device? I'd imagine that acm.c would need to
be adjusted not to require only one endpoint on the device too.
>Out of interest, if you do a "time dd if=/dev/zero of=/dev/empeg-car bs=1048576
>count=1
I did several variations on that and never achieved more than 30KBytes/s. All
the reads on the empeg were 32 bytes too, presumably they aren't buffered on
the empeg side?
I think I've got OHCI on my desktop so I'll try it on there. Any other suggestions?
Cheers,
Paul