LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-16-2009, 08:21 AM   #1
ricardodovalle
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Rep: Reputation: 0
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.

Thanks,
Ricardo.
 
Old 11-16-2009, 08:48 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
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?
 
Old 11-16-2009, 09:02 AM   #3
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
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?
 
Old 11-16-2009, 10:38 AM   #4
ricardodovalle
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Hi,

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

Thanks
 
Old 11-17-2009, 02:57 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Asleep? Use touch, like I said 2/3 posts ago

ls is a read, touch is a write
 
  


Reply

Tags
flash, memory, pendrive, thumbdrive, usb



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB/removable memory =dn Linux - Hardware 2 01-17-2006 11:22 PM
USB Removable Disk Autorun Dr. Bush Linux - Hardware 2 07-31-2005 02:10 PM
can't read from USB removable device kookysaint Linux - Hardware 2 02-07-2005 09:37 PM
usb removable kde Mandrake10.0 dad Linux - Hardware 1 01-25-2005 04:53 PM
Removable usb harddisk problem. Xiangbuilder Linux - Hardware 4 08-31-2003 03:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration