Patrick Laplante
2006-03-05 14:20:35 UTC
All,
I have tons of experience with DSC (PTP over USB) on NetBSD (also
Pictbridge). Like you all know PictBridge involves lots of sending to the
camera. Now the PTP over USB spec stated that if the data being sent to the
camera is a multiplier of the bulk fifo size, the pc must send a zero length
packet. Well on BSD, the only way to easy do that was writing a kernel
driver (easy to do).
Now, on Linux, I don't see any specific driver. I am wondering how is the
zero length packet being sent to the device. Is it part of the usb stact
default behavior? How can it know if a packet is the last one?
Just wondering.
Pat Laplante
Principal Engineer
Vanteon Corporation
2851 Clover Street
Pittsford, NY 14534-1711
Office: (585) 248-0510 x298
Fax: (585) 248-0537
www.vanteon.com <http://www.vanteon.com> - Embedded for Your Future
I have tons of experience with DSC (PTP over USB) on NetBSD (also
Pictbridge). Like you all know PictBridge involves lots of sending to the
camera. Now the PTP over USB spec stated that if the data being sent to the
camera is a multiplier of the bulk fifo size, the pc must send a zero length
packet. Well on BSD, the only way to easy do that was writing a kernel
driver (easy to do).
Now, on Linux, I don't see any specific driver. I am wondering how is the
zero length packet being sent to the device. Is it part of the usb stact
default behavior? How can it know if a packet is the last one?
Just wondering.
Pat Laplante
Principal Engineer
Vanteon Corporation
2851 Clover Street
Pittsford, NY 14534-1711
Office: (585) 248-0510 x298
Fax: (585) 248-0537
www.vanteon.com <http://www.vanteon.com> - Embedded for Your Future