Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2005-12-19 20:31:06

  korbol - Członek DUG

korbol
Członek DUG
Zarejestrowany: 2005-04-29

Nie chce zassac zdjec z aparatu

po podlaczeniu cyfry sony DSC-S80 w pliku /var/log/messages pojawia sie:

Kod:

Dec 19 20:23:06 localhost kernel: usb 3-7: USB disconnect, address 4
Dec 19 20:23:13 localhost kernel: usb 3-7: new high speed USB device using address 5
Dec 19 20:23:13 localhost kernel: scsi4 : SCSI emulation for USB Mass Storage devices
Dec 19 20:23:14 localhost kernel:   Vendor: Sony      Model: Sony DSC          Rev: 6.00
Dec 19 20:23:14 localhost kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Dec 19 20:23:14 localhost usb.agent[4692]:      usb-storage: already loaded
Dec 19 20:23:14 localhost kernel: SCSI device sdb: 63424 512-byte hdwr sectors (32 MB)
Dec 19 20:23:14 localhost kernel: sdb: assuming Write Enabled
Dec 19 20:23:14 localhost kernel:  /dev/scsi/host4/bus0/target0/lun0: p1
Dec 19 20:23:14 localhost kernel: Attached scsi removable disk sdb at scsi4, channel 0, id 0, lun 0
Dec 19 20:23:14 localhost kernel: Device sdb not ready.
Dec 19 20:23:14 localhost kernel: end_request: I/O error, dev sdb, sector 63416
Dec 19 20:23:14 localhost kernel: Device sdb not ready.
Dec 19 20:23:14 localhost kernel: end_request: I/O error, dev sdb, sector 63416
Dec 19 20:23:14 localhost kernel: Device sdb not ready.
Dec 19 20:23:14 localhost kernel: end_request: I/O error, dev sdb, sector 63360
Dec 19 20:23:14 localhost kernel: Device sdb not ready.
Dec 19 20:23:14 localhost kernel: end_request: I/O error, dev sdb, sector 63360
Dec 19 20:23:14 localhost kernel: Device sdb not ready.
Dec 19 20:23:14 localhost kernel: end_request: I/O error, dev sdb, sector 63168
Dec 19 20:23:14 localhost kernel: Device sdb not ready.
Dec 19 20:23:14 localhost kernel: end_request: I/O error, dev sdb, sector 63168
Dec 19 20:23:14 localhost kernel: Device sdb not ready.
Dec 19 20:23:14 localhost kernel: end_request: I/O error, dev sdb, sector 63168
Dec 19 20:23:14 localhost kernel: Device sdb not ready.
Dec 19 20:23:14 localhost kernel: end_request: I/O error, dev sdb, sector 63024
Dec 19 20:23:14 localhost kernel: Device sdb not ready.
Dec 19 20:23:14 localhost kernel: end_request: I/O error, dev sdb, sector 63123
Dec 19 20:23:15 localhost scsi.agent[4726]:      sd_mod: loaded sucessfully (for disk)
Dec 19 20:23:15 localhost kernel: Device sdb not ready.
Dec 19 20:23:15 localhost kernel: end_request: I/O error, dev sdb, sector 63123
Dec 19 20:23:15 localhost kernel: Device sdb not ready.
Dec 19 20:23:15 localhost kernel: end_request: I/O error, dev sdb, sector 63099
Dec 19 20:23:16 localhost kernel: Device sdb not ready.
Dec 19 20:23:16 localhost kernel: end_request: I/O error, dev sdb, sector 63099
Dec 19 20:23:16 localhost kernel: Device sdb not ready.
Dec 19 20:23:16 localhost kernel: end_request: I/O error, dev sdb, sector 63099
Dec 19 20:23:16 localhost kernel: Device sdb not ready.
Dec 19 20:23:16 localhost kernel: end_request: I/O error, dev sdb, sector 62955
Dec 19 20:23:16 localhost kernel: Device sdb not ready.
Dec 19 20:23:16 localhost kernel: end_request: I/O error, dev sdb, sector 62955

a więc drania wykrywa z tym ze nie wiem co znacza te błędy.
Lecz po zapodaniu

Kod:

gphoto2 -P

nie zasysa zdjeć ( z canona zasysało) a tu wypluwa:

Kod:

ja@debian:/var/log$ gphoto2 -P

*** Error ***
An error occurred in the io-library ('Could not find the requested device on the USB port'): Could not find USB device (class 0x6, subclass 0xffffffff, protocol 0xffffffff). Make sure this device is connected to the computer.
*** Error (-52: 'Could not find the requested device on the USB port') ***

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list <gphoto-devel@lists.sourceforge.net>, please run
gphoto2 as follows:

    env LANG=C gphoto2 --debug -P

Please make sure there is sufficient quoting around the arguments.

Na windze działa :/


Pozdrawiam

Offline

 

#2  2005-12-19 21:13:35

  jumanji - Członek DUG

jumanji
Członek DUG
Skąd: Polandia
Zarejestrowany: 2005-09-24
Serwis

