View previous topic :: View next topic |
Author |
Message |
darkphoenix16 n00b
Joined: 23 Apr 2003 Posts: 71 Location: Nova Scotia, Canada
|
Posted: Tue Dec 23, 2003 4:40 am Post subject: Digital Camera Problem |
|
|
Hi, I have a Panasonic DMC-LC43 camera. Im trying to get it working in linux...
I'm using the new 2.6 kernel (gentoo-dev-sources). I believe I have everything right in the kernel.
When I plug in the camera I get this from dmesg:
hub 2-0:1.0: new USB device on port 2, assigned address 2
Initializing USB Mass Storage driver...
drivers/usb/core/usb.c: registered new driver usb-storage
USB Mass Storage support registered.
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: MATSHITA Model: DMC-LC43 Rev: 0100
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 29121 512-byte hdwr sectors (15 MB)
sda: Write Protect is off
sda: Mode Sense: 00 06 00 00
sda: assuming drive cache: write through
/dev/scsi/host0/bus0/target0/lun0: p1
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
...So I think the above is good news right?
I know that it uses the FAT (16) filesystem by checking in windows. So I put the following in my /etc/fstab file:
/dev/sda1 /mnt/camera fat user,sync,noauto 0 0
when I : mount /mnt/camera
i get : mount: fs type fat not supported by kernel
Now, I have a fat32 partition mounted using vfat..which I think is strange since I cant mount a fat one.
So I believe this mught be a problem with the camera (which is why I posted it in hardware). I have fat and vfat compiled in my kernel, I had modules before with no change.
If anyone has some suggestions let me know.
Thanks |
|
Back to top |
|
|
Regor Guru
Joined: 06 Aug 2002 Posts: 545 Location: 39° 2' 48" N, 120° 59' 2" W
|
Posted: Tue Dec 23, 2003 7:57 am Post subject: |
|
|
Mount knows of no "fat" filesystem type. Vfat should work, or try msdos. _________________ Sometimes the appropriate response to reality is to go insane.
-Philip K. Dick, Valis |
|
Back to top |
|
|
darkphoenix16 n00b
Joined: 23 Apr 2003 Posts: 71 Location: Nova Scotia, Canada
|
Posted: Tue Dec 23, 2003 4:38 pm Post subject: |
|
|
Hi, thanks...I didnt know about the msdos type....vfat didnt work but msdos works great!!!
This is fantastic...this camera isnt supported by gphoto2 but I can still get the photos by setting it up as a USB mass storage device There is an error in my dmesg now when I plug in the camera...but I can still access the pictures. Maybe this will be of use to a programmer somewheres so I will post it but there is no problem now.
hub 2-0:1.0: new USB device on port 2, assigned address 2
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: MATSHITA Model: DMC-LC43 Rev: 0100
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 29121 512-byte hdwr sectors (15 MB)
sda: Write Protect is off
sda: Mode Sense: 00 06 00 00
sda: assuming drive cache: write through
SCSI device sda: 29121 512-byte hdwr sectors (15 MB)
sda: Write Protect is off
sda: Mode Sense: 00 06 00 00
sda: assuming drive cache: write through
SCSI device sda: 29121 512-byte hdwr sectors (15 MB)
sda: Write Protect is off
sda: Mode Sense: 00 06 00 00
sda: assuming drive cache: write through
/dev/scsi/host0/bus0/target0/lun0: p1
/dev/scsi/host0/bus0/target0/lun0: p1
devfs_mk_bdev: could not append to parent for scsi/host0/bus0/target0/lun0/part1
kobject_register failed for sda1 (-17)
Call Trace:
[<c01f72a2>] kobject_register+0x52/0x60
[<c0187a79>] add_partition+0xb9/0xd0
[<c0187c2e>] register_disk+0x13e/0x170
[<c024001a>] add_disk+0x4a/0x60
[<c023ffa0>] exact_match+0x0/0x10
[<c023ffb0>] exact_lock+0x0/0x20
[<c9822a4e>] sd_probe+0x1de/0x2c0 [sd_mod]
[<c01891a5>] sysfs_add_file+0xa5/0xb0
[<c0238f9f>] bus_match+0x3f/0x70
[<c0239011>] device_attach+0x41/0xa0
[<c02391fb>] bus_add_device+0x5b/0xa0
[<c02380e5>] device_add+0xb5/0x120
[<c9bd4748>] scsi_sysfs_add_sdev+0x58/0x170 [scsi_mod]
[<c9bd3323>] scsi_add_lun+0x2e3/0x3d0 [scsi_mod]
[<c9bd3530>] scsi_probe_and_add_lun+0x120/0x1b0 [scsi_mod]
[<c9bd3b81>] scsi_scan_target+0xa1/0x120 [scsi_mod]
[<c9bd3c59>] scsi_scan_channel+0x59/0xa0 [scsi_mod]
[<c9bd3d65>] scsi_scan_host_selected+0xc5/0xd0 [scsi_mod]
[<c9bd3d9f>] scsi_scan_host+0x2f/0x40 [scsi_mod]
[<c9841ac8>] storage_probe+0x158/0x1d0 [usb_storage]
[<c0189300>] init_dir+0x0/0x20
[<c0281663>] usb_probe_interface+0x73/0xa0
[<c0238f9f>] bus_match+0x3f/0x70
[<c02390cc>] driver_attach+0x5c/0x90
[<c023936d>] bus_add_driver+0x8d/0xa0
[<c02397bf>] driver_register+0x2f/0x40
[<c0121b0d>] printk+0x11d/0x180
[<c0281789>] usb_register+0x79/0xd0
[<c998301f>] usb_stor_init+0x1f/0x3e [usb_storage]
[<c013764f>] sys_init_module+0x12f/0x1f0
[<c010b49b>] syscall_call+0x7/0xb
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
drivers/usb/core/usb.c: registered new driver usb-storage
USB Mass Storage support registered. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|