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

Re: mounting USB Camera Pentax Optio 330



Lukas Ruf wrote:

> Dear all,
> 
> being owner of a Pentax OPTIO for quite a while I would like to access
> the data on my camera from Linux.  *The manufacturer is not interested
> in supporting me.*  So, I contact you -- maybe anyone managed to
> attach this "nice" camera to a Linux box.
> 
> I am running 2.4.20, all USB options are enabled.
> 
> My log-file reports:
> 
> Apr  2 21:57:10 [kernel] Manufacturer: ASAHI PENTAX
> Apr  2 21:57:10 [kernel] Product: PENTAX OPTIO 330
> Apr  2 21:57:11 [hotplug] arguments (usb) env \
>   (DEVFS=/proc/bus/usb OLDPWD=/ PATH=/bin:/sbin:/usr/sbin:/usr/bin \
>   ACTION=add PWD=/etc/hotplug SHLVL=1 HOME=/ DEVICE=/proc/bus/usb/001/002 \
>   INTERFACE=8/5/0 PRODUCT=a17/4/1000 TYPE=0/0/0 DEBUG=kernel _=/usr/bin/env)
> Apr  2 21:57:11 [hotplug] invoke /etc/hotplug/usb.agent ()
> Apr  2 21:57:14 [usb.agent] ... no modules for USB product a17/4/1000
> 
> Thanks for any hints!

I think the problem is that your Linux kernel doesn't know what the
camera is. You need to add a device declaration to the kernel source and
rebuild your kernel. Your camera should work once you are running a
kernel has the right declaration.

In the kernel file drivers/usb/storage/unusual_devs.h, add the following
(if you feel unsure of where to put it, just put it at the very end of
the file):

/* Pentax Optio 330/430RS digital still cameras */
UNUSUAL_DEV(  0x0a17, 0x0004, 0x0000, 0xffff,
                "Pentax",
                "Optio 330/430 RS",
                US_SC_8070, US_PR_CB, NULL,
                US_FL_MODE_XLATE|US_FL_FIX_INQUIRY ),

Attachment: pgpoz_NE9beXL.pgp
Description: PGP signature


Reply to: