LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?

Welcome to LinuxQuestions.org, a friendly and active Linux Community.

You are currently viewing LQ as a guest. By joining our community you will have access to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

Are you new to LinuxQuestions.org? Visit the following links:
Site Howto | Site FAQ | Sitemap | Register Now

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Go Back   LinuxQuestions.org > HCL > Cameras > Nikon
User Name
Password

Search · Register · Submit New Product ·
 

Nikon Coolpix 4200
Reviews Views Date of last review
1 2275 03-27-2005
spacer
Recommended By Average Price Average Rating
100% of reviewers $250.00 10.0



Description: 4 megapixel camera from Nikon. Uses Secure Digital memory cards. Powered by EN-EL5 Li-ion battery or EH-62A AC adaptor. Supports PTP and USB Mass Storage.
Keywords: four megapixel digital camera optical zoom
Connection Type: USB


Author
Post A Reply 
Old 03-27-2005, 10:44 AM   #1
jspenguin
 
Registered: Feb 2003
Distribution: Heavily modified Redhat
Posts: 194
Would you recommend the product? yes | Price you paid?: $250.00 | Rating: 10

Kernel (uname -r): 2.6.6
Distribution: Modified Redhat



[Log in to get rid of this advertisement]
It has one quirk with USB Mass Storage: When first plugged in, the partition table cannot be read for a few seconds. This causes a problem when using devfs, because the partition will not show up until you wait a few seconds, then touch the device (/dev/discs/disc#/disc). I set up a small script that will automatically touch the device when registered:


/sbin/touchdisk:
Code:
#!/bin/sh
devname=$1
partname=${devname%/*}/part1
echo "$devname $partname"
tries=30

go() {
    while [ -a "$devname" ] && ! [ -a "$partname" ] && [ $tries -gt 0 ]; do
	touch "$devname"
	sleep 1;
	tries=$((tries-1))
    done
}
go&
And in /etc/devfsd.conf:

Code:
REGISTER ^scsi/.*/disc EXECUTE /sbin/touchdisk /dev/$devname
 is offline    






Add LQ To Your Yahoo Add LQ To Your Google Add LQ To Your MSN Add LQ To Your Blog
All times are GMT -5. The time now is 09:32 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Open Source Consulting | Domain Registration