usbredir: A protocol for sending USB device traffic over a network connection
spice-space.org
spice-space.org
https://en.wikipedia.org/wiki/Wireless_USB
EDIT: Looks like it was more than 10 years ago, circa 2009 or so. Time has no meaning.
Video is worth a watch although it also doesn’t give an answer for why Wireless USB actually disappeared.
I was wondering after watching that video, if it could be due to security concerns? Like, is the Wireless USB protocol encrypted? And if so, does it use sufficiently strong encryption?
I did find a document that talks a bit about Wireless USB encryption.
https://cdn.teledynelecroy.com/files/appnotes/wireless_usb_e...
At least according to Wikipedia, it was encrypted.
Still, even if the encryption was very weak, wireless wifi sounds appealing to me, at least for my old trusty wired mouse. Somebody snooping on or spoofing my mouse seems like an academic threat.
You're not concerned that anyone within a 100 ft radius of you can inject arbitrary keystrokes/mouse movements to your PC?
I'm not going to say the likelihood is "zero", but I am going to say it's so close to zero that it's really not worth even considering.
I usually call her my girlfriend, but I suppose that’s another way to refer to one’s significant other :p
1. Detect vulnerable networks in computers
2. Pretend to be a USB keyboard.
3. Trigger blind key combos that will visit a website, confirm downloading a file, execute that file, and "OK" privilege escalation prompts.
4. Move on to the next block or cul-de-sac, while the malware finishes unpacking and reporting home for further use.
I think there were a couple of consumer products that got released - Linksys and netgear perhaps? They consisted of a USB Hub + Dongle.
They actually worked ok, but the speed would drop off quickly with distance. Across the room, and you'd be at 50% of the rated speed, at best.
The technology was interesting. Basically they were transmitting over a whole slew of spectrum simultaneously (from like 2.5GHz to 5.5GHz), but they kept the transmit power low enough that it didn't exceed some FCC threshold.
360 used wireless USB. Xbox One on uses Bluetooth.
The reality is that licenses must be restricted because people cheat, steal and pirate. Hate them instead. Besides $49 is dirt-cheap for what it is, especially considering it covers all future versions.
so you've spent 1000s * $49 for the license?
Would it? For the sake of discussion, I'll assume "thousands of raspberry pi's" = 2,000 RBpis, or something around $10,000 in license fees.
I don't know anything about either project beyond the links shared by you and the root comment, but based on the information at each link and the assumption of $10,000 spend:
I would choose the one time cost of VirtualHere's purpetual update license and release cadence over a some short dev for hire contract to write some unmaintained wrapper code around a sourceforge library that hasn't been been touched in over a decade.
1. You are paying a developer that works 100% on that, year after year, and not a hire that won't be there when something goes wrong in the future after an OS update, new hardware, anything. This is basically your argument. Let me add:
2. In some parts of the world far away from SV but still in the West, $100k are about two years of gross developer salary, not what the developer actually gets at the end of the month. Point 1 still holds. Where it's 10 years of salary maybe companies could be tempted by a custom solution.
3. You are giving $49 per server to that developer but you are probably getting more per server from your customers. If you have thousands of servers you probably have a viable business, so that's just yet another cost of doing business.
If anything it’s on windows for not having a way to allow just one unsigned driver.
Offtopic.
Mind sharing what are you doing with thousands of pi's ? Thanks
redirecting my steamdeck control via usb to my linux gaming rig and expose it as a usb device(s) for steaminput.
It seems like a natural and perhaps even "straightforward" hack but I've seen no evidence of one so far, perhaps there is something in usb that limits the ability to proxy it correctly.
edit; oh nm, user wants a direct wired connection to work.
That would depend on the USB hardware on the device, I think.
Even a bluetooth mouse has too much latency for many games.
That rtings graph shows that bluetooth is pretty clearly worse in the majority of cases from wired or wireless (which is distinct from bluetooth).
"Bluetooth" doesn't appear anywhere on that Reddit thread.
And from the second rtings:
> The mouse's connection type affects the click latency. Generally, wired mice have the lowest latency, and Bluetooth mice have the highest latency. A Bluetooth connection isn't recommended for gaming, but it's still good for office use, and most people won't notice any delay unless the latency is extremely high.
Click latency is not too useful vs swipe latency.
Bluetooth has a pretty low polling rate iirc and that kills the swipe latency.
More generally and responsive to what we were talking about, proprietary radios are not bluetooth and they are not WiFi which is the latency we are actually talking about (which is usable but not for me to play elden ring by direct experience).
All the mice I am aware of that use Bluetooth are travel mice and the like. Even cheap gaming mice use RF dongles that do not have the Bluetooth polling limitations.
You can tell your friends in Fortnite you died because of mouse latency, but lets keep HN discussions grounded in reality please.
If so... while searching to see if the SD supports gadget mode (answer: yes) I happened across https://github.com/Frederic98/GadgetDeck - have you tried that?
From what I can discern its missing important bits of the controller and doesn't have any steaminput profile etc so it's clunky still.
Worth poking at though.
edit - to clarify, ideally steaminput would be tricked on the host to think that it "was" a steamdeck so all the mapping features would be available. I don't really need another usb game controller its more the steamdeck touchpad etc.
And AFAIU that would enable proxying of USB devices.
Is this a new thing?
For Linux, the source code of usbip was merged into the staging tree, and finally has been moved to the mainline since Linux-3.17. Development is ongoing in the kernel community, not here. Linux distributions will provide binary packages of usbip.*I run Windows on a Mac Mini functioning as an ESXi server.
From my Macbook Pro, I can connect to it with Fusion Pro and attach USB devices to the Windows VM. I use this to program ham radios and troubleshoot my vehicle with Toyota Techstream + USB OBD2 adapter.
[0] https://www.kernel.org/doc/html/latest/filesystems/9p.html
As a 9front user who attended IWP9 the past two years (just was in Philly this past weekend) this really isn't the case anymore.
At the moment, I've brainstormed:
- A main server that runs some type 1 hypervisor (Xen or Proxmox, will need to see which is more adequate)
- Light "client" devices (laptop, for example), that may either be connected in a wired manner to the server (e.g. separate desks), or remoting into it through Wireguard. Each desk will feature a KVM-style setup with a docking station that offers screens, keyboard, and a range of USB ports.
- Individual VMs for running our respective OSes to our preference, some flavor of linux distro. Inputs from the client device (e.g. USB, Keyboard, Screen) should be forwarded / matched to the VM.
- A windows VM for gaming, running two sessions for each of us: GPU passthrough is a must. I would like to make use of Looking Glass somehow, if possible either through the Linux VM on the same server, or on the client machine. The latter would probably be better for performance, I suppose, given you don't have to forward input devices twice... but I'm also worried about whether the buffer-copy mechanisms from Looking Glass would work with such a setup.
So far, I'm looking into Moonlight/Sunshine as a general desktop redirection setup: my hope is that I can pass something close to direct framebuffers on an ethernet connection while at home, and switch to compression while I'm away, hoping to achieve as little latency as possible in all cases (so giving absolute priority on the host to the streaming process, if possible, kind of like an RT system). One notable thing is that Sunshine by itself doesn't support generic USB redirection. Has anyone tried using usbredir for this purpose?
In general, it's hard to find relevant information for this kind of home hypervisor setup with a focus on gaming/latency and general transparency all around... would appreciate tips if anyone's attempted something similar before. Thanks!
What is this “SPICE level” you mentioned?
usbredir gets your device to qemu, looking like it's a USB device attached to the VM, without cooperation from the guest.
Thank you.
I have used this software for adb debugging in rdp window10, it's really cool, but it don't meet all cases.
external disks
dongles
card readers
telephone systems
barcode scanners
medical devices
mobile gauges
output devices
audio/video streaming devices
scanners etc.
...connecting a computer to a USB device that is further away than what USB is physically limited to (distance wise).