LinuxQuestions.org
Review your favorite Linux distribution.
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 10-06-2004, 04:14 AM   #1
lauram93
Member
 
Registered: Jul 2004
Location: California
Distribution: Slackware 10, Mandrake 10, Solaris 9 at school
Posts: 36

Rep: Reputation: 15
mounting USB


I downloaded and installed gphoto2 for my canon powershot, but I'm having mounting issues.

# mkdir /mnt/USB
# mount /dev/sda1 /mnt/USB
mount: /dev/sda1 is not a valid block device

I don't even know if /dev/sda1 is correct, I did both "dmesg" and "cat /var/log/messages" and couldn't find any reference to the path. I did however try sda2, sda and sdb1 also, with the same problems.

Slackware 10, kernel 2.4.26

Last edited by lauram93; 10-06-2004 at 04:29 AM.
 
Old 10-06-2004, 09:22 AM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
Firstly, we need to check if the device is recognised as a usb-storage device.

Plug-in the camera to the USB port.
Wait a couple of seconds.
Type dmesg and see if there's any mention of a 'new device'.
If you have cdrecord installed, this can also be useful:
Type cdrecord -scanbus to scan the scsi buses for devices - in kernel 2.4 USB storage is treated as SCSI storage so it should show up.
To determine which partition you should use, you can try:
Type fdisk -l (note: that's a lower-case L and you need to be root). There should be either /dev/sdLN (where L is a letter and N is a number) or /dev/scsi/busX/lunX/deviceX/somethingelseX. This is what you need to use when mounting.

Hope this helps.
 
Old 10-06-2004, 03:17 PM   #3
lauram93
Member
 
Registered: Jul 2004
Location: California
Distribution: Slackware 10, Mandrake 10, Solaris 9 at school
Posts: 36

Original Poster
Rep: Reputation: 15
Thanks, I'll try those things out later.. no time today, probably tomorrow night.
 
Old 10-08-2004, 03:36 AM   #4
lauram93
Member
 
Registered: Jul 2004
Location: California
Distribution: Slackware 10, Mandrake 10, Solaris 9 at school
Posts: 36

Original Poster
Rep: Reputation: 15
OK, I'm back.

After plugging in the camera, two new lines appear in dmesg:

hub.c: new USB device 00:1d.0-2, assigned address 2
usb.c: USB device 2 (vend/prod 0x4a9/0x309a) is not claimed by any active driver.

# cdrecord -scanbus

Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

# fdisk -l

Disk /dev/hda: 20.0 GB, 20003880960 bytes
255 heads, 63 sectors/track, 2432 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1648 13237528+ 7 HPFS/NTFS
/dev/hda2 1649 2400 6040440 83 Linux
/dev/hda3 2401 2432 257040 5 Extended
/dev/hda5 2401 2432 257008+ 82 Linux swap


no sd* devices..
 
Old 10-08-2004, 06:30 AM   #5
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Well, that is the problem there:

Code:
usb.c: USB device 2 (vend/prod 0x4a9/0x309a) is not claimed by any active driver.
The kernel doesn't know what driver to load for your camera.

What version of the Powershot do you have?
 
Old 10-09-2004, 06:53 PM   #6
lauram93
Member
 
Registered: Jul 2004
Location: California
Distribution: Slackware 10, Mandrake 10, Solaris 9 at school
Posts: 36

Original Poster
Rep: Reputation: 15
Powershot A80
 
  


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
usb controller dies mounting external usb hard disk komasoftware Linux - Hardware 4 11-30-2005 02:18 PM
Mounting USB fireedo Slackware 1 08-08-2005 12:40 PM
mounting USB issey Linux - Newbie 3 03-26-2005 12:58 PM
Help mounting a USB HD Kyral Retsam Linux - Hardware 1 07-30-2004 09:00 PM
Mounting my USB external drive, USB 1.1 Devillion Linux - Hardware 4 01-04-2004 10:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:39 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration