Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SD Card] Comment ça marche ? [Résolu]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
George Abitbol
n00b
n00b


Joined: 02 Feb 2006
Posts: 55

PostPosted: Sat Jun 02, 2007 7:45 am    Post subject: [SD Card] Comment ça marche ? [Résolu] Reply with quote

Bonour,

j'ai sur mon pc un lecteur de carte SD :
Code:

$ lspci | grep Secure
02:06.4 Class 0805: Texas Instruments PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller


et j'aimerais bien savoir comment ça fonctionne.

Au hasard j'ai mis ca dans mon kernel :
<*> MMC support
[*] MMC debugging
<*> MMC block device driver
<*> Secure Digital Host Controller Interface support (EXPERIMENTAL)
<*> Winbond W83L51xD SD/MMC Card Interface support

mais le système (dmesg et /var/log/messages) me disent rien quand j'insère la carte. (et au passage windows me trouve bien quelque chose donc ca doit pas etre un truc à activer dans le BIOS)

Google a pas été très verbeux avec moi, donc si vous avez des infos, je suis preneur.

Merci
_________________
Monde de merde


Last edited by George Abitbol on Wed Jul 25, 2007 3:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
geekounet
Bodhisattva
Bodhisattva


Joined: 11 Oct 2004
Posts: 3772
Location: Wellington, Aotearoa

PostPosted: Sat Jun 02, 2007 8:41 am    Post subject: Reply with quote

Salut, tu peux ptêt t'inspirer de ça : http://forum.ubuntu-fr.org/viewtopic.php?pid=880591#p880591
Back to top
View user's profile Send private message
galerkin
Tux's lil' helper
Tux's lil' helper


Joined: 04 Mar 2006
Posts: 115
Location: /dev/toulouse

PostPosted: Sat Jun 02, 2007 9:56 am    Post subject: Reply with quote

Quel est le noyau que tu utilises?

Moi j'ai du prendre un kernel 2.6.22 pour que cela fonctionne.
Fais une recherche sur le forum anglais et tu trouveras :wink:

EDIT: https://forums.gentoo.org/viewtopic-p-4018831.html#4018831
Back to top
View user's profile Send private message
George Abitbol
n00b
n00b


Joined: 02 Feb 2006
Posts: 55

PostPosted: Sat Jun 02, 2007 9:25 pm    Post subject: Reply with quote

$ uname -r
2.6.18-suspend2-r1

Je vais essayer de voir ce que je peux faire avec les module tifm, et je vous tiens au jus.

Merci
_________________
Monde de merde
Back to top
View user's profile Send private message
nykos
Guru
Guru


Joined: 08 Jun 2005
Posts: 488
Location: Strasbourg

PostPosted: Sat Jun 02, 2007 9:50 pm    Post subject: Reply with quote

à partir du 2.6.19 ils ont rajouté plein de trucs pour les SD (mais la mienne marche toujours pas :( )
_________________
-=Nykos=-
TARGA Traveller 826T - AMD Turion 64 MT 32 1,8GHz - ATI Radeon X700 Mobility (ati-drivers)
Back to top
View user's profile Send private message
gbetous
l33t
l33t


Joined: 15 Jan 2004
Posts: 679
Location: Toulouse

PostPosted: Sun Jun 03, 2007 6:57 am    Post subject: Reply with quote

Les SD cards ne sont pas gérées comme des très classique "USB Mass Storage" ? Il existe des contrôleurs spécifiques ?
_________________
Core2Quad Q6600
ASUS P5B-V (i965 video intégrée)
~amd64 / KDE
Back to top
View user's profile Send private message
George Abitbol
n00b
n00b


Joined: 02 Feb 2006
Posts: 55

PostPosted: Sun Jun 03, 2007 8:57 am    Post subject: Reply with quote

Bon bah en collant un 2.6.20-r8, maintenant j'ai ceci comme option :
Code:

<*>   TI Flash Media MMC/SD Interface support  (EXPERIMENTAL)


ce qui devrait me permettre de faire avancer le schmilblick.
_________________
Monde de merde
Back to top
View user's profile Send private message
kwenspc
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 4954

PostPosted: Sun Jun 03, 2007 9:05 am    Post subject: Reply with quote

gbetous wrote:
Les SD cards ne sont pas gérées comme des très classique "USB Mass Storage" ? Il existe des contrôleurs spécifiques ?

Pour pouvoir accéder à la couche UMS faut d'abord piloter le controlleur :wink: L'UMS est un protocol de communication sur bus USB.
Et je doute que vos lecteurs SD card soient connectés sur le bus USB de vos cartes-mères en fait. Si c'était le cas vous n'auriez pas à gérer directement les drivers SD etc...
_________________
membre officieux du SAV Ati GEntoo
Back to top
View user's profile Send private message
Temet
Advocate
Advocate


Joined: 14 Mar 2006
Posts: 2586
Location: 92

PostPosted: Sun Jun 03, 2007 12:45 pm    Post subject: Reply with quote

Enfin je dis ça, quand j'ai pluggué santropicroire la carte mémoire de l'appareil photo de ma soeur, j'ai eu un pop up KDE quand je fous ma clé USB pour me demander si je veux l'ouvrir ou rien glander ^^

/me aime son portable
Back to top
View user's profile Send private message
George Abitbol
n00b
n00b


Joined: 02 Feb 2006
Posts: 55

PostPosted: Sun Jun 03, 2007 12:53 pm    Post subject: Reply with quote

Alors pares compilation et reboot sur le bon kernel, quand je plugge ma carte, /var/log/messages me dit ca :
Code:

Jun  3 16:50:14 monpc tifm_7xx1: sd card detected in socket 3
Jun  3 16:50:14 monpc PM: Adding info for tifm:tifm_sd0:3
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: host_status 1, fifo_status 0
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: adding host
Jun  3 16:50:14 monpc PM: Adding info for No Bus:mmc3
Jun  3 16:50:14 monpc mmc3: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: Setting bus width 0, power 0
Jun  3 16:50:14 monpc mmc3: clock 0Hz busmode 1 powermode 1 cs 0 Vdd 21 width 0
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: Setting bus width 0, power 1
Jun  3 16:50:14 monpc mmc3: clock 333333Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: Setting bus width 0, power 2
Jun  3 16:50:14 monpc mmc3: clock 333333Hz busmode 1 powermode 2 cs 1 Vdd 21 width 0
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: Setting bus width 0, power 2
Jun  3 16:50:14 monpc mmc3: starting CMD0 arg 00000000 flags 00000040
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: executing opcode 0x0, arg: 0x0, mask: 0x40
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: host_status 1, fifo_status 0
Jun  3 16:50:14 monpc mmc3: req done (CMD0): 0/0/0: 00000000 00000000 00000000 00000000
Jun  3 16:50:14 monpc mmc3: clock 333333Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: Setting bus width 0, power 2
Jun  3 16:50:14 monpc mmc3: starting CMD55 arg 00000000 flags 00000015
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: executing opcode 0x37, arg: 0x0, mask: 0x2140
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: host_status 1, fifo_status 0
Jun  3 16:50:14 monpc mmc3: req done (CMD55): 0/0/0: 00000120 00000000 00000000 00000000
Jun  3 16:50:14 monpc mmc3: starting CMD41 arg 00000000 flags 00000061
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: executing opcode 0x29, arg: 0x0, mask: 0x1340
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: host_status 1001, fifo_status 0
Jun  3 16:50:14 monpc mmc3: req done (CMD41): 0/0/0: 00ff8000 00000000 00000000 00000000
Jun  3 16:50:14 monpc mmc3: clock 333333Hz busmode 1 powermode 2 cs 0 Vdd 20 width 0
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: Setting bus width 0, power 2
Jun  3 16:50:14 monpc mmc3: clock 333333Hz busmode 1 powermode 2 cs 1 Vdd 20 width 0
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: Setting bus width 0, power 2
Jun  3 16:50:14 monpc mmc3: starting CMD0 arg 00000000 flags 00000040
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: executing opcode 0x0, arg: 0x0, mask: 0x40
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: host_status 1, fifo_status 0
Jun  3 16:50:14 monpc mmc3: req done (CMD0): 0/0/0: 00ff8000 00000000 00000000 00000000
Jun  3 16:50:14 monpc mmc3: clock 333333Hz busmode 1 powermode 2 cs 0 Vdd 20 width 0
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: Setting bus width 0, power 2
Jun  3 16:50:14 monpc mmc3: starting CMD55 arg 00000000 flags 00000015
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: executing opcode 0x37, arg: 0x0, mask: 0x2140
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: host_status 1, fifo_status 0
Jun  3 16:50:14 monpc mmc3: req done (CMD55): 0/0/0: 00000120 00000000 00000000 00000000
Jun  3 16:50:14 monpc mmc3: starting CMD41 arg 00300000 flags 00000061
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: executing opcode 0x29, arg: 0x300000, mask: 0x1340
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: host_status 1001, fifo_status 0
Jun  3 16:50:14 monpc mmc3: req done (CMD41): 0/0/0: 00ff8000 00000000 00000000 00000000
Jun  3 16:50:14 monpc mmc3: starting CMD55 arg 00000000 flags 00000015
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: executing opcode 0x37, arg: 0x0, mask: 0x2140
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: host_status 1, fifo_status 0
Jun  3 16:50:14 monpc mmc3: req done (CMD55): 0/0/0: 00000120 00000000 00000000 00000000
Jun  3 16:50:14 monpc mmc3: starting CMD41 arg 00300000 flags 00000061
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: executing opcode 0x29, arg: 0x300000, mask: 0x1340
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: host_status 1001, fifo_status 0
Jun  3 16:50:14 monpc mmc3: req done (CMD41): 0/0/0: 00ff8000 00000000 00000000 00000000
Jun  3 16:50:14 monpc mmc3: starting CMD55 arg 00000000 flags 00000015
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: executing opcode 0x37, arg: 0x0, mask: 0x2140
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: host_status 1, fifo_status 0
Jun  3 16:50:14 monpc mmc3: req done (CMD55): 0/0/0: 00000120 00000000 00000000 00000000
Jun  3 16:50:14 monpc mmc3: starting CMD41 arg 00300000 flags 00000061
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: executing opcode 0x29, arg: 0x300000, mask: 0x1340
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: host_status 1001, fifo_status 0
Jun  3 16:50:14 monpc mmc3: req done (CMD41): 0/0/0: 00ff8000 00000000 00000000 00000000
Jun  3 16:50:14 monpc mmc3: starting CMD55 arg 00000000 flags 00000015
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: executing opcode 0x37, arg: 0x0, mask: 0x2140
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: host_status 1, fifo_status 0
Jun  3 16:50:14 monpc mmc3: req done (CMD55): 0/0/0: 00000120 00000000 00000000 00000000
Jun  3 16:50:14 monpc mmc3: starting CMD41 arg 00300000 flags 00000061
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: executing opcode 0x29, arg: 0x300000, mask: 0x1340
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: host_status 1001, fifo_status 0
Jun  3 16:50:14 monpc mmc3: req done (CMD41): 0/0/0: 00ff8000 00000000 00000000 00000000
Jun  3 16:50:14 monpc mmc3: starting CMD55 arg 00000000 flags 00000015
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: executing opcode 0x37, arg: 0x0, mask: 0x2140
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: host_status 1, fifo_status 0
Jun  3 16:50:14 monpc mmc3: req done (CMD55): 0/0/0: 00000120 00000000 00000000 00000000
Jun  3 16:50:14 monpc mmc3: starting CMD41 arg 00300000 flags 00000061
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: executing opcode 0x29, arg: 0x300000, mask: 0x1340
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: host_status 1001, fifo_status 0
Jun  3 16:50:14 monpc mmc3: req done (CMD41): 0/0/0: 00ff8000 00000000 00000000 00000000
Jun  3 16:50:14 monpc mmc3: starting CMD55 arg 00000000 flags 00000015
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: executing opcode 0x37, arg: 0x0, mask: 0x2140
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: host_status 1, fifo_status 0
Jun  3 16:50:14 monpc mmc3: req done (CMD55): 0/0/0: 00000120 00000000 00000000 00000000
Jun  3 16:50:14 monpc mmc3: starting CMD41 arg 00300000 flags 00000061
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: executing opcode 0x29, arg: 0x300000, mask: 0x1340
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: host_status 1, fifo_status 0
Jun  3 16:50:14 monpc mmc3: req done (CMD41): 0/0/0: 80ff8000 00000000 00000000 00000000
Jun  3 16:50:14 monpc mmc3: starting CMD2 arg 00000000 flags 00000067
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: executing opcode 0x2, arg: 0x0, mask: 0x1240
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: host_status 1, fifo_status 0
Jun  3 16:50:14 monpc mmc3: req done (CMD2): 0/0/0: 1c535653 44432020 100003c8 e4007595
Jun  3 16:50:14 monpc mmc3: starting CMD3 arg 00000000 flags 00000075
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: executing opcode 0x3, arg: 0x0, mask: 0x1140
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: host_status 4000, fifo_status 0
Jun  3 16:50:14 monpc mmc3: req done (CMD3): 4/0/0: 00000000 00000000 00000000 00000000
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: executing opcode 0x3, arg: 0x0, mask: 0x1140
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: host_status 4000, fifo_status 0
Jun  3 16:50:14 monpc mmc3: req done (CMD3): 4/0/0: 00000000 00000000 00000000 00000000
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: executing opcode 0x3, arg: 0x0, mask: 0x1140
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: host_status 4000, fifo_status 0
Jun  3 16:50:14 monpc mmc3: req done (CMD3): 4/0/0: 00000000 00000000 00000000 00000000
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: executing opcode 0x3, arg: 0x0, mask: 0x1140
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: host_status 4000, fifo_status 0
Jun  3 16:50:14 monpc mmc3: req done (CMD3): 4/0/0: 00000000 00000000 00000000 00000000
Jun  3 16:50:14 monpc mmc3: starting CMD2 arg 00000000 flags 00000067
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: executing opcode 0x2, arg: 0x0, mask: 0x1240
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: host_status 80, fifo_status 0
Jun  3 16:50:14 monpc mmc3: req done (CMD2): 1/0/0: 00000000 00000000 00000000 00000000
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: executing opcode 0x2, arg: 0x0, mask: 0x1240
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: host_status 80, fifo_status 0
Jun  3 16:50:14 monpc mmc3: req done (CMD2): 1/0/0: 00000000 00000000 00000000 00000000
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: executing opcode 0x2, arg: 0x0, mask: 0x1240
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: host_status 80, fifo_status 0
Jun  3 16:50:14 monpc mmc3: req done (CMD2): 1/0/0: 00000000 00000000 00000000 00000000
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: executing opcode 0x2, arg: 0x0, mask: 0x1240
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: host_status 80, fifo_status 0
Jun  3 16:50:14 monpc mmc3: req done (CMD2): 1/0/0: 00000000 00000000 00000000 00000000
Jun  3 16:50:14 monpc mmc3: clock 333333Hz busmode 2 powermode 2 cs 0 Vdd 20 width 0
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: Setting bus width 0, power 2
Jun  3 16:50:14 monpc mmc3: selected 24.000MHz transfer rate
Jun  3 16:50:14 monpc mmc3: clock 24000000Hz busmode 2 powermode 2 cs 0 Vdd 20 width 0
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: Setting bus width 0, power 2
Jun  3 16:50:14 monpc mmc3: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0
Jun  3 16:50:14 monpc tifm_sd tifm_sd0:3: Setting bus width 0, power 0


Donc apparemment la carte est bien reconnue, par contre il me file aucun device -> est-ce que je dois rajouter une règle udev à la main ou bien ?

Sinon si quelqu'un est capable de me traduire tout ce charabia, je suis preneur :)
_________________
Monde de merde
Back to top
View user's profile Send private message
galerkin
Tux's lil' helper
Tux's lil' helper


Joined: 04 Mar 2006
Posts: 115
Location: /dev/toulouse

PostPosted: Sun Jun 03, 2007 12:58 pm    Post subject: Reply with quote

as tu lu mon précédent post?
J'ai eu le même problème que toi et seul un noyau 2.6.22 dans mon cas est venu au bout de ce problème!
Back to top
View user's profile Send private message
George Abitbol
n00b
n00b


Joined: 02 Feb 2006
Posts: 55

PostPosted: Sun Jun 03, 2007 1:05 pm    Post subject: Reply with quote

Ah oui, j'ai lu que le début du post in english, je vais continuer ma lecture (j'avais pas compris que ton pb était aussi qu'udev créait pas de device).
_________________
Monde de merde
Back to top
View user's profile Send private message
galerkin
Tux's lil' helper
Tux's lil' helper


Joined: 04 Mar 2006
Posts: 115
Location: /dev/toulouse

PostPosted: Sun Jun 03, 2007 7:40 pm    Post subject: Reply with quote

oui désolé, je ne l'avais pas précisé...
Par contre avec ce noyau 2.6.22 j'ai des problèmes de son :/
Bon courage en tous cas!
Back to top
View user's profile Send private message
George Abitbol
n00b
n00b


Joined: 02 Feb 2006
Posts: 55

PostPosted: Mon Jun 04, 2007 10:52 am    Post subject: Reply with quote

Bon bah à priori les problèmes viennent de 2 choses :
- le kernel 2.6.20 qui a un driver tifm daubique
- udev 104 qui a pas les bonnes règles

Je vais donc patiemment attendre que des versions correctes passent en x86 avant de continuer mes essais.
_________________
Monde de merde
Back to top
View user's profile Send private message
George Abitbol
n00b
n00b


Joined: 02 Feb 2006
Posts: 55

PostPosted: Wed Jul 25, 2007 3:43 pm    Post subject: Reply with quote

Résolu en posant un noyal 2.6.21-gentoo-r4.
_________________
Monde de merde
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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