101010.pl is one of the many independent Mastodon servers you can use to participate in the fediverse.
101010.pl czyli najstarszy polski serwer Mastodon. Posiadamy wpisy do 2048 znaków.

Server stats:

480
active users

#libusb

0 posts0 participants0 posts today
IT News<p>Rust Drives a Linux USB Device - In theory, writing a Linux device driver shouldn’t be that hard, but it is harder ... - <a href="https://hackaday.com/2025/06/26/rust-drives-a-linux-usb-device/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">hackaday.com/2025/06/26/rust-d</span><span class="invisible">rives-a-linux-usb-device/</span></a> <a href="https://schleuss.online/tags/linuxhacks" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>linuxhacks</span></a> <a href="https://schleuss.online/tags/libusb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>libusb</span></a> <a href="https://schleuss.online/tags/linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>linux</span></a> <a href="https://schleuss.online/tags/rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rust</span></a> <a href="https://schleuss.online/tags/usb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>usb</span></a></p>
Lorenzo Miniero<p>Considering the Windows editor for my <a href="https://fosstodon.org/tags/DNAfx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DNAfx</span></a> GiT Core won't run on neither Wine nor any VM, I've spent the past few days trying to reverse engineer its USB protocol, in order to write a basic editor for Linux of my own. It's been interesting so far to play with <a href="https://fosstodon.org/tags/libusb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>libusb</span></a> (I can already kinda talk to the device), especially coming from the perspective of a network developer, but I have some doubts on how <a href="https://fosstodon.org/tags/USB" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>USB</span></a> communication works in general: is there anyone around here that can clarify a few points?</p>
Orhun Parmaksız 👾<p>Today I discovered a pretty cool utility for listing USB devices! 🔌</p><p>🌸 **cyme**: A modern and cross-platform lsusb!</p><p>🔥 Displays manufacturer, serial number, speed, current information (mA) and more!</p><p>🦀 Written in Rust!</p><p>⭐ GitHub: <a href="https://github.com/tuna-f1sh/cyme" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/tuna-f1sh/cyme</span><span class="invisible"></span></a></p><p><a href="https://fosstodon.org/tags/rustlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustlang</span></a> <a href="https://fosstodon.org/tags/lsusb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lsusb</span></a> <a href="https://fosstodon.org/tags/usb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>usb</span></a> <a href="https://fosstodon.org/tags/devices" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>devices</span></a> <a href="https://fosstodon.org/tags/utility" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>utility</span></a> <a href="https://fosstodon.org/tags/commandline" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>commandline</span></a> <a href="https://fosstodon.org/tags/tool" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tool</span></a> <a href="https://fosstodon.org/tags/libusb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>libusb</span></a></p>
LeoDJ<p>Can anyone recommend a <a href="https://chaos.social/tags/framework" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>framework</span></a> that allows relatively easy cross-platform (<a href="https://chaos.social/tags/Android" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Android</span></a>, <a href="https://chaos.social/tags/Windows" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Windows</span></a>, <a href="https://chaos.social/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a>) development?<br>Needs to be able to:<br>- Open <a href="https://chaos.social/tags/USB" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>USB</span></a> webcam stream<br>- Call <a href="https://chaos.social/tags/ffmpeg" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ffmpeg</span></a><br>- Send USB vendor control transfers (or calls to <a href="https://chaos.social/tags/libusb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>libusb</span></a>)<br>- GUI</p><p>:BoostOK:</p><p>I really don't want to write code two times (and dislike Android app dev), but recently realized that I'd really like for my upcoming <a href="https://chaos.social/tags/P2Pro" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>P2Pro</span></a> viewer to run on Android too.</p><p>But if there is no such thing, I'll stick to desktop only for now :/</p>
Paul ‮etnomailgaT<p>Day 2 of my posting adventures to finally figure out what is going on with my build of <a href="https://soylent.green/tags/libuhd" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>libuhd</span></a> <a href="https://soylent.green/tags/libusb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>libusb</span></a> on <a href="https://soylent.green/tags/openbsd" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>openbsd</span></a> :openbsd:</p><p><a href="https://sourceforge.net/p/libusb/mailman/message/37796867/" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">sourceforge.net/p/libusb/mailm</span><span class="invisible">an/message/37796867/</span></a></p><p>:boost_ok: boosts would be v helpful in case anyone has seen something like this before, esp from bsd folks or sdr folks <a href="https://soylent.green/tags/ham" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ham</span></a> <a href="https://soylent.green/tags/sdr" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sdr</span></a> <a href="https://soylent.green/tags/bsd" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bsd</span></a></p>
Paul ‮etnomailgaT<p>if any of my :openbsd: friends have some time to devote to a mystery, I don't know <a href="https://soylent.green/tags/OpenBSD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenBSD</span></a>'s USB stack / ugen well enough to reason through the logs, so far everyone I've reached out to haven't been able to point me in the direction of a smoking gun yet <a href="https://soylent.green/tags/bsd" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bsd</span></a> <a href="https://soylent.green/tags/libusb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>libusb</span></a> </p><p><a href="https://marc.info/?t=167993667800007&amp;r=1&amp;w=2" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">marc.info/?t=167993667800007&amp;r</span><span class="invisible">=1&amp;w=2</span></a></p>
Brian Swetland<p>With libusb_get_bus_number(), and libusb_get_port_numbers(), one can easily construct a path like /sys/bus/usb/devices/{BUS}-{PORTS} to access the string descriptors as "product", "manufacturer", and "serial" (if present). And /sys/bus/usb/devices/{BUS}-{PORTS}:{CONFIGNUM}-{INTERFACENUM} has "interface" for the interface string descriptor (if present).</p><p><a href="https://chaos.social/tags/projects" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>projects</span></a> <a href="https://chaos.social/tags/xdebug" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>xdebug</span></a> <a href="https://chaos.social/tags/libusb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>libusb</span></a> <a href="https://chaos.social/tags/workarounds" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>workarounds</span></a></p>
Brian Swetland<p>Annoying. libusb requires you to open a device before reading string descriptors (necessitating you have read/write permission because libusb only opens devices RW).</p><p>On modern Linux (and I believe on Windows and OSX) this is not actually necessary and makes enumeration and reporting errors to users that much more complicated than need be. </p><p>This feature has been discussed, but there has been no forward motion, it seems:<br><a href="https://github.com/libusb/libusb/issues/866" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/libusb/libusb/issue</span><span class="invisible">s/866</span></a></p><p><a href="https://chaos.social/tags/projects" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>projects</span></a> <a href="https://chaos.social/tags/xdebug" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>xdebug</span></a> <a href="https://chaos.social/tags/libusb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>libusb</span></a> <a href="https://chaos.social/tags/grumbles" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>grumbles</span></a></p>
LeoDJ<p>Yesterday I've learned what USB filter drivers are on Windows and that it's apparently pretty easy to install libusb0 as one. (Thanks <span class="h-card"><a href="https://chaos.social/@patagona" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>patagona</span></a></span>) </p><p>Having done that, my initial plan worked on the second try. I can now send the command for switching the color palette, wohoo \o/</p><p>I only needed to make sure that I send the USB control transfers after the video capture has already been started, otherwise the call to <a href="https://chaos.social/tags/libusb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>libusb</span></a> will just hang indefinitely for whatever reason.</p><p><a href="https://chaos.social/tags/P2Pro" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>P2Pro</span></a> <a href="https://chaos.social/tags/reveng" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>reveng</span></a></p>
katzenjens<p>Lissy beobachtet mich, ob ich beim coden nicht doch noch die Nerven verliere. Mich bei der Hitze in <a href="https://social.tchncs.de/tags/libusb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>libusb</span></a> einarbeiten zu wollen scheint eh eine bekloppte Idee zu sein. 🙄 <a href="https://social.tchncs.de/tags/caturday" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>caturday</span></a> <a href="https://social.tchncs.de/tags/cats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cats</span></a> <a href="https://social.tchncs.de/tags/katzen" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>katzen</span></a></p>