Kernel + Driver + MMC/SD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Been trying to get my 4-in-1 reader (Multi Media Card, Mem Stick PRO, Secure Digital, xD-Picture Card™ working on my T61p ( actually had to pass the nopcmcia parameter just to being able to installing FC-8 64 ).. ( http://www.smolts.org/client/show?uuid=pub_b9c0af75-ca2c-4364-9e77-3207db59513e )

Anyway...

Grawling the internet I found this..

http://intr.overt.org/blog/?p=59

And this

http://bugzilla.kernel.org/show_bug.cgi?id=8871

And this..

http://forum.mandriva.com/viewtopic.php?t=52134

All refering the the magic setpci and all lacking to explain were their taking
the second half of the command.

Anyone know what to fill in or where I get the info to do so...

For example..*

*setpci -s ‘03:01.0′ 0xCA=0×57 (Write Enable) " 0xCA=0×57" ????

Attached are lsmod and lspci

And I guess I need to to setpci -s '15:00.2 ( or 1 ) and ??

Under which does the above fall under in bugzilla .. Kernel?
( Kernel detects the card reader but when I insert an xD card and nothing happens,
card does not seem to be detected nothing shows up in messages or dmesg...
which I guess falls under the whole sdhci driver never *sees* it)..


Best regards
Johann B.


######### output of lsmod #########

Module                  Size  Used by
tifm_sd                18377  0 
tifm_core              16713  1 tifm_sd
nls_utf8               10305  0 
ipt_MASQUERADE         11457  1 
iptable_nat            14661  1 
nf_nat                 25581  2 ipt_MASQUERADE,iptable_nat
bridge                 59241  0 
rfcomm                 43105  0 
l2cap                  28865  9 rfcomm
bluetooth              60133  4 rfcomm,l2cap
autofs4                28361  2 
fuse                   50289  1 
sunrpc                176969  3 
ib_iser                38073  0 
rdma_cm                33461  1 ib_iser
ib_cm                  35817  1 rdma_cm
iw_cm                  16841  1 rdma_cm
ib_sa                  27297  2 rdma_cm,ib_cm
ib_mad                 41189  2 ib_cm,ib_sa
ib_core                55617  6 ib_iser,rdma_cm,ib_cm,iw_cm,ib_sa,ib_mad
ib_addr                14665  1 rdma_cm
iscsi_tcp              29505  0 
libiscsi               29377  2 ib_iser,iscsi_tcp
scsi_transport_iscsi    36689  4 ib_iser,iscsi_tcp,libiscsi
nf_conntrack_ipv4      17353  5 iptable_nat
ipt_REJECT             12353  4 
iptable_filter         11073  1 
ip_tables              25897  2 iptable_nat,iptable_filter
nf_conntrack_ipv6      23057  2 
xt_state               10689  5 
nf_conntrack           65201  6 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4,nf_conntrack_ipv6,xt_state
xt_tcpudp              11713  12 
ip6t_ipv6header        10817  2 
ip6t_REJECT            12993  2 
ip6table_filter        10945  1 
ip6_tables             21129  2 ip6t_ipv6header,ip6table_filter
x_tables               23241  9 ipt_MASQUERADE,iptable_nat,ipt_REJECT,ip_tables,xt_state,xt_tcpudp,ip6t_ipv6header,ip6t_REJECT,ip6_tables
cpufreq_ondemand       15697  1 
acpi_cpufreq           17105  2 
loop                   22853  0 
dm_multipath           24785  0 
ipv6                  273289  16 nf_conntrack_ipv6,ip6t_REJECT
kvm_intel              29677  0 
kvm                    88609  1 kvm_intel
snd_hda_intel         391145  4 
snd_seq_dummy          11589  0 
snd_seq_oss            38721  0 
snd_seq_midi_event     15041  1 snd_seq_oss
snd_seq                60769  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
arc4                   10433  2 
snd_seq_device         15445  3 snd_seq_dummy,snd_seq_oss,snd_seq
ecb                    11457  2 
blkcipher              14277  1 ecb
snd_pcm_oss            52545  0 
thinkpad_acpi          58577  0 
snd_mixer_oss          23233  2 snd_pcm_oss
iwl4965               216117  0 
firewire_ohci          25153  0 
snd_pcm                87241  2 snd_hda_intel,snd_pcm_oss
hwmon                  11081  1 thinkpad_acpi
sdhci                  24133  0 
pcspkr                 11201  0 
ricoh_mmc              11841  0 
mmc_core               55113  2 tifm_sd,sdhci
firewire_core          45897  1 firewire_ohci
joydev                 18881  0 
iTCO_wdt               20113  0 
i2c_i801               16861  0 
crc_itu_t              10433  1 firewire_core
iTCO_vendor_support    11845  1 iTCO_wdt
i2c_core               27969  1 i2c_i801
snd_timer              28873  2 snd_seq,snd_pcm
mac80211              189865  1 iwl4965
snd_page_alloc         16721  2 snd_hda_intel,snd_pcm
snd_hwdep              16457  1 snd_hda_intel
snd                    65257  16 snd_hda_intel,snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep
cfg80211               31057  2 iwl4965,mac80211
soundcore              15073  2 snd
e1000                 125957  0 
battery                19017  0 
video                  27221  0 
ac                     13257  0 
output                 11713  1 video
sr_mod                 23653  0 
button                 15969  0 
sg                     40281  0 
cdrom                  40425  1 sr_mod
ata_piix               26181  0 
dm_snapshot            22921  0 
dm_zero                10305  0 
dm_mirror              26945  0 
dm_mod                 60473  11 dm_multipath,dm_snapshot,dm_zero,dm_mirror
ahci                   33989  2 
libata                144241  2 ata_piix,ahci
sd_mod                 33217  3 
scsi_mod              150009  8 ib_iser,iscsi_tcp,libiscsi,scsi_transport_iscsi,sr_mod,sg,libata,sd_mod
ext3                  128209  3 
jbd                    52073  1 ext3
mbcache                15809  1 ext3
uhci_hcd               30561  0 
ohci_hcd               28997  0 
ehci_hcd               39501  0 
[root@localhost ~]# lsmod 
Module                  Size  Used by
tifm_sd                18377  0 
tifm_core              16713  1 tifm_sd
nls_utf8               10305  0 
ipt_MASQUERADE         11457  1 
iptable_nat            14661  1 
nf_nat                 25581  2 ipt_MASQUERADE,iptable_nat
bridge                 59241  0 
rfcomm                 43105  0 
l2cap                  28865  9 rfcomm
bluetooth              60133  4 rfcomm,l2cap
autofs4                28361  2 
fuse                   50289  1 
sunrpc                176969  3 
ib_iser                38073  0 
rdma_cm                33461  1 ib_iser
ib_cm                  35817  1 rdma_cm
iw_cm                  16841  1 rdma_cm
ib_sa                  27297  2 rdma_cm,ib_cm
ib_mad                 41189  2 ib_cm,ib_sa
ib_core                55617  6 ib_iser,rdma_cm,ib_cm,iw_cm,ib_sa,ib_mad
ib_addr                14665  1 rdma_cm
iscsi_tcp              29505  0 
libiscsi               29377  2 ib_iser,iscsi_tcp
scsi_transport_iscsi    36689  4 ib_iser,iscsi_tcp,libiscsi
nf_conntrack_ipv4      17353  5 iptable_nat
ipt_REJECT             12353  4 
iptable_filter         11073  1 
ip_tables              25897  2 iptable_nat,iptable_filter
nf_conntrack_ipv6      23057  2 
xt_state               10689  5 
nf_conntrack           65201  6 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4,nf_conntrack_ipv6,xt_state
xt_tcpudp              11713  12 
ip6t_ipv6header        10817  2 
ip6t_REJECT            12993  2 
ip6table_filter        10945  1 
ip6_tables             21129  2 ip6t_ipv6header,ip6table_filter
x_tables               23241  9 ipt_MASQUERADE,iptable_nat,ipt_REJECT,ip_tables,xt_state,xt_tcpudp,ip6t_ipv6header,ip6t_REJECT,ip6_tables
cpufreq_ondemand       15697  1 
acpi_cpufreq           17105  2 
loop                   22853  0 
dm_multipath           24785  0 
ipv6                  273289  16 nf_conntrack_ipv6,ip6t_REJECT
kvm_intel              29677  0 
kvm                    88609  1 kvm_intel
snd_hda_intel         391145  4 
snd_seq_dummy          11589  0 
snd_seq_oss            38721  0 
snd_seq_midi_event     15041  1 snd_seq_oss
snd_seq                60769  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
arc4                   10433  2 
snd_seq_device         15445  3 snd_seq_dummy,snd_seq_oss,snd_seq
ecb                    11457  2 
blkcipher              14277  1 ecb
snd_pcm_oss            52545  0 
thinkpad_acpi          58577  0 
snd_mixer_oss          23233  2 snd_pcm_oss
iwl4965               216117  0 
firewire_ohci          25153  0 
snd_pcm                87241  2 snd_hda_intel,snd_pcm_oss
hwmon                  11081  1 thinkpad_acpi
sdhci                  24133  0 
pcspkr                 11201  0 
ricoh_mmc              11841  0 
mmc_core               55113  2 tifm_sd,sdhci
firewire_core          45897  1 firewire_ohci
joydev                 18881  0 
iTCO_wdt               20113  0 
i2c_i801               16861  0 
crc_itu_t              10433  1 firewire_core
iTCO_vendor_support    11845  1 iTCO_wdt
i2c_core               27969  1 i2c_i801
snd_timer              28873  2 snd_seq,snd_pcm
mac80211              189865  1 iwl4965
snd_page_alloc         16721  2 snd_hda_intel,snd_pcm
snd_hwdep              16457  1 snd_hda_intel
snd                    65257  16 snd_hda_intel,snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep
cfg80211               31057  2 iwl4965,mac80211
soundcore              15073  2 snd
e1000                 125957  0 
battery                19017  0 
video                  27221  0 
ac                     13257  0 
output                 11713  1 video
sr_mod                 23653  0 
button                 15969  0 
sg                     40281  0 
cdrom                  40425  1 sr_mod
ata_piix               26181  0 
dm_snapshot            22921  0 
dm_zero                10305  0 
dm_mirror              26945  0 
dm_mod                 60473  11 dm_multipath,dm_snapshot,dm_zero,dm_mirror
ahci                   33989  2 
libata                144241  2 ata_piix,ahci
sd_mod                 33217  3 
scsi_mod              150009  8 ib_iser,iscsi_tcp,libiscsi,scsi_transport_iscsi,sr_mod,sg,libata,sd_mod
ext3                  128209  3 
jbd                    52073  1 ext3
mbcache                15809  1 ext3
uhci_hcd               30561  0 
ohci_hcd               28997  0 
ehci_hcd               39501  0 

####### Output of lspci -v -s 15:00 -xxx #######

15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
	Subsystem: Lenovo Unknown device 20c6
	Flags: bus master, medium devsel, latency 168, IRQ 16
	Memory at f8100000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=15, secondary=16, subordinate=17, sec-latency=176
	Memory window 0: f4000000-f7fff000 (prefetchable)
	Memory window 1: c4000000-c7fff000
	I/O window 0: 00008000-000080ff
	I/O window 1: 00008400-000084ff
	16-bit legacy interface ports at 0001
	Kernel driver in use: yenta_cardbus
00: 80 11 76 04 07 00 10 02 ba 00 07 06 00 a8 82 00
10: 00 00 10 f8 dc 00 00 02 15 16 17 b0 00 00 00 f4
20: 00 f0 ff f7 00 00 00 c4 00 f0 ff c7 00 80 00 00
30: fc 80 00 00 00 84 00 00 fc 84 00 00 0a 01 80 05
40: aa 17 c6 20 01 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 01 00 a0 04 00 03 00 00 63 04 63 04 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 01 00 00 f0 00 03 00 00 00
b0: 00 00 00 00 00 00 00 60 00 30 00 00 00 00 00 00
c0: aa 17 c6 20 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 01 00 0a fe
e0: 00 40 c0 24 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

15:00.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04) (prog-if 10 [OHCI])
	Subsystem: Lenovo Unknown device 20c7
	Flags: bus master, medium devsel, latency 64, IRQ 17
	Memory at f8101000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: [dc] Power Management version 2
	Kernel driver in use: firewire_ohci
	Kernel modules: firewire-ohci
00: 80 11 32 08 06 00 10 02 04 10 00 0c 00 40 80 00
10: 00 10 10 f8 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 aa 17 c7 20
30: 00 00 00 00 dc 00 00 00 00 00 00 00 0b 02 02 04
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 80 16 00 00 00 00 00 20 00 00 66 66 32 12
90: 48 60 66 10 00 00 02 00 50 80 00 00 01 01 18 00
a0: 00 00 00 00 00 00 00 00 20 00 00 00 aa 17 c7 20
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 04
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 01 00 02 fe
e0: 00 c0 00 48 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

15:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)
	Subsystem: Lenovo Unknown device 20c8
	Flags: bus master, medium devsel, latency 64, IRQ 18
	Memory at f8101800 (32-bit, non-prefetchable) [size=256]
	Capabilities: [80] Power Management version 2
	Kernel driver in use: sdhci
	Kernel modules: sdhci
00: 80 11 22 08 06 00 10 02 21 00 05 08 00 40 80 00
10: 00 18 10 f8 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 aa 17 c8 20
30: 00 00 00 00 80 00 00 00 00 00 00 00 0b 03 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 01 00 02 fe 00 40 00 48 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 aa 17 c8 20
b0: 04 00 02 00 00 00 00 00 00 00 00 00 a0 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: a1 21 e0 01 00 00 00 00 40 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 d0 00 20 02 00 00 00 00

15:00.3 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 11)
	Subsystem: Lenovo Unknown device 20c9
	Flags: bus master, medium devsel, latency 0, IRQ 11
	Memory at f8101c00 (32-bit, non-prefetchable) [size=256]
	Capabilities: [80] Power Management version 2
	Kernel driver in use: ricoh-mmc
	Kernel modules: ricoh_mmc
00: 80 11 43 08 06 00 10 02 11 00 80 08 00 00 80 00
10: 00 1c 10 f8 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 aa 17 c9 20
30: 00 00 00 00 80 00 00 00 00 00 00 00 0b 03 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 01 00 02 fe 00 40 00 48 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 aa 17 c9 20
b0: 00 00 02 00 00 00 00 00 00 00 00 00 a0 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 80 02 04 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 d0 00 00 02 00 00 00 00

15:00.4 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 11)
	Subsystem: Lenovo Unknown device 20ca
	Flags: medium devsel, IRQ 11
	Memory at f8102000 (32-bit, non-prefetchable) [size=256]
	Capabilities: [80] Power Management version 2
00: 80 11 92 05 02 00 10 02 11 00 80 08 00 00 80 00
10: 00 20 10 f8 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 aa 17 ca 20
30: 00 00 00 00 80 00 00 00 00 00 00 00 0b 03 00 00
40: 00 00 02 00 00 00 00 00 00 00 02 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 01 00 02 fe 00 c0 00 48 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 aa 17 ca 20
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 c0 00 20 02 00 00 00 00

15:00.5 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 11)
	Subsystem: Lenovo Unknown device 20cb
	Flags: medium devsel, IRQ 11
	Memory at f8102400 (32-bit, non-prefetchable) [size=256]
	Capabilities: [80] Power Management version 2
00: 80 11 52 08 02 00 10 02 11 00 80 08 00 00 80 00
10: 00 24 10 f8 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 aa 17 cb 20
30: 00 00 00 00 80 00 00 00 00 00 00 00 0b 03 00 00
40: 00 00 02 00 00 00 00 00 00 00 02 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 01 00 02 fe 00 c0 00 48 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 aa 17 cb 20
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 c0 00 20 02 00 00 00 00

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux