Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Не монтируется фотоаппарат [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
mango123
Apprentice
Apprentice


Joined: 07 Dec 2004
Posts: 266
Location: msk

PostPosted: Thu Jul 19, 2007 4:41 am    Post subject: Не монтируется фотоаппарат [Solved] Reply with quote

Ядро 2.6.22, фотоаппарат Nikon D80, SD-карточки 4Gb и 8Gb.

Раньше можно было монтировать аппарат а в режиме Mass Storatge и в режиме PTP.
Теперь же, не могу сказать после какого обновления, фотоаппарат подключается только в режиме PTP.
А вот что пишет dmesg при попытке подключения никона, как масс-сторадж:
Это SD на 8Гиг

Code:
Jul 18 23:32:30 mango usb 1-4: new high speed USB device using ehci_hcd and address 20
Jul 18 23:32:30 mango usb 1-4: configuration #1 chosen from 1 choice
Jul 18 23:32:30 mango scsi15 : SCSI emulation for USB Mass Storage devices
Jul 18 23:32:30 mango usb-storage: device found at 20
Jul 18 23:32:30 mango usb-storage: waiting for device to settle before scanning
Jul 18 23:32:35 mango scsi 15:0:0:0: Direct-Access     NIKON    D80              1.01 PQ: 0 ANSI: 2
Jul 18 23:32:35 mango sd 15:0:0:0: [sdd] 15758337 512-byte hardware sectors (8068 MB)
Jul 18 23:32:35 mango sd 15:0:0:0: [sdd] Write Protect is off
Jul 18 23:32:35 mango sd 15:0:0:0: [sdd] Mode Sense: 0f 00 00 00
Jul 18 23:32:35 mango sd 15:0:0:0: [sdd] Assuming drive cache: write through
Jul 18 23:32:35 mango sd 15:0:0:0: [sdd] 15758337 512-byte hardware sectors (8068 MB)
Jul 18 23:32:35 mango sd 15:0:0:0: [sdd] Write Protect is off
Jul 18 23:32:35 mango sd 15:0:0:0: [sdd] Mode Sense: 0f 00 00 00
Jul 18 23:32:35 mango sd 15:0:0:0: [sdd] Assuming drive cache: write through
Jul 18 23:32:35 mango sdd: sdd1
Jul 18 23:32:35 mango sd 15:0:0:0: [sdd] Attached SCSI removable disk
Jul 18 23:32:35 mango sd 15:0:0:0: Attached scsi generic sg3 type 0
Jul 18 23:32:35 mango usb-storage: device scan complete
Jul 18 23:32:35 mango end_request: I/O error, dev sdd, sector 15758336
Jul 18 23:32:35 mango Buffer I/O error on device sdd, logical block 15758336
Jul 18 23:32:35 mango end_request: I/O error, dev sdd, sector 15758336
Jul 18 23:32:35 mango Buffer I/O error on device sdd, logical block 15758336
Jul 18 23:32:35 mango end_request: I/O error, dev sdd, sector 15758336
Jul 18 23:32:35 mango Buffer I/O error on device sdd, logical block 15758336
Jul 18 23:32:35 mango end_request: I/O error, dev sdd, sector 15758336
Jul 18 23:32:35 mango Buffer I/O error on device sdd, logical block 15758336
Jul 18 23:32:35 mango end_request: I/O error, dev sdd, sector 15758336
Jul 18 23:32:35 mango Buffer I/O error on device sdd, logical block 15758336
Jul 18 23:32:35 mango end_request: I/O error, dev sdd, sector 15758336
Jul 18 23:32:35 mango Buffer I/O error on device sdd, logical block 15758336
Jul 18 23:32:35 mango end_request: I/O error, dev sdd, sector 15758336
Jul 18 23:32:35 mango end_request: I/O error, dev sdd, sector 8192
Jul 18 23:32:35 mango end_request: I/O error, dev sdd, sector 8192
Jul 18 23:32:35 mango end_request: I/O error, dev sdd, sector 8192
Jul 18 23:32:35 mango end_request: I/O error, dev sdd, sector 8192
Jul 18 23:32:35 mango end_request: I/O error, dev sdd, sector 0
Jul 18 23:32:35 mango end_request: I/O error, dev sdd, sector 0
Jul 18 23:32:35 mango end_request: I/O error, dev sdd, sector 0


А это лог подключения SD на 4 Гига:

Code:

Jul 18 23:38:46 mango usb 1-4: new high speed USB device using ehci_hcd and address 21
Jul 18 23:38:46 mango usb 1-4: configuration #1 chosen from 1 choice
Jul 18 23:38:46 mango scsi16 : SCSI emulation for USB Mass Storage devices
Jul 18 23:38:46 mango usb-storage: device found at 21
Jul 18 23:38:46 mango usb-storage: waiting for device to settle before scanning
Jul 18 23:38:51 mango scsi 16:0:0:0: Direct-Access     NIKON    D80              1.01 PQ: 0 ANSI: 2
Jul 18 23:38:51 mango sd 16:0:0:0: [sdd] 8040449 512-byte hardware sectors (4117 MB)
Jul 18 23:38:51 mango sd 16:0:0:0: [sdd] Write Protect is off
Jul 18 23:38:51 mango sd 16:0:0:0: [sdd] Mode Sense: 0f 00 00 00
Jul 18 23:38:51 mango sd 16:0:0:0: [sdd] Assuming drive cache: write through
Jul 18 23:38:51 mango sd 16:0:0:0: [sdd] 8040449 512-byte hardware sectors (4117 MB)
Jul 18 23:38:51 mango sd 16:0:0:0: [sdd] Write Protect is off
Jul 18 23:38:51 mango sd 16:0:0:0: [sdd] Mode Sense: 0f 00 00 00
Jul 18 23:38:51 mango sd 16:0:0:0: [sdd] Assuming drive cache: write through
Jul 18 23:38:51 mango sdd: sdd1
Jul 18 23:38:51 mango sd 16:0:0:0: [sdd] Attached SCSI removable disk
Jul 18 23:38:51 mango sd 16:0:0:0: Attached scsi generic sg3 type 0
Jul 18 23:38:51 mango usb-storage: device scan complete
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 8040448
Jul 18 23:38:51 mango printk: 193 messages suppressed.
Jul 18 23:38:51 mango Buffer I/O error on device sdd, logical block 8040448
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 8040448
Jul 18 23:38:51 mango Buffer I/O error on device sdd, logical block 8040448
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 8040448
Jul 18 23:38:51 mango Buffer I/O error on device sdd, logical block 8040448
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 8040448
Jul 18 23:38:51 mango Buffer I/O error on device sdd, logical block 8040448
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 8040448
Jul 18 23:38:51 mango Buffer I/O error on device sdd, logical block 8040448
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 8040448
Jul 18 23:38:51 mango Buffer I/O error on device sdd, logical block 8040448
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 8040448
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 8192
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 8192
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 8192
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 8192
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 8192
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 8192
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 8192
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 8192
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 8192
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 8192
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 8192
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 8192
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 8192
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 8192
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 8192
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 8192
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 8192
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 8192
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 0
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 0
Jul 18 23:38:51 mango end_request: I/O error, dev sdd, sector 0


Соответственно, карточки SD нормальные и фотик тоже... при подключении в винде - таких проблем нет.

Кто что может подсказать?


Last edited by mango123 on Wed Aug 01, 2007 3:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
calculator
Apprentice
Apprentice


Joined: 16 Oct 2006
Posts: 183
Location: Russia, Moscow

PostPosted: Thu Jul 19, 2007 6:03 am    Post subject: Reply with quote

Тут нет ничего?
Вот к примеру у человека похожая проблема. Не решеная только вроде.
Back to top
View user's profile Send private message
mango123
Apprentice
Apprentice


Joined: 07 Dec 2004
Posts: 266
Location: msk

PostPosted: Thu Jul 19, 2007 9:33 am    Post subject: Reply with quote

Гуглю я уже спрашивал.. ;-)
не нашёл ничего
Back to top
View user's profile Send private message
mango123
Apprentice
Apprentice


Joined: 07 Dec 2004
Posts: 266
Location: msk

PostPosted: Wed Aug 01, 2007 3:04 pm    Post subject: Reply with quote

Для тех кому будет интересно.

В двух словах опишу, что значит я подразумеваю под "монтированием фотоаппарата":
Во многих, в последнее время почти во всех, фотоаппаратах есть 2 режима подключения USB

1. PTP
2. Mass storage

Не буду останавливаться на том, чем они отличаются, кто захочет более подробно понять - гугль в руки.

У меня была проблема монтирования фотика, как mass storage, т.е. как простую флешку.

Решение нашлось.
Глюк оказался в пакете sys-fs/udev-113-r2
Пришлось откатиться на версию sys-fs/udev-112-r1 и всё стало ок :!: .
Сразу стали читаться и 8гиговая и 4 гиговая флешки.

Ну и что бы в дальнейшем, чтобы udev не вздумал "апдейтануться" сделал:
echo ">sys-fs/udev-112-r1" >> /etc/portage/package.mask
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum