Skip navigation.
Home
Now Shipping Version 7.0

How I got my USB drive working on 3.4 RC1

roadrash's picture

Posts: 171

I couldnt get my pen drive to work on simply mepis 3.4.1 rc1 but it did get recognised & put up a desktop icon but it was identified as sda1 & I was unable to mount it or do anything with it. I tried the same pen drive on kanotix & it worked pefectly & it was identified as sda. I also noticed that kanotix uses "udev" & not "hotplug" to access usb devices so I did the following in mepis to see if it would work & it did.

all done as root:-

1) using snaptic I installed "udev" & "hal"

2) went into /mnt & created a new folder called "sda" & changed its properties to allow all groups read/write access.

3) edited /etc/fstab and added the following line
/dev/sda /mnt/sda vfat users,exec,noauto,umask=000 0 0

I rebooted to be sure it was ok & plugged in my pendrive. The icon for it appeared on the desktop & I was able to mount/open it & read & write to it.
Can someone tell me if I was right to do this or have i made a mistake.

*****UPDATE****

just found out that this has also cured the problem I was having with my Fujitsu laser printer but the only downside so far is that "Digicam" no longer lets me access my kodak digital camera's memory it just returns the error:-

"Failed to connect to camera. Please make sure its connected properly and turned on. Would you like to try again?"

can someone help me to get digikam working with my camera

m_pav's picture

Kodak not the best cameras for USB

Not knowing what model of Kodak camera you have, and having to deal with untold windows users that have had their USB ports trashed by the installation of Kodak drivers, if your camera is a little over 1 year old, it's USB interface may well be one of the older Kodak proprietry types that uses some odd setup.

In Xandros, they seem to show up not as a drive, but as a partition within a drive. I emailed Kodak 2 years ago about this issue and after driving through their pathetic responses, they finally admitted their windows drivers "broke" usb ports. Shame, cause they're really good cameras.

Sorry that my response doesn't help you much, but I thought a little background info may assist in the troubleshooting.

How about posting your full make and model, and have a look at the end of your /var/log/messages file after plugging in your camera to see if it was recognised.

I've never used Digikam, but

I've never used Digikam, but your problem looks similar to the one posted in this thread, that was resolved by letting Digikam rediscover the camera:

http://mail.kde.org/pipermail/digikam-users/2005-October/000450.html

roadrash's picture

My camera is a kodak DX3900.

My camera is a kodak DX3900. yes it is USB with an easyshare dock.

It was working before I installed "udev" but now its not being found by digikam.

gphoto2, gtkam

You could try gphoto2 (command line) or gtkam (graphical front end) for troubleshooting. Do you get anything with these gphoto2 commands:

gphoto2 --auto-detect
gphoto2 --list-files

roadrash's picture

Both commands didnt work.

Both commands didnt work. below is the outut from the shell:-

roadrash@3[~]$ gphoto2 --auto-detect
Model Port
----------------------------------------------------------
roadrash@3[~]$ gphoto2 --list-files

*** Error ***
Could not detect any camera
*** Error (-105: 'Unknown model') ***

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list , please run
gphoto2 as follows:

env LANG=C gphoto2 --debug --list-files

Please make sure there is sufficient quoting around the arguments.

Interestingly, I considered

Interestingly, I considered having to jump through hoops to mount a USB drive (which I use extensively) a security feature. If you didn't want anyone to use a pen drive to extract info from your system, not allowing them to be able to mount it would solve the problem. Maybe I'm just crazy.

roadrash's picture

I'm pleased someone finds a

I'm pleased someone finds a use for all this. Personaly I still need to get my printer, usb pen drive & camera to work in "didgikam" before I can use mepis as I would like to. Kanotix can do it so why not mepis?
Its obviously something to do with installing "udev" which in turn removed "hotplug". Ok I got my laser printer & pendrive working but have now lost access to my digital camera.
I hope somehow someone can help me to get this resolved or that the new 3.4 version of mepis when its released has everything working again.

Boot with camera live?

Have you tried booting with the camera plugged to the usb port and turned on? I had similar problems with my Canon A75 and this made the camera visible to DigiKam, although I had to boot this way every time I wanted the camera to work. If this works for you, you might then check /etc/fstab to see if the system has added a line for the cam.

What happens if you run the

What happens if you run the gphoto2 commands (or gphoto2 --summary) as root (su)? That could rule out a permissions problem.

roadrash's picture

Re: What happens if you run the

This worked perfectly. Thanks a lot mate.
-------------------------------------------------------------------
Have you tried booting with the camera plugged to the usb port and turned on? I had similar problems with my Canon A75 and this made the camera visible to DigiKam, although I had to boot this way every time I wanted the camera to work. If this works for you, you might then check /etc/fstab to see if the system has added a line for the cam.
-----------------------------------------------------------------

Re: What happens if you run the

Glad it worked for you.

Irv

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.