Re: mounting usb camera - no /dev/da* !!!

2004-05-18 Thread Ben Paley
On Tuesday 18 May 2004 04:02, Mike Jeays wrote:
 On Mon, 2004-05-17 at 19:16, Jason Taylor wrote:
  I have a similar situation with a Cannon Powershot A40.  I can't mount
  it, but gphoto is able to access it.  I had to modify a config file or
  two in order for the ugen devices to be created writable by anyone other
  than root.  Sorry, I don't have access to that box at the moment or I'd
  offer something a bit more concrete.

gphoto2 turns out to work fine, thanks very much! I wonder why Digikam doesn't 
work, then?

 I have a Canon Powershot A70, and the same problem.  I bought a SanDisk
 card reader, and it works perfectly with a Compact Flash card that has
 been used in the A70.  It can be mounted as
 mount -t msdos /dev/da0s1 /mnt

This may turn out to be the easiest thing in the long run: certainly my wife 
and kids aren't going to want to learn a CLI for getting at their snaps. I 
guess it's either a) buy a cardreader, b) get Digikam to work or c) something 
else I don't know about yet.

Thanks for both your help,
Ben
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mounting usb camera - no /dev/da* !!!

2004-05-18 Thread Jeremy Faulkner
Ben Paley wrote:
On Tuesday 18 May 2004 04:02, Mike Jeays wrote:
On Mon, 2004-05-17 at 19:16, Jason Taylor wrote:
I have a similar situation with a Cannon Powershot A40.  I can't mount
it, but gphoto is able to access it.  I had to modify a config file or
two in order for the ugen devices to be created writable by anyone other
than root.  Sorry, I don't have access to that box at the moment or I'd
offer something a bit more concrete.

gphoto2 turns out to work fine, thanks very much! I wonder why Digikam doesn't 
work, then?


I have a Canon Powershot A70, and the same problem.  I bought a SanDisk
card reader, and it works perfectly with a Compact Flash card that has
been used in the A70.  It can be mounted as
mount -t msdos /dev/da0s1 /mnt

This may turn out to be the easiest thing in the long run: certainly my wife 
and kids aren't going to want to learn a CLI for getting at their snaps. I 
guess it's either a) buy a cardreader, b) get Digikam to work or c) something 
else I don't know about yet.

Thanks for both your help,
Ben
There are GUI's for gphoto2 in the ports tree. I use gtkam.
/usr/ports/graphics/gtkam
--
Jeremy Faulkner http://www.gldis.ca
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mounting usb camera - no /dev/da* !!!

2004-05-18 Thread Mike Jeays
On Tue, 2004-05-18 at 04:09, Ben Paley wrote:
 On Tuesday 18 May 2004 04:02, Mike Jeays wrote:
  On Mon, 2004-05-17 at 19:16, Jason Taylor wrote:
   I have a similar situation with a Cannon Powershot A40.  I can't mount
   it, but gphoto is able to access it.  I had to modify a config file or
   two in order for the ugen devices to be created writable by anyone other
   than root.  Sorry, I don't have access to that box at the moment or I'd
   offer something a bit more concrete.
 
 gphoto2 turns out to work fine, thanks very much! I wonder why Digikam doesn't 
 work, then?
 
  I have a Canon Powershot A70, and the same problem.  I bought a SanDisk
  card reader, and it works perfectly with a Compact Flash card that has
  been used in the A70.  It can be mounted as
  mount -t msdos /dev/da0s1 /mnt
 
 This may turn out to be the easiest thing in the long run: certainly my wife 
 and kids aren't going to want to learn a CLI for getting at their snaps. I 
 guess it's either a) buy a cardreader, b) get Digikam to work or c) something 
 else I don't know about yet.
 
 Thanks for both your help,
 Ben

My trivial shell-script called getphotos does what I need, with the
appropriate entry in /etc/fstab, of course.  If you called it from a
desktop icon, it should meet the wife and even quite young kids
standard - with absolutely no disrespect intended to your wife and/or
kids!  And I am quite sure several people will point out how to simplify
the script.

#!/bin/sh
mount /flash
find /flash/dcim -name *.jpg /tmp/photos.txt
x1=`cat /tmp/photos.txt`
for f in  $x1
do
  cp $x1 ~/pics/Raw/
done
cd ~/pics/Raw
chown mike *
chmod -x *
umount /flash


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mounting usb camera - no /dev/da* !!!