Re: Nie chce zassac zdjec z aparatu

no nie wiem, ja sobie zrobilem to na zasadzie usbmount wedlug opisu czadmana, wkladam tylko kabelek do usb i w /media/usb pojawia sie podmontowane juz urzadzenie ktore obsluguj sobie jak normalny dysk :)

to jest czesc tego postu:

W pliku /etc/usbmount/usbmount.conf wpisy powinny wygladac tak:
FILESYSTEMS="ext2 ext3 vfat"

MOUNTOPTIONS="sync,noexec,nodev,noatime"

FS_MOUNTOPTIONS="gid=floppy,-fstype=vfat,dmask=0007,fmask=0117"

w fstabie dodajemy:

none /sys sysfs defaults 0 0

to tyle, aha, nalezy pamietac, ze usbmount dziala na jajcach 2.6 :)


..:: odważni nie żyją wiecznie. ostrożni nie żyją wcale.
..:: linux registered user #372947

Offline

 

#3  2005-12-20 07:54:22

  korbol - Członek DUG

korbol
Członek DUG
Zarejestrowany: 2005-04-29

Re: Nie chce zassac zdjec z aparatu

Hmmm u mnie to nie działa w sumie to cały czas mam w /media takie foldery nawet przy niepodlaczonym aparacie

Kod:

drwxr-xr-x   2 ja   adm  4096 2005-12-19 20:59 camera
lrwxrwxrwx   1 root root    6 2005-07-06 19:48 cdrom -> cdrom0
drwxrwxrwx   2 root root 4096 2005-07-06 19:48 cdrom0
lrwxrwxrwx   1 root root    7 2005-07-06 19:48 floppy -> floppy0
drwxrwxrwx   2 root root 4096 2005-07-06 19:48 floppy0
lrwxrwxrwx   1 root root    4 2005-12-08 09:08 usb -> usb0
drwxr-xr-x   2 root root 4096 2005-12-08 09:08 usb0
drwxr-xr-x   2 root root 4096 2005-12-08 09:08 usb1
drwxr-xr-x   2 root root 4096 2005-12-08 09:08 usb2
drwxr-xr-x   2 root root 4096 2005-12-08 09:08 usb3
drwxr-xr-x   2 root root 4096 2005-12-08 09:08 usb4
drwxr-xr-x   2 root root 4096 2005-12-08 09:08 usb5
drwxr-xr-x   2 root root 4096 2005-12-08 09:08 usb6
drwxr-xr-x   2 root root 4096 2005-12-08 09:08 usb7

w zadnym z folderów nie montuje karty.
a tak w ogole to moj usbmount.conf wyglada tak:

Kod:

# Configuration file for the usbmount package, which mounts USB mass
# storage devices when they are plugged in and unmounts them when they
# are removed.

# Mountpoints: These directories are eligible as mointpoints for USB
# mass storage devices.  A newly plugged in device is mounted on the
# first directory in this list that exists and on which nothing is
# mounted yet.
MOUNTPOINTS="/media/usb0 /media/usb1 /media/usb2 /media/usb3
             /media/usb4 /media/usb5 /media/usb6 /media/usb7"

# Filesystem types: USB mass storage devices are only mounted if they
# contain a filesystem type which is in this list.
#############################################################################
# WARNING!  The vfat filesystem does not yet fully implement sync-mounting. #
# If you include "vfat" in the list of filesystem types, you *MUST* make    #
# sure all data is written to the medium before you remove it (e.g. run the #
# "sync" command in a terminal window).  Otherwise, you *WILL* lose data!   #
#############################################################################
FILESYSTEMS="ext2 ext3 vfat"

# Mount options: Options passed to the mount command with the -o flag.
# WARNING!  Removing "sync" from the options is a very bad idea and
# might result in severe data loss.
MOUNTOPTIONS="sync,noexec,nodev,noatime"

# Filesystem type specific mount options: This variable contains a space sepa-
# rated list of strings, each of which has the form "-fstype=TYPE,OPTIONS".
# If a filesystem with a type listed here is mounted, the corresponding
# options are appended to those specificed in the MOUNTOPTIONS variable.
# For example, "-fstype=vfat,gid=floppy,dmask=0007,fmask=0117" would add the
# options "gid=floppy,dmask=0007,fmask=0117" when a vfat filesystem is mounted.
FS_MOUNTOPTIONS="gid=floppy,-fstype=vfat,dmask=0007,fmask=0117"

# If set to "yes", more information will be logged via the syslog
# facility.
VERBOSE="no"

czy te MOUNTSOPTIONS występujące dwa razy nie gryza sie ze soba?

Jeszcze dodam ze cyfra ropoznowana jest jako /dev/sdb1 wiec probuje podmontowac recznie:

Kod:

debian:/home/ja# mount -t vfat /dev/sdb1 /mnt/ccc
mount: /dev/sdb1: can't read superblock

:/ i lipton


Pozdrawiam

Offline

 

#4  2005-12-20 12:46:26

  jumanji - Członek DUG

