Find the answer to your Linux question:
Results 1 to 8 of 8
Ok kernel recognizes my camera. However I can not mount it for some reason. Code: Bus 001 Device 009: ID 04a9:309c Canon, Inc. PowerShot S1 IS Code: root@dmitri:/dev# fdisk -l ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2005
    Posts
    11

    problem mounting usb camera


    Ok kernel recognizes my camera. However I can not mount it for some reason.

    Code:
    Bus 001 Device 009: ID 04a9:309c Canon, Inc. PowerShot S1 IS
    Code:
    root@dmitri:/dev# fdisk -l
    
    Disk /dev/hdc: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/hdc1               1       30401   244196001    7  HPFS/NTFS
    
    Disk /dev/hda: 40.9 GB, 40992473088 bytes
    255 heads, 63 sectors/track, 4983 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/hda1   *           1        2492    20016958+   7  HPFS/NTFS
    /dev/hda2            2493        4877    19157512+  83  Linux
    /dev/hda3            4878        4983      851445    5  Extended
    /dev/hda5            4878        4983      851413+  82  Linux swap
    
    Disk /dev/hdb: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/hdb1               1        4864    39070048+  83  Linux
    /dev/hdb2            4865        7297    19543072+  83  Linux
    /dev/hdb3            7298       19457    97675200    7  HPFS/NTFS
    Same output for every sd* I try. (sda, sdb, sdc etc)
    Code:
    root@dmitri:/dev# mount /dev/sda1 /mnt/iso
    mount: /dev/sda1 is not a valid block device
    Am I missing something?

  2. #2
    Linux Enthusiast
    Join Date
    Jun 2005
    Posts
    668
    what kernel are you running?

    if its 2.6.x , do you have hotplug and udev services enabled?

    does the device node /dev/sda and /dev/sda1 appear upon plugging in the device?

  3. #3
    Just Joined!
    Join Date
    Nov 2005
    Posts
    11
    what kernel are you running?
    2.4.31, the default one.

    if its 2.6.x , do you have hotplug and udev services enabled?
    The /dev directory is not dynamic, i have probably over a 1000 devices there. Hence, i guess, i don't have udev at all.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Enthusiast
    Join Date
    Jun 2005
    Posts
    668
    you need a script called 'rescan-scsi-bus.sh' or similar

    you can find it anywhere online by googling, it comes with slax too, its used for 2.4 kernels for adding scsi devices via the /proc interface.

    if you upgraded to the 2.6 package on the 2nd cd you could enable hotplug and udev services and the camera would probably claim the /dev/sda device automatically. you could setup your own udev rules like I have so that it always appears as /dev/camera so that you could setrup a valid fstab rule thats never likely to change.

    its up to you what you decide on though.

  6. #5
    Linux Engineer
    Join Date
    Nov 2004
    Location
    home
    Posts
    796
    A quick google search tells me that you need to use gphoto to get to your pictures.

  7. #6
    Linux Enthusiast
    Join Date
    Jun 2005
    Posts
    668
    no you don't . but you can choose to.

    once its mounted you can use anything you want to copy them off, its just part of the filesystem after all.

    that includes gphoto but does not exclusively mean only gphoto

  8. #7
    Linux Engineer
    Join Date
    Nov 2004
    Location
    home
    Posts
    796
    I didn't search much. I was just noticing that you can use gphoto to get to the pictures instead of trying to get it mounted. gphoto has it's own drivers.

  9. #8
    Linux Enthusiast
    Join Date
    Jun 2005
    Posts
    668
    thats right, gphoto uses USBFS (/proc/bus/usb/devices)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •