Jump to content

Help With Camera


Daveleh
 Share

Recommended Posts

Hi,

 

When I had ML8.2 insytalled I set up a usb digital camera by following the instructions from Linux Format no 19, as here http://www.linuxformat.co.uk/modules.php?o...mode=typesearch . The camera was a Fuji Finepix 4800Z. I say was because whilst on holiday recently it was lost.

 

Since then I have upgraded to ML9.0 and have had a replacement camera, Fuji Finepix 401. However I cannot get the camera to setup at all.

 

The old camera, in 8.2, was identified as /dev/sda1 and when I went to MCC i was able to see it as a hard drive with a vfat partition.

 

In 9.0 /dev/sdax doesn't exist, nor can I see it in MCC as a harddrive.

 

The steps I followed, and the responses I get, are below:

 

The instructions said:

 

run ps x | grep usb, this resulted in:

 

[root@localhost dave]# ps x | grep usb

2438 ? SW 0:00 [usb-storage-0]

2556 pts/1 S 0:00 grep usb

 

then run modprobe usb-storage, this resulted in:

 

[root@localhost dave]# modprobe usb-storage

[root@localhost dave]#

 

then run less /proc/bus/usb/devices, this resulted in:

 

[root@localhost dave]# less /proc/bus/usb/devices

 

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2

B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0

D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1

P: Vendor=0000 ProdID=0000 Rev= 0.00

S: Product=USB UHCI Root Hub

S: SerialNumber=d400

C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA

I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0

D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1

P: Vendor=04cb ProdID=0114 Rev=10.00

S: Product=USB Mass Storage

S: SerialNumber=Y-370^^^^^020909XFPX0004005599

C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA

I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=05 Prot=00 Driver=(none)

E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms

E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms

E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=1ms

 

then to run less /proc/modules, this resulted in:

 

[root@localhost dave]# less /proc/modules

 

ide-floppy 13316 0 (autoclean)

sd_mod 11788 0 (autoclean) (unused)

usb-storage 51952 0

floppy 49340 0 (autoclean)

lp 6720 0

parport_pc 21672 1

parport 23936 1 [lp parport_pc]

i810 59396 13

agpgart 31840 7 (autoclean)

i810_audio 21352 0

soundcore 3780 0 [i810_audio]

ac97_codec 9928 0 [i810_audio]

ppp_async 7456 0 (unused)

ppp_generic 20064 0 [ppp_async]

slhc 5072 0 [ppp_generic]

ipt_state 568 20 (autoclean)

ipt_REJECT 2744 4 (autoclean)

ipt_limit 856 6 (autoclean)

ipt_LOG 3384 6 (autoclean)

ip_conntrack_ftp 3952 0 (unused)

ip_conntrack 18400 2 [ipt_state ip_conntrack_ftp]

iptable_filter 1644 1 (autoclean)

ip_tables 11672 5 [ipt_state ipt_REJECT ipt_limit ipt_LOG iptable_filter]

af_packet 13000 0 (autoclean)

supermount 14340 1 (autoclean)

nls_iso8859-15 3356 1 (autoclean)

isofs 25652 1 (autoclean)

inflate_fs 17892 0 (autoclean) [isofs]

vfat 9588 0 (autoclean)

fat 31864 0 (autoclean) [vfat]

sr_mod 15096 2 (autoclean)

ide-cd 28712 0

cdrom 26848 0 [sr_mod ide-cd]

ide-scsi 8212 1

scsi_mod 90372 4 [sd_mod usb-storage sr_mod ide-scsi]

usb-uhci 21676 0 (unused)

usbcore 58304 1 [usb-storage usb-uhci]

rtc 6560 0 (autoclean)

ext3 74004 5

jbd 38452 5 [ext3]

 

Then I ran mkdr /mnt/camera followed by mount -t vfat /dev/sda1 /mnt/camera

 

but I keep getting errors.

 

Have I missed anything or do I need to do something else to get sdax recognised?

 

Any help will be gratefully received.

Link to comment
Share on other sites

Does your camera have removable memory cards?  If so you can get USB card readers which are fairly cheap.  I found it was mcuh easier to setup this up under Linux than my camera.

 

Thanks for replying.

 

Yes it does have removable memory. It uses smartmedia. But my original camera installed a dream and they use the same principle, at least I think they do.

 

I'v come across another problem now, might be related might not. I can't get drakconf to launch.

 

I have clicked on MCC on the desktop, typed drakconf in a terminal and entered drakconf in the 'run command' box from the k menu. Each time I get asked for root password and then a small text box appears that says 'loading please wait'. A short while later the text in this box disappears, the frame remains, and then nothing.

 

I'm going to try to re install ML8.2 to see if that gets the camera to work, I've got a mondoarchive backup.

Link to comment
Share on other sites

Does your camera have removable memory cards? If so you can get USB card readers which are fairly cheap. I found it was mcuh easier to setup this up under Linux than my camera.

 

