Unix Technical Forum

connecting camera via usb

This is a discussion on connecting camera via usb within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> still trying to get my FujiFilm FinePix A330 to connect to my slackware system. i just compiled a kernel ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 04:25 PM
lucas
 
Posts: n/a
Default connecting camera via usb

still trying to get my FujiFilm FinePix A330 to connect to my slackware
system. i just compiled a kernel (2.4.26), with help from Brian. Thanks
brian. Still can't get camera to connect properly, but i'm closer. i've
compiled usb mass storage and ohci into the kernel, along with usbdevfs,
scsi emulation, scsi generic support, etc. here is the dmesg output with
the new kernel:

SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
usb.c: registered new driver hub
SiS router unknown request: (99)
SiS router unknown request: (99)
host/usb-ohci.c: USB OHCI at membase 0xd8816000, IRQ 5
host/usb-ohci.c: usb-00:02.3, Silicon Integrated Systems [SiS] USB 1.0
Controller (#2)
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 3 ports detected
PCI: Found IRQ 10 for device 00:02.2
host/usb-ohci.c: USB OHCI at membase 0xd8818000, IRQ 10
host/usb-ohci.c: usb-00:02.2, Silicon Integrated Systems [SiS] USB 1.0
Controller
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 3 ports detected
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.

plug in camera:
hub.c: new USB device 00:02.3-3, assigned address 2
usb.c: USB device 2 (vend/prod 0x4cb/0x14a) is not claimed by any active
driver.
usb.c: USB disconnect on device 00:02.3-3 address 2

here's the output from /var/log/messages when i connect the camera:
Oct 12 00:29:09 neXuss2 kernel: hub.c: new USB device 00:02.3-3, assigned
address 5
Oct 12 00:29:09 neXuss2 kernel: Product: USB PTP Camera
Oct 12 00:29:09 neXuss2 kernel: SerialNumber: Y-653^^^^^040514WFC00005025592

cat /proc/scsi/scsi when i plug the camera in and turn it on says that there
is nothing hooked up with scsi emulation. where do i go from here?
--
lucas
-------------------------
Perl Coder since 2001
shift || die;
-------------------------
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 04:25 PM
Bud
 
Posts: n/a
Default Re: connecting camera via usb

lucas wrote:
>
> here's the output from /var/log/messages when i connect the camera:
> Oct 12 00:29:09 neXuss2 kernel: hub.c: new USB device 00:02.3-3, assigned
> address 5
> Oct 12 00:29:09 neXuss2 kernel: Product: USB PTP Camera


It is PTP not a FAT file system. Darn, I read about this before I purchased
my camera to make sure it was going to be seen as a FAT and not PTP. Forget
the particulars, but google for it and ye shall find.

--

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 04:25 PM
ray
 
Posts: n/a
Default Re: connecting camera via usb

Get a cheap USB card reader - they work much more easily and you're not
using the camera batteries while doing file transfers.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 04:25 PM
Bud
 
Posts: n/a
Default Re: connecting camera via usb

ray wrote:
> Get a cheap USB card reader - they work much more easily and you're not
> using the camera batteries while doing file transfers.


Wont help if PTP. Check to see if gphoto2 supports your camera's PTP file
system.
--

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 04:26 PM
lucas
 
Posts: n/a
Default Re: connecting camera via usb

Bud wrote:

> ray wrote:
>> Get a cheap USB card reader - they work much more easily and you're not
>> using the camera batteries while doing file transfers.

>
> Wont help if PTP. Check to see if gphoto2 supports your camera's PTP file
> system.
> --


already checked out gphoto2. have it installed. and mmptp, which is a ptp
module (http://www.michaelminn.com/linux/mmptp/README.html). with the
mmptp, i no longer get a msg saying that no driver has claimed the device,
and mmptp says it's found the device. but i can't seem to mount it.

as for gphoto2, i run it after i pluged in my camera and turn it on, and all
gphoto2 says is that it's a ptp device. nothing else. it should at least
tell me the camera model number.

i've also found that i should run mount on usbdevfs: mount -t usbdevfs
none /proc/bus/usb

and that gives me data in /proc/bus/usb/devices when i plug in my camera,
and says my camera make and all that. so...i'm closer than i was. i just
can't mount the device yet. strange thing is, i'm using the fujifilm
finepix a330, and several websites say that it should work with mass
storage module. however my mass storage module does not say it's scsi
emulated like it should in dmesg.

any more comments would be very welcome. when i get this to work, i will
post a small tutorial on how to get this camera to work

thanks for your posts,
--
lucas
-------------------------
Perl Coder since 2001
shift || die;
-------------------------
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-19-2008, 04:26 PM
Blumf
 
Posts: n/a
Default Re: connecting camera via usb

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

lucas wrote:

> Bud wrote:
>> Wont help if PTP. Check to see if gphoto2 supports your camera's PTP file
>> system.

>
> already checked out gphoto2. have it installed. and mmptp, which is a
> ptp
> module (http://www.michaelminn.com/linux/mmptp/README.html). with the
> mmptp, i no longer get a msg saying that no driver has claimed the device,
> and mmptp says it's found the device. but i can't seem to mount it.


You don't mount ptp devices you use an app like gtkam to access the ptp
device.

Blumf

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBbE8xMid3IcxolsoRAqiKAJ9yyARa8B7lpUu9rkyBt8 brsOYw7gCgh5Gm
bhWD/5VAUlnmhAx+5okBV8o=
=3848
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-19-2008, 04:26 PM
ray
 
Posts: n/a
Default Re: connecting camera via usb

On Tue, 12 Oct 2004 17:12:05 +0000, Bud wrote:

> ray wrote:
>> Get a cheap USB card reader - they work much more easily and you're not
>> using the camera batteries while doing file transfers.

>
> Wont help if PTP. Check to see if gphoto2 supports your camera's PTP file
> system.


You're probably right, but I thought that PTP or not only applied to the
camera - the card is the same either way.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-19-2008, 04:26 PM
lucas
 
Posts: n/a
Default Re: connecting camera via usb

Blumf wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> lucas wrote:
>
>> Bud wrote:
>>> Wont help if PTP. Check to see if gphoto2 supports your camera's PTP
>>> file system.

>>
>> already checked out gphoto2. have it installed. and mmptp, which is a
>> ptp
>> module (http://www.michaelminn.com/linux/mmptp/README.html). with the
>> mmptp, i no longer get a msg saying that no driver has claimed the
>> device,
>> and mmptp says it's found the device. but i can't seem to mount it.

>
> You don't mount ptp devices you use an app like gtkam to access the ptp
> device.


ic. well, i tried the mmptp program that came in the package to access the
camera, i just tried to get information from the camera, and mmptp just
timed out. so i don't know what to do about that, and i can't seem to find
any troubleshooting posts with google.

still working on it,
--
lucas
-------------------------
Perl Coder since 2001
shift || die;
-------------------------
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-19-2008, 04:27 PM
Bud
 
Posts: n/a
Default Re: connecting camera via usb

lucas wrote:
>
> as for gphoto2, i run it after i pluged in my camera and turn it on, and all
> gphoto2 says is that it's a ptp device. nothing else. it should at least
> tell me the camera model number.


Doesn't it ask to choose which camera in the camera select box?

> thanks for your posts,


Wish could help more, looked at my old version of gphoto2 and it doesn't have
your camera listed. But keep at it and good luck, the right combination is
there somewhere.
--

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-19-2008, 04:28 PM
Rich Grise
 
Posts: n/a
Default Re: connecting camera via usb

On Tuesday 12 October 2004 02:08 pm, lucas did deign to grace us with the
following:
>
> any more comments would be very welcome. when i get this to work, i will
> post a small tutorial on how to get this camera to work


Here's mine mounted:
# ls /mnt/fuji/dcim/100_fuji
dscf0062.jpg dscf0064.jpg dscf0066.jpg dscf0068.jpg dscf0070.jpg
dscf0072.jpg dscf0074.jpg dscf0076.jpg thumbs.db
dscf0063.jpg dscf0065.jpg dscf0067.jpg dscf0069.jpg dscf0071.jpg
dscf0073.jpg dscf0075.jpg dscf0077.jpg
root@entheos:/home/rich
# lsusb
Bus 005 Device 001: ID 0000:0000
Bus 005 Device 002: ID 04cb:0126 Fuji Photo Film Co., Ltd
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
root@entheos:/home/rich
# mount
/dev/hda7 on / type reiserfs (rw)
proc on /proc type proc (rw)
/dev/hda8 on /home type reiserfs (rw)
/dev/hda6 on /mnt/hda6 type reiserfs (rw)
/dev/hda11 on /usr/local type reiserfs (rw)
/dev/hda12 on /opt type reiserfs (rw)
/dev/hda1 on /C type vfat (rw,noexec,nosuid,nodev)
/dev/hda9 on /D type ntfs (rw)
/dev/hda10 on /E type vfat (rw,noexec,nosuid,nodev)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /mnt/fuji type umsdos (rw)
root@entheos:/home/rich
#

And I've just got the regular daemons and stuff running - nothing
special:

# cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 8
model name : AMD Athlon(tm) XP 2400+
stepping : 1
cpu MHz : 1991.553
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov
pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips : 3971.48

root@entheos:/home/rich
# free
total used free shared buffers cached
Mem: 515440 427872 87568 0 95336 248604
-/+ buffers/cache: 83932 431508
Swap: 995988 0 995988
root@entheos:/home/rich
#
root@entheos:/home/rich
# lsmod
Module Size Used by Not tainted
usb-storage 66176 1
snd-pcm-oss 37736 0 (unused)
snd-mixer-oss 12504 0 [snd-pcm-oss]
nfsd 67376 8
usb-ohci 19240 0 (unused)
snd-intel8x0 18924 0
snd-ac97-codec 49500 0 [snd-intel8x0]
gameport 1420 0 [snd-intel8x0]
snd-pcm 56072 0 [snd-pcm-oss snd-intel8x0]
snd-timer 13604 0 [snd-pcm]
snd-page-alloc 6328 0 [snd-intel8x0 snd-pcm]
snd-mpu401-uart 3200 0 [snd-intel8x0]
snd-rawmidi 12740 0 [snd-mpu401-uart]
snd-seq-device 3888 0 [snd-rawmidi]
snd 30852 0 [snd-pcm-oss snd-mixer-oss snd-intel8x0
snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi
snd-seq-device]
soundcore 3396 4 [snd]
8139too 14376 1
mii 2272 0 [8139too]
uhci 24444 0 (unused)
ehci-hcd 17580 0 (unused)
usbcore 59308 1 [usb-storage usb-ohci uhci ehci-hcd]
sis900 12396 1
crc32 2880 0 [8139too sis900]
ntfs 51424 1 (autoclean)
ide-scsi 9328 0
agpgart 43940 0 (unused)
apm 9580 2
root@entheos:/home/rich
#

Hope This Helps!
Rich



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:27 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com