Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PowerShot A70 and usb [Solved]
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
quaker
n00b
n00b


Joined: 19 May 2004
Posts: 23
Location: Claremont, CA

PostPosted: Tue Dec 28, 2004 12:50 am    Post subject: PowerShot A70 and usb [Solved] Reply with quote

I'm trying to get the canon Powershot A70 working on my computer. I already have an external hard drive mounted via usb2 with four partitions, and this works fine.

I'm using libgphoto2 with the 2.1.3-r1 ebuild, because I read the newer ones don't work. it appears that gphoto2 and gtkam can't detect the camera. When I run gtkam I get this error:

Code:
** (gtkam:10166): WARNING **: Could not find 'P' in port info list (Unknown port)!


running gphoto2 --auto-detect lists absolutely nothing, but the --list-ports command shows the usb Universal Serial Bus as "usb:".

Also, the output of dmesg when I plug the camera into the usb port is:

Code:
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command READ_10 (10 bytes)
usb-storage: 28 00 07 eb 2c 52 00 00 30 00 00 00
usb-storage: Bulk command S 0x43425355 T 0x218d8 Trg 0 LUN 0 L 24576 F 128 CL 10usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 4096 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 4096/4096
usb-storage: usb_stor_transfer_partial(): transfer complete
usb-storage: usb_stor_transfer_partial(): xfer 4096 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 4096/4096
usb-storage: usb_stor_transfer_partial(): transfer complete
usb-storage: usb_stor_transfer_partial(): xfer 4096 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 4096/4096
usb-storage: usb_stor_transfer_partial(): transfer complete
usb-storage: usb_stor_transfer_partial(): xfer 4096 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 4096/4096
usb-storage: usb_stor_transfer_partial(): transfer complete
usb-storage: usb_stor_transfer_partial(): xfer 4096 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 4096/4096
usb-storage: usb_stor_transfer_partial(): transfer complete
usb-storage: usb_stor_transfer_partial(): xfer 4096 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 4096/4096
usb-storage: usb_stor_transfer_partial(): transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x218d8 R 0 Stat 0x0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.


also my fstab looks like this:
Code:

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1      /boot      ext2      defaults,noatime      1 2
/dev/hda3      /      ext3      noatime       0 1
/dev/hda2      none      swap      sw         0 0

/dev/hdc      /mnt/dvd        iso9660      noauto,owner,ro      0 0
/dev/hdc      /mnt/cdrom   iso9660      noauto,rw,user      0 0
/dev/sda1      /mnt/movies   ext3      noatime,rw,user      0 0
/dev/sda2      /mnt/music   ext3      noatime,rw,user      0 0
/dev/sda3      /mnt/data   ext3      noatime,rw,user      0 0
/dev/sda4      /mnt/extra   ext3      noatime,rw,user      0 0
#/dev/fd0      /mnt/floppy   auto      noauto         0 0
#/dev/fd0      /mnt/camera   auto      noauto,rw,user      0 0

# NOTE: The next line is critical for boot!
none         /proc      proc      defaults      0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none         /dev/shm   tmpfs      defaults      0 0

#none         /proc/bus/usb   usbfs      defaults      0 0


If anyone knows what's going on, I'd appreciate it.


Last edited by quaker on Wed Dec 29, 2004 2:26 am; edited 3 times in total
Back to top
View user's profile Send private message
quaker
n00b
n00b


Joined: 19 May 2004
Posts: 23
Location: Claremont, CA

PostPosted: Tue Dec 28, 2004 2:51 am    Post subject: Closer... Reply with quote

I reconfigured my kernel with

Code:
[*]   Preliminary USB device filesystem   


and now I can detect my camera. This was a lot of help:

https://forums.gentoo.org/viewtopic.php?p=462437#462437

However, when I try and list the pictures in the camera, or get them, gphoto2 just sits there. I'm not sure what's going on now. When I plug in the camera dmesg says:

Code:
usb.c: USB disconnect on device 00:0c.0-3 address 10
hub.c: new USB device 00:0c.0-3, assigned address 11
usb.c: USB device 11 (vend/prod 0x4a9/0x3073) is not claimed by any active driver.
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Tue Dec 28, 2004 10:42 am    Post subject: Reply with quote

You cannot mount your a70.
The only way to approach it is via gphoto2.

Some tips:
make sure you have "gphoto2" and "exif" in your USE flags.

Check /etc/hotplug/usb/usbcam-gphoto2.usermap for the correct entry (A70)

Check the hotplug setup scrips and permissions (they can be a pain!).
Example scripts are in /usr/share/doc/libgphoto2/linux
Back to top
View user's profile Send private message
quaker
n00b
n00b


Joined: 19 May 2004
Posts: 23
Location: Claremont, CA

PostPosted: Wed Dec 29, 2004 2:26 am    Post subject: Reply with quote

Thanks, I had exif and gphoto2 in make.conf already, but I finally figured out what was going wrong.

First I emerged the latest versions of gphoto2 and gtkam, then I did an emerge unmerge libgphoto2, and installed the cvs version of libgphoto2. That fixed everything, and now I can grab all the pictures off my camera.
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