12 ms·
Very interesting project, I wish I had gone down this route instead of the undocumented hell of usb PTP with hundreds of edge/corner case work arounds.
by StrangeDoctor 1y ago
Very interesting project, I wish I had gone down this route instead of the undocumented hell of usb PTP with hundreds of edge/corner case work arounds.
- jauntywundrkind 1y agoThe fact that USB ptp is some baseline is kind of exceedingly great, even if yeah in practice it'a a huge mess of vendor extensions tacked on. I like trying to have some collaboration & specs! It's a monster oh sure but gphoto2 probably wouldn't have come about, as a sick compendium of all camera backs & vendor extensions, if there wasn't a common thread, common binding for cameras! Once you go from USB to IP you're (generally) untethered unmoored from anything shared! What's done here is super admirable & super neat. But it's even more spelunking into the unknown than USB ptp imo! Thankfully there's some pretty old school direct on-the-line protocols that are kinda just working! It's interesting to me at least to navel gaze over. The attempt to have common tools versus the just doing whatever. One of my favorite connectivity solutions ever was the Nvidia Shield Controller (2015). A wifi (wifi direct/wifi-p2p at that!) video gaming controller. With audio that uses ozproto's stack, a usb-over-ip setup! Something about just tunneling USB being conceptually easier to reason about & do than deciding what IP services to make for a controller is so elegant and neat and weird. https://github.com/devmapal/nvidia-shield-controller-driver https://github.com/devmapal/nvidia-shield-controller-driver
- ge0rg 1y agoWhen reverse-engineering some of the Samsung NX camera firmware files, I found USB-PTP code that implements different custom remote commands <https://chaos.social/@ge0rg/114723076401717110 https://chaos.social/@ge0rg/114723076401717110> but I'm not deep enough into PTP to make sense of them. Is there anywhere a group focusing on understanding and re-implementing custom PTP protocols?
- SchemaLoad 1y agoIt is surprising that after all these years, there is still no good way to transfer files between two devices over USB. MTP exists but it was never widely supported and it seems like even the support it did have is slowly rotting as the answer became just connect everything to cloud storage.
- lights0123 1y agoreMarkable tablets end up exposing a USB ethernet device with a /23 private subnet and listing an IP address to visit in a browser. It works much more reliably than it should.