Just out of interest, is there any particular reader that you recommend and also what's the procedure for setting one up ? I don't want to have to pay extra for something else that won't work when I can get around the situation by reinstalling Win98 on a secon drive and having a dual boot system. Not the way I'd really like to go but I want to get this camera working. This is the reason I left the Amiga :(

Link to comment
Share on other sites

The one I've got is called " ZiO! " and theres versions for most versions of memory card. (Mines for SmartMedia) Its USB and I just plugged it in, MDK automatically created a dev entry for it and made an icon on my desktop.

 

Occasionally I have to manually mount it. In which case its just:

 

mount /dev/sda1 /mnt/memory_card (as root)

Link to comment
Share on other sites

The one I've got is called " ZiO! " and theres versions for most versions of memory card.  (Mines for SmartMedia)  Its USB and I just plugged it in, MDK automatically created a dev entry for it and made an icon on my desktop.

 

Hmm, any idea why that doesn't work with the camera plugged in. All that I get is that certain applications won't start, MCC, hardDrake, Removable Media icon. They all try to start and the egg timer goes round and round in the kicker panel but then they all just stop. Take the camera away and they are all fine. Also I have no entry in /dev for sda1. Is it possible to put it in manually?

Link to comment
Share on other sites

A couple of things you could try:

- Try different USB ports.

- Try plugging in the device after you've booted.  Wait a few minutes then check /dev again.  (Its takes a while for it to update).

- Make sure your camera doesn't have some daft download setting.

 

OK, thanks I'll try this weekend and will post to this forum if I get lucky :)

Link to comment
Share on other sites

Just a quick thought, but have you tried the /mnt/camera option in Konqueror? If your camera is supported by gphoto (which it presumably was in 8.2) - then it might work. 

 

This may cut down the likely culprits...

 

 

HTH

 

Dutch

 

No go, as i said earlier I now have a new camera because the old one, which worked, got lost.

 

Thanks anyway

Link to comment
Share on other sites

OK, here's some further info. Perhaps someone out there may be able to decipher whats happening before I resort to re installing Win98.

 

Over the weekend I have done the following:

 

I have re installed ML8.2 and ML9.0, both versions with the camera disconnected. Once they were loaded I plugged the camera cradle into the USB port and turned the camera on. I then waited for 10 mins. Nothing seemed to happen. I couldn't locate any means to view the pics on the card. When I went to Kmenu/Configure/KDE/Information/USB I could see the USB Hub and the USB mouse listed but nothing else. I also tried this without the camera cradle with the same effect.

 

I then reinstalled both systems, this time with the camera plugged in and turned on during the installation process. ML8.2 reported that it was loading the driver for scsi/disk card usb-storage and then continued installing correctly. ML9.0 reported that it was loading the driver for disk/scsi/hardware_raid card usb-storage and then hung. After ten minutes I turned the computer off. When I was in ML8.2 I went to Kmenu/Configure/KDE/Information/USB again. This time I could see entries for USB Hub, USB mouse and USB mass storage - manufacturer Fuji Film. Still can't find a way to view the card contents.

 

I then bought a seperate card reader and installed the OS's again. Both reported that they were loading the same drivers as the last paragraph but this time they both carried on installing correctly. The Kmenu/Configure/KDE/Information/USB shows the mass storage device in both setups but I still cannot find any means to view the card contents.

 

Any ideas anyone?

 

What am I missing or failing to do or what do I need to do correctly?

 

All help appreciated.

 

Dave Le Huray

Guernsey, Channel Islands

Link to comment
Share on other sites

Card Reader:

You say that both 8.2 and 9.0 detected the card reader. Did they create a dev entry? (/dev/sda1 on my machine).

 

Create a directory to mount the card in:

mkdir /mnt/memory_card

 

Then mount the device:

mount /dev/sda* /mnt/memory_card

 

That should allow you to see the contents of the card.

 

Camera:

Even if Linux has no drivers for your camera it should detect it on the USB bus. If it doesn't find it at all, it would suggested a dodge connection. Try booting with and without the camera connected. Plus try riggling around with the camera.

Link to comment
Share on other sites

Card Reader:

You say that both 8.2 and 9.0 detected the card reader.  Did they create a dev entry?  (/dev/sda1 on my machine)..

 

No. This was the way that my old camera worked but I can't get anything with these two items. Also with my old camera sda1 was shown as a hard drive mount point in MCC. Nothing at all with these two.

 

The only way I knew that the mass storage device was identified was because it was displayed in the knmenu as listed previously.

 

Create a directory to mount the card in:

mkdir /mnt/memory_card

 

Then mount the device:

mount /dev/sda* /mnt/memory_card

 

That should allow you to see the contents of the card.

 

This was the wasy I got my old camera working but again, nothing with these two

 

Camera:

Even if Linux has no drivers for your camera it should detect it on the USB bus.  If it doesn't find it at all, it would suggested a dodge connection.  Try booting with and without the camera connected.  Plus try riggling around with the camera.

 

I've got a spare HD so I'm going to install Win98 on it and see if everything works ok that way. I know everything works on another PC with win2K, so if it doesn't I'll check the USB ports....although the usb mouse works fine in both of them.

 

Ho Hum . . . Thanks for replying anyway

Link to comment
Share on other sites

had a USB CompactFlash reader working on LM8.2 for my camera but in LM9

I see this with dmesg

...

usbdevfs: remount parameter error

hub.c: USB new device connect on bus1/1, assigned device number 2

usb.c: USB device 2 (vend/prod 0x781/0x2) is not claimed by any active driver.

SCSI subsystem driver Revision: 1.00

Initializing USB Mass Storage driver...

usb.c: registered new driver usb-storage

usb-uhci.c: interrupt, status 2, frame# 259

scsi0 : SCSI emulation for USB Mass Storage devices

 Vendor: SanDisk   Model: ImageMate II      Rev: 1.30

 Type:   Direct-Access                      ANSI SCSI revision: 02

WARNING: USB Mass Storage data integrity not assured

USB Mass Storage device found at 2

USB Mass Storage support registered.

...

And no /dev/sda shows up...

When I run Control Center->hardware list

And look at the device list I see an entry in Unknow/Others for the deviece...

Vendor: SanDisk Corp.

Bus: USB

Location on the bus: 0:2

Description: SDDR-31 ImageMate CompactFlash Reader / ImageMate SDDR-31

Module: Removable:memory_card

Media class: Mass Storage|SCSI|Bulk (Zip)

Which looks OK, but the option to Configure module is not working...

 

Anyway I think this is FUBAR for now. I hope they can fix...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...