2004-05-18 Thread Jason Taylor
Mike Jeays wrote:
On Tue, 2004-05-18 at 04:09, Ben Paley wrote:
On Tuesday 18 May 2004 04:02, Mike Jeays wrote:
On Mon, 2004-05-17 at 19:16, Jason Taylor wrote:
I have a similar situation with a Cannon Powershot A40.  I can't mount
it, but gphoto is able to access it.  I had to modify a config file or
two in order for the ugen devices to be created writable by anyone other
than root.  Sorry, I don't have access to that box at the moment or I'd
offer something a bit more concrete.
gphoto2 turns out to work fine, thanks very much! I wonder why Digikam doesn't 
work, then?


I have a Canon Powershot A70, and the same problem.  I bought a SanDisk
card reader, and it works perfectly with a Compact Flash card that has
been used in the A70.  It can be mounted as
mount -t msdos /dev/da0s1 /mnt
This may turn out to be the easiest thing in the long run: certainly my wife 
and kids aren't going to want to learn a CLI for getting at their snaps. I 
guess it's either a) buy a cardreader, b) get Digikam to work or c) something 
else I don't know about yet.

Thanks for both your help,
Ben

My trivial shell-script called getphotos does what I need, with the
appropriate entry in /etc/fstab, of course.  If you called it from a
desktop icon, it should meet the wife and even quite young kids
standard - with absolutely no disrespect intended to your wife and/or
kids!  And I am quite sure several people will point out how to simplify
the script.
#!/bin/sh
mount /flash
find /flash/dcim -name *.jpg /tmp/photos.txt
x1=`cat /tmp/photos.txt`
for f in  $x1
do
  cp $x1 ~/pics/Raw/
done
cd ~/pics/Raw
chown mike *
chmod -x *
umount /flash
gtkam is a GUI front-end for gphoto.  I added an entry to /etc/usb.conf 
to launch gtkam when the camera is connected.  Honestly, I've only tried 
it once since setting it all up, but it worked wonderfully that one time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mounting usb camera - no /dev/da* !!!

2004-05-17 Thread Zane
On Mon, 17 May 2004 20:50:45 +0100
Ben Paley [EMAIL PROTECTED] wrote:

 Hello,
 
 In the past I've always been able to mount USB devices (a card
 reader and a webcam) as msdosfs at /dev/da0 or some such... my new
 camera's not playing that game.
 
 It's a Kodak EasyShare DX4530. I've unplugged all my other usb
 devices to test things, and booted up with it plugged in.
 
 usbdevs -dv shows:
 
 Controller /dev/usb0:
 addr 1: full speed, self powered, config 1, UHCI root hub(0x), 
 Intel(0x), rev 1.00
   uhub0
  port 1 addr 2: full speed, self powered, config 1, KODAK EasyShare
  DX4530 
 Zoom Digital Camera(0x0576), Eastman Kodak Company(0x040a), rev 1.00
ugen0
  port 2 addr 3: full speed, self powered, config 1, USB HUB(0x0e01),
  vendor 
 0x(0x), rev 0.04
uhub1
   port 1 powered
   port 2 powered
   port 3 powered
   port 4 powered
 
 
 
 Only three new entries are created in /dev when I plug it in:
 /dev/ugen0, dev/ugen0.1 and /dev/ugen0.2, none of which are
 mountable in the normal way as msdosfs (I get Block device needed)
 
 Digikam detects it fine and correctly, but when I try to look at it
 says Failed to initialize camera.
 Please ensure camera is connected properly and turned on
 
 In the meantime Windows has no problem with it at all. This state of
 affairs must not be allowed to continue, by mine honour.
 
 plugging it in gives
 
 -bash-2.05b$ ugen0: Eastman Kodak Company KODAK EasyShare DX4530
 Zoom Digital Camera, rev 2.00/1.00, addr 2
 
 and unplugging it
 
 -bash-2.05b$ ugen0: at uhub0 port 1 (addr 2) disconnected ugen0:
 detached


Sounds like umass is not in the kernel. I would check their first.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mounting usb camera - no /dev/da* !!!

2004-05-17 Thread Zane
On Mon, 17 May 2004 23:40:41 +0100
Ben Paley [EMAIL PROTECTED] wrote:

 On Monday 17 May 2004 20:18, Zane wrote:
  On Mon, 17 May 2004 20:50:45 +0100
 
   In the past I've always been able to mount USB devices (a card
   reader and a webcam) as msdosfs at /dev/da0 or some such... my
   new camera's not playing that game.
 
 
  Sounds like umass is not in the kernel. I would check their first.
 
 No, it's there ok, and so are scbus and da, and my cardreader works
 fine using umass. But for some reason the camera doesn't:
 dmesg | grep umass
 comes up blank.

