DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
digital camera problems with 2.6.12 kernel -Resolved-
Hello, I have a casio exilim digital camera and am unable to connect to the camera using either gtkam or digikam. When attempting to connect to the camera using either I get the same message:
gp_port_write: Resource temporarily unavailable
gtkam autodetects the camera as 'USB PTP Class Camera'
digikam autodetects the camera as the same thing, and when I attempt to connect is when I get the gp_port_write message above.
here is the output from /var/log/messages when the camera is turned on
Sep 26 10:06:25 localhost kernel: usb 3-2: USB disconnect, address 2
Sep 26 10:06:45 localhost kernel: usb 3-2: new full speed USB device using uhci_hcd and address 3
Sep 26 10:06:45 localhost kernel: usb 3-2: configuration #1 chosen from 2 choices
Sep 26 10:06:45 localhost kernel: scsi3 : SCSI emulation for USB Mass Storage devices
Sep 26 10:06:46 localhost usb.agent[6299]: Keeping default configuration with /sys//devices/pci0000:00/0000:00:1d.2/usb3/3-2
Sep 26 10:06:46 localhost usb.agent[6328]: usb-storage: already loaded
Sep 26 10:06:50 localhost kernel: Vendor: Casio Model: QV DigitalCamera Rev: 1000
Sep 26 10:06:50 localhost kernel: Type: Direct-Access ANSI SCSI revision: 02
Sep 26 10:06:50 localhost kernel: SCSI device sdb: 248320 512-byte hdwr sectors (127 MB)
Sep 26 10:06:51 localhost kernel: sdb: Write Protect is off
Sep 26 10:06:51 localhost kernel: SCSI device sdb: 248320 512-byte hdwr sectors (127 MB)
Sep 26 10:06:51 localhost kernel: sdb: Write Protect is off
Sep 26 10:06:51 localhost kernel: /dev/scsi/host3/bus0/target0/lun0: p1
Sep 26 10:06:51 localhost kernel: Attached scsi removable disk sdb at scsi3, channel 0, id 0, lun 0
Sep 26 10:06:51 localhost kernel: Attached scsi generic sg2 at scsi3, channel 0, id 0, lun 0, type 0
Sep 26 10:06:51 localhost scsi.agent[6374]: sd_mod: can't be loaded (for disk)
here is fdisk -l
fdisk -l
Disk /dev/sda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 3404 27342598+ 83 Linux
/dev/sda2 3405 3526 979965 82 Linux swap / Solaris
/dev/sda3 * 3527 4864 10747485 7 HPFS/NTFS
I have not added anything into /etc/fstab maybe I should?
I have googled but could not find a solution. Any suggestions? Thanks
Yes it is supposed to work. From what I understand the camera is supported by my kernel. Here is another oddity. I was where I have the program 'showfoto' installed and tried it. It mounted /dev/sdb1 to /media/sdb1 and I am able to view the pictures off the camera. I can also browse /media/sdb1 from my file manager and get the pictures that way. I guess this has become more of a digikam and gtkam problem than a system problem. I can not seem to figure out why these programs can not access my camera? Both are able to auto detect it but can not connect to it. I have tried it with /dev/sdb1 mounted and unmounted, anyone have any suggestions? Thanks
Okay, once realizing it was a digikam problem I did some searching and found another thread where the problem is the same as mine. I basically had to mount the camera using the following;
mount -t vfat /dev/sdb1 /mnt/camera
I then told digikam that the camera was a usb mass storage device - from the add camera option. Works like a charm.
However, the camera is really for my wife and she is not going to *want* to do this each time. How do I force the camera to mount to /mnt/camera everytime I plug it in? Or force it to mount anywhere each time? Thanks in advance
Just to answer my own questions and to hopefully help others in the future, I was able to install usbmount via apt-get. Once installed, I turned my camera on and it automounted to /media/usb0, from there i told digikam that mount location and it works.
(it is a canon PS type of camera). She is very happy with it and even did not want to try gtkam when I introduced it for her. So a small script occasionally would perhaps work well.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.