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!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
po podlaczeniu cyfry sony DSC-S80 w pliku /var/log/messages pojawia sie:
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
gphoto2 -P
nie zasysa zdjeć ( z canona zasysało) a tu wypluwa:
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 :/
Offline
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 :)
Offline
Hmmm u mnie to nie działa w sumie to cały czas mam w /media takie foldery nawet przy niepodlaczonym aparacie
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:
# 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:
debian:/home/ja# mount -t vfat /dev/sdb1 /mnt/ccc mount: /dev/sdb1: can't read superblock
:/ i lipton
Offline
# 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
Offline
Hmm sprawdzalem na dystrybucyjnym jajku wiec chyba powinno być
Offline
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 ?
Offline
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.
Offline
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.
Offline
No niesty lipa digikam tez nie dął rady :/
Offline
Time (s) | Query |
---|---|
0.00010 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00140 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.149.230.132' WHERE u.id=1 |
0.00073 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.149.230.132', 1738317386) |
0.00061 | SELECT * FROM punbb_online WHERE logged<1738317086 |
0.00049 | SELECT topic_id FROM punbb_posts WHERE id=20492 |
0.00008 | SELECT id FROM punbb_posts WHERE topic_id=2537 ORDER BY posted |
0.00038 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=2537 AND t.moved_to IS NULL |
0.00037 | SELECT search_for, replace_with FROM punbb_censoring |
0.00089 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=2537 ORDER BY p.id LIMIT 0,25 |
0.00096 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=2537 |
Total query time: 0.00605 s |