LinuxQuestions.org
Social Bookmarking all things Linux and Open Source
Go Back   LinuxQuestions.org > HCL > Cameras > Nikon
User Name
Password

Notices

Search · Register · Submit New Product ·
 

Nikon Coolpix 4200
Reviews Views Date of last review
1 2626 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, 11: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    





All times are GMT -5. The time now is 06:14 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