[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Scanner USB



Bonsoir la liste !!

Voila, j'ai un petit scanner HP Photo Scanner 1000 sur port USB...

J'ai trouvé cet article avec Google....

---------------------------------------------------------------------------------------------------------------------------------------------------------------------

This little script works well for me. Press the scan button and wait for it to finish scanning and then run this script:

 #!/bin/bash
 mount /mnt/scanner
 cp /mnt/scanner/* ~/tmp/scans
 umount /mnt

Be sure to put this in your /etc/fstab to allow non-root users to mount the device:

/dev/sda /mnt/scanner vfat noauto,ro,user,exec 0 0
and you have created

/mnt/scanner

previously…
---------------------------------------------------------------------------------------------------------------------------------------------------------------------

pas de pbl... à chaque fois je faisait un mount /dev/sda /home/dcabaton/usb sans aucun pbl !!!!

maintenant j'ia ce message :
mount: Aucun medium trouvé

pourquoi ????? ai je modifie qqchose ????

j'ai deux prises usb et j'ai le meme resultat sur les 2....

une idee... merci ;)

David

--
+------------------------------+
|        David CABATON         |
+------------------------------+
|                              |
|    cabaton_david@yahoo.fr    |
|                              |
|     Analyst / Programmer     |
|                              |
|     GPG keys: 0x6BBB38E3     |
|                              |
+------------------------------+




Reply to: