<?xml version="1.0" ?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" []>

<book lang="hu">
<bookinfo>
<title>USB Digitális fényképezőgép HOGYAN</title>
<author>
      <firstname>Dave</firstname><surname>Kelly</surname>
      <affiliation><address><email>daveekelly@earthlink.net</email></address>
</affiliation>
</author>
<pubdate>2002 április</pubdate>

<revhistory>
      <revision>
	<revnumber>2.0</revnumber>
	<date>2002.06.02</date>
	<authorinitials>tab</authorinitials>
	<revremark>Docbook XML 4.1.2 formátumra konvertálva</revremark>
      </revision>
      <revision>
	<revnumber>1.0</revnumber>
	<date>2002.04.13</date>
	<authorinitials>dek</authorinitials>
	<revremark>Első kiadás</revremark>
      </revision>
</revhistory>

<!--Changelog

USB Digitális fényképezőgép HOGYAN 1.0 verziótörténet:

2002.02.04 Első vázlat;dek
2002.02.10 Végső vázlat lektorálásra;dek
2002.03.07 LDP-nek benyújtva lektorálásra;dek
2002.03.19 Lektor által javasolt módosítások átvezetése;dek
2002.03.19 Szöveg kiegészítése a következő fejezetekben: 1.2, 6.0, 4.4.;dek
2002.03.19 C.Melléklet hozzáfűzése;dek
2002.04.13 HTML formátumra konvertálás;dek
2002.04.15 LDP-nek benyújtva;dek
-->
</bookinfo>

<toc></toc>

<chapter>
<title>Licensz</title>

<sect1>
<title>Szerzői jog</title>
<para>Copyright 2001 Dave Kelly, et al.</para>

<para>Bárki számára megengedett a jelen dokumentum másolása, terjesztése illetve módosítása a Szabad Szoftver Alapítvány által kiadott  GNU Szabad Dokumentációs licensz v1.1 vagy bármely későbbi verziójának feltételei szerint; a nem változtatható szakaszok, a címlap- vagy hátlapszöveg figyelmen kívül hagyása nélkül. A licenc másolata megtalálható a <xref linkend="gfdl"/> -ben. (angol nyelven - a ford.):</para>
</sect1>

<sect1>
<title>Magyar fordítás</title>
   <para>
    A magyar fordítást <ulink url="mailto:horvalb@freemail.hu_NO_SPAM">Horváth Albert</ulink> készítette (2002.09.26).
    A lektorálást <ulink url="mailto:tech.translation@axelero.hu_NO_SPAM">Varga Zsolt</ulink> végezte el (2002.11.05).
    Bármilyen fordítással kapcsolatos észrevételt a <ulink url="mailto:linuxhowto@sch.bme.hu_NO_SPAM">linuxhowto@sch.bme.hu</ulink> címre küldjetek.
    A dokumentum legfrissebb változata megtalálható a <ulink url="http://tldp.fsf.hu/index.html">Magyar Linux Dokumentációs Projekt</ulink> honlapján.
   </para>
</sect1>

<sect1>
<title>Cél</title>

<para>Ez a HOGYAN azoknak az új Linux felhasználóknak szól, akiknek már van egy USB-vel (univerzális soros busszal) ellátott  
digitális fényképezőgépük, illetve azoknak, akik ilyet szándékoznak beszerezni. Ha olyan lennél mint én, akkor te is kapnál valakitől születésnapodra egy ilyet berendezést, te pedig 
egyszerűen nem tudnád visszaadni neki, nehogy megértsd az érzéseit. Szóval beleveted magad a Linux leírásokba és munkára bírod a géped. Nincs semmi, amit ne tudnánk megcsinálni, nincsenek buta kérdések csak 
 információ, amire szükségünk van.</para>

</sect1>

<sect1>
<title>A készülékek köre</title>
<para>Ez az eljárás Linux 
kernel 2.4.8 verziójával működik együtt. Én egy Sony P-50 Cybershot-tal teszteltem, 4 MB-os illetve 
64 MB-os memory stick memóriakártyával, valamint egy Olympus digitális gép számára készült USB csatolófelületű smart card olvasóval.
Olvastam, hogy ez az eljárás egészen a 2.2.19-es kernel verzióig visszamenőleg működik, de erre nincs garancia.
Biztosan tudom, hogy az eljárás nem működik a régi 2.2.15.-ös kernel verziómon. 
</para>

<para>Ebben a dokumentumban található információk azt írják le, hogyan oldottam meg én a saját problémáimat. Más módszer is létezik, 
de az a kernel újrafordítását teheti szükségessé, amit én nem szerettem volna megcsinálni.
Ez a dokumentum megadja számodra az ahhoz szükséges információkat, hogy az USB-s adathordozó aktív legyen az indítás után. 
</para>

<para>A Linux egy fejlődő és ügyes technológia, és ha netán ez a dokumentum nem adna választ valamely különleges kérdésedre, minden bizonnyal 
egy olyan kiindulópontot ad, amin alapulva el tudod kezdeni a válasz keresését.  
Ezen kívül arra is képessé tesz, hogy új dolgokat fedezz fel a keresés során. 
</para>
 
<para>A következő kivonat a "gphoto2 README"-ből származik, amely egy kis áttekintést adhat, hogy milyen más fényképezőgépek 
működnek még együtt ezzel az eljárással. Nem tudom, hogy kinek mondjak köszönetet ezért, mivel egyetlen nevet sem találtam. 
Nézd meg a <quote>gphoto</quote> hivatkozást a friss információkért: <ulink url="http://www.gphoto.org">http://www.gphoto.org</ulink></para>

<blockquote>
<para>Vannak olyan gépek, melyek az ú.n. USB Mass Storage (USB nagy kapacitású tár) protokollt használják. 
Ez egy olyan nyílt protokoll, mely elérhetővé tesz bármilyen tárolóeszközt, legyen az digitális kamera, vagy egy lemez, amely USB felületen
csatlakozik a számítógépedhez. Mivel már léteznek az ehhez szükséges meghajtóprogramok, nem szükséges  
hozzá további szoftver, mint például a gphoto2.</para>

<para> Jelen pillanatban a következő digitális fényképezőgépek támogatják a  Mass Storage protokollt:</para>
<itemizedlist>
	    <listitem><para>Casio QV [2x00,3x00,8000]</para></listitem>
	    <listitem><para>Fuji FinePix S1 Pro, [1400,2400,4700]Zoom, 1300, 4500</para></listitem>
	    <listitem><para>HP PhotoSmart 315, 618, 912</para></listitem>
	    <listitem><para>Leica Digilux 4.3</para></listitem>
	    <listitem><para>Konica KD300Z</para></listitem>
	    <listitem><para>Kyocera Finecam s3</para></listitem>
	    <listitem><para>Minolta Dimage 7</para></listitem>
	    <listitem><para>Nikon Coolpix 995</para></listitem>
	    <listitem><para>Olympus C-100, C-200Z, C-700, C-860L, C-2040, C-3020Z, C-3040Z, C-4040Zoom, D-510, E-10</para></listitem>
	    <listitem><para>Pentax Optio 330</para></listitem>
	    <listitem><para>Sony DSC-F505(V), DSC P5, DSC-F707</para></listitem>
</itemizedlist>

<para>Ismétlem, ezek a gépek nem működnek a gphoto2 alatt.</para>

<para>Más gépek az ú.n. PTP protokollt, vagy az USB Imaging Devices eljárást támogatják, melyet a Kodak 
és mások fejlesztettek ki. A gphoto2 még nem támogatja a PTP-t, a  <ulink url="http://jphoto.sourceforge.net">jPhoto</ulink> viszont igen.
Íme egy rövid lista azokról a gépekről, melyek támogatják ezt a protokollt:</para>

<itemizedlist>
	    <listitem><para>Kodak DC-4800, DX-3215, DX-3500, DX-3600, DX-3700, DX-3900, 
MC3 és azok a fényképezőgépek, amik a Kodak Easy Share&trade; rendszert támogatják.</para></listitem>
	    <listitem><para>Sony DSC-P5, DSC-F707 (mindkét készülék esetén a felhasználónak kell megfelelően konfigurálni a fényképezőgépet)</para></listitem>
</itemizedlist>

<para>Ezek a gépek nem támogatottak, amíg a gphoto2 meg nem valósítja PTP protokollt.</para>
</blockquote>
</sect1>

<sect1>
<title>Szakirodalom</title>
<para>Mindenkit bíztatok, hogy olvassa el a következő leírásokat és HOGYANokat. A bennük található információk biztosan segíteni fognak.</para>

<sect2>
<title>kézikönyv oldalak</title>
	<itemizedlist>
	      <listitem><para><command>lsmod</command></para></listitem>
	      <listitem><para><command>modprobe</command></para></listitem>
	      <listitem><para><command>mount</command></para></listitem>
	      <listitem><para><command>mv</command></para></listitem>
	      <listitem><para><command>su</command></para></listitem>
	      <listitem><para><command>fstab</command></para></listitem>
	      <listitem><para><command>mtab</command></para></listitem>
	      <listitem><para><command>dir</command></para></listitem>
	      <listitem><para><command>install</command></para></listitem>
	      <listitem><para><command>mknod</command></para></listitem>
	      <listitem><para><command>chown</command></para></listitem>
	</itemizedlist>
</sect2>

<sect2>
<title>HOGYANok</title>
	<itemizedlist>
	      <listitem><para><citetitle>Module-HOWTO</citetitle></para></listitem>
	      <listitem><para><citetitle>Bash-Prog-Intro-HOWTO</citetitle></para></listitem>
	      <listitem><para><citetitle>SCSI-2.4-HOWTO</citetitle></para></listitem>
	      <listitem><para><citetitle>Hardware-HOWTO</citetitle></para></listitem>
	</itemizedlist>

	<para>Ma már a legtöbb disztribúció tartalmazza az összes HOGYANt. Ha a tiéd nem, megtalálhatod őket a <ulink url="http://www.tldp.org">http://www.tldp.org</ulink> címen.</para>
</sect2>

<sect2>
<title>Honlapok</title>
	<itemizedlist>
	      <listitem><para><ulink url="http://www2.one-eyed-alien.net/~mdharm/Linux-usb/">http://www2.one-eyed-alien.net/~mdharm/Linux-usb/</ulink></para></listitem>
	      <listitem><para><ulink url="http://www.Linux-usb.org/USB-guide/book1.html">http://www.Linux-usb.org/USB-guide/book1.html</ulink></para></listitem>
	</itemizedlist>
</sect2>
</sect1>
</chapter>

<chapter>
<title>Előfeltételek</title>

<para>A rendszerem egy Athlon 900-as, 40 Gb merevlemezzel.
Sem SCSI, sem USB eszközöm sincs. A kernelem SCSI és USB eszközmeghajtók nélkül lett fordítva.
A SCSI és USB meghajtókat modulként fordítottam. Mandrake 8.1.-et használok, 2.4.8_26mdk kernel verzióval.
Mivel a kernel szintjén dolgozunk, ez a dokumentum bármely disztribúcióra érvényes kell, hogy legyen. </para>

<para>A dokumentum írása során a további feltételezésekkel is éltem:</para>
<itemizedlist>
	    <listitem><para>Nincsen betöltve vagy csatolva sem SCSI, sem USB modul.</para></listitem>
	    <listitem><para>Te vagy a rendszergazda és tudod a root jelszavát.</para></listitem>
	    <listitem><para>A gép szó bármilyen típusú digitális fényképezőgépet, kártyaolvasót ,vagy USB felületű nagy kapacitású tárat egyaránt jelenthet.</para></listitem>
	    <listitem><para>A <quote>camera</quote> <filename>/mnt/camera</filename> csatlakoztatási pont nem egy eszközt jelent, mint a fenti szövegkörnyezetben. Nézz bele a <filename>/mnt</filename> könytárba és minden bizonnyal látni fogsz majd egy cdrom, disk, floppy és esetleg számos más eszköz nevet. Nálam szintén ezeket láthatod, valamint a <quote>camera</quote> könyvtárat is. Ezek könyvtárak, és ezek a csatlakoztatási pontok .</para>
</listitem>
	    <listitem><para>A <quote>[bash]$</quote> jel a parancssori értelmezőt jelenti. Ha parancsot gépelsz be, ezt nem kell beírnod.
Ez az a hely, ahova a parancsokat begépeled, és amin keresztül a felhasználó adatokat szolgáltat a számítógépnek.</para></listitem>
</itemizedlist>
</chapter>

<chapter>
<title>Előkészítés</title>

<para>Ennél a pontnál néhány néhány döntést kell meghoznod. 
Létre kell hoznod egy csatlakoztatási könyvtárat, és szükséged lesz egy névre is a könyvtáradhoz. 
Én a "camera" könyvtárat használom és a <filename>/mnt</filename> alá hozom létre. A könyvtár neve 
(esetemben ez a <filename>camera</filename>) bármilyen általad választott szó lehet. A könyvtár 
létrehozásához a következőt kell beírni:</para>

<screen>
[bash]$ mkdir -m 777 /mnt/camera
</screen>

<para>Szeretem, ha a képeim egy könyvtárban, illetve alkönyvtárban helyezkednek el, a képek témakörei szerint 
Ezért létrehoztam egy <filename>kepek</filename> könyvtárat a home könyvtáramban.
A könyvtár neve (esetemben ez a <filename>kepek</filename>) bármilyen általad választott szó lehet. A könyvtár 
létrehozásáshoz a következőt kell beírni:</para>
<screen>
[bash]$ mkdir -m 777 ~/kepek
</screen>

<para>Lásd <xref linkend="part_1"/>-t a dokumentum végén.</para>

<para>Jön a nagy döntés! Mindezt <quote>egyszerű felhasználóként</quote> vagy 
<quote>superuserként/root</quote>szeretnéd végrehajtani?</para>
</chapter>

<chapter>
<title>A szkriptek</title>

<para>A következő szkript rengeteg Linuxos hírcsoport, sok HOGYAN és kézikönyv oldal olvasásából jött létre. 
Nem ígérem, hogy eredeti leszek, de bevallom, hogy ez egy átirata annak, amit nálam sokkal tapasztaltabbak mondtak nekem.
Nagyon köszönöm mindenkinek, akik válaszoltak a kérdéseimre a levelezőlistán, valamint azoknak akik szintén írtak
a listára, ezeket az információkat keresve .</para>

<para>Kezdjük el! Válasszuk ki kedvenc szövegszerkesztőnket, adjunk a fájlunknak egy nevet, majd gépeljük be a következő szkriptet, 
attól függően, hogy mezei felhasználók, vagy superuserek vagyunk.</para>

<sect1>
<title>Ha egyszerű felhasználóként jelentkezel be</title>

<para>A következő szkriptet írd be:</para>

