Is there an easy way to put my entire installation of Intellij on a USB stick?

Yes, it’s possible, just copy the installation directory to the flash drive, then edit IDEA_HOME\bin\idea.properties file, change the values of idea.config.path and idea.plugins.path to the relative location, like: ../config and ../user-plugins (locations are relative to IDEA bin directory). Now copy your original settings and third-party plug-ins (if any): ${user.home}/.IntelliJIdea10/config => usb:/IDEA_HOME/config ${user.home}/.IntelliJIdea10/config/plugins => usb:/IDEA_HOME/user-plugins Note … Read more

Control USB port’s power?

You can’t simply toggle pins on a USB port. Period. USB is a serial protocol. The connector contains Power. The Host can control the power lines as it can cut the power in case of overload. This is something done by the USB host driver, which means the driver of the host adapter in the … Read more

What is the minimum latency of USB 3.0

Answering my own question… I’ve come to realise that this question kind-of misses the point of USB 3.0. Unlike 2.0, it is not a shared-bus system. Instead it uses a point-to-point link between the host and each device (I’m oversimplifying but the gist is true). With USB 2.0, the 125 us polling interval was critical … Read more

Power off an USB device in software on Windows

Some USB hubs have the ability to turn power off to its downstream devices. “Is it possible to power up ports on a USB hub from Ubuntu?” https://askubuntu.com/questions/149242/is-it-possible-to-power-up-ports-on-a-usb-hub-from-ubuntu Which points to some c source for hub-ctrl.c See: http://www.gniibe.org/development/ac-power-control-by-USB-hub/index I tested this on Ubuntu with a Dream-Cheeky USB LED unit, and it did seem to turn … Read more

How do I intercept messages from a USB device on Linux?

Actually you missed a buzzword “USB sniffing“. 😉 Here are a few tutorials on USB sniffing on Linux, to get you started. Official Wireshark wiki for USB monitoring biot.com/blog/usb-sniffing-on-linux (InternetArchive) tjworld.net/wiki/Linux/Ubuntu/USBmonitoring Essentially you use the usbmon Linux kernel module to capture the USB-packets and Wireshark as a front-end to display and analyse the captured USB … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)