Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB e moduli
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
realthing
Apprentice
Apprentice


Joined: 29 Jul 2003
Posts: 163
Location: Milano, Italy

PostPosted: Mon Aug 18, 2003 8:10 am    Post subject: USB e moduli Reply with quote

Ciao a tutti.

Ho una fotocamera digitale Minolta.
Leggendo qua e là in rete, sono riuscito a configurare Gentoo per usarla.
Carico i miei moduli del kernel, la monto come un disco SCSI e scarico le foto.
I moduli del kernel che ho abilitato e che devo caricare sono (vado a memoria) usb-uhci e usb-storage.
Esiste un modo per caricarli in automatico?
Non all'avvio con modules.autoload ovviamente.
Vorrei che tali moduli si caricassero da soli quando viene rilevata la fotocamera sul bus USB.
Chiedo troppo?
Sono pigro e vorrei evitare di fare il modprobe "a mano" dei due moduli ogni volta che mi servono, ma allo stesso tempo vorrei evitare di caricarli se non mi servono....

Ciao
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31449
Location: here

PostPosted: Mon Aug 18, 2003 8:38 am    Post subject: Reply with quote

Sono quei moduli che fanno si che la fotocamera usb venga riconosciuta.
Quindi la risposta e' no, e' come voler far funzionare una stampante
senza driver.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
realthing
Apprentice
Apprentice


Joined: 29 Jul 2003
Posts: 163
Location: Milano, Italy

PostPosted: Mon Aug 18, 2003 10:28 am    Post subject: Reply with quote

OK.
Immaginavo fosse così.. :(
Riformulo la domanda..
E' possibile caricare i moduli tramite uno script bash?
Potrei farmi uno script che carica i moduli che mi servono, mi monta la fotocamere e mi copia le foto in una directoty..
Andrebbe eseguito con privilegi di root giusto?
Stasera provo..
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Mon Aug 18, 2003 11:11 am    Post subject: Reply with quote

Hai attivata la funzione CONFIG_KMOD=y nel kernel?
_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Mon Aug 18, 2003 11:41 am    Post subject: Reply with quote

cerri wrote:
Hai attivata la funzione CONFIG_KMOD=y nel kernel?


Allora non sono matto. Non osavo dirlo perchè mi sembrava di spararla troppo grossa, ma io i moduli non li carico mai a mano (quasi...), ci pensa il mio bel kernel a fare tutto.
Per l'amico che poneva la domanda, ti riporto l'help dell'opzione che giustamente Cerri ti diceva di abilitare:

CONFIG_KMOD:
Normally when you have selected some drivers and/or file systems to
be created as loadable modules, you also have the responsibility to
load the corresponding modules (using the programs insmod or
modprobe) before you can use them. If you say Y here however, the
kernel will be able to load modules for itself: when a part of the
kernel needs a module, it runs modprobe with the appropriate
arguments, thereby loading the module if it is available. (This is a
replacement for kerneld.) Say Y here and read about configuring it
in Documentation/kmod.txt.
_________________
Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo
Back to top
View user's profile Send private message
Benve
l33t
l33t


Joined: 13 Mar 2003
Posts: 897
Location: Italy Romagna

PostPosted: Mon Aug 18, 2003 11:57 am    Post subject: Reply with quote

cerri wrote:
Hai attivata la funzione CONFIG_KMOD=y nel kernel?


Ecco perchè tutto funziona automaticamente, me lo sto chiedendo da quando ho Gentoo :D
Back to top
View user's profile Send private message
realthing
Apprentice
Apprentice


Joined: 29 Jul 2003
Posts: 163
Location: Milano, Italy

PostPosted: Mon Aug 18, 2003 12:02 pm    Post subject: Reply with quote

...ecco il punto!
:D :D :D

Non ricordo a memoria se ho abilitato quell'opzine nel kernel....ora non sono a casa e non posso controllare, stasera controllerò!

Cmq.. cosi a occhio direi di no.... infatti mi devo sempre caricare i moduli con modprobe.

Grazie... vi farò sapere i risultati!
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Mon Aug 18, 2003 2:07 pm    Post subject: Reply with quote

Shev wrote:
Cos'è l'impossibile, se non una questione di tempo?

Mi hai risollevato la giornata.
Grazie Shev.
_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Mon Aug 18, 2003 2:50 pm    Post subject: Reply with quote

cerri wrote:
Shev wrote:
Cos'è l'impossibile, se non una questione di tempo?

Mi hai risollevato la giornata.
Grazie Shev.


Addirittura? :D
Mi fa piacere, considerando che l'ho scritta di getto senza nemmeno pensarci :P
_________________
Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Mon Aug 18, 2003 2:58 pm    Post subject: Reply with quote

Ti dico solo che ho preso l'etichettatrice, ho fatto una etichetta e l'ho appiccicata sul mio notebook. Sei anche finito nella mia lavagna.
Un'altra scritta che c'e': "Quando puoi, diventa antimateria."
_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
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