[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Digital camera



-----BEGIN PGP SIGNED MESSAGE-----

Ok. First, is your camera USB connected or are you putting the memory 
card in the pcmcia slot?

Either way, when you plug it in, check dmesg to see what happened and 
what new device the OS sees, to wit:

==========
ohci_hcd 0000:00:03.1: remote wakeup
usb 2-2: new full speed USB device using address 2
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 
1 alt 0 proto 2 vid 0x03F0 pid 0x2911
scsi2 : SCSI emulation for USB Mass Storage devices
  Vendor: HP        Model: psc 2210          Rev: 1.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sdb at scsi2, channel 0, id 0, lun 0
USB Mass Storage device found at 2
==========

Note that the new attached "disk" is sdb, this is what I use in 
my /etc/fstab file:

==========
# USB Thumb Drive
/dev/sdb1   /mnt/thumb  auto  noauto,users,exec 0  0
==========

and lastly, create a directory, in this case "/mnt/thumb", with 777 
permissions:

===========
# ls -al /mnt
total 24
drwxr-xr-x   6 root root 4096 Aug 15 12:03 .
drwxr-xr-x  23 root root 4096 Jul 15 12:19 ..
drwxrwxrwx   2 root root 4096 Feb 29 03:14 flash
drwxrwxrwx   2 root root 4096 Aug  5 18:03 thumb
===========

You may have to experiment with device numbers, 0,1, etc, to make sure 
you get the right one. The "df" command is very useful to see if you 
have mounted something real or not. This is a transcription from my 
own camera memory card, which being compact flash I load into a 
pcmcia card adapter and access directly without using USB. To wit:

==========
$ dmesg
...
cs: memory probe 0xa0000000-0xa0ffffff: clean.
hde: DELKIN DEVICES INC. CFLS1HV4-064, CFA DISK drive
ide2 at 0x100-0x107,0x10e on irq 3
hde: max request size: 128KiB
hde: 126464 sectors (64 MB) w/1KiB Cache, CHS=247/16/32
 /dev/ide/host2/bus0/target0/lun0: p1
ide-cs: hde: Vcc = 3.3, Vpp = 0.0
 /dev/ide/host2/bus0/target0/lun0: p1
~
$ cat /etc/fstab
# mount -t vfat /dev/hde1 /flash
/dev/hde1  /mnt/flash vfat defaults,user,noauto  0  0
~
$ mount /mnt/flash
~
$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda1             57193948  40600008  13688588  75% /
tmpfs                   257612         0    257612   0% /dev/shm
/dev/hde1                62820        12     62808   1% /mnt/flash
==========

Please let the list know if this is not sufficient.

Curt-

On Monday 16 August 2004 10:08, Emil Carlsson was heard to say:
> And how would I do this? it's not hd<x>N or something like that
> right?
>
> Ralph Bacolod wrote:
> >You can access the memory card as a scsi device.
> >
> >--- emil.carlsson@euromail.se <emil.carlsson@euromail.se> wrote:
> >>I have a nikon coolpix 2100 but I can't get it to work under
> >> debian with KDE running, any suggestions on how to make it work.
> >> All the googleing doesn't seem to give any result =(.
> >>
> >>Regards
> >>
> >>
> >>--
> >>To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
> >>with a subject of "unsubscribe". Trouble? Contact
> >
> >listmaster@lists.debian.org
> >
> >
> >
> >
> >
> >
> >__________________________________
> >Do you Yahoo!?
> >Yahoo! Mail is new and improved - Check it out!
> >http://promotions.yahoo.com/new_mail

- -- 
September 11th, 2001
The proudest day for gun control and central 
planning advocates in American history

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iQEVAwUBQSC0JS9Y35yItIgBAQE6ngf8DmIO1bo8tRo2XCB0fjN0dQX+NHzGFydR
IjPNGVvFi5OY0aNUB2EWJq0gjJkwqbofTnBu3knOf7U7Ca+OyS2EzI5/p0LlBIRU
JVQvtdIS6giboFnTpEviHDoyis2sLi4prlBdltqmrzaSw1cSzHhaIjDJ1kouZeAf
rb4nTSBESZROy/NyIRPowqFkB9z94InVKe000Y5f6UtO7dcleainnbzLIVfl7fcQ
tk6yBOwOxXEjO5+eUsZl2VkZew9lRlkd/QFI64BUg8LcXr/cT4v0Q41k4L6yYVsJ
g5nZX1U7Dtpz9hAiLhB+wAvajOkmIzWYjkmYbbkpC1RbfFm/VeFcrg==
=IRYk
-----END PGP SIGNATURE-----



Reply to: