?
Solved

Sony cybershot digital camera on Ubuntu

Posted on 2006-10-21
18
Medium Priority
?
1,837 Views
Last Modified: 2013-12-16
When connecting the usb cable to ubuntu it does not find it automatic

What is the way to mount usb digital camera

The camera is Sony cybershot DSC

The ubuntu is last version
0
Comment
Question by:oferweisglass
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 9
  • 7
18 Comments
 
LVL 40

Expert Comment

by:noci
ID: 17791550
after 'sudo modprobe usb-storage'
a /dev/sdXY disk should come to live. (X & Y depending on allready present
disks & partitions).

That /dev/sdXY  unit can be mounted on an empty directory (f.e. create a directory
/mnt/cybershot for this) and you can move
around that volume.
0
 

Author Comment

by:oferweisglass
ID: 17826808
when connecting the cable to the computer - USB cable the system freez and only restart is working

2nd qustion - how do I check what is my already present disks and partitions?

thank you
0
 
LVL 40

Expert Comment

by:noci
ID: 17826822
@2:

  mount
or
  df
or
  ls -l /dev/hd* /dev/sd*

@1:
It might be possible to still access your system through ssh or on one of the consoles (Ctrl/Alt/F1 .. Ctrl/Alt/F6)
With Alt/F7 you should be able to switch back to full screen.

When to can access your system it woulc be interesting what 'dmesg' shows
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:oferweisglass
ID: 17827780
not what I got it - what to do in order that the system will not freez when conneting the USB cable and openning the camera?
0
 
LVL 40

Expert Comment

by:noci
ID: 17828435
I am not sure about that....,

If there is no error message or any hint WHAT is broken, then what can you repair.
There can be lots of reasons why it would fail. Most probable because of a driver
failure the interrupts get disabled?, that would clean out a system fairly quickly.

It's a bit like your care broke..., nothing happens when you turn the key...,
you'll have to look under the hood to see what's wrong. Or call someone to help you with it. You more or less called a garage 100's/1000's of miles away, and they ask you questions to lookup specific problems what do you do...?

With the information you gave there is not a lot to go on.
Sony has several camera's, there are several ubuntu releases.
There's a lot of ways things can go wrong to solve this more info is needed:

What is your Ubuntu version
What is the kernel version (uname -a)
What is in the log files w.r.t. (interrupts/usb/...?)
last errors before the lockup.

0
 

Author Comment

by:oferweisglass
ID: 17829300
Ubuntu 6.06 LTS - the Dapper Drak

Linux mycomputer-laptop 2.6.15-27-386 #1 PREEMPT Sat Sep 16 01:51:59 UTC 2006 i686 GNU/Linux

and nothing is broken this - I just not sure what to write after connecting the camera
in the konsol

nothing is freez now - I just need to find what to write.

I wrote
sudo modprobe usb-storage and now it is back to the command line

also in the camara screen it writes USB mode connecting which means it is connecting.

can you please write me how to create the dir and is it also possible to see it in the file broswer (graphic interface)

thank you

0
 

Author Comment

by:oferweisglass
ID: 17829341
I wrote dmesg

and here are the last lines

[17181122.484000] usb 1-1: new full speed USB device using uhci_hcd and address 17
[17181122.892000] usb 1-1: device not accepting address 17, error -71
0
 
LVL 40

Expert Comment

by:noci
ID: 17830087
0
 

Author Comment

by:oferweisglass
ID: 17830357
Thank you for the links

I did by this
http://www.linuxquestions.org/questions/showthread.php?s=381ee0aef2fcec3b99ad07fd21f71354&t=116910&page=2

"first check if ehci-hcd is inserted by running (thats the usb 2.0 module)
$ cat /proc/modules
then remove all the usb modules and reinsert most of them

# modprobe -r usb-storage; modprobe -r uhci; modprobe -r ehci-hcd
# modprobe usb-storage; modprobe uhci"


and this what the command line wrote

FATAL: Module uhci not found.

From what I understand the adaptor is for USB2 and I need to set it up for older hardware - USB1
Am I right?
0
 
LVL 40

Expert Comment

by:noci
ID: 17830593
the module is uhci-hcd not uhci...,
That's what your errormessage refers to. (.... not found).

the ehci-hcd is the usb 2.0 driver.
Also check if you use a USB2.0 hub on a USB 1.1 host port.
or USB1.1 cabling on usb 2.0 equipment.
0
 

Author Comment

by:oferweisglass
ID: 17830663
you are right the two lines working when fixing:

modprobe -r usb-storage; modprobe -r uhci-hcd; modprobe -r ehci-hcd
modprobe usb-storage; modprobe uhci-hcd

but what to do now? it is back to the command line

and how to check about the USB2?
is there any command to write?

0
 
LVL 40

Expert Comment

by:noci
ID: 17832639
Can you connect to your camera when using usb-1 drivers?
When a connection does start, it should create a new sdXY device.
X&Y depending on wether you already have SCSI controllers. a1 is the first.
This should be visible in 'dmesg'  and 'ls -l /dev/sd*'




0
 

Author Comment

by:oferweisglass
ID: 17993134
now can see it as connected but again not sure how to mount it

mount... ???
0
 
LVL 40

Accepted Solution

by:
noci earned 500 total points
ID: 17993925
A device should be created when you attach your camera
(like sdxN x=a,b,c,d... N=1,2,3,4) and that device can be mounted.

As most Flash devices it uses a plain FAT filesystem for storage
of data. Also all pictures are probably stored in a subdirectory because
a toplevel directory has limited capabilities for that.

mkdir -p /mnt/camera
mount -t fat /dev/sdxN /mnt/camera

You can use KDE Kamera to help, and otherwise look for it using
konqueror media:/
0
 
LVL 40

Expert Comment

by:noci
ID: 17993927
On gnome the tool of choice might be gphoto (not sure there)
0
 
LVL 40

Expert Comment

by:noci
ID: 17993941
'mount -t vfat...' might also be 'mount -t vfat ...'
0

Featured Post

DFW AZURE MEETUP TONIGHT FRI 6PM

We will be discussing what Azure Stack is, how does it fit into the suit of offerings that Azure has currently, and where can it fit into your organizations technology stack. We will also be discussing limitations of the platform while covering various applicable scenarios.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month8 days, 14 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question