|
Nikon Coolpix L5 Camera & Linux |
|
|
|
|
Contributed by Ed Wiget
|
|
Dec 21, 2006 at 02:50 AM |
|
Page 1 of 5
Nikon Coolpix L5 Camera & Linux
I bought one of these tonight, not knowing if it would work with Linux. I came home, unpacked it from the box, read all the manuals, took a few different pictures to get familiar with it, then stared at the USB cable wondering if I would get so lucky to have a 100% compatible linux camera. Then I got scared, cause I have done this before and got burned....so I did a quick search at google.com for Linux Nikon L5 and nothing. Then I did Linux Nikon Coolpix and this returned one old article from December 2005, but it was successful. Finally, I just plugged the damn thing in......are you ready.....

well, here is my dmesg using the USB MASS STORAGE INTERFACE ((very important))
[ 4414.552000] ohci_hcd 0000:03:00.0: wakeup
[ 4414.873000] usb 4-1: new full speed USB device using ohci_hcd and address 2
[ 4415.065000] usb 4-1: configuration #1 chosen from 1 choice
[ 4415.080000] scsi3 : SCSI emulation for USB Mass Storage devices
[ 4415.081000] usb-storage: device found at 2
[ 4415.081000] usb-storage: waiting for device to settle before scanning
[ 4420.089000] Vendor: NIKON Model: DSC COOLPIX L5 Rev:
[ 4420.089000] Type: Direct-Access ANSI SCSI revision: 02
[ 4420.111000] SCSI device sdb: 1999872 512-byte hdwr sectors (1024 MB)
[ 4420.118000] sdb: Write Protect is off
[ 4420.118000] sdb: Mode Sense: 18 00 00 08
[ 4420.118000] sdb: assuming drive cache: write through
[ 4420.142000] SCSI device sdb: 1999872 512-byte hdwr sectors (1024 MB)
[ 4420.149000] sdb: Write Protect is off
[ 4420.149000] sdb: Mode Sense: 18 00 00 08
[ 4420.149000] sdb: assuming drive cache: write through
[ 4420.149000] sdb: sdb1
[ 4420.164000] sd 3:0:0:0: Attached scsi removable disk sdb
[ 4420.164000] sd 3:0:0:0: Attached scsi generic sg1 type 0
[ 4420.166000] usb-storage: device scan complete
And here is lsusb:
Bus 006 Device 002: ID 050d:705a Belkin Components
Bus 006 Device 001: ID 0000:0000
Bus 006 Device 003: ID 1058:0901 Western Digital Technologies, Inc.
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 002: ID 04b0:020d Nikon Corp.
Bus 004 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
And KDE even brings up /media/sdb1 but there are no pictures there. I assume this is the internal 8MB storeage area, but not the 1GB SD disk I have installed, which contains the pictures......but oh well, its hopeful that maybe someday real soon......and you know, it could even be operator error since I have only had this camera about 1 hour now....so I will update when/if I figure it out.
UPDATED
Yes, the above not showing any pictures was operator error.
Here is how to get this camera to work fully with Linux. You need to press the Menu key. Select Settings. Then Interface. Then select USB. Under USB you are presented with two options Mass Storage or PTP. Select PTP. Select O.K. Press Menu againt to return to the main screen. Now, turn the power off on the camera. Plug the usb cord into the camera and also into the computer. Power the camera on. My KDE desktop now pops up with a new /media/camera folder. This folder contains the actual photos I took and stored on the SD card. See picture below (click for larger picture):
With the camera plugged in now, this is what 'cat /proc/bus/usb/devices' shows:
T: Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=04b0 ProdID=020e Rev= 1.00
S: Manufacturer=NIKON
S: Product=NIKON DSC COOLPIX L5-PTP
S: SerialNumber=30544233
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=06(still) Sub=01 Prot=01 Driver=(none)
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=20ms
lsusb and dmesg remain the same.
|
|
Last Updated ( Dec 21, 2006 at 04:59 PM )
|