<screen>
echo "Kérem adja meg a képek könyvtárának nevét!"
read DIRPATH
mkdir ~/kepek/$DIRPATH
su -c "/sbin/modprobe usb-storage; mount -t vfat /dev/sda1 /mnt/camera;
/etc/rc.d/init.d/usb start;
mv /mnt/camera/dcim/100msdcf/*.jpg ~/kepek/$DIRPATH;
umount /mnt/camera;
chown -R a_te_bejelentkezesi_neved ~/kepek/$DIRPATH"
</screen>
</sect1>

<sect1>
<title>Ha superuserként jelentkezel be</title>

<para>Ha nem kívánod superuserként használni ezt a szkriptet, lásd <xref linkend="executable"/>.</para>

<para>A következő szkriptet írd be:</para>

<screen>
echo "Kérem adja meg a képek könyvtárának nevét!"
read DIRPATH
mkdir kepek/$DIRPATH
/sbin/modprobe usb-storage
mount -t vfat /dev/sda1 /mnt/camera
/etc/rc.d/init.d/usb start
mv /mnt/camera/dcim/100msdcf/*.jpg kepek/$DIRPATH;
umount /mnt/camera
chown -R a_te_bejelentkezesi_neved kepek/$DIRPATH
</screen>
</sect1>

<sect1 id="executable">
<title>Futtathatóvá tétel</title>

<para>Most tedd futtatható állománnyá a szkriptet. Ehhez a következő parancsra lesz szükség:</para>

<para>Felhasználóként:</para>
<screen>
[bash]$ su -c "chmod a=r+w+x szkript_file_név"
</screen>

<para>Superuserként:</para>
<screen>
[bash#] chmod a=r+w+x szkript_file_név
</screen>
</sect1>

<sect1>
<title>Mi történik mialatt a szkript fut?</title>

<para>Amikor a szkriptet futtatod, a kép témájának megfelelő könyvtárat hoz létre a rendszer. <varname>DIRPATH</varname> feladata, hogy a képekről egy leírást adjon, melyet a prompt-nál kell begépelned. Ha a <filename>szkript_file_név</filename> = <filename>getcamJ</filename>,(J azt a célt szolgálja, hogy a képeket .jpg kiterjesztéssel kapjuk meg) a parancsok egymás után a következők
:</para>

<screen>
[bash]$ getcamJ
Kérem adjon meg egy könyvtárat a képei számára!
bash]$ valami
Password: 
[bash]$ root jelszavad
</screen>

<para>Ha superuser módban futtatod a szkriptet, akkor a következő részben foglaltakra nincs szükséged. 
Ahhoz, hogy a következőket futtathasd, superusernek kell lenni. Ennél fogva a 'su' parancsot kell használnod. 
A <parameter class="option">-c</parameter> jelző lehetővé teszi, hogy végrehajtsunk egy parancsot, majd visszatérjünk a jelenlegi munkakönyvtárunkhoz. Az idézőjel lehetőséget biztosít, hogy egynél több parancsot hajtsunk végre. 
A pontosvessző pedig azt teszi lehetővé, hogy egy parancsot közvetlenül az utolsó parancs után hajthassunk végre.</para>

<para><filename>/sbin/modprobe usb-storage</filename>:  <command>modprobe</command> telepíteni fogja az USB mass storage modult minden egyéb szükséges modullal és meghajtóval együtt, beleértve az SCSI eszközmeghajtót is. 
Győződj meg róla, hogy a /dev könyvtár tartalmazza a következő bejegyzéseket. <systemitem class="resource">sda0, 
sda1, sda2, sda3, sda4, sdb0, sdb1, sdb2, sdb3, sdb4</systemitem>. Állítsd be az <systemitem class="resource">sda1</systemitem>-t  a megfelelő eszközhöz, ha csatolva van más SCSI eszközöd is, mint pl. <systemitem class="resource">sdb1</systemitem>.</para>

<para>Csatlakoztasd az SCSI eszközt: <userinput>mount -t vfat /dev/sda1 /mnt/camera</userinput></para>

<para>Indítsd el az USB-t: <userinput>/etc/rc.d/init.d/usb start</userinput></para>

<para>Töltsd át a képeidet a kameráról a merevlemezre. Az  <command>mv</command> parancs le is fogja törölni a képeidet a fényképezőgépről : <userinput>mv /mnt/camera/dcim/100msdcf/*.jpg kepek/$DIRPATH;</userinput></para>

<para>Csatold le az SCSI eszközt: <userinput>umount /mnt/camera</userinput></para>

<para>Majd: <userinput>chown -R a_te bejelentkezési_neved kepek/$DIRPATH</userinput>.  Ha valamit superuserként 
(su) vagy gyökérként hajtasz végre, akkor a gyökér fogja birtokolni azokat a fájlokat/képeket. Ha valamilyen műveletet szeretnél ezekkel a fájlokkal/képekkel végezni, <errorname>permission denied</errorname> hibaüzenetet kaphatsz. A fenti utasítás lehetővé teszi, hogy a felhasználó ezen hibák nélkül dolgozhasson. További információkhoz olvasd el a kézikönyv oldalakat.</para>

<para>Rendszeremben sem az USB sem a SCSI nincs befordítva a kernelbe. Mindezeket modulként fordítottam. Ez a szkript azt feltételezi, hogy neked is hasonló rendszered van. Ha nem, akkor néhány változtatásra lesz szükséged. Kérlek olvasd el a kézikönyv oldalakat és HOGYANokat. Vagy tedd fel kérdésedet egy Linuxszal foglalkozó levelezőlistán.</para>

</sect1>
</chapter>

<chapter>
<title>Tesztelés és finomhangolás</title>

<para>Rendben, telepítettünk mindent, és készen állunk egy kis felfedezőtúrára. 
Készíts néhány különböző formátumú egyszerű képet. Az én gépem 4 félét tud: TIFF, GIF, JPEG, és MPEG, 
valamint készít minden képről egy előnézeti képet is. A Sony P-50 típusú gépem 4 különböző alkönyvtárban tárolja őket: 
100msdcf, imcif100, thm, és moml0001. Ezek 2 könyvtárban vannak, név szerint dcim, és mssony. Ellenőrizd, hogy a géped hogyan nevezi el a könyvtárakat. Ezt a következőképpen teheted meg:</para>

<itemizedlist>
	  <listitem><para>Nevezd át a fenti szkriptet egy másik fájlnévre.</para></listitem>
	  <listitem><para>Szövegszerkesztőd segítségével módosítsd a <userinput>mv /mnt/camera/dcim/100msdcf/*.jpg kepek/$DIRPATH</userinput> sort <userinput>mv /mnt/camera/* kepek/$DIRPATH</userinput> sorra </para></listitem>
	  <listitem><para>Indítsd el a szkriptet a következők szerint:</para>
<screen>
[bash]$ ./szkript_fájlnév
</screen>

<para>(ügyelj a pontra és a perjelre)</para></listitem>
</itemizedlist>

<sect1>
<title>NE ESS KÉTSÉGBE!</title>

<para><emphasis>A MÓDOSÍTOTT SZKRIPT NÉHÁNY HIBAÜZENETTEL TÉRHET VISZZA .</emphasis>
Egyelőre hagyd őket figyelmen kívül. Mielőtt pánikba esnél, és azt mondanád, hogy nem működik,
nézd meg, hogy egyáltalán vannak-e képeid. Ha igen, akkor írd le a könyvtárneveket. 
Térj vissza a szövegszerkesztődhöz és helyettesítsd be őket a
dcim/100msdcf/*.jpg helyére a szkriptedben. Készíthetsz több szkriptet is, melyek a különböző fájlformátumokat kezelik. 
</para>

<para>Ekkor a merevlemezeden is hasonló könyvtáraknak kell megjelenniük lásd
<xref linkend="part_2"/>. Írd be a következő parancsot, hogy meggyőződhess róla:</para>
<screen>
[bash]$ dir -R kepek_konyvtarad_neve
</screen>

<para>Ebben a dokumentumban található információk valamint a kézikönyv oldalak és HOGYANok segítségével a rendszerednek működnie kell. </para>
<para>Sok szerencsét.</para>
<para>Dave</para>
</sect1>
</chapter>

<chapter>
<title>Hibaelhárítás vagy a KÉTSÉGBEESÉS!</title>

<para>Ha semmi sem ment rendben, keressük meg a hibát. Nézd meg a gépedet, és ellenőrizd, hogy megvannak-e még rajta a képek.
Ha igen, ne is olvasd tovább ezt a bekezdést. Ha nem, valahol csak lenniük kell, ezért ellenőrizd újra. Ha mégsincsenek, és nem találtad meg őket, akkor készíts még néhány fotót. Kapcsold ki a gépedet, majd csatlakoztasd a számítógéphez, és indítsd újra.</para>

<para>Ellenőrizzük, hogy a  <filename>/mnt/camera</filename> meg van-e, melyet az <command>mv</command> parancs csatolt le. Ha nincs meg, hozd újra létre. Előfordul, hogy a csatlakoztatási pont másképpen módosul.  
Azt is megfigyeltem a rendszeremen, hogy néha a  <filename>/dev</filename> alatt található SCSI eszköz 
(<systemitem class="resource">sda1</systemitem>) eltűnik. Ellenőrizd ezt is, és szükség esetén pótold.</para>

<para>Töröld ki az összes sort a szriptedből, melyek hibaüzenetet produkáltak 
, majd futtasd újra a szkriptet az új könyvtárnevekkel, és nézd meg, hogy működik-e.
Hogy könnyeben kitörölhesd a fájlokat és könyvtárakat, lehet, hogy az  
 <envar>su -</envar>-t kell használnod, ha user módban vagy. Ha végeztél el, ne felejts visszaállni a régi felhasználóra. 
Lásd <xref linkend="appendix_c"/> a dokumentum végén.</para>

<para>Gépeld be a következőt:</para>

<screen>
[bash]$ dmesg
</screen>

<para>és a következőket kell látnod valahol:</para>

<screen>
hub.c: USB new device connect on bus1/1, assigned device number 2
usb.c: USB device 2 (vend/prod 0x54c/0x10) is not claimed by any active driver. (The 
0x54c/0x10 will be different for different vendors.)
</screen>

<para>Ha ezt látod, akkor az USB nagy kapcitású tárolót felismerte a rendszer.</para>

<para>Most kapcsold be a fényképezőgépet, és futtasd le a szkriptet (a módosítottat). Ennek eredményeképpen valami 
hasonlót kell látnod, miután újra futtatod a dmesg parancsot:</para>

<screen>
[bash]$ dmesg

SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: Sony Model: Sony DSC Rev: 3.22
Type: Direct-Access ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 126848 512-byte hdwr sectors (65 MB)
sda: Write Protect is off
/dev/scsi/host0/bus0/target0/lun0: p1
usb-uhci.c: interrupt, status 3, frame# 1628
</screen>

<para>Most indíts el a következő parancsot, majd olvassd el a <xref linkend="appendix_b"/>.</para>
<screen>
[bash]$ lsmod
</screen>

<para>Ha az <command>lsmod</command> parancs futtatásakor kapott információk hasonlóak mint a <xref linkend="appendix_b"/>,és a  <command>dmesg</command> a fennt említett információkat szolgáltatja, és még mindig nincsenek képeid, akkor nem tudom hogy hol a hiba.
Sajnos az egyetlen amit tanácsolni tudok, hogy, menj végig az egész eljáráson újra.
Most azonban használd az átirányítást <userinput>&gt;fájlnév</userinput>
az eredmények rögzítéséhez. Majd küld el a két levelezőlista valamelyikére:</para>
<itemizedlist>
	  <listitem><para>alt.OS.Linux.mandrake</para></listitem>
	  <listitem><para>comp.OS.Linux.hardware</para></listitem>
</itemizedlist>

<para>meséld el, hogy mit csináltál eddig, és kérj segítséget. Mindent írj bele, amire csak gondolsz, mert minél több információjuk van annál jobb, és ugyenekkor írj nekem is egy e-mailt. Címem: <ulink url="mailto:daveekelly@earthlink.net">daveekelly@earthlink.net</ulink>.</para>
</chapter>

<chapter>
<title>Utolsó simítások</title>

<para>Miután minden működik, és úgy működik, ahogyan azt te szeretnéd, ha akarod, megteheted még a következőket is. Mint említettem ez nem kötelező. A végrehajtható szkriptet futtathatod továbbra is abban a könyvtárban, ahol megírtad, a pont perjel opcióval (./) vagy telepítheted a futtatható alkalmazásokat tartalmazó könyvtárak egyikébe. Én a
 <filename>/usr/sbin</filename> könyvtárat javaslom. Ehhez a következő parancsot kell végrehajtani:</para>

<screen>
[bash]$ install file_név /usr/sbin
</screen>
</chapter>

<appendix id="appendix_a">
<title>A Melléklet</title>

<sect1 id="part_1">
<title>1. RÉSZ</title>

<para>A képeimet a következőképpen rendeztem el. Egy elsődleges könyvtár 
<filename>kepek</filename>, és egy alkönyvtár, mely a tartalmát írja le <filename>smkbot</filename>.</para>

<screen>
kepek/smkbot:
dsc00117.jpg dsc00120.jpg dsc00123.jpg dsc00126.jpg dsc00129.jpg 
dsc00118.jpg dsc00121.jpg dsc00124.jpg dsc00127.jpg dsc00130.jpg 
dsc00119.jpg dsc00122.jpg dsc00125.jpg dsc00128.jpg dsc00131.jpg
</screen>
</sect1>

<sect1 id="part_2">
<title>2. RÉSZ</title>

<para>A szkript módosított verziójával a képeid több különböző alkönyvtárban lesznek szétszórva.
De jelen pillanatban, éppen ez az, amit szerettünk volna elérni.</para>

<screen>
kepek/trash:
camera

kepek/trash/camera:
dcim mssony

kepek/trash/camera/dcim:
100msdcf

kepek/trash/camera/dcim/100msdcf:
dsc00357.jpg dsc00360.jpg dsc00363.jpg txt00365.gif
dsc00358.jpg dsc00361.jpg dsc00364.jpg txt00365.thm
dsc00359.jpg dsc00362.jpg dsc00366.jpg

kepek/trash/camera/mssony:
imcif100

kepek/trash/camera/mssony/imcif100:
dsc00364.jpg dsc00366.tif
</screen>
</sect1>
</appendix>

<appendix id="appendix_b">
<title>B Melléklet</title>

<para>Amit itt látni szeretnénk, az az usb-storage szó a Used by oszlop alatt  
:</para>

<screen>
Module       Size      Used by
nls_iso8859-12880  0   (autoclean)
nls_cp437 4400  0   (autoclean)
sd_mod11792  0   (autoclean)
vfat 9968  0   (autoclean)
fat 32192  0  (autoclean) [vfat]
usb-storage 52528 0
scsi_mod 91072 2 [sd_mod usb-storage]
ppp_deflate 42208 0  (autoclean)
bsd_comp  4576  0  (autoclean)
ppp_async 6672  0  (autoclean)
ppp_generic 19616  0  (autoclean) [ppp_deflate bsd_comp ppp_async]
slhc 5136  0  (autoclean) [ppp_generic]
parport_pc  20240 1  (autoclean)
lp 5808  0  (autoclean)
parport  24768  1 (autoclean) [parport_pc lp]
es1371 26768  1
soundcore 4208  4 [es1371]
ac97_codec  9312  0  [es1371]
gameport  1856  0  [es1371]
af_packet  12560  0 (autoclean)
ip_vs 62000  0  (autoclean)
usb-uhci  21232  0  (unused)
usbcore  50752  1 [usb-storage usb-uhci]
rtc 5600  0  (autoclean)
</screen>
</appendix>

<appendix id="appendix_c">
<title>C Melléklet</title>

<para>Mikor elérkezel oda, hogy letörlöd ezeket a teszt könyvtárakat, a következő parancsot használd:
<emphasis>LÉGY NAGYON NAGYON ÓVATOS</emphasis>:</para>

<screen>
[bash]$ rm -Rf kepek/teszt_könyvtár
</screen>

<para>A vízzel együtt kiöntheted a gyereket is a kádból, a <filename>teszt_könyvtár</filename> -nak
ugyanannak kell lennie, mint amit a <envar>$DIRPATH</envar> -nak beírtál a szkriptedben. (Nem kerül semmibe egy kezdő számára, 
ha először valahol máshol létrehoz egy könyvtár struktúrát, átmásolja a képeket ide, és kipróbálja a fenti parancsot, mielőtt olyan helyen hajtaná végre, ahol helyreállíthatatlan károkat okoz). Ismétlem, olvasd el a kézikönyv oldalakat. </para>

</appendix>

<appendix id="gfdl">
<title>Gnu Free Documentation License</title>

<para>Version 1.1, March 2000</para>

<blockquote>
<para>Copyright (C) 2000  Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.</para>
</blockquote>

<sect1 id="gfdl-0">
<title>PREAMBLE</title>

<para>The purpose of this License is to make a manual, textbook,
    or other written document "free" in the sense of freedom: to
    assure everyone the effective freedom to copy and redistribute it,
    with or without modifying it, either commercially or
    noncommercially.  Secondarily, this License preserves for the
    author and publisher a way to get credit for their work, while not
    being considered responsible for modifications made by
    others.</para>

<para>This License is a kind of "copyleft", which means that
    derivative works of the document must themselves be free in the
    same sense.  It complements the GNU General Public License, which
    is a copyleft license designed for free software.</para>

<para>We have designed this License in order to use it for manuals
    for free software, because free software needs free documentation:
    a free program should come with manuals providing the same
    freedoms that the software does.  But this License is not limited
    to software manuals; it can be used for any textual work,
    regardless of subject matter or whether it is published as a
    printed book.  We recommend this License principally for works
    whose purpose is instruction or reference.</para>
</sect1>

<sect1 id="gfdl-1">
<title>APPLICABILITY AND DEFINITIONS</title>

<para>This License applies to any manual or other work that
    contains a notice placed by the copyright holder saying it can be
    distributed under the terms of this License.  The "Document",
    below, refers to any such manual or work.  Any member of the
    public is a licensee, and is addressed as "you".</para>

<para>A "Modified Version" of the Document means any work
    containing the Document or a portion of it, either copied
    verbatim, or with modifications and/or translated into another
    language.</para>

<para>A "Secondary Section" is a named appendix or a front-matter
    section of the Document that deals exclusively with the
    relationship of the publishers or authors of the Document to the
    Document's overall subject (or to related matters) and contains
    nothing that could fall directly within that overall subject.
    (For example, if the Document is in part a textbook of
    mathematics, a Secondary Section may not explain any mathematics.)
    The relationship could be a matter of historical connection with
    the subject or with related matters, or of legal, commercial,
    philosophical, ethical or political position regarding
    them.</para>

<para>The "Invariant Sections" are certain Secondary Sections
    whose titles are designated, as being those of Invariant Sections,
    in the notice that says that the Document is released under this
    License.</para>

<para>The "Cover Texts" are certain short passages of text that
    are listed, as Front-Cover Texts or Back-Cover Texts, in the
    notice that says that the Document is released under this
    License.</para>

<para>A "Transparent" copy of the Document means a
    machine-readable copy, represented in a format whose specification
    is available to the general public, whose contents can be viewed
    and edited directly and straightforwardly with generic text
    editors or (for images composed of pixels) generic paint programs
    or (for drawings) some widely available drawing editor, and that
    is suitable for input to text formatters or for automatic
    translation to a variety of formats suitable for input to text
    formatters.  A copy made in an otherwise Transparent file format
    whose markup has been designed to thwart or discourage subsequent
    modification by readers is not Transparent.  A copy that is not
    "Transparent" is called "Opaque".</para>

<para>Examples of suitable formats for Transparent copies include
    plain ASCII without markup, Texinfo input format, LaTeX input
    format, SGML or XML using a publicly available DTD, and
    standard-conforming simple HTML designed for human modification.
    Opaque formats include PostScript, PDF, proprietary formats that
    can be read and edited only by proprietary word processors, SGML
    or XML for which the DTD and/or processing tools are not generally
    available, and the machine-generated HTML produced by some word
    processors for output purposes only.</para>

<para>The "Title Page" means, for a printed book, the title page
    itself, plus such following pages as are needed to hold, legibly,
    the material this License requires to appear in the title page.
    For works in formats which do not have any title page as such,
    "Title Page" means the text near the most prominent appearance of
    the work's title, preceding the beginning of the body of the
    text.</para>
</sect1>

<sect1 id="gfdl-2">
<title>VERBATIM COPYING</title>

<para>You may copy and distribute the Document in any medium,
    either commercially or noncommercially, provided that this
    License, the copyright notices, and the license notice saying this
    License applies to the Document are reproduced in all copies, and
    that you add no other conditions whatsoever to those of this
    License.  You may not use technical measures to obstruct or
    control the reading or further copying of the copies you make or
    distribute.  However, you may accept compensation in exchange for
    copies.  If you distribute a large enough number of copies you
    must also follow the conditions in section 3.</para>

<para>You may also lend copies, under the same conditions stated
    above, and you may publicly display copies.</para>
</sect1>

<sect1 id="gfdl-3">
<title>COPYING IN QUANTITY</title>

<para>If you publish printed copies of the Document numbering more
    than 100, and the Document's license notice requires Cover Texts,
    you must enclose the copies in covers that carry, clearly and
    legibly, all these Cover Texts: Front-Cover Texts on the front
    cover, and Back-Cover Texts on the back cover.  Both covers must
    also clearly and legibly identify you as the publisher of these
    copies.  The front cover must present the full title with all
    words of the title equally prominent and visible.  You may add
    other material on the covers in addition.  Copying with changes
    limited to the covers, as long as they preserve the title of the
    Document and satisfy these conditions, can be treated as verbatim
    copying in other respects.</para>

<para>If the required texts for either cover are too voluminous to
    fit legibly, you should put the first ones listed (as many as fit
    reasonably) on the actual cover, and continue the rest onto
    adjacent pages.</para>

<para>If you publish or distribute Opaque copies of the Document
    numbering more than 100, you must either include a
    machine-readable Transparent copy along with each Opaque copy, or
    state in or with each Opaque copy a publicly-accessible
    computer-network location containing a complete Transparent copy
    of the Document, free of added material, which the general
    network-using public has access to download anonymously at no
    charge using public-standard network protocols.  If you use the
    latter option, you must take reasonably prudent steps, when you
    begin distribution of Opaque copies in quantity, to ensure that
    this Transparent copy will remain thus accessible at the stated
    location until at least one year after the last time you
    distribute an Opaque copy (directly or through your agents or
    retailers) of that edition to the public.</para>

<para>It is requested, but not required, that you contact the
    authors of the Document well before redistributing any large
    number of copies, to give them a chance to provide you with an
    updated version of the Document.</para>
</sect1>

<sect1 id="gfdl-4">
<title>MODIFICATIONS</title>

<para>You may copy and distribute a Modified Version of the
    Document under the conditions of sections 2 and 3 above, provided
    that you release the Modified Version under precisely this
    License, with the Modified Version filling the role of the
    Document, thus licensing distribution and modification of the
    Modified Version to whoever possesses a copy of it.  In addition,
    you must do these things in the Modified Version:</para>

<orderedlist numeration="upperalpha">
<listitem><para>Use in the Title Page
      (and on the covers, if any) a title distinct from that of the
      Document, and from those of previous versions (which should, if
      there were any, be listed in the History section of the
      Document).  You may use the same title as a previous version if
      the original publisher of that version gives permission.</para>
</listitem>

<listitem><para>List on the Title Page,
      as authors, one or more persons or entities responsible for
      authorship of the modifications in the Modified Version,
      together with at least five of the principal authors of the
      Document (all of its principal authors, if it has less than
      five).</para>
</listitem>

<listitem><para>State on the Title page
      the name of the publisher of the Modified Version, as the
      publisher.</para>
</listitem>

<listitem><para>Preserve all the
      copyright notices of the Document.</para>
</listitem>

<listitem><para>Add an appropriate
      copyright notice for your modifications adjacent to the other
      copyright notices.</para>
</listitem>

<listitem><para>Include, immediately
      after the copyright notices, a license notice giving the public
      permission to use the Modified Version under the terms of this
      License, in the form shown in the Addendum below.</para>
</listitem>

<listitem><para>Preserve in that license
      notice the full lists of Invariant Sections and required Cover
      Texts given in the Document's license notice.</para>
</listitem>

<listitem><para>Include an unaltered
      copy of this License.</para>
</listitem>

<listitem><para>Preserve the section
      entitled "History", and its title, and add to it an item stating
      at least the title, year, new authors, and publisher of the
      Modified Version as given on the Title Page.  If there is no
      section entitled "History" in the Document, create one stating
      the title, year, authors, and publisher of the Document as given
      on its Title Page, then add an item describing the Modified
      Version as stated in the previous sentence.</para>
</listitem>

<listitem><para>Preserve the network
      location, if any, given in the Document for public access to a
      Transparent copy of the Document, and likewise the network
      locations given in the Document for previous versions it was
      based on.  These may be placed in the "History" section.  You
      may omit a network location for a work that was published at
      least four years before the Document itself, or if the original
      publisher of the version it refers to gives permission.</para>
</listitem>

<listitem><para>In any section entitled
      "Acknowledgements" or "Dedications", preserve the section's
      title, and preserve in the section all the substance and tone of
      each of the contributor acknowledgements and/or dedications
      given therein.</para>
</listitem>

<listitem><para>Preserve all the
      Invariant Sections of the Document, unaltered in their text and
      in their titles.  Section numbers or the equivalent are not
      considered part of the section titles.</para>
</listitem>

<listitem><para>Delete any section
      entitled "Endorsements".  Such a section may not be included in
      the Modified Version.</para>
</listitem>

<listitem><para>Do not retitle any
      existing section as "Endorsements" or to conflict in title with
      any Invariant Section.</para>
</listitem>
</orderedlist>
<para>If the Modified Version includes new front-matter sections
    or appendices that qualify as Secondary Sections and contain no
    material copied from the Document, you may at your option
    designate some or all of these sections as invariant.  To do this,
    add their titles to the list of Invariant Sections in the Modified
    Version's license notice.  These titles must be distinct from any
    other section titles.</para>

<para>You may add a section entitled "Endorsements", provided it
    contains nothing but endorsements of your Modified Version by
    various parties--for example, statements of peer review or that
    the text has been approved by an organization as the authoritative
    definition of a standard.</para>

<para>You may add a passage of up to five words as a Front-Cover
    Text, and a passage of up to 25 words as a Back-Cover Text, to the
    end of the list of Cover Texts in the Modified Version.  Only one
    passage of Front-Cover Text and one of Back-Cover Text may be
    added by (or through arrangements made by) any one entity.  If the
    Document already includes a cover text for the same cover,
    previously added by you or by arrangement made by the same entity
    you are acting on behalf of, you may not add another; but you may
    replace the old one, on explicit permission from the previous
    publisher that added the old one.</para>

<para>The author(s) and publisher(s) of the Document do not by
    this License give permission to use their names for publicity for
    or to assert or imply endorsement of any Modified Version.</para>
</sect1>

<sect1 id="gfdl-5">
<title>COMBINING DOCUMENTS</title>

<para>You may combine the Document with other documents released
    under this License, under the terms defined in section 4 above for
    modified versions, provided that you include in the combination
    all of the Invariant Sections of all of the original documents,
    unmodified, and list them all as Invariant Sections of your
    combined work in its license notice.</para>

<para>The combined work need only contain one copy of this
    License, and multiple identical Invariant Sections may be replaced
    with a single copy.  If there are multiple Invariant Sections with
    the same name but different contents, make the title of each such
    section unique by adding at the end of it, in parentheses, the
    name of the original author or publisher of that section if known,
    or else a unique number.  Make the same adjustment to the section
    titles in the list of Invariant Sections in the license notice of
    the combined work.</para>

<para>In the combination, you must combine any sections entitled
    "History" in the various original documents, forming one section
    entitled "History"; likewise combine any sections entitled
    "Acknowledgements", and any sections entitled "Dedications".  You
    must delete all sections entitled "Endorsements."</para>
</sect1>

<sect1 id="gfdl-6">
<title>COLLECTIONS OF DOCUMENTS</title>

<para>You may make a collection consisting of the Document and
    other documents released under this License, and replace the
    individual copies of this License in the various documents with a
    single copy that is included in the collection, provided that you
    follow the rules of this License for verbatim copying of each of
    the documents in all other respects.</para>

<para>You may extract a single document from such a collection,
    and distribute it individually under this License, provided you
    insert a copy of this License into the extracted document, and
    follow this License in all other respects regarding verbatim
    copying of that document.</para>
</sect1>

<sect1 id="gfdl-7">
<title>AGGREGATION WITH INDEPENDENT WORKS</title>
<para>A compilation of the Document or its derivatives with other
    separate and independent documents or works, in or on a volume of
    a storage or distribution medium, does not as a whole count as a
    Modified Version of the Document, provided no compilation
    copyright is claimed for the compilation.  Such a compilation is
    called an "aggregate", and this License does not apply to the
    other self-contained works thus compiled with the Document, on
    account of their being thus compiled, if they are not themselves
    derivative works of the Document.</para>

<para>If the Cover Text requirement of section 3 is applicable to
    these copies of the Document, then if the Document is less than
    one quarter of the entire aggregate, the Document's Cover Texts
    may be placed on covers that surround only the Document within the
    aggregate.  Otherwise they must appear on covers around the whole
    aggregate.</para>
</sect1>

<sect1 id="gfdl-8">
<title>TRANSLATION</title>

<para>Translation is considered a kind of modification, so you may
    distribute translations of the Document under the terms of section
    4.  Replacing Invariant Sections with translations requires
    special permission from their copyright holders, but you may
    include translations of some or all Invariant Sections in addition
    to the original versions of these Invariant Sections.  You may
    include a translation of this License provided that you also
    include the original English version of this License.  In case of
    a disagreement between the translation and the original English
    version of this License, the original English version will
    prevail.</para>
</sect1>

<sect1 id="gfdl-9">
<title>TERMINATION</title>
<para>You may not copy, modify, sublicense, or distribute the
    Document except as expressly provided for under this License.  Any
    other attempt to copy, modify, sublicense or distribute the
    Document is void, and will automatically terminate your rights
    under this License.  However, parties who have received copies, or
    rights, from you under this License will not have their licenses
    terminated so long as such parties remain in full
    compliance.</para>
</sect1>

<sect1 id="gfdl-10">
<title>FUTURE REVISIONS OF THIS LICENSE</title>

<para>The Free Software Foundation may publish new, revised
    versions of the GNU Free Documentation License from time to time.
    Such new versions will be similar in spirit to the present
    version, but may differ in detail to address new problems or
    concerns.  See <ulink
    url="http://www.gnu.org/copyleft/">http://www.gnu.org/copyleft/</ulink>.</para>

<para>Each version of the License is given a distinguishing
    version number.  If the Document specifies that a particular
    numbered version of this License "or any later version" applies to
    it, you have the option of following the terms and conditions
    either of that specified version or of any later version that has
    been published (not as a draft) by the Free Software Foundation.
    If the Document does not specify a version number of this License,
    you may choose any version ever published (not as a draft) by the
    Free Software Foundation.</para>
</sect1>

<sect1 id="gfdl-11">
<title>How to use this License for your documents</title>

<para>To use this License in a document you have written, include
    a copy of the License in the document and put the following
    copyright and license notices just after the title page:</para>

<blockquote><para>
Copyright (c)  YEAR  YOUR NAME.
      Permission is granted to copy, distribute and/or modify this document
      under the terms of the GNU Free Documentation License, Version 1.1
      or any later version published by the Free Software Foundation;
      with the Invariant Sections being LIST THEIR TITLES, with the
      Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
      A copy of the license is included in the section entitled "GNU
      Free Documentation License".
</para></blockquote>

<para>If you have no Invariant Sections, write "with no Invariant
    Sections" instead of saying which ones are invariant.  If you have
    no Front-Cover Texts, write "no Front-Cover Texts" instead of
    "Front-Cover Texts being LIST"; likewise for Back-Cover
    Texts.</para>

<para>If your document contains nontrivial examples of program
    code, we recommend releasing these examples in parallel under your
    choice of free software license, such as the GNU General Public
    License, to permit their use in free software.</para>
</sect1>
</appendix>

</book>