LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 09: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, 09:48 AM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,616

Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
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, 10:02 AM   #3
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

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, 11: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, 03:57 AM   #5
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,616

Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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-18-2006 12:22 AM
USB Removable Disk Autorun Dr. Bush Linux - Hardware 2 07-31-2005 03:10 PM
can't read from USB removable device kookysaint Linux - Hardware 2 02-07-2005 10:37 PM
usb removable kde Mandrake10.0 dad Linux - Hardware 1 01-25-2005 05:53 PM
Removable usb harddisk problem. Xiangbuilder Linux - Hardware 4 08-31-2003 04:55 AM


All times are GMT -5. The time now is 03:58 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration