Questions tagged [usb-drive]
Storage drives connected by USB devices known otherwise as flash drive, memory stick, pen drive, USB stick, USB key and thumb drive. Also includes larger storage devices such as portable hard drives.
539
questions
-1
votes
0
answers
17
views
Powershell command to get Device Instance ID from drive letter [closed]
Is there any powershell command to get device id or device instance path from drive letter?
0
votes
0
answers
13
views
How to Overwrite the firmware of a USB drive?
If a USB stick has its firmware stored in a re-writable memory, can I overwrite it? If yes, then how? I want to program a USB drive that whenever plugged in will automatically change the device ...
0
votes
1
answer
24
views
Linux terminal command execution with java
i need help with my program.
what I have to do is that when I click a button my java program will have to execute commands on the linux terminal as shown below, and after that it will have to shut ...
0
votes
0
answers
14
views
Drive become write-protected after unlock by password in FIPS Mode
If a data drive is password protected, it can be accessed by a FIPS-compliant computer after the password is supplied, but the drive will be read-only.What is the reason for such a behaviour?
0
votes
1
answer
50
views
Format multiple USB drives in powershell
New to powershell and trying to figure out how to format all attached usb drives. The following code prompts for a drive letter during format, keeps iterating by one and won't escape that assign drive ...
0
votes
0
answers
23
views
Bootloader works fine in QEMU but restarts on real hardware [duplicate]
org 0x7c00
bits 16
jmp start
resb 0x50
start:
mov ax, 0x2401
int 0x15
mov ax, 0x3
int 0x10
cli
lgdt[gdt_pointer]
mov eax, cr0
mov eax, 1
mov cr0, eax
jmp 0x08:...
0
votes
0
answers
41
views
Installing XCode on a Mac from USB
I've got access to an old Macbook, and I want to install XCode on it but it's only got 40GB free space (it's 120GB and the other files are important, so I can't remove them). I have a downloaded .xip ...
0
votes
0
answers
14
views
Powershell: How do i get USB drives listed in a combobox?
i am trying to built a small GUI where all connected USB drives should be listed in a combobox for the user to select for further actions.
I am getting the expected result in the console by using the ...
0
votes
0
answers
28
views
FT313 USB driver issue
I am working in Linux 2.6.20.14 running processor having USB chip FT313. I got a Linux driver from a vendor and I ported that to my Linux. When I do the memory read at the Uboot side on the memory to ...
0
votes
0
answers
64
views
Chromebook linux shell premission to write on SD Card or USB Stick
I just both recently chromebook and I am super satisfied with it. All that I need (VS Code, Expo Go, NodeJS, Python etc.) working perfectly fine without single problem. Only problem that I can't sort ...
0
votes
0
answers
54
views
Watchdog inside binary with constant size
I want to use a Raspberry pi zero w to emulate an USB stick for a PC, which automatically uploads the files transferred to him to a network storage. I know how to upload it to the storage and how to ...
0
votes
0
answers
18
views
Can an iPadOS app easily determine if the device has a USB-C connector
My app can use the SanDisk iXpand drive, which connects to the "Lightning" port of iPhones and lower-end/older iPads. I'd rather not "bother" about this if the iPad has a USB-C ...
0
votes
2
answers
173
views
Can I access a USB drive by its name?
I have a Powershell script on my windows machine that needs to access data from a USB drive. It reads a file from the USB stick and does its thing. I need to do this over many machines. The problem is ...
0
votes
1
answer
207
views
Openwrt/Raspberry: lost the connection after periodic connection test through usb wifi adapter
I'm developing a script that permits to connect to the internet through a Mediatek MT7612U wifi adapter (Alfa AWUS036ACM) and making some connection tests using speedtest-cli, iperf3 ...
My script is ...
1
vote
0
answers
32
views
Linux: look for USB "client" driver example
I want to write a USB communication driver for Embedded Linux device. The embedded Linux device connects to the Linux PC as a device.
So, I'm going to write two USB drivers, one for Linux PC and one ...
0
votes
0
answers
14
views
AM64x Host mode issue
I am working with the AM64x board. Check with the sample USB Host code. It does not initialize properly when something is plugged into the port on bootup.
The USB device I am trying to use draws only ...
0
votes
0
answers
175
views
Is there a way to find a USB device's serial number using python?
I want to know if there is a way to find the unique device serial number of a plugged in USB device. I do NOT want the volume serial number.
My reason for wanting to do this is so that I can only make ...
0
votes
0
answers
61
views
How do I detect USB events like MEDIA_EJECT and ACTION_MEDIA_BAD_REMOVAL?
I've created a class called MyBroadcastReceiver, which overrides BroadcastReceiver, and registered it in AndroidManifest. But the only actions it will report in the onReceive() method are ...
0
votes
0
answers
104
views
Raspi move MariaDB data directory problem (chown problem)
On my Raspi I need to move the default data directory for MariaDB to a USB Flash Drive that I have mounted to the USB.
The flash drive is mounted on /media/pi/USBDRIVE and the new data directory is /...
0
votes
0
answers
148
views
Configure virtual USB drive, quickly copy the images/files from a Virtual USB disc/drive which are saved by a passive device
I have project to work with a camera which is design to capture color images in front view and back n white images from side angles. In this case, camera device has 2 cameras
Front camera is a UVC ...
0
votes
0
answers
58
views
Virtual Machine, Emulate a USB through networked USB hub
I am trying to automate the below process:
Operator executes operation on field device and generates local data that is stored on the field device. (NOT a PC)
Operator inserts USB into field device ...
0
votes
0
answers
218
views
How do I send commands to NVMe drive over USB bridge?
I have been working with a self encrypting drive that I want to be able to send commands to identify and unlock in userspace. I've been able to send commands to NVMe and SATA drives with direct ...
1
vote
0
answers
617
views
WineHQ 6.0 - Ubuntu 20.04 - Add USBSTOR.SYS driver support
I have launched this program
wine 'C:\Program Files (x86)\Rufus\rufus.exe' 2> rufus.log
and I have obtained this log:
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
...
0
votes
0
answers
125
views
How to install MySQL database in pendrive
I have to make C# desktop application with mysql Database that will be booted in a pendrive. Just like plug and play application. So I want to setup MySQL database in Pendrive.
1
vote
2
answers
513
views
Get drive letters of USB 3.0 devices (Java under Windows)
My Java program needs to get a list of the drive letters of connected USB devices, but only those that support USB 3.0 (both the device and the USB port it is plugged into, so that it works with high ...
1
vote
1
answer
453
views
Read / Write a USB Stick with STM32F103C8
I'm trying to read/write data to a USB flash drive.
I have read in the reference manual that STM32F103xx has a USB peripheral but can only act as a device in the communication. From what I understood, ...
0
votes
1
answer
139
views
why a dwc3 usb controller didnot report xfercomplete event? Or the gadget driver missed that event?
Android phone that use usb connect to a PC, open the rndis, then do iperf test between the phone and the PC. After a few of hour's test, the endpoint of rndis, ep1out, didnot receive a xfercomplete ...
0
votes
0
answers
82
views
Linux associate USB port to device
I have an array of micro-SD card readers connected to a single Linux computer (currently I have 14 devices connected through two USB3 hubs)
I need to write a program to monitor insertion/writing/...
0
votes
1
answer
109
views
Application and SQL Server on external drive? [closed]
Is it possible to install SQL Server on an external drive and use it? Also, I am trying to install a software on my clients usb 3.0 flash drive from where they can operate it easily on any laptop or ...
-2
votes
1
answer
432
views
Is formatting a USB stick to NTFS a good idea? [closed]
I have a Sandisk dual drive USB stick which can be plugged into android and PC. I was wondering if I should format it to NTFS before using. I intend to use it for storing my important files from ...
2
votes
2
answers
210
views
How to distinguish USB hard drives and SSDs from USB keys / pen drives on macOS
How is it possible for code to distinguish between external USB hard drives and solid-state drives on the one hand versus USB sticks on the other hand?
I'm not familiar with macOS APIs (or system ...
0
votes
2
answers
153
views
android studio is not able to recognize my device
I am using Flutter for developing my android apps but for some my android studio is not able to recognize my device even though my device is detecting that fully. Is there a way to fix this?
And also ...
1
vote
2
answers
93
views
Error 13 in Java Eclipse, how do I fix this? [closed]
I just built a new PC and I tried to run eclipse on it from a USB stick, I did this earlier on my previous machine and it worked just as intended but after I upgraded my PC it gives me the error 13. I ...
0
votes
1
answer
251
views
How to access hard drive via USB & router on Win10
TLDR: I had this working two days ago, my laptop's hard drive crashed & has been replaced, now I can't map to my 8TB drive that's attached to my router via USB.
For months (since Covid started &...
1
vote
0
answers
81
views
Intermittent failure executing on USB insert with auto-mount on Raspberry Pi
I've set up a raspberry pi to execute a command if a USB stick is inserted, and the command calls an executable on the stick.
This works about 80% of the time, but intermittently fails - seemingly at ...
2
votes
1
answer
77
views
Assembly bootloader code works in VM but is finnicky on a real computer
I was messing around with some NASM code that does some math ops to a number and prints out the ASCII character corresponding to the answer. Here's the code:
[bits 16]
[org 0x7c00]
init:
mov ax, 1853
...
1
vote
0
answers
31
views
Detect presence of USB stick in bootloader of F28M36x microcontroller
We have developed a bootloader for a F28M36x Concerto microcontroller (Texas Instruments), which loads the software from a USB stick.
We have integrated the USBlib in the bootloader (see API guide ...
1
vote
0
answers
18
views
How to check if Adapter cable is connected to phone without power
Detect the charging cable is connected to the phone without power.
0
votes
1
answer
140
views
Cannot Resolve PortableDeviceToHostImpl32 in jmtp library
I am using jmtp library and most of the code is working fine like device read , device file read and write. But when i used PortableDeviceToHostImpl32 for copy From Portable Device To Host show Cannot ...
0
votes
1
answer
203
views
file.listRoots not working for a portable USB drive in Java
file.listRoots() works fine for internal file drive information, but is not getting USB and portable file info. Here is my code:
File[] paths;
try {
// returns pathnames for files and directory
...
0
votes
0
answers
107
views
Vendor serial number usb white list
I'm currently building a Java app that could detect USB drive, and can identify the difference between a personal USB drive and an unauthorized USB drive by using vendor serial number, my goal is to ...
0
votes
1
answer
703
views
The best drivers for your device are already installed: installing Android device USB driver
Windows 10 cannot recognize my mobile device connected via USB cable. Therefore, I'm following this post to install Android SDK Google USB driver:
But Windows 10 doesn't allow me to replace the ...
0
votes
0
answers
74
views
What is the first USB URB packet transfer speed between USB device and host
When I check linux kernel USB driver code, I saw port will reset port at the beginning of init port stage. Call stack as: hub_port_init -> hub_port_reset -> set_port_feature. And ...
1
vote
1
answer
324
views
how can I detect SD card insertion and usb HDD insertion from nodejs under raspbian/ubuntu?
I want 2 things from node js:
detect SD card insertion to the SD card reader and get the mount point (and the free space)
detect when USB HDD is plugged into an usb port, and get the mount point (and ...
3
votes
1
answer
288
views
Copy files to USB using C# Windows 10 iot core
I am trying to copy .csv files created in the local folder in Windows 10 iot core. I have tried few ways but no luck. My latest code is as follows:
string aqs = UsbDevice.GetDeviceSelector(0x045E, ...
0
votes
1
answer
102
views
How can I detect that USB disk is plugged in with Metricbeat or Filebeat?
I need to detect that USB disk is plugged in with Metricbeat or Filebeat to report this to Elasticsearch server.
I need this both for Windows and for Linux.
Any ideas?
0
votes
1
answer
514
views
USB issue when building a Unity project into an android device
I created an Augmented reality application using Unity. The app works perfectly when testing on my windows platform. However, after finishing it I am trying to build and run it on an android device I ...
1
vote
0
answers
216
views
Autorun for usb webserver
Ok I hope this make sense. I remember back in the day were CD/DVD there was a auto run feature to start file automatically.
[autorun] open=Filename.exe
Now I've read since windows 10 this feature isn'...
0
votes
1
answer
339
views
VBA NETComm issues
I am working on a VBA GUI that I have not developped by myself.
I do not really know VBA langage and I need help.
I am trying to drive an electronique card plugged as USB with that GUI.
The problem is ...