My system is not infected with ransomware. I was just thinking about ways to deal with it if it ever happened. Since I can boot my windows PC with a Linux USB and access the HDD, shouldn’t it be possible to use the USB drive to back-up the HDD after ransomware was installed? Most ransomware uses the bro…
Tag: usb
How to transfer data with high speed through USB?
I’m trying to find a way to send/receive data through USB port of an ARM processor on a zynq board (ZC706) running petalinux. I searched on the net and I’m totally confused where to begin. I found solutions but those did not consider USB to be connected to ARM processor, high-speed data transfer o…
updating product/vendor id on Raspberry Pi (CP210X)
Running “uname -a” on my Raspberry Pi will yield the following: Linux tm-gw 4.4.14-v7+ #896 SMP Sat Jul 2 15:09:43 BST 2016 armv7l GNU/Linux My problem is that I have a USB device which vendor and product ID isn’t registered in CP210x.c file, which – again – means that even thoug…
libusb for USB target user space driver
I would like to implement a USB device driver in user space by means of libusb. I’m using a Linux machine supporting a USB OTG controller which is switched to device mode. The USB host is another machine which needs to communicate with my Linux machine by means of a USB vendor specific interface with a …
How to detect when a usb cable is connected/disconnected on the device side in Linux 2.6.37?
I have a embedded device that runs linux 2.6.37. I want my application to know when the USB is connected. Currently I can achieve this by pooling /sys/devices/platform/musb/musb-hdrc.0/vbus. However this approach does not distinguish between a USB charger or a USB host. I found this udev approach but I don…
How to get port information for usb ports using libudev?
For a small project i am using libudev to get notification for USB devices plug-in/plug-out. Is there any way of knowing which USB port was used to plug in the device via libudev. Actually there are multiple ports available and it is necessary to know which one was used. Any hints would be highly appreciated!…
Bulk message transfer USB Linux
I am at the very beginning to write my own Linux Driver for a dds generator. I want to write 2 bulk messgages to the generator when der Kernel call the probe function. But I dont know how to call the usb_bulk_msg function. I hope you could me. hsync Answer Kernel is kinda self-explanatory project, so usually …
Forcing driver to device match
I have a piece of usb hardware, for which I know the driver. However, the vendor id and product id do not match the VID, PID pair registered in the driver. Is there a way in linux to force a driver to be associated with a known device, that do not involve kernel module recompilation to add a PID /