Re: How do I read digital camera on USB port with hppsmtools?

2004-01-07 Thread Gautam Gopalakrishnan
On Tue, Jan 06, 2004 at 09:11:02AM -0500, Ken Seggerman wrote:
> Thanks for your reply.
> 
> > > I plug the camera into the USB port, turn on the camera, it beeps and says
> > > it is connected to a computer.
> >
> > At this stage I think you could mount the camera with the /dev/da0s1
> > device with msdosfs. Works for me with 5.1
> 
> I added this to my /etc/fstab:
> /dev/da0s1   /camera msdos   r,notauto,longnames  0  0
> 
> created a /camera directory and did "MAKEDEV da0s1" but when I try to
> mount /camera:
> 
> # mount /camera
> fstab: /etc/fstab:9: Inappropriate file type or format
> fstab: /etc/fstab:9: Inappropriate file type or format
> mount: /camera: unknown special file or file system
> 
> when I try putting this line in /etc/fstab:
> 
> /dev/usb0  /usb  msdos   rw,noauto,longnames  0 0
> and
> # mount /usb
> 
> I get:
> fstab: /etc/fstab:9: Inappropriate file type or format
> msdos: /dev/usb0: Block device required

This is what works for me:
/dev/da0s1/flashmsdos   rw,noauto   0   0

I don't know if you need 'longnames', and 'noauto', not 'notauto'.
Also please make sure you have created the mount point :-)

Gautam

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


Re: How do I read digital camera on USB port with hppsmtools?

2004-01-06 Thread Ken Seggerman
Thanks for your reply.

> > I plug the camera into the USB port, turn on the camera, it beeps and says
> > it is connected to a computer.
>
> At this stage I think you could mount the camera with the /dev/da0s1
> device with msdosfs. Works for me with 5.1

I added this to my /etc/fstab:
/dev/da0s1   /camera msdos   r,notauto,longnames  0  0

created a /camera directory and did "MAKEDEV da0s1" but when I try to
mount /camera:

# mount /camera
fstab: /etc/fstab:9: Inappropriate file type or format
fstab: /etc/fstab:9: Inappropriate file type or format
mount: /camera: unknown special file or file system

when I try putting this line in /etc/fstab:

/dev/usb0  /usb  msdos   rw,noauto,longnames  0 0
and
# mount /usb

I get:
fstab: /etc/fstab:9: Inappropriate file type or format
msdos: /dev/usb0: Block device required

Do I need to do something like /dev/usb0/da0s1

The handbook goes into great detail about the architecture and says that
USB was supported early on and that the device is smart enough to work on
a plug and play basis no matter what you plug into it.

I can't mount the device, much less use a peripheral plugged into it.

regards,

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


Re: How do I read digital camera on USB port with hppsmtools?

2004-01-05 Thread Olaf Hoyer
On Mon, 5 Jan 2004, Ken Seggerman wrote:

> I have a USB port on my old laptop running FreeBSD 4.3 Release.
>
> usb0: OHCI version 1.0
> usb0:  on ohci0
> usb0: USB revision 1.0
> usb0: OHCI version 1.0
> usb0:  on ohci0
> usb0: USB revision 1.0
>
> I plug the camera into the USB port, turn on the camera, it beeps and says
> it is connected to a computer.
>
> When I use the hppsmtools-1.0 command "psmdir -port /dev/usb0 all",
> or change PSM_DIR to /dev/usb0 (the default is the serial port), and
> issue the command "psmdir all", I get "Error raising DTR.  Errno 22".
hi!


Well, seems like problems with the software, that thinks it is still a
RS232 serial...

otherwise, have a look at:
/usr/ports/graphics/gphoto2

BTW, since 4.3-R is a bit old, there might also be a slight possibility,
that in case gphoto has problems, whether your camera is not supported
by gphoto, or you should upgrade to 4.9, since there were some works in
the usb stack between 4.3 und now...

HTH
Olaf


-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How do I read digital camera on USB port with hppsmtools?

2004-01-05 Thread Gautam Gopalakrishnan
On Mon, Jan 05, 2004 at 04:30:51AM -0500, Ken Seggerman wrote:
> I have a USB port on my old laptop running FreeBSD 4.3 Release.
> 
> usb0: OHCI version 1.0
> usb0:  on ohci0
> usb0: USB revision 1.0
> usb0: OHCI version 1.0
> usb0:  on ohci0
> usb0: USB revision 1.0
> 
> I plug the camera into the USB port, turn on the camera, it beeps and says
> it is connected to a computer.

At this stage I think you could mount the camera with the /dev/da0s1
device with msdosfs. Works for me with 5.1

hth
Gautam


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


How do I read digital camera on USB port with hppsmtools?

2004-01-05 Thread Ken Seggerman
I have a USB port on my old laptop running FreeBSD 4.3 Release.

usb0: OHCI version 1.0
usb0:  on ohci0
usb0: USB revision 1.0
usb0: OHCI version 1.0
usb0:  on ohci0
usb0: USB revision 1.0

I plug the camera into the USB port, turn on the camera, it beeps and says
it is connected to a computer.

When I use the hppsmtools-1.0 command "psmdir -port /dev/usb0 all",
or change PSM_DIR to /dev/usb0 (the default is the serial port), and
issue the command "psmdir all", I get "Error raising DTR.  Errno 22".

Am I doing anything wrong, or failing to set something up first?

Do I need to put the USB port on a mount point in /etc/fstab, or run
MAKEDEV on /dev/usb0 or something?

Thanks,

Ken

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