Ohh, your trying to mount a camera?  No clue then... some are umass
some are not.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mounting usb camera - no /dev/da* !!!

2004-05-17 Thread Ben Paley
On Monday 17 May 2004 21:46, Zane wrote:
 On Mon, 17 May 2004 23:40:41 +0100


 Ohh, your trying to mount a camera?  No clue then... some are umass
 some are not.

Sucks, huh? Well, thanks for taking the time to help, anyway.

Anyone else?

Cheers,
Ben
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mounting usb camera - no /dev/da* !!!

2004-05-17 Thread Jason Taylor
I have a similar situation with a Cannon Powershot A40.  I can't mount 
it, but gphoto is able to access it.  I had to modify a config file or 
two in order for the ugen devices to be created writable by anyone other 
than root.  Sorry, I don't have access to that box at the moment or I'd 
offer something a bit more concrete.

Ben Paley wrote:
On Monday 17 May 2004 21:46, Zane wrote:
On Mon, 17 May 2004 23:40:41 +0100

Ohh, your trying to mount a camera?  No clue then... some are umass
some are not.

Sucks, huh? Well, thanks for taking the time to help, anyway.
Anyone else?
Cheers,
Ben
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mounting usb camera - no /dev/da* !!!

2004-05-17 Thread Mike Jeays
On Mon, 2004-05-17 at 19:16, Jason Taylor wrote:
 I have a similar situation with a Cannon Powershot A40.  I can't mount 
 it, but gphoto is able to access it.  I had to modify a config file or 
 two in order for the ugen devices to be created writable by anyone other 
 than root.  Sorry, I don't have access to that box at the moment or I'd 
 offer something a bit more concrete.
 
 Ben Paley wrote:
  On Monday 17 May 2004 21:46, Zane wrote:
  
 On Mon, 17 May 2004 23:40:41 +0100
  
  
 Ohh, your trying to mount a camera?  No clue then... some are umass
 some are not.
  
  
  Sucks, huh? Well, thanks for taking the time to help, anyway.
  
  Anyone else?
  
  Cheers,
  Ben
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

I have a Canon Powershot A70, and the same problem.  I bought a SanDisk
card reader, and it works perfectly with a Compact Flash card that has
been used in the A70.  It can be mounted as
mount -t msdos /dev/da0s1 /mnt

You do need to put the card in the reader first, and then plug in the
USB connector to make it work properly.

Much the easiest solution, IMHO.  And very much easier than using the
software supplied with the camera on a Windows machine.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


umass devices and devd [ was Re: mounting usb camera - no /dev/da* !!! ]

2004-05-17 Thread Senandung Mendonan
On Tue, 17 May 2004, Mike Jeays wrote:

 I have a Canon Powershot A70, and the same problem.  I bought a SanDisk
 card reader, and it works perfectly with a Compact Flash card that has
 been used in the A70.  It can be mounted as
 mount -t msdos /dev/da0s1 /mnt

 You do need to put the card in the reader first, and then plug in the
 USB connector to make it work properly.

 Much the easiest solution, IMHO.  And very much easier than using the
 software supplied with the camera on a Windows machine.

I thought for Windows XP most USB storage devices don't need additional
software to work. My digital camera for example (a nifty Sony Cyber-shot
DSC-F77A), you can connect and disconnect and they get mounted/dismounted
automatically as an external drive. Tried to do the same in FreeBSD via
devd, in /etc/dev.conf:-

attach 0 {
  device-name umass[0-9]+;
  action (sleep 2; mount /mnt/digicam);
};
detach 0 {
  device-name umass[0-9]+;
  action (sleep 2; umount -f /mnt/digicam);
};

with the line in /etc/fstab:-
/dev/da0s1   /mnt/digicam   msdosfs   rw,noauto   0   0

Attaching my usb digicam (mine is a nifty Sony Cyber-shot DSC-F77A) works
great, but detaching it has random effects (ranging from works with system
intact to instant kernel panic). Resorted to unmount first before
detaching (when I remember to do so ;-) ). Any similar experience, and
should I send-pr?

Thanks.

--mendonan
Yang mimpikan secangkir kopi panas dengan selimut..
 (Dreaming of a cup of hot coffee, and a blanket..)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]