567 questions
-2
votes
0
answers
45
views
BSOD when booting with device connected - How to detect when device is actually ready for reading? [closed]
I'm developing a minifilter driver for USB device access control in Windows (10/11, kernel mode). The driver reads USB device serial numbers and applies access rules (read/write/execute) based on them....
1
vote
1
answer
67
views
If I enqueue multiple read commands on a USB Mass Storage device, can I be guaranteed that the responses will come back in a predictable order?
According to the USB Mass Storage Class Bulk Only Transport spec, when I want to read a block of data from a USB flash drive, I do the following:
Write a CBW describing the read request to the device'...
2
votes
1
answer
89
views
How could I self-eject my USB-Drive using the python module 'sub-process'
I have a script for my USB that i need to use on multiple devices, and i want it to auto-eject, and using this method, as long as it has elevated privileges it runs, no issues, no errors, but i check ...
0
votes
0
answers
121
views
Disks listed by lsblk does not match list devices visible in Docker container
I have an app in docker which is meant to handle connected USB devices. I launch it with enabled --privileged flag.
Inside my app I use lsblk to find block devices to mount them when they are needed, ...
0
votes
1
answer
130
views
C# OpenCvsharp Is there any way to guarantee the order in which multiple cameras are opened?
In a c# environment, if I have multiple USB cameras of the same make and product connected, is there any way to identify the same camera each time?
For example, I have two USB cameras that show left ...
2
votes
0
answers
65
views
Android app consistently fails to obtain USB permission
My Android app needs to export Excel files to a USB drive when it's connected. I'm handling the USB connection and permission request. However, even after the user grants permission, my ...
1
vote
0
answers
50
views
Am using a USB attached card reader and Is there a way to catch an sd card physical removal event after ejecting it programmatically?
I have a wpf application that detects the USB removable devices. We have another service(c# and C++) which takes care of the ejection of the drives. This service is being called by the wpf app.
When ...
0
votes
0
answers
51
views
How do you access non-filesystem entries in Windows File Explorer programmatically?
Windows file explorer shows some entries that are not accessible from the file system (ie java file read/write) For example, the 'EPIX' entry under 'This PC' (a smart watch connected by USB) behaves ...
0
votes
0
answers
841
views
How Raspberry Pi Pico Connect The USB Device?
I have a raspberry pi pico, a usb storage device, the usb lines with D+, D-, VCC and GUN. My develop environment is pico-sdk.
I want to connect the usb storage device to the raspberry pi pico, but I ...
1
vote
0
answers
75
views
How to read physical disk on windows 10?
I need read physical disk (usb). I want to read/write raw data unallocated area on disk.
Ideally, if there is a solution for Golang. That is, read/write, for example, the first 20 bytes on the disk. ...
0
votes
0
answers
25
views
Prevent Data Theft: Can I ensure that design files can only be copied from a PC after proper authorization has been granted?
Our design team works on company-provided Windows PCs to create new designs. We have reason to believe that one of our designers is leaking our original designs to competitors. To prevent this, we ...
1
vote
0
answers
161
views
Programming an MCU for the first time using USB
I am trying to develop my own telemetry board which would use an accelerometer, GPS module, display etc. , I am currently doing the schematics for my board. I would like to programm the MCU just using ...
1
vote
0
answers
236
views
Why does FatFs f_getfree function return an incorrect value?
I would like to get free memory on USB drive (64GB, FAT32) with FatFs library. Here is part of my code:
DWORD fre_clust, fre_sect;
uint64_t free_memory;
res_file = f_mount(&fs, "0:", 1);...
0
votes
0
answers
48
views
Why dir -Force -r >$null returns "System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.GetChildItemCommand" exception on my USB pendrive
Why does dir -Force -Recurse >$null return System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.GetChildItemCommand exception on my USB pendrive.
I first did a chkdsk e: /x /r and ...
0
votes
3
answers
301
views
Can not access OTG USB Key after just after Granting ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION
My phone is a Samsung A32 5G ( SM-A326B/DS).
Android 12, native ROM, SDK 31.
I need to read files from OTG USB dongle from 2 apps :
My app which is an installer. It install some APK and restore some ...