Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
usb-storage driver does not recognize my digital camera
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
aysther
n00b
n00b


Joined: 05 Sep 2005
Posts: 68
Location: Charlotte, NC

PostPosted: Thu Jul 26, 2007 11:16 pm    Post subject: usb-storage driver does not recognize my digital camera Reply with quote

I have a Canon EOS400D Rebel XTi, and I'm having some trouble getting it mounted as a storage device so that I can grab photos from it. Any help would be appreciated.

When i plug in the camera, I get this:
Code:
usb 1-4: new high speed USB device using ehci_hcd and address 5
usb 1-4: configuration #1 chosen from 1 choice


And when I disconnect it, I get this:
Code:
usb 1-4: USB disconnect, address 5


So I know the kernel sees it, but I'm not sure how to get it working and mounted as a device.
I know it's not creating anything in the /dev filesystem, either.

Does anyone know what I need to configure in the kernel (in addition to the main usb-storage driver) to get this working?
Thanks!
_________________
Microsoft Ceo "I'm Going to F'ing Kill Google."
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Fri Jul 27, 2007 12:03 am    Post subject: Reply with quote

OK, what specifically are you doing to try and read it, and what, if any, errors have you seen? As far as the kernel goes, besides "USB Mass Storage support", you may need to enable "SCSI disk support", though it probably is already. You could try adding "SCSI generic support".
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
shaumux
Veteran
Veteran


Joined: 13 May 2005
Posts: 1013
Location: Hamburg

PostPosted: Fri Jul 27, 2007 1:21 am    Post subject: Reply with quote

Do you want automounting feature?
If you can't see any errors there then the camera is working fin.
For automounting you need something like gnome-volumemanager or the kipslaves from kde or ivman
Back to top
View user's profile Send private message
aysther
n00b
n00b


Joined: 05 Sep 2005
Posts: 68
Location: Charlotte, NC

PostPosted: Sat Jul 28, 2007 3:01 am    Post subject: Reply with quote

Ahh, well. In theory, when I plug in the camera. The usb-storage driver should recognize it as a mass-storage device, create a device in /dev as if it were a flash USB key (or something similar) and then I would be able to mount it manually, or with gnome-volume-manager.

However, none of this happens, no device is created in /dev. The only thing that happens is that the system registers a new USB connect / disconnect event, and assigns / frees the address.

I also tried using gphoto2 to auto-detect the camera, but that came back with no devices found.

When I plug the camera into my windows box (I HATE using windows... which is why I care so much about fixing this!) the camera is autodetected, and I can transfer images off. So I must be doing something wrong in Gentoo.
_________________
Microsoft Ceo "I'm Going to F'ing Kill Google."
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5947

PostPosted: Sat Jul 28, 2007 3:30 am    Post subject: Reply with quote

it should show up as a /dev/sdax node... besides usb-storage and some scsi stuff, you shouldn't need anything to mount it, unless its one of those cameras which fakes as a mmc reader.
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
aysther
n00b
n00b


Joined: 05 Sep 2005
Posts: 68
Location: Charlotte, NC

PostPosted: Sat Jul 28, 2007 3:55 am    Post subject: Reply with quote

nope, usb-storage doesn't create an sda, sdb, sdnx... node.
Nothing.
_________________
Microsoft Ceo "I'm Going to F'ing Kill Google."
Back to top
View user's profile Send private message
shaumux
Veteran
Veteran


Joined: 13 May 2005
Posts: 1013
Location: Hamburg

PostPosted: Sat Jul 28, 2007 4:34 am    Post subject: Reply with quote

When the camera is connected what does lsusb say?
Back to top
View user's profile Send private message
aysther
n00b
n00b


Joined: 05 Sep 2005
Posts: 68
Location: Charlotte, NC

PostPosted: Sat Jul 28, 2007 1:27 pm    Post subject: Reply with quote

Code:
sharktop ~ # lsusb
Bus 005 Device 001: ID 0000:0000 
Bus 004 Device 001: ID 0000:0000 
Bus 001 Device 010: ID 04a9:3110 Canon, Inc.
Bus 001 Device 001: ID 0000:0000 
Bus 003 Device 001: ID 0000:0000 
Bus 003 Device 002: ID 08ff:2580 AuthenTec, Inc.
Bus 002 Device 001: ID 0000:0000 
sharktop ~ #


I did get gphoto2 to recognize the camera as root (probably need to add the cameras group) but I still can't get it mounted as a drive.
_________________
Microsoft Ceo "I'm Going to F'ing Kill Google."
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Sat Jul 28, 2007 2:43 pm    Post subject: Reply with quote

What makes you think that your camera supports usb-storage?
My canon is3 uses PTP. You can't mount it, but gphoto2 (I
use the digikam frontend) works fine (after you get the groups/
permission stuff right).
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Sat Jul 28, 2007 9:17 pm    Post subject: Reply with quote

albright wrote:
What makes you think that your camera supports usb-storage?


It probably can be used that way, just not at the moment. I had an HP camera a ways back that for a long time only worked in PTP mode on linux, and at some point it became mountable via the USB storage driver.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
aysther
n00b
n00b


Joined: 05 Sep 2005
Posts: 68
Location: Charlotte, NC

PostPosted: Sat Jul 28, 2007 11:21 pm    Post subject: Reply with quote

Well. For the time being, assuming it's not supported by usb-storage... what do I need to do to get the groups set up right for digikam?
_________________
Microsoft Ceo "I'm Going to F'ing Kill Google."
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Sun Jul 29, 2007 12:02 am    Post subject: Reply with quote

Quote:
what do I need to do to get the groups set up right for digikam?


I think it's enough for the user to be in the plugdev group (and have
hal and dbus running) but I may be misremembering the complexity
here. Plug the camera in, if digikam doesn't start by itself start
digikam, if your camera isn't auto detected manually detect
camera. Eventually, everything works.[/quote]
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
aysther
n00b
n00b


Joined: 05 Sep 2005
Posts: 68
Location: Charlotte, NC

PostPosted: Sat Aug 04, 2007 1:44 pm    Post subject: Reply with quote

Thanks,

I just realised that I am actually using gtkam, not digikam. Does anyone know how to set up permissions for that? I've searched the online documentation, and haven't come up with anything that works.

I can access the camera via root, but not via my own user. I have tried adding permissions to plugdev, and camera.

Thanks!
_________________
Microsoft Ceo "I'm Going to F'ing Kill Google."
Back to top
View user's profile Send private message
zephirus
n00b
n00b


Joined: 21 Nov 2003
Posts: 66

PostPosted: Mon Aug 27, 2007 6:41 pm    Post subject: Reply with quote

Just tackled this same thing... I had to put gtkam, gphoto2, and libgphoto2 in my portage.keywords... 400D is supported in 2.3 but 2.2 was the latest 'stable' in portage... for AMD64 at least...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum