Friends don‘t let friends touch USB internals 🙃
=> More informations about this toot | More toots from manawyrm@chaos.social
Update: @Toble_Miner and I won! This actually works now :)
https://kittenlabs.de/16bit-lvds-fx3-grabber/
=> More informations about this toot | More toots from manawyrm@chaos.social
@manawyrm Well this is cypress FX stuff, it's worse than USB itself.
=> More informations about this toot | More toots from tnt@chaos.social
@tnt @manawyrm Well, they came up with the ZEROLENIN bit. (The bit makes sense I guess, I just find the name way more funny than it should be)
=> More informations about this toot | More toots from karotte@chaos.social
@karotte @tnt @manawyrm That's fewer Lenins than Russia has!
=> More informations about this toot | More toots from ozzelot@mstdn.social
@manawyrm have you seen the cdc ethernet spec? yes this is what it actually looks like
=> More informations about this toot | More toots from mia@movsw.0x0.st
@mia @manawyrm Wow, someone really hated the documentation writing assignment 😆
"Sure boss, I'll add some diagrams"
=> More informations about this toot | More toots from yngmar@social.tchncs.de
@manawyrm that time when you realize that the bug is not in the driver but in the pcb in form of a missing resistor
=> More informations about this toot | More toots from w4tsn@darmstadt.social
@manawyrm i can just grab anything that has an lvds cable with it?
=> More informations about this toot | More toots from danb@chaos.social
@danb this sent me down a little rabbit hole...
sooo... serial LVDS (which is what laptop panels are doing) is very similar to DVI or HDMI (from an electrical view).
you'd need something to de-serialize that. either a specialized chip (which do seem to exist) or a small FPGA (ecp5 maybe).
FX3 would still be a good fit, but a different carrier board would be required.
=> More informations about this toot | More toots from manawyrm@chaos.social
@manawyrm oh, sorry haha, but interesting to know :)
=> More informations about this toot | More toots from danb@chaos.social
@manawyrm oooh, this looks like something I need 9000%
=> More informations about this toot | More toots from foone@digipres.club
@manawyrm This would be so useful for retro/embedded hardware with potentially broken panels that you can't get replacements for
=> More informations about this toot | More toots from elly@donotsta.re
@manawyrm@chaos.social "Due to limitations in USB UVC descriptor/color format support, this firmware reports itself to the OS as a YUYV/YUV2 device, in other words a 16bit per pixel color video signal. This will create wrong color images when viewed on regular software (like VLC Media Player), the raw stream can be viewed & interpreted using Video4Linux, GStreamer, etc. though."
... actually I'm not sure I want to know x.x
=> More informations about this toot | More toots from darkphoenix@not.an.evilcyberhacker.net
@darkphoenix the USB UVC spec does have a format code for grayscale high bit-depth images. I've tried to set this, but the only result was that neither Windows, VLC, GStreamer, etc. knew how to handle the video device in any way.
So instead I just report YUYV and that's good enough to get some output from VLC for debugging...
If you then write your own tooling to parse the actual 16bit values, you can also just re-interpret the bytes properly.
=> More informations about this toot | More toots from manawyrm@chaos.social
@manawyrm I wonder how programs would react, if you were to report 1024 color channels with 12 bit each …
=> More informations about this toot | More toots from benbe@social.chaotikum.org
@benbe i can't change anything about the actual data format -- that's very much 1:1 hardwired the format coming in from the sensor.
so it's just an interpretation detail in the end.
=> More informations about this toot | More toots from manawyrm@chaos.social
@manawyrm Was more thinking of creating a spectral camera sensor where multiple images are overlaid to one image with several color channels for several distinct spectral lines.
=> More informations about this toot | More toots from benbe@social.chaotikum.org
@manawyrm @Toble_Miner Do you have an example what sensor one could attach?
=> More informations about this toot | More toots from hennichodernich@radiosocial.de This content has been proxied by September (ba2dc).Proxy Information
text/gemini