Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
usb & fotocamera [RISOLTO]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
jp10hp
Apprentice
Apprentice


Joined: 29 Feb 2004
Posts: 180
Location: Milano

PostPosted: Sun Mar 28, 2004 1:06 pm    Post subject: usb & fotocamera [RISOLTO] Reply with quote

ciao come faccio a montare la mia fotocamera digitale??
pensavo qlc del tipo mount /dev/sg0 -t filesystem opzioni /mnt/camera ma che tipo di fs e che opzioni devo passare? la periferica è giusta?
ecco il log:

ar 28 14:05:21 tux usb 1-2: new full speed USB device using address 5
Mar 28 14:05:21 tux scsi3 : SCSI emulation for USB Mass Storage devices
Mar 28 14:05:21 tux Vendor: NIKON Model: NIKON DSC E775 Rev: 1.00
Mar 28 14:05:21 tux Type: Direct-Access ANSI SCSI revision: 02
Mar 28 14:05:21 tux Attached scsi generic sg0 at scsi3, channel 0, id 0, lun 0, type 0
Mar 28 14:05:21 tux scsi.agent[5334]: how to add device type= at /devices/pci0000:00/0000:00:11.2/usb1/1-2/1-2:1.0/host3/3:0:0:0 ??
Mar 28 14:05:21 tux WARNING: USB Mass Storage data integrity not assured
Mar 28 14:05:21 tux USB Mass Storage device found at 5


Last edited by jp10hp on Sun Mar 28, 2004 1:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

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

Hai il supporto per i dischi SCSI nel kernel (sd_mod)? Spesso le fotocamere vengo viste come un disco SCSI (/dev/sd*) con filesystem vfat.
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
jp10hp
Apprentice
Apprentice


Joined: 29 Feb 2004
Posts: 180
Location: Milano

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

sì..idovrebbe esserci tutto il necessario

Module Size Used by
snd_pcm_oss 49316 0
snd_mixer_oss 17664 2 snd_pcm_oss
sg 29984 0
via_agp 6016 1
agpgart 26664 1 via_agp
yenta_socket 14720 0
pcmcia_core 61152 1 yenta_socket
uhci_hcd 29712 0
snd_via82xx 22816 1
snd_pcm 87332 2 snd_pcm_oss,snd_via82xx
snd_timer 21892 1 snd_pcm
snd_ac97_codec 60036 1 snd_via82xx
gameport 3840 1 snd_via82xx
snd_page_alloc 9604 2 snd_via82xx,snd_pcm
snd_mpu401_uart 6400 1 snd_via82xx
snd_rawmidi 20640 1 snd_mpu401_uart
snd_seq_device 6792 1 snd_rawmidi
snd 47588 9 snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_pcm,snd_timer,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 7776 2 snd
via_rhine 18824 0
mii 4224 1 via_rhine
crc32 4096 1 via_rhine
nls_iso8859_1 3968 1
nls_cp437 5632 1
vfat 12672 1
fat 40768 1 vfat
nls_base 6528 4 nls_iso8859_1,nls_cp437,vfat,fat
powernow_k7 6176 0
freq_table 3460 1 powernow_k7
thermal 11536 0
processor 14896 1 thermal
button 4760 0
fan 3084 0
battery 8204 0
ac 3980 0
ide_cd 38404 0
sr_mod 13476 0
cdrom 36640 2 ide_cd,sr_mod
usb_storage 26624 0
scsi_mod 65068 3 sg,sr_mod,usb_storage
hid 30656 0
Back to top
View user's profile Send private message
jp10hp
Apprentice
Apprentice


Joined: 29 Feb 2004
Posts: 180
Location: Milano

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

ah no ho sr_mod nn sd...ora lo carico..

eccolo:
Module Size Used by
sd_mod 11808 0


Last edited by jp10hp on Sun Mar 28, 2004 1:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

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

Non vedo sd_mod, che dovrebbe corrispondere a:

Code:
<M>   SCSI disk support

_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
jp10hp
Apprentice
Apprentice


Joined: 29 Feb 2004
Posts: 180
Location: Milano

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

ora c'è anche sd_mod ..quando accendo la macchina viene creata la periferica /dev/sg0

Module Size Used by
sd_mod 11808 0
snd_pcm_oss 49316 0
snd_mixer_oss 17664 2 snd_pcm_oss
sg 29984 0
via_agp 6016 1
agpgart 26664 1 via_agp
yenta_socket 14720 0
pcmcia_core 61152 1 yenta_socket

......................
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

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

Gli altri moduli li hai caricati a mano o stai usando hotplug?

Credo che in dmesg, oltre a
Code:
Attached scsi generic sg0 at scsi0

dovresti avere qualcosa del tipo
Code:
Attached scsi disk sda at scsi0

e a quel punto usare /dev/sda1 per il mount.
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
jp10hp
Apprentice
Apprentice


Joined: 29 Feb 2004
Posts: 180
Location: Milano

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

sto usando hotplug...infatti ora con sd_mod le cose sono cambiate:


Mar 28 14:38:37 tux usb 1-2: new full speed USB device using address 8
Mar 28 14:38:37 tux scsi6 : SCSI emulation for USB Mass Storage devices
Mar 28 14:38:37 tux Vendor: NIKON Model: NIKON DSC E775 Rev: 1.00
Mar 28 14:38:37 tux Type: Direct-Access ANSI SCSI revision: 02
Mar 28 14:38:37 tux scsi.agent[8281]: how to add device type= at /devices/pci0000:00/0000:00:11.2/usb1/1-2/1-2:1.0/host6/6:0:0:0 ??
Mar 28 14:38:37 tux SCSI device sda: 125440 512-byte hdwr sectors (64 MB)
Mar 28 14:38:37 tux sda: assuming Write Enabled
Mar 28 14:38:37 tux sda: assuming drive cache: write through
Mar 28 14:38:37 tux /dev/scsi/host6/bus0/target0/lun0: p1
Mar 28 14:38:37 tux Attached scsi removable disk sda at scsi6, channel 0, id 0, lun 0
Mar 28 14:38:37 tux Attached scsi generic sg0 at scsi6, channel 0, id 0, lun 0, type 0
Mar 28 14:38:37 tux WARNING: USB Mass Storage data integrity not assured
Mar 28 14:38:37 tux USB Mass Storage device found at 8

...e infatti funziona!
grazie mille!..ultima cosa che opzione devo usare perchè il disco sia accessibile r e w da un utente normale? :D
Back to top
View user's profile Send private message
jp10hp
Apprentice
Apprentice


Joined: 29 Feb 2004
Posts: 180
Location: Milano

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

ho usato umask=000 e mi sembra che funzioni grazie ancora ciao :D
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

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

jp10hp wrote:
sto usando hotplug...infatti ora con sd_mod le cose sono cambiate:


Hotplug dovrebbe occuparsi (anche) del caricamento di sd_mod.

Per i permessi dovrebbe essere sufficiente quello che hai fatto, ovvero mettere umask=0 tra le opzioni di mount.

Non dimenticare di aggiungere il tag [Risolto] al titolo del topic.
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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