Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
aparat usb
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
misterLu
Guru
Guru


Joined: 14 Sep 2003
Posts: 430
Location: Poland

PostPosted: Wed Mar 24, 2004 5:41 pm    Post subject: aparat usb Reply with quote

mam aparat cyfrowy, kiedy go podłączam do USB, to jest wykrywany:
Code:

Mar 24 18:38:12 [kernel] hub.c: new USB device 00:10.0-2, assigned address 12
Mar 24 18:38:13 [kernel] usb.c: USB device 12 (vend/prod 0x55f/0xc420) is not claimed by any active driver.

odpalam gphoto2 i też go widzi:
Code:

 # gphoto2 --auto-detect
Model                          Port                                             
----------------------------------------------------------
Mustek gSmart mini 2           usb:           

ale już sprawdzenie jego zawartości raz działa :) a raz nie :( :
Code:

 # gphoto2 --list-files
There are 14 files in folder '/':                                               
#1     Image001.jpg                 640x480  image/jpeg
#2     Image002.jpg                 640x480  image/jpeg
#3     Image003.jpg                 640x480  image/jpeg
#4     Image004.jpg                 640x480  image/jpeg
#5     Image005.jpg                 640x480  image/jpeg
#6     Image006.jpg                 640x480  image/jpeg
#7     Image007.jpg                 640x480  image/jpeg
#8     Image008.jpg                 640x480  image/jpeg
#9     Image009.jpg                 640x480  image/jpeg
#10    Image010.jpg                 640x480  image/jpeg
#11    Image011.jpg                 640x480  image/jpeg
#12    Image012.jpg                 640x480  image/jpeg
#13    Image013.jpg                 640x480  image/jpeg
#14    Image014.jpg                 640x480  image/jpeg


 # gphoto2 --list-files
*** Error (-34: 'Error reading from the 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 --list-files

Please make sure there is sufficient quoting around the arguments.


ktoś ma pojęcie o co chodzi ??
Back to top
View user's profile Send private message
pkrzykowski
Tux's lil' helper
Tux's lil' helper


Joined: 31 Aug 2003
Posts: 97

PostPosted: Sat Mar 27, 2004 5:41 pm    Post subject: Reply with quote

hmmm, mam Canona A60 i nigdy nie mialem z nim problemow - tez uzywam gphoto2 razem z jakas tam nakladka.
Probowales z innymi aparatami??
_________________
FSC Amilo M7400 Celeron M 1.3
Back to top
View user's profile Send private message
misterLu
Guru
Guru


Joined: 14 Sep 2003
Posts: 430
Location: Poland

PostPosted: Sat Mar 27, 2004 7:32 pm    Post subject: Reply with quote

Nie miałem okazji :(
Może spróbuje odpalić go jako 'mass-strorage', robił to ktoś kiedyś ?
Back to top
View user's profile Send private message
kolkowski_damian
Tux's lil' helper
Tux's lil' helper


Joined: 18 Mar 2004
Posts: 88
Location: Nysa, Poland

PostPosted: Sat Mar 27, 2004 11:15 pm    Post subject: Reply with quote

misterLu wrote:
Nie miałem okazji :(
Może spróbuje odpalić go jako 'mass-strorage', robił to ktoś kiedyś ?


Kiedyś się jakimś canonem bawiłem przez rs-232 ;-D No i tam było tak samo. Włączałem i wyłączałem aparat i działało.
Back to top
View user's profile Send private message
ayem
n00b
n00b


Joined: 24 Mar 2004
Posts: 19
Location: Krakow PL

PostPosted: Sun Mar 28, 2004 9:58 am    Post subject: Reply with quote

moj olympus c350z smiga przez mass storage - jest spoczko - mount /dev/sda1 -t vfat /mnt/aparat :)

tylko trzeba wkompilowac w jajko - usb mass storage i scsi support
_________________
ayem
Back to top
View user's profile Send private message
misterLu
Guru
Guru


Joined: 14 Sep 2003
Posts: 430
Location: Poland

PostPosted: Sun Mar 28, 2004 11:31 am    Post subject: Reply with quote

wkompilowałem SCSI i USB_Mass_storage. Ale niestety nie działa: Nie mam żadnego /dev/sd* :(
Code:

Mar 28 12:26:52 [kernel] Initializing USB Mass Storage driver...

Teraz włączam aparat
Code:

Mar 28 12:29:18 [kernel] hub.c: new USB device 00:10.0-2, assigned address 3
Mar 28 12:29:18 [kernel] usb.c: USB device 3 (vend/prod 0x55f/0xc420) is not claimed by any active driver.
Mar 28 12:29:18 [kernel] Linux video capture interface: v1.00
Mar 28 12:29:18 [insmod] /lib/modules/2.4.25/kernel/drivers/media/video/spca50x.o: unresolved symbol init_jpeg_decoder
Mar 28 12:29:18 [insmod] /lib/modules/2.4.25/kernel/drivers/media/video/spca50x.o: unresolved symbol jpeg_decode
Mar 28 12:29:18 [insmod] /lib/modules/2.4.25/kernel/drivers/media/video/spca50x.o: insmod /lib/modules/2.4.25/kernel/drivers/media/video/spca50x.o failed
Mar 28 12:29:18 [insmod] /lib/modules/2.4.25/kernel/drivers/media/video/spca50x.o: insmod spca50x failed
Mar 28 12:29:18 [kernel] usb_control/bulk_msg: timeout
Mar 28 12:29:18 [usb.agent] ... can't load module spca50x
Mar 28 12:29:18 [usb.agent] missing kernel or user mode driver spca50x
Mar 28 12:29:18 [kernel] usb_control/bulk_msg: timeout
                - Last output repeated 5 times -
Mar 28 12:29:19 [insmod] /lib/modules/2.4.25/kernel/drivers/media/video/spca50x.o: unresolved symbol init_jpeg_decoder
Mar 28 12:29:19 [kernel] Linux video capture interface: v1.00
Mar 28 12:29:19 [insmod] /lib/modules/2.4.25/kernel/drivers/media/video/spca50x.o: unresolved symbol jpeg_decode
Mar 28 12:29:19 [insmod] /lib/modules/2.4.25/kernel/drivers/media/video/spca50x.o: insmod /lib/modules/2.4.25/kernel/drivers/media/video/spca50x.o failed
Mar 28 12:29:19 [insmod] /lib/modules/2.4.25/kernel/drivers/media/video/spca50x.o: insmod spca50x failed
Mar 28 12:29:19 [usb.agent] ... can't load module spca50x
Mar 28 12:29:19 [usb.agent] missing kernel or user mode driver spca50x
Back to top
View user's profile Send private message
ayem
n00b
n00b


Joined: 24 Mar 2004
Posts: 19
Location: Krakow PL

PostPosted: Sun Mar 28, 2004 1:11 pm    Post subject: Reply with quote

hmm dokldaniej to powinno byc tak:

opcje w jaju
Code:

SCSI device support  --->
      SCSI disk support
      SCSI generic support

USB support  --->
   Support for USB
     UHCI HCD (most Intel and VIA) support
     USB Mass Storage support


potem scanujesz aktualnie podlaczone urzadzenia scsi:
Code:

cat /proc/scsi/scsi


u mnie daje to wynik:
Code:

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: HL-DT-ST Model: CD-RW GCE-8400B  Rev: 1.12
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: OLYMPUS  Model: X200,D560Z,C350Z Rev: 1.00
  Type:   Direct-Access                    ANSI SCSI revision: 02

jesli chcesz sie upewnic jaki dev jest dostepny:

Code:

ls /dev | grep sd


i otrymuje:

Code:

ptysd
sd
sda
sda1
ttysd


i wszystko jasne

teraz tylko:

Code:

mount /dev/sda1 -t vfat /mnt/aparat


sorrki ze wczesniej nie napisalem calosci ale czas mnie gonil :/
_________________
ayem
Back to top
View user's profile Send private message
misterLu
Guru
Guru


Joined: 14 Sep 2003
Posts: 430
Location: Poland

PostPosted: Sun Mar 28, 2004 1:28 pm    Post subject: Reply with quote

u mnie nie było TYLKO scsi generic, dokompilowałem to.
Code:

 # lsmod
Module                  Size  Used by    Not tainted
sg                     27612   0  (unused)
sd_mod                 11020   0  (unused)
usb-storage           123056   0  (unused)
sr_mod                 15672   0  (autoclean) (unused)
scanner                11264   0  (unused)

uhci i reszte mam na stałe wkompilowane.
Teraz jak mówisz
Code:

# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 03 Lun: 00
  Vendor: MATSHITA Model: CD-R   CW-7502   Rev: 4.10
  Type:   CD-ROM                           ANSI SCSI revision: 02


i to wszystko :(
Back to top
View user's profile Send private message
ayem
n00b
n00b


Joined: 24 Mar 2004
Posts: 19
Location: Krakow PL

PostPosted: Sun Mar 28, 2004 1:36 pm    Post subject: Reply with quote

jedyna roznica jaka tutaj widze to to ze ja cala obsluge usb mam wkompilowana na stale - jeszcze mozesz tego sprobowac - jak cos to moge podeslac .config dla porownania
_________________
ayem
Back to top
View user's profile Send private message
emdej
n00b
n00b


Joined: 04 Feb 2004
Posts: 70
Location: Wrocław, PL

PostPosted: Tue Mar 30, 2004 8:49 am    Post subject: Reply with quote

dopiero teraz zauwazylem ten watek, ale problem jest _chyba_ podobny
otoz mam canona a60 i chcialbym go jako mass storage podmountowac, a moge korzystac wylacznie przez gphoto, zawsze konczy sie problemem w tym samym miejscu - nie ma urzadzenia /dev/sd*...
oczywiscie scsi usb i usb mass storage mam w kernelu
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) 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