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.

USB drives are storage drives connected by USB (Universal Serial Bus) to the computer. A USB drive -- also known as a flash drive or keychain drive -- is a plug-and-play portable storage device that uses flash memory and is lightweight enough to attach to a key chain.

Above the OS level, work with these drives does not differ much from the work with the fixed drives: they can be partitioned and partitions can be formatted OS-supported filesystems.

Such drives can also be bootable. Developers may use this capability to test new operating system without installing it, or to gain access to non-encrypted fixed hard drive if the main operating system does not boot any longer.

571 questions
0
votes
0 answers

Copying files to NTFS mounted drives

I am currently testing over 30 devices at a time and as such I am having to mount the devices as NTFS folders. I can manually carry out my tests but I have been looking for a way to speed up this process and wrote the following short bat files to…
Appthy
  • 1
0
votes
4 answers

Formatting Fat32 usb drive on Windows

What is the best way to format an usb drive (> 32Gb) with Java on Windows? I tried to use the format function: Process p = Runtime.getRuntime().exec("CMD /C format f: /FS:FAT32 /Q /X /Y"); But the size of the drive is limited to 32Gb. My usb drive…
Maxbester
  • 2,435
  • 7
  • 42
  • 70
0
votes
0 answers

USB0 changed the mode due to EMI using AM1808

I am using AM1808 for my application and using Ubuntu 12.04 for development purpose. I have cross compiled my kernel for USB0 on Host mode. Due to the issue of EMI my USB0 mode has been changed from Host to Peripheral. I need to make USB0 remain in…
Parthiv Shah
  • 350
  • 3
  • 17
0
votes
1 answer

Multiple bulk URB receive data to particular URB in USB LINUX

I am developing small USB driver in linux kernel, my device has two bulk endpoints (IN and OUT). I have two URB (assume) urb A and urb B . I have submitted many receive request from URB A, after some time i am sending a command to device using…
kar
  • 2,505
  • 9
  • 30
  • 32
0
votes
1 answer

Send and receive data in same URB in USB possible? LINUX

I am developing a USB driver in linux kernel space Where my usb interface as two bulk endpoints (IN and OUT).I am using ONE URB to send and receive data. Can i use the same usb_alloc_urb() for sending and receive data. I am using the below steps to…
kar
  • 2,505
  • 9
  • 30
  • 32
0
votes
1 answer

How I can block the internal harddisk, on debian?

How I can block the internal harddisk when I start Debian with a USB stick? If I boot with my created ISO, I have the Debian system, but I can access my normal Win7 partition. I would like to deny access to my Win7 harddisk when booting with the USB…
user1865863
  • 29
  • 1
  • 5
0
votes
1 answer

Monitor When a USB Drive is connected with Visual Basic 10

I'm looking for a way to monitor when a flashdrive (USB) Is connected to my pc (windows). My first idea was to use System.IO.DriveInfo.GetDrives inside a Timer, and check for the new drives that appear, but maybe this could be too CPU demanded (I…
distante
  • 6,438
  • 6
  • 48
  • 90
0
votes
1 answer

Undefined reference to libusb_hotplug_register_callback

I am writing a libusb program. It works fine, I can do bulk transfers, control transfers, etc. Now, I wanted to add the hotplug support. As per libusb 1.0 documentation, hot plug support is not available on Windows. So, the following snippet returns…
adnan kamili
  • 8,967
  • 7
  • 65
  • 125
0
votes
2 answers

How does USB Disk Ejector work?

I have a Java application that is designed to run on removable drives. I would like to add a button to allow the user to safely remove the drive the program runs on as USB Disk Ejector allows. However, I'm not sure how to achieve this (code wise) as…
Andy
  • 3,600
  • 12
  • 53
  • 84
0
votes
1 answer

FTDI chip supported Android device

I am working on an Android programming. I decide to use FTDI chip for usb serial converter. My android device kernel version: 3.0.8 and android version: 4.0.3 onyo nanopad 7 tablet. I research FTDI chip and read…
user2834633
0
votes
1 answer

Should I force unmount?

I've designed a program to run off flash drives. My idea was to put an Eject button on the program so you can easily 'safely remove' the drive. However on Mac, you can't unmount the drive whilst the application is still running unless you do a force…
Andy
  • 3,600
  • 12
  • 53
  • 84
0
votes
2 answers

Can I use the name of a flash drive as it's directory?

I have a flash drive named "SCHOOL". In my computer, it's registered as the F: drive. Instead of pointing to the F: drive, as it'd be different on any other computer, could I just point towards a drive named "SCHOOL" instead? If I couldn't do this,…
EpicBlargh
  • 1
  • 1
  • 5
0
votes
1 answer

How to merge USB HD partitions without data loss?

I have a WD My Passport 0748 USB3.0 HD. It's partitioned into two NTFS partitions 31.4GB, 900GB. I want to merge these partitions without a chance of data loss, I need it VERY SAFELY. When i tried my traditional solution "Windows Disk Management"…
Yasser Rabee
  • 327
  • 1
  • 13
0
votes
1 answer

MacOS dot file delete for MS-DOS devices

Sometimes I have wanted to place my Mac files on a USB thumb drive or portable external hard drive to share with an MS-DOS, Linux, Unix or Microsoft Windows user, or use them on a non-Apple product such as a TV or media player. The problem is that…
0
votes
1 answer

TDS NOMAD windows CE5.0 device connects more than two USB devices

I have a TDS Nomad running windows CE 5.0 system. It has a USB host port. I have connected to the manufacture and ask if nomad can connect to more than 1 USB devices via USB hub (can connect to 7 USB devices, designed for windows ), they said they…
Heidi
  • 161
  • 5
  • 16