Re: help with digital camera (USB) in fedora

From: Richard Adams (myspam_at_spam.com)
Date: 11/23/03


Date: Sun, 23 Nov 2003 10:46:15 +0100

On Sat, 22 Nov 2003 07:26:48 +0000, me wrote:

> I think I left some of the dmesg off before, here it is again:

[SNIP]

Firstly i cant find any info on sony's site about the camera you mentioned
which was "(sony digital camera, dc-s50)" are you sure thats correct.??
I did find a DSC-U50 which seems to fit the bill.!!

> WARNING: USB Mass Storage data integrity not assured
> USB Mass Storage device found at 7
> ---------------------------------------

It seems according to the above the device has been found, which means it
should be mountable, however before that can happen we need to know if
things are in place.

Now you also said in your origanal message (sorry but i just noticed it)

" Fedora (with 2.6 kernel, scsi emulation not selected at compile)."

That means no scsi emulation and hence NO USB camera can be mounted.
Stop here go back to start, install a 2.4.xx kernel surely fedora comes
with a pre compiled 2.4.xx kernel and all its modules.???
Or if not then reconfigure, recompile and install a kernel with support
for your hardware and include SCSI emulation.

Under "ATA/ATAPI/MFM/RLL support"
CONFIG_BLK_DEV_IDESCSI=m

Under "SCSI device support"
CONFIG_SCSI=y
CONFIG_SCSI_PROC_FS=y
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_ST=m
CONFIG_CHR_DEV_OSST=m
CONFIG_BLK_DEV_SR=y
CONFIG_CHR_DEV_SG=y

+ USB support for all your hardware and.
CONFIG_USB_STORAGE=m

> I tried to mount /dev/sda and /dev/sda1. /dev/sda1
> isn't valid,

No SCSI emulation... Or ide-scsi module not loaded

> /dev/sda gives:
>
> /dev/sda: Input/output error
> mount: /dev/sda: can't read superblock

You will get that from all disks, you cannot simply mount a "whole" disk,
one mounts disk partitions.

>
> I think the error messages from dmesg might indicate I don't have a
> filesystem loaded that it needs. This camera works find under WinXP.

You need to have support for dos/windows filesysytems either in your
kernel or compiled as modules

Under "DOS/FAT/NT Filesystems"
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_NTFS_FS=m

> Any help is appreciated.

Make sure you install the kernel and configure your bootloader properly
before rebooting.
I am presuming you know all that anyway.

-- 
If the Linux community is a bunch of theives because they
try to imitate windows programs, then the Windows community
is built on organized crime.
Regards Richard
pa3gcu@zeelandnet.nl
http://people.zeelandnet.nl/pa3gcu/


Relevant Pages

  • mounting digital camera as block device? (kernel 2.6)
    ... digital camera as a block device? ... So far attempts to build anything that'll give me a SCSI device to mount ... I've built a kernel with the following (and various combinations ... SCSI generic support ...
    (comp.os.linux.setup)
  • cdrom, kernel 2.6 and ripping audio cds
    ... I was using scsi emulation for the dvd-rom and cd ... After switching over to kernel 2.6.4 with ATAPI CDROM support enabled, ... ripperx as a normal user. ... SCSI generic support is enabled for use with my USB flash media key. ...
    (Debian-User)
  • Re: Staging tree status for the .32 kernel merge
    ... but some (camera) will take longer than that. ... I've got a tree with a lot of the arch/arm/msm pieces isolated, ... It's based off a newer kernel 2.6.31-rc6. ... since the qct/quicinc folks support ...
    (Linux-Kernel)
  • Re: pentax optio 330gs
    ... Jan 27 16:58:40 kcore kernel: WARNING: USB Mass Storage data integrity not ... my camera is not even in thier at all but it still works. ... > ID's are differant but basicly they all need ide-scsi emulation and they ... > 2) Do you have ide-scsi support either as module or compiled into the ...
    (alt.linux)
  • Re: pentax optio 330gs
    ... my camera is not even in thier at all but it still works. ... ID's are differant but basicly they all need ide-scsi emulation and they ... Do you have ide-scsi support either as module or compiled into the ... Your kernel would also need FS support for your device, ...
    (alt.linux)