473,486 Members | 1,953 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Monitoring a USB-drive / Card-reader using python?

I want to monitor a given USB-device, like a Memory Card-reader, and
when a memory card is inserted I want to move the data on the card to a
different location on the filesystem ( or do something else with the
files).

Does anybody know how to do this ( on Linux and/or windows ) or if it's
even do-able ?

Thomas

Jul 19 '05 #1
1 1876
Thomas W wrote:
I want to monitor a given USB-device, like a Memory Card-reader, and
when a memory card is inserted I want to move the data on the card to a
different location on the filesystem ( or do something else with the
files).

Does anybody know how to do this ( on Linux and/or windows ) or if it's
even do-able ?


Under linux use FAM and udev, together with Python FAM binding
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
6487
by: Ashley Harris | last post by:
I hope to have a Linux box sitting in the boot of my car using perl and some CPAN modules for Ogg-Vorbis and Audio Streaming for a home-built stereo system. I recently scored a GPS locater that...
10
4300
by: Aaron | last post by:
Im new to .net. I would like to upgrade an existing application to .net and add USB support. How do i write a .net application with USB support? We used "mscomm" in vs 6 for serial (rs232) ports....
3
15694
by: Robb Gilmore | last post by:
Hi, We have a C#.NET win-forms application that talks to a device plugged into the USB port. Sometimes when severe communications interruptions occur, such as from a burst of ESD electricity,...
4
2216
by: johnm | last post by:
Hello, We currently are running a CRM application that uses DB/2 7.2 for the data repository. We will be upgrading to 8.2 later this year....maybe....time and resources permitting. The...
6
4296
by: chandan | last post by:
I am looking for a small program or two that allows me to see what is being sent to a device on the serial port, and the response coming in the serial port from the device. When I have COM1...
6
3602
by: Don | last post by:
Environment: VB6 under W98 I have a USB hardware device I wish to program directly. The original software installed a low level driver and the hardware is both registered and operational. Now...
10
23579
by: Zabby | last post by:
hi, i want to turn on/turn off a usb lamp via a vb.net button... i think i would have to turn on/turn off the power for this usb port.... how could i do this? kind regards
1
2365
by: RichardB | last post by:
I am trying to Reset the USB bus. I have a system with various USB devices attached to it including video capture devices. Occasionally some of the USB devices either disappear or fail to...
5
10559
by: galapogos | last post by:
Hi, I'm wondering how I can scan the system for USB devices and read off the USB descriptors such as VID/PID/serial number in C? I have an external USB HDD that I wish to access, and I'm...
0
449
by: zhensoftware | last post by:
USB storage devices have gained popularity. It can be host to viruses, Trojans, hacker toolkits, worms or other forms of malicious programs. For example, when you plug your USB disk into a computer...
0
7094
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6964
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7173
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6839
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7305
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4863
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4559
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1378
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.