jumanji
Członek DUG
Skąd: Polandia
Zarejestrowany: 2005-09-24
Serwis

Re: Nie chce zassac zdjec z aparatu

Kod:

# Configuration file for the usbmount package, which mounts USB mass
# storage devices when they are plugged in and unmounts them when they
# are removed.

# Mountpoints: These directories are eligible as mointpoints for USB
# mass storage devices.  A newly plugged in device is mounted on the
# first directory in this list that exists and on which nothing is
# mounted yet.
MOUNTPOINTS="/media/usb0 /media/usb1 /media/usb2 /media/usb3
             /media/usb4 /media/usb5 /media/usb6 /media/usb7"

# Filesystem types: USB mass storage devices are only mounted if they
# contain a filesystem type which is in this list.
#############################################################################
# WARNING!  The vfat filesystem does not yet fully implement sync-mounting. #
# If you include "vfat" in the list of filesystem types, you *MUST* make    #
# sure all data is written to the medium before you remove it (e.g. run the #
# "sync" command in a terminal window).  Otherwise, you *WILL* lose data!   #
#############################################################################
FILESYSTEMS="ext2 ext3 vfat"

# Mount options: Options passed to the mount command with the -o flag.
# WARNING!  Removing "sync" from the options is a very bad idea and
# might result in severe data loss.
MOUNTOPTIONS="sync,noexec,nodev,noatime"

# Filesystem type specific mount options: This variable contains a space sepa-
# rated list of strings, each of which has the form "-fstype=TYPE,OPTIONS".
# If a filesystem with a type listed here is mounted, the corresponding
# options are appended to those specificed in the MOUNTOPTIONS variable.
# For example, "-fstype=vfat,gid=floppy,dmask=0007,fmask=0117" would add the
# options "gid=floppy,dmask=0007,fmask=0117" when a vfat filesystem is mounted.
FS_MOUNTOPTIONS="gid=floppy,-fstype=vfat,dmask=0007,fmask=0117"

# If set to "yes", more information will be logged via the syslog
# facility.
VERBOSE="no" 

to jest moj conf do usbmount

w kernelnu mam wkompilowane mass storage devices,ale jesli udaje ci sie usb podmontowac recznie to znaczy ze ty tez, jesli nie podesle ci moejgo configa do 2.6.14 sprawdzisz co u ciebie jest inaczej


..:: odważni nie żyją wiecznie. ostrożni nie żyją wcale.
..:: linux registered user #372947

Offline

 

#5  2005-12-20 13:27:13

  korbol - Członek DUG

korbol
Członek DUG
Zarejestrowany: 2005-04-29

Re: Nie chce zassac zdjec z aparatu

Hmm sprawdzalem na dystrybucyjnym jajku wiec  chyba powinno być


Pozdrawiam

Offline

 

#6  2005-12-21 01:22:12

  Tech - Wielki Brat

Tech
Wielki Brat
Skąd: Hel
Zarejestrowany: 2004-04-22

Re: Nie chce zassac zdjec z aparatu

Tak z ciekawosci zapodalem sobie usbmonta :) i ustawilem jak podal jumanji no i zasysa fotki (po instalce zrobilem reset kompa)

Moze to wina kabla albo samego portu usb ?


Ktoś mądry kiedyś powiedział: jak nie masz nic ciekawego do powiedzenia, to się nie odzywaj !!!

Linux Registered User: #344405
GnuPG - C22A 2BA8 BECA 173F 713B A57B DF1A C4B4 E282 AE82

Offline

 

#7  2005-12-21 08:29:00

  Bodzio - Ojciec Założyciel

Bodzio
Ojciec Założyciel
Skąd: Gorlice
Zarejestrowany: 2004-04-17
Serwis

Re: Nie chce zassac zdjec z aparatu

Nie, nie - to musi być coś innego. Sam uczyłem ludzi jak fotki pobierać z aparatu. Nie znałem metody czadmana, to ją zastosowałem i też śmiga. Ale mam aparat Sony u kumpla, z którym też nie mogę dojść do ładu.


Debian jest lepszy niż wszystkie klony
Linux register users: #359018
http://www.freebsd.org/gifs/powerlogo.gif
Beskid Niski

Offline

 

#8  2005-12-21 09:11:22

  czadman - Bicycle repairman

czadman
Bicycle repairman
Skąd: Wrocław
Zarejestrowany: 2005-07-08

Re: Nie chce zassac zdjec z aparatu

Niestety, są aparaty, których nie da sie po prostu zamontować, sony do nich należy. Kiedyś obsłużyłem soniaka bez problemu programikiem digikam.


http://www.debian.org/logos/openlogo-nd-50.png

Offline

 

#9  2005-12-21 20:12:33

  korbol - Członek DUG

korbol
Członek DUG
Zarejestrowany: 2005-04-29

Re: Nie chce zassac zdjec z aparatu

No niesty lipa digikam tez nie dął rady :/


Pozdrawiam

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Możesz wyłączyć AdBlock — tu nie ma reklam ;-)