LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-17-2009, 05:19 PM   #1
randomx
Member
 
Registered: Feb 2003
Location: Hawaii
Distribution: Debian
Posts: 130

Rep: Reputation: 16
Question Unable to mount usb device manually


Debian Lenny, kernel 2.6.26-2-686

I'm trying to manually mount my digital camera.
Picasa recognizes the device and imports pictures. However, I'd like to access my device manually as there are small video files I'd like to retrieve. It's for a fujifilm Z33 WP digicam.

Code:
$ lsusb
Bus 005 Device 010: ID 04cb:01f5 Fuji Photo Film Co., Ltd 
Bus 005 Device 004: ID 046d:c012 Logitech, Inc. Mouseman Dual Optical
Bus 005 Device 002: ID 413c:0058 Dell Computer Corp. Port Replicator
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 413c:8103 Dell Computer Corp. Wireless 350 Bluetooth
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Code:
$dmesg | grep -i USB
[   95.476182] usb 5-7: new high speed USB device using ehci_hcd and address 5
[   96.134327] usb 5-7: configuration #1 chosen from 1 choice
[   96.134892] usb 5-7: New USB device found, idVendor=04cb, idProduct=01f5
[   96.134904] usb 5-7: New USB device strings: Mfr=0, Product=2, SerialNumber=3
[   96.134910] usb 5-7: Product: Digital Camera
[   96.134915] usb 5-7: SerialNumber: 123456356456456456
[  449.051668] usb 5-7: USB disconnect, address 5
[  458.156053] usb 5-7: new high speed USB device using ehci_hcd and address 6
[..]
commands "dh -h", "fdisk -l", "less /etc/fstab" aren't particularly useful as they don't show the extra usb device in question.

In Picasa...where it says "Select Device", it finds
Code:
USB PTP Class Camera@usb:
and

Code:
USB PTP Class Camera@usb:005,010
selecting either one of them can access the camera directly.

How can I pinpoint my device and mount it using the regular mount /mnt/point/ /path/to/my/cam?
 
Old 07-17-2009, 06:44 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,307
Blog Entries: 28

Rep: Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136
Try this.

As root. Run dmesg. See how the kernel is seeing the Fuji (probably as a SCSI drive).

Create a mount point in /mnt or /media. Then add the whole thing to your f0stab.

Example (from memory--I may have missed a bit here and there, but it should work in principle. The webpage where I learned about this four years ago seems to have gone to the Big 404 in the Sky).

Code:
/dev/sdc   /mnt/fuji  auto  rw,user   0    0
Then you can mount it with "mount /mnt/fuji" (to continue the example) or create a symlink ("ln -s /mnt/fuji") into your home directory and just use "mount fuji."

I don't use it with my current system, but this worked great before Linux plug and play caught up with the current generation of USB drives. It also worked for my thumb drive and several other USB thingees, like my external USB DVD/CD burner and USB floopy drive.
 
Old 07-18-2009, 01:04 AM   #3
randomx
Member
 
Registered: Feb 2003
Location: Hawaii
Distribution: Debian
Posts: 130

Original Poster
Rep: Reputation: 16
Yes, the dmesg command does not give anything else besides what I wrote earlier.

Code:
#dmesg
[..]
[ 3836.268361] usb 1-2.4.4: new full speed USB device using uhci_hcd and address 6
[ 3836.404299] usb 1-2.4.4: configuration #1 chosen from 1 choice
[ 3836.411509] usb 1-2.4.4: New USB device found, idVendor=04cb, idProduct=01f5
[ 3836.411521] usb 1-2.4.4: New USB device strings: Mfr=0, Product=2, SerialNumber=3
[ 3836.411528] usb 1-2.4.4: Product: Digital Camera
[ 3836.411533] usb 1-2.4.4: SerialNumber: 123456356456456456
[..]
and also...
Code:
#tail /var/log/messages
[ 3836.268361] usb 1-2.4.4: new full speed USB device using uhci_hcd and address 6
[ 3836.404299] usb 1-2.4.4: configuration #1 chosen from 1 choice
[ 3836.411509] usb 1-2.4.4: New USB device found, idVendor=04cb, idProduct=01f5
[ 3836.411521] usb 1-2.4.4: New USB device strings: Mfr=0, Product=2, SerialNumber=3
[ 3836.411528] usb 1-2.4.4: Product: Digital Camera
[ 3836.411533] usb 1-2.4.4: SerialNumber: 123456356456456456
I also tried "modprobe -r uhci_hcd" and "modprobe uhci_hcd" to see the system's reaction to it. Nothing changed.

I also triggered Picasa, selected the device and opened a terminal to see the data flow...no indication as to where it is mounting the camera or if it's accessing the device directly through /dev/xxx (no joy on /dev/sdc by the way)

Any other thoughts?
 
Old 07-18-2009, 02:36 PM   #4
randomx
Member
 
Registered: Feb 2003
Location: Hawaii
Distribution: Debian
Posts: 130

Original Poster
Rep: Reputation: 16
I haven't been able to access the device directly (mount it manually or automount) *BUT* a quick solution to retrieve my video files and pictures was to use gtkam.

I was hesitant to even try it in the beginning even before posting because of a bad experience I had before with a diff camera. I'm sure gphoto2 and others may have allowed me to get my raw pix and video files but I didn't try those.

Anyway...thanks for helping; gtkam did it for me.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to mount a usb device since upgrade bcjohnson Linux - Hardware 4 06-09-2009 03:13 AM
Booting stops after: Unable to access resume device, mount: could not mount ... lespaul047 Linux - Newbie 2 04-06-2009 05:50 PM
how does one manually mount a usb stick ninja master Linux - Hardware 2 03-16-2009 02:17 PM
Mayday! How do I manually mount my encrypted ext3 external usb disk? simonsharry Linux - Newbie 11 02-15-2009 04:49 AM
HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu arnostienen Slackware 2 01-29-2004 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration