LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 08-24-2006, 09:47 AM   #1
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
mounting digital camera, mounting in general?


When mounting a digital camera you need to know the device name, /dev/sda1 or whatever. This doesn't work for me.

Without paranormal powers how are you supposed to know the device name? Surely there must be some way of finding it out. Equally how are you to know the name of the sound device, or any other device?

Ditto the file-system type.

In fact 'gphoto2 --list-files' and 'gphoto2 --get-file 1-20' works. But I'd like to mount it. Can't help the way I feel. Thanks any help.
 
Old 08-24-2006, 10:34 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
The output of 'dmesg', short after attaching the device should indicate the device name.
 
Old 08-24-2006, 07:57 PM   #3
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 69
Similarly, after you connect the device, try running
Code:
fdisk -l
Note that's a lowercase "L"
 
Old 08-25-2006, 07:39 AM   #4
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Original Poster
Rep: Reputation: 49
Alright, that's beautiful. Thanks boys and girls; I just didn't know that.
 
Old 08-26-2006, 09:35 AM   #5
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Original Poster
Rep: Reputation: 49
Code:
Assume this is the relevant stuff from dmesg. Still not obvious what the driver is. Is it just something about usb - which I don't know anything about?? The camera plugs in via the usb connector.

sb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 16:52:03 May 16 2005
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 11 for device 00:07.2
PCI: Sharing IRQ 11 with 00:03.0
PCI: Sharing IRQ 11 with 00:03.1
PCI: Sharing IRQ 11 with 00:10.0
usb-uhci.c: USB UHCI at I/O 0xdce0, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
hub.c: new USB device 00:07.2-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x54c/0x4e) is not claimed by any active driver.
sb.c: USB disconnect on device 00:07.2-1 address 2
hub.c: new USB device 00:07.2-1, assigned address 3
usb.c: USB device 3 (vend/prod 0x54c/0x4e) is not claimed by any active driver.
fdisk -l gives nothing either as user or root. Looked in the corresponding /proc thing and nothing apparently usefull.

The camera's plugged in via USB. Does that mean some sort of obvious device?

Thanks any help.
 
Old 08-27-2006, 02:09 AM   #6
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 727
Blog Entries: 2

Rep: Reputation: 43
Most cameras have 2 modes - Disk or USB mode, and Camera or PTP mode. The first is the USB Mass Storage Device mode, which is generally what you need to mount a USB device (unless there's a specific driver for your particular device, like the Manager driver for iRiver devices).

In Camera or PTP mode the camera is expecting a specific, narrow range of communication events, and has limited ability to respond to those events. For example, the filename must be a certain string of characters, it must be in certain folders, etc. otherwise any illegal files will not be reported. This mode is designed to be simple and foolproof since it's only supposed to handle image and video files. gphoto is coded to work with this mode natively.

Anyway, the point is that you should check to see if your camera is in the wrong mode to be used as a mass storage device.
 
Old 08-29-2006, 12:52 PM   #7
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Original Poster
Rep: Reputation: 49
Thanks. That's probably it - the camera's in PTP, picture transfer protocol, mode; which is presumably why 'gphoto2 --get-all-files', for example, works.

I'll try USB, Mass Storage Device mode. And see if the previous advice then signals which device to mount.
 
  


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
Mounting Digital Camera jeff1500 Slackware 8 12-17-2004 05:52 PM
Digital Camera Mounting Roy-Svork Linux - Hardware 1 03-23-2004 08:39 AM
Mounting a digital camera? the_rydster Slackware 3 03-04-2004 05:06 AM
mounting digital camera true_atlantis Linux - Hardware 4 03-01-2004 02:48 AM
mounting digital camera? mbbender Linux - General 4 08-19-2003 12:08 AM


All times are GMT -5. The time now is 07:35 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration