You are not logged in.

#1 2004-10-17 22:09:03

alkat
Member
Registered: 2004-10-16
Posts: 27

help with digital camera

hello,
i followed this wiki
http://wiki.archlinux.org/index.php/Digital%20Cameras

but i still can't have my camera to work on archlinux.

when i type ls -lR /proc/bus/usb to list the content of /proc/bus/usb, what i get differs from what the wiki says (all devices are root).

i also tried the regular way (what i've been using in other distros, that is) so i edited /etc/fstab adding this:
/dev/sda1 /mnt/camera vfat user, etcetera
but it says that it can't find the device sda1.

what can i try?

thanx,
.a.

Offline

#2 2004-10-17 22:15:42

Win
Member
Registered: 2004-03-04
Posts: 155

Re: help with digital camera

Hi alkat.

Are your certain that you have a USB camera? Not all are and you may need to use software such gphoto instead of USB storage-style image transfers.

BTW: Arch Linux provides the following gphoto packages:

extra/gphoto2 2.1.4-3
    A digital camera download and access program.
extra/gtkam 0.1.12-1
    A graphical front-end to gPhoto for GNOME
extra/libgphoto2 2.1.4-2
    The core of gphoto2 software. It is a portable library to gives access to
    more than 400 digital cameras.

You can find more information about gphoto at:

http://www.gphoto.org/

Regards,

Win

Offline

#3 2004-10-17 22:22:25

alkat
Member
Registered: 2004-10-16
Posts: 27

Re: help with digital camera

Win wrote:

Hi alkat.

Are your certain that you have a USB camera? Not all are and you may need to use software such gphoto instead of USB storage-style image transfers.

it's among those supported by libgphoto so i assume it should work...

i haven't tried gphoto, but gthumb which in the last versions should work as gphoto.

the problem is, though, that i don't get the same results as those listed in the wiki i posted above. that's what i'd like to understand now...


thanks,
.a.

Offline

#4 2004-10-17 22:33:28

linfocito
Member
From: Gurupi - TO, Brasil
Registered: 2003-05-18
Posts: 82

Re: help with digital camera

If you use udev, try to put your regular user in the group "disk", and tell us what happens. If it doesn't work, check if the right modules are being loaded.


"...archoholism is a hard disease to cure..."
Archlinux Brasil

Offline

#5 2004-10-17 22:36:43

alkat
Member
Registered: 2004-10-16
Posts: 27

Re: help with digital camera

linfocito wrote:

If you use udev, try to put your regular user in the group "disk", and tell us what happens. If it doesn't work, check if the right modules are being loaded.[/code]

don't use udev... at least i think...

smile

Offline

#6 2004-10-18 00:17:10

colnago
Member
From: Victoria, BC
Registered: 2004-03-25
Posts: 438

Re: help with digital camera

I use udev and my camera works.  Here is what I have set up:

/etc/fstab:
  /dev/sda1  /mnt/camera  vfat     noauto,users,exec  0 0

/etc/udev/permissions.d/udev.permissions:
sd*:root:disk:660
(...so user added to disk group)

mkdir /mnt/camera

/etc/rc.conf:
MODULES=(usb_storage ...)
DAEMONS=(... hotplug ...)

Note that I have the cable stuck in the computer all of the time, so the usb location does not change.  There are some front usb ports on my computer  and if I use them i have to mount sdc1 or sdd1.  When you plug your camera in you can see these right away in /dev.

Offline

#7 2004-10-24 13:26:40

alkat
Member
Registered: 2004-10-16
Posts: 27

Re: help with digital camera

back to this camera issue...


i still can't have my camera to work in archlinux. i found out that my camera (nikon coolpix 2500) supports both ptp and usb-mass-storage.

i followed the wiki on digital camera to the last line but when i plug in my camera and run gtkam (gphoto2 gui) i cannot load the camera; it says that it cannot connect to any camera even though this is plugged in and switched on.

on other distros, i used to manage my photo simply by mounting the camera as a device and then moving all of my pics from the camera disk to my hard disk. to do this i mounted the device /dev/sda1 on /mnt/camera and simply used cp or mv.

when i try to do the same on arch, it says that there is no /dev/sda1. could it be that arch doesn't see my usb devices at all? i have no other usb device so i cannot try with anything else.


what can i do to solve this problem?

it is already too much pain to go back to win to clean my cd-rw (for some reason my cd-writer works ok in linux, except for the fact tha it cannot clean cd.rw...) and i don't want to do the same just for downloading pictures as i would have to do that  on a daily basis... sad

EDIT: i was trying to figure out how to manage usb-storage devices and ran into this:
http://www.aamot.org/ole/photography.html
http://www.aamot.org/ole/photography/storage.html

it says that i need the sg and usb-uhci modules to use usb-mass-storage but modprobe tells me that they are not there. is arch kernel not configured with these modules?  should i compile my own kernel?

.a.


.a.

Offline

#8 2004-10-24 13:46:16

Stanislav
Member
Registered: 2004-10-16
Posts: 82

Re: help with digital camera

don't use udev... at least i think...

if you don't use udev, then your camera won't be on /dev/sda

try to run

hwd -e

as root & see if your camera will be listed there.
for my camera, i need to load the modules usb-storage & sr_mod

if you use kernel-2.6.9, try loading also ub.

i hope this helps.

regards, Stanislav


[URL=http://imageshack.us][img]http://img360.imageshack.us/img360/481/imbulgarian6ph.gif[/img][/URL]

Offline

#9 2004-10-24 14:06:11

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: help with digital camera

Stanislav wrote:

if you use kernel-2.6.9, try loading also ub.

... and if you use ub, then your camera is NOT under /dev/sdXY but under /dev/ubXY


The impossible missions are the only ones which succeed.

Offline

#10 2004-10-24 14:11:16

Win
Member
Registered: 2004-03-04
Posts: 155

Re: help with digital camera

Hi alkat.

As Stanislav states in his previous post, make certain you have the usb-storage and sr-mod modules loaded (using modprobe as root, of course, or put into the MODULES line of /etc/rc.conf).

Turn off and unplug the USB camera.

Now record what you see in the /dev directory:

ls /dev > listing-of-/dev-directory-for-later-reference

No plug in the camera and turn on the camera.

Next (after a short delay for the USB system to discover the device), look at /proc/bus/usb/devices:

less /proc/bus/usb/devices
-or-
grep Manufacturer /proc/bus/usb/devices

or start usbview (you can download and install this utility  using pacman).

You should now see your camera listed.

Now take a look at the /dev directory:

ls /dev

and compare this with the previous listing above. The USB device is probably using the one new entry.

Create a mount point, as root:

mkdir /mnt/camera

and try:

mount /dev/X /mnt/camera

You can now view the files that have been mounted (there may be some lower-down directories to navigate through). There may also be some permissions issues with the files on the USB device, but at least you can get access to them now.

For convenience, aadd an entry to /etc/fstab, for example:

/dev/X /mnt/camera auto defaults,user,noauto,gid=users,umask=117,dma
sk=007 0 0

with X your /dev entry.

Good luck!

Win

Offline

#11 2004-10-24 14:30:07

alkat
Member
Registered: 2004-10-16
Posts: 27

Re: help with digital camera

Stanislav wrote:

don't use udev... at least i think...

if you don't use udev, then your camera won't be on /dev/sda

that's interesting...  how dumb i am...

Stanislav wrote:

try to run

hwd -e

as root & see if your camera will be listed there.
for my camera, i need to load the modules usb-storage & sr_mod

if you use kernel-2.6.9, try loading also ub.

this is what i get:
HARDWARE DETECT ver 3.0
Starting...(expert mode)
  Kernel     : 2.6.8.1
  CPU & Cache: Processor 0 is mobile AMD Athlon(tm) XP 1800+ 1523MHz, 256 KB Cache
  USB        : USB found system: ohci_hcd
  USB Port(s): sync:[1-0:1.0  1-2  usb1  ]

Detecting pci and usb devices...


then nothing else. it has been stuck there for ten minutes now. my camera was plugged in and on.

.a.

Offline

#12 2004-10-24 14:36:37

alkat
Member
Registered: 2004-10-16
Posts: 27

Re: help with digital camera

Win wrote:

Hi alkat.

As Stanislav states in his previous post, make certain you have the usb-storage and sr-mod modules loaded (using modprobe as root, of course, or put into the MODULES line of /etc/rc.conf).

# modprobe sr-mod
FATAL: Module sr_mod not found.


sad

Offline

#13 2004-10-24 14:58:15

Stanislav
Member
Registered: 2004-10-16
Posts: 82

Re: help with digital camera

maybe you have sr-mod build in. here is the output of hwd:

USB DEVICE
VendID  DevID  Module  Description
0461 4d03 "unknown" "Primax Electronics|Kensington Mouse-in-a-box"
054c 0010 "Removable:camera" "Sony Corp.|DSC-S30/S70/S75/505V/F505/F707 Cybershot Digital Camera"
06b9 4061 "speedtch" "Alcatel|USB ADSL Modem (Speed Touch)"

Device partitions... 
/dev/hda  /dev/hda1  /dev/hda2  /dev/hda5  /dev/hda6  /dev/hda7  /dev/hdc
/dev/sda  /dev/sda1

if i think of something i will let you know.


[URL=http://imageshack.us][img]http://img360.imageshack.us/img360/481/imbulgarian6ph.gif[/img][/URL]

Offline

Board footer

Powered by FluxBB