On Wednesday 10 November 2004 09:09, Vishal Rao wrote:
> Hi, IIRC isnt Slackware on Kernel 2.4 ? Would that be a problem of
> lack of USB drivers? These USB-OHCI and UHCI came about only in 2.6
> correct? Unless you are using 2.6 with slack but then slack is known
> to be a 'server' kinda setup not for desktops 8-P Stick with Mandrake!
By the way guys, I partially solved my problem with a minor tweak:
a) Added the following lines to /etc/hotplug/usb.usermap
# usb module match_flags idVendor idProduct bcdDevice_lo bcdDevice_hi
bDeviceClass bDeviceSubClass bDeviceProtocol bInterfaceClass
bInterfaceSubClass bInterfaceProtocol driver_info
# USB PTP Class Camera
usbcam 0x0080 0x0000 0x0000 0x0000 0x0000
0x00 0x00 0x00 0x06 0x00
0x00 0x00000000
b)Next I hand created the script /etc/hotplug/usb/usbcam to read thus
#!/bin/bash
if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ]
then
chmod a+rw "${DEVICE}"
fi
a chmod u+x /etc/hotplug/usb/usbcam finished the job. I am now able to use a
digikam+gphoto2 combo to access the camera through PTP. However PTP isnt
really my first choice as it drains the batteries very fast. I still want to
use USB Mass Storage, and I happen to be facing issues with that. Everytime I
try to do a
# mount -t vfat /dev/sda1 /mnt/camera
I get "mount: /dev/sda1 is not a valid block device". I think I am at a dead
end here, because "tail -f /var/log/messages" doesnt show the camera being
claimed by the usb-storage driver. OTOH /proc/bus/usb/devices does display
the device when plugged in via Mass Storage mode. Any hints??
--
/Sumeet
There are three things I always forget. Names, faces -- the third I
can't remember.
-- Italo Svevo
--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List: ([EMAIL PROTECTED])
List Information: http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.