-   Linux - Hardware (
-   -   Problem with USB removable driver (

ricardodovalle 11-16-2009 09:21 AM

Problem with USB removable driver
Dear all:

I need help to solve this problem:

I have an USB Camera (Phillips) puggled in a embedded hardware with Debian Etch installed in a 256MB Flash Drive, and Iīm using a motion program to take snapshot and save de picture in a pendrive (thumb diver) with 8GB, all time, whitout stop to take a snapshot, when have moviment detection.
The Problem: I dont't khown why, but sometimes de pendrive is removabled automatically, and the big trouble is the memory in the Flash Drive, because it will fill quickly and stopping the harware.


business_kid 11-16-2009 09:48 AM

It sounds like something is going asleep, perhaps to save battery power
Perhaps have a script to write some small file to the usb and touch it every so often?

aus9 11-16-2009 10:02 AM

wipe all of 8g as you do not tell us the output of command df

2) remove all cron jobs or disable all cronjobs or disable cron...I assume system is never rebooted?

3) what fileformat are snaps?....png jpeg or what?

ricardodovalle 11-16-2009 11:38 AM


Sorry, not wipe all the 8GB but de flash memory with 256MB.
The snaps files is jpeg, itīs look like that pendrive goes to asleep mode. Itīs possible to stop with that?
I tried to put a 'ls /device_folder' command in the crontab, but donīt worked.
The system canīt reboot


business_kid 11-17-2009 03:57 AM

Asleep? Use touch, like I said 2/3 posts ago

ls is a read, touch is a write

All times are GMT -5. The time now is 06:17 AM.