Unix Technical Forum

SEO

vBulletin Search Engine Optimization


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

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 11:39 AM
J Boehm
 
Posts: n/a
Default Digital camera

I just bought a Nikon Coolpix 2100 digital camera. It is, of course,
connected to the computer via USB. I haven't used USB before, so I would
be grateful if someone could give me a hint how to configure the kernel
to activate USB and enable me to connect to the camera. I intend to use
modules (which ones?). Should I use a particular software to read the memory of the
camera? I use SL8.1.

Many thanks

JB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-18-2008, 11:39 AM
SuperDeamon
 
Posts: n/a
Default Re: Digital camera

J Boehm wrote:

> configure the kernel
> to activate USB and enable me to connect to the camera.


If you have not recompiled your own kernel and using an stock kernel, USB
support should be enabled. You probably would not have to worry. All you
have to do is to mount your camera. check /var/log/messages to see which
device is your camera (sda1?)

mount -t vfat /dev/(sda1?) /mnt/camera

should do it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-18-2008, 11:39 AM
Haedn Thorn
 
Posts: n/a
Default Re: Digital camera

You may need to compile the usb-storage module ... Though that MAY be in
there too ... the USB howto on LDP covers the necessary points.

J Boehm wrote:
> I just bought a Nikon Coolpix 2100 digital camera. It is, of course,
> connected to the computer via USB. I haven't used USB before, so I would
> be grateful if someone could give me a hint how to configure the kernel
> to activate USB and enable me to connect to the camera. I intend to use
> modules (which ones?). Should I use a particular software to read the memory of the
> camera? I use SL8.1.
>
> Many thanks
>
> JB


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-18-2008, 11:40 AM
Richard Adams
 
Posts: n/a
Default Re: Digital camera

On Wed, 24 Sep 2003 21:48:41 +0200, J Boehm wrote:

> I just bought a Nikon Coolpix 2100 digital camera. It is, of course,
> connected to the computer via USB. I haven't used USB before, so I would
> be grateful if someone could give me a hint how to configure the kernel
> to activate USB and enable me to connect to the camera. I intend to use
> modules (which ones?). Should I use a particular software to read the memory of the
> camera? I use SL8.1.


You will need to get "Hot plug" support running, if i remember correctly
slack-8.1 does not have hotplugging support as default, (altho') i could
be wrong.
You would also need usb-storage if its not already there, check your
/lib/modules/kernel-version/kernel/drivers/usb directory for it.

Your camera is seemingly not (yet) supported by gphoto2 so you will need
to mount the camera by hand and copy its contents to whereever you want.

I wrote a small howto about a simalar camera its to be found at;

http://people.zeelandnet.nl/pa3gcu/camera.htm

More help can be found at;
http://www.linux-usb.org/

> Many thanks
>
> JB


--
If the Linux community is a bunch of theives because they
try to imitate windows programs, then the Windows community
is built on organized crime.

Regards Richard
pa3gcu@zeelandnet.nl
http://people.zeelandnet.nl/pa3gcu/


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-18-2008, 11:41 AM
J Boehm
 
Posts: n/a
Default Re: Digital camera

On Wed, 24 Sep 2003 21:48:41 +0200, J Boehm wrote:

> I just bought a Nikon Coolpix 2100 digital camera. It is, of course,
> connected to the computer via USB. I haven't used USB before, so I would
> be grateful if someone could give me a hint how to configure the kernel
> to activate USB and enable me to connect to the camera. I intend to use
> modules (which ones?). Should I use a particular software to read the
> memory of the camera? I use SL8.1.
>
> Many thanks
>
> JB


Much obliged for all your help

JB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-18-2008, 11:41 AM
Jurgen Philippaerts
 
Posts: n/a
Default Re: Digital camera

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

On Thu, Sep 25, 2003 at 07:48:37AM +0200, Richard Adams wrote:

> > I just bought a Nikon Coolpix 2100 digital camera. It is, of course,


nice, i've get the CP4300 myself.
but i don't connect it yo my pc directly, there's something scary
about (un)plugging that cable into your camera all the time. most
people (and i'm one of them) will recommand you to get a cardreader,
that you keep plugged in to your pc. then just insert your CF card
into that one.

that's what i do.

and most CF readers are just faster than the camera itself

> You will need to get "Hot plug" support running, if i remember correctly


no, you don't *need* hotplug installed. it's not installed overhere,
and everything is working just file without it.

you can just mount/unmount load/unload it yourself.

however, you do need "support for hotpluggable devices" in your
kernel. and ofcourse usb-storage

that's about it


Jurgen.

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

iD8DBQE/c73W1ucXIiwNwbURAttSAKCBQ9DWWmTEU1sQcCnmQmbyJm2GgQ Cg3E9l
gvhqJtUCIo8KTVHHV+SP62k=
=TpyM
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-18-2008, 11:43 AM
Lew Pitcher
 
Posts: n/a
Default Re: Digital camera

Jurgen Philippaerts wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thu, Sep 25, 2003 at 07:48:37AM +0200, Richard Adams wrote:
>
>
>>>I just bought a Nikon Coolpix 2100 digital camera. It is, of course,

>
>
> nice, i've get the CP4300 myself.


I've got a CP4300 as well. It works better with Linux than it does with
Windows98. When I plug it in to the USB port, it comes up as /dev/sda.
I just mount it, copy the files out, and umount.


~ $ tail /var/log/messages
Sep 26 21:46:31 bitsie /etc/hotplug/usb.agent: Setup usb-storage for USB
product 4b0/10e/100
Sep 26 21:46:31 bitsie kernel: Initializing USB Mass Storage driver...
Sep 26 21:46:31 bitsie kernel: usb.c: registered new driver usb-storage
Sep 26 21:46:31 bitsie kernel: scsi1 : SCSI emulation for USB Mass Storage
devices
Sep 26 21:46:31 bitsie kernel: USB Mass Storage support registered.

~ $ grep /mnt/camera /etc/fstab
/dev/sda1 /mnt/camera auto noauto,owner,user,umask=0 0 0

~ $ mount /mnt/camera
~ $ ls -l /mnt/camera
total 12
drwxrwxrwx 3 lpitcher users 4096 Aug 25 2002 dcim
drwxrwxrwx 2 lpitcher users 4096 Aug 25 2002 misc
-rwxrwxrwx 1 lpitcher users 512 Aug 25 2002 nikon001.dsc

~ $ ls /mnt/camera/dcim
100nikon

~ $ ls /mnt/camera/dcim/100nikon/
dscn0189.jpg dscn0200.jpg dscn0211.jpg dscn0222.jpg dscn0233.jpg
dscn0244.jpg dscn0255.jpg dscn0267.jpg
dscn0190.jpg dscn0201.jpg dscn0212.jpg dscn0223.jpg dscn0234.jpg
dscn0245.jpg dscn0256.jpg dscn0268.jpg
dscn0191.jpg dscn0202.jpg dscn0213.jpg dscn0224.jpg dscn0235.jpg
dscn0246.jpg dscn0257.jpg dscn0269.jpg
dscn0192.jpg dscn0203.jpg dscn0214.jpg dscn0225.jpg dscn0236.jpg
dscn0247.jpg dscn0258.jpg dscn0270.jpg
dscn0193.jpg dscn0204.jpg dscn0215.jpg dscn0226.jpg dscn0237.jpg
dscn0248.jpg dscn0259.jpg dscn0271.jpg
dscn0194.jpg dscn0205.jpg dscn0216.jpg dscn0227.jpg dscn0238.jpg
dscn0249.jpg dscn0260.jpg dscn0272.jpg
dscn0195.jpg dscn0206.jpg dscn0217.jpg dscn0228.jpg dscn0239.jpg
dscn0250.jpg dscn0261.jpg dscn0273.jpg
dscn0196.jpg dscn0207.jpg dscn0218.jpg dscn0229.jpg dscn0240.jpg
dscn0251.jpg dscn0263.jpg sscn0262.jpg
dscn0197.jpg dscn0208.jpg dscn0219.jpg dscn0230.jpg dscn0241.jpg
dscn0252.jpg dscn0264.jpg
dscn0198.jpg dscn0209.jpg dscn0220.jpg dscn0231.jpg dscn0242.jpg
dscn0253.jpg dscn0265.jpg
dscn0199.jpg dscn0210.jpg dscn0221.jpg dscn0232.jpg dscn0243.jpg
dscn0254.jpg dscn0266.jpg

~ $ file /mnt/camera/dcim/100nikon/dscn0189.jpg
/mnt/camera/dcim/100nikon/dscn0189.jpg: JPEG image data, EXIF standard 0.73,
10752 x 2048

~ $ umount /mnt/camera

~ $ cat /proc/modules
sd_mod 10924 0 (autoclean)
usb-storage 68256 0
se401 15800 0
videodev 6112 1 [se401]
scanner 10424 0 (unused)
parport_pc 23784 0
parport 25600 0 [parport_pc]
uhci 25968 0 (unused)
usbcore 62624 1 [usb-storage se401 scanner uhci]
r128 80952 0
ide-scsi 10384 0
scsi_mod 58100 3 [sd_mod usb-storage ide-scsi]
ne2k-pci 5888 1
8390 6800 0 [ne2k-pci]
analog 7936 0 (unused)
joydev 6080 0 (unused)
input 3328 0 [analog joydev]
es1371 28360 0
gameport 1484 0 [analog es1371]
ac97_codec 11912 0 [es1371]
soundcore 3588 4 [es1371]
agpgart 38016 1
rtc 6940 0 (autoclean)

--
Lew Pitcher

Master Codewright and JOAT-in-training
Registered Linux User #112576 (http://counter.li.org/)
Slackware - Because I know what I'm doing.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-18-2008, 11:43 AM
J Boehm
 
Posts: n/a
Default Re: Digital camera

>
> you can just mount/unmount load/unload it yourself.
>
> however, you do need "support for hotpluggable devices" in your kernel.
> and ofcourse usb-storage
>
> that's about it
>
>
> Jurgen.
>


The camera is recognised as a scsi device, in /proc/bus/ there is an
entry for USB but the damn thing wouldn't let the camera mount. I tried
/dev/sda1 and a host of other devices. The message always is:

/dev/sda1 is not a valid block device

There are three modules loaded: usbcore, usb-storage and usb-ohci. Maybe
the reason is SL8.1 ?

JB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-18-2008, 11:44 AM
J Boehm
 
Posts: n/a
Default Re: Digital camera

On Sat, 27 Sep 2003 10:58:20 +0200, J Boehm wrote:


>> you can just mount/unmount load/unload it yourself.
>>
>> however, you do need "support for hotpluggable devices" in your kernel.
>> and ofcourse usb-storage
>>
>> that's about it
>>
>>
>> Jurgen.
>>
>>

> The camera is recognised as a scsi device, in /proc/bus/ there is an
> entry for USB but the damn thing wouldn't let the camera mount. I tried
> /dev/sda1 and a host of other devices. The message always is:
>
> /dev/sda1 is not a valid block device
>
> There are three modules loaded: usbcore, usb-storage and usb-ohci. Maybe
> the reason is SL8.1 ?
>
> JB


Of course, the reason is not SL8.1, it's me. I didn't enable SCSI support
for hard disks (which is needed to make sda1 a recognised block).

Thanks for your help

JB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-18-2008, 11:45 AM
Richard Adams
 
Posts: n/a
Default Re: Digital camera

On Sat, 27 Sep 2003 10:58:20 +0200, J Boehm wrote:

> /dev/sda1 is not a valid block device


How about loading scsi modules.?????

--
If the Linux community is a bunch of theives because they
try to imitate windows programs, then the Windows community
is built on organized crime.

Regards Richard
pa3gcu@zeelandnet.nl
http://people.zeelandnet.nl/pa3gcu/


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 10:06 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689