Forum

The time now is Mon Feb 08, 2010 11:27 pm

Become a registered member of the Mandriva community.It takes only 5 mns and it's free ... Learn more ...
HOWTO: get a TI SD Card Reader working in Mandriva 2007.

 
Post new topic   Reply to topic    Mandriva Forum Index -> General Hardware Tips & Tricks
View previous topic :: View next topic  
Author Message
PostPosted: Mon Aug 21, 2006 1:17 pm    Post subject: HOWTO: get a TI SD Card Reader working in Mandriva 2007. Reply with quote

(UPDATE: got it working now working from boot without me doing anything would be nice. )

The 2.6.17 and latter kernels such as in the one included in mandriva 2007 can support SD card readers. readers such as the Ti. The same driver I know will also work with a chip made by ricoh.

The first step is to Id your card. type lspci

06:04.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
06:04.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
06:04.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
06:04.4 Class 0805: Texas Instruments PCI6411, PCI6421, PCI6611, PCI6621, PCI7411, PCI7421, PCI7611, PCI7621 Secure Digital (SD) Controller

That is the SD host controller. in the case of the TI card it and the flash media interface cannot work at the same time so a little hack is needed....

I needed to recompile the driver into modules. I also needed to input setpci -s 06:4.3 4c=0x22 where the 06:4.3 is the pci address of the texas instruments mass storage controller not the SD controller. Then I manually loaded mmc_block and sdhci (in that order).

I have heard that it is possible to get this to work from boot automatically. I am not sure how to do that.


Last edited by Hontas_7441 on Mon Aug 21, 2006 5:26 pm; edited 1 time in total
Hontas_7441

Non Figura

Joined: 15 Oct 2005
Posts: 120

Back to top
View user's profile Send private message
PostPosted: Mon Aug 21, 2006 2:23 pm    Post subject: Reply with quote

Fantastic ! Blogs updated Smile I'll try to help if I find some time.
yoho
Taster
yoho

Joined: 16 Apr 2005
Posts: 3777
Location: Brussels, Belgium

Back to top
View user's profile Send private message
PostPosted: Mon Aug 21, 2006 2:59 pm    Post subject: Reply with quote

I think the problem is some command i am forgetting to input. Either way here is my dmesg output. It shows clearly the driver loads and detects the device. I really wish I knew why the thing will not create the mmc blk devices. Perhaps it calls them somehing else on mandriva 2007(aside from mmcblk#)? I have some devfs devices named sr0 and sr1. Could those be them.

Quote:
Bootdata ok (command line is BOOT_IMAGE=custom_2.6.17-2 root=304 noapic nolapic
splash=silent)
Linux version 2.6.17-2mdvcustom (root@localhost) (gcc version 4.1.1 20060724 (pr
erelease) (4.1.1-3mdk)) #2 PREEMPT Mon Aug 21 08:44:13 CDT 2006
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000d0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000077ea0000 (usable)
BIOS-e820: 0000000077ea0000 - 0000000077eac000 (ACPI data)
BIOS-e820: 0000000077eac000 - 0000000077f00000 (ACPI NVS)
BIOS-e820: 0000000077f00000 - 0000000080000000 (reserved)
BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
DMI present.
ACPI: RSDP (v000 PTLTD ) @ 0x00000000000f7c50
ACPI: RSDT (v001 PTLTD RSDT 0x06040000 LTP 0x00000000) @ 0x0000000077ea47d
9
ACPI: FADT (v001 HP Piranha 0x06040000 ATI 0x000f4240) @ 0x0000000077eabde
f
ACPI: SSDT (v001 PTLTD POWERNOW 0x06040000 LTP 0x00000001) @ 0x0000000077eabe6
3
ACPI: MADT (v001 PTLTD APIC 0x06040000 LTP 0x00000000) @ 0x00000000
77eabf74
ACPI: MCFG (v001 PTLTD MCFG 0x06040000 LTP 0x00000000) @ 0x0000000077eabfc
4
ACPI: DSDT (v001 HP 309B 0x06040000 MSFT 0x0100000e) @ 0x000000000000000
0
On node 0 totalpages: 483101
DMA zone: 2688 pages, LIFO batch:0
DMA32 zone: 480413 pages, LIFO batch:31
ATI RS480 board detected. Disabling pin1 APIC timer.
ACPI: PM-Timer IO Port: 0x8008
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 15:4 APIC version 16
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: Skipping IOAPIC probe due to 'noapic' option.
Using ACPI for processor (LAPIC) configuration information
Intel MultiProcessor Specification v1.4
Virtual Wire compatibility mode.
OEM ID: Product ID: APIC at: 0xFEE00000
I/O APIC #1 Version 33 at 0xFEC00000.
Setting APIC routing to flat
Processors: 1
Allocating PCI resources starting at 88000000 (gap: 80000000:60000000)
Checking aperture...
CPU 0: aperture @ 4216000000 size 32 MB
Aperture from northbridge cpu 0 too small (32 MB)
No AGP bridge found
Built 1 zonelists
Kernel command line: BOOT_IMAGE=custom_2.6.17-2 root=304 noapic nolapic splash=s
ilent
bootsplash: silent mode.
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
time.c: Using 3.579545 MHz WALL PM GTOD PIT/TSC timer.
time.c: Detected 2188.880 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
Memory: 1928928k/1964672k available (3091k kernel code, 35056k reserved, 1105k d
ata, 208k init)
Calibrating delay using timer specific routine.. 4382.05 BogoMIPS (lpj=8764105)
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU: AMD Turion(tm) 64 Mobile Technology ML-40 stepping 02
checking if image is initramfs... it is
Freeing initrd memory: 61k freed
ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found.
ACPI: setting ELCR to 0200 (from 0c80)
Apic disabled
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using MMCONFIG at e0000000
PCI: No mmconfig possible on device 0:18
ACPI: Subsystem revision 20060127
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 0000:00:14.1
Boot video device is 0000:01:05.0
PCI: Transparent bridge - 0000:00:14.4
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PB5_._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs *10 11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 10 11) *7
ACPI: PCI Interrupt Link [LNKC] (IRQs 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 10 *11)
ACPI: PCI Interrupt Link [LNKE] (IRQs *10 11), disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs *10 11)
ACPI: PCI Interrupt Link [LNKG] (IRQs *10 11)
ACPI: PCI Interrupt Link [LNKH] (IRQs *10 11)
ACPI: Embedded Controller [EC0] (gpe 26) interrupt mode.
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P2P_._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
SCSI subsystem initialized
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
PCI: Cannot allocate resource region 7 of bridge 0000:00:05.0
PCI: Cannot allocate resource region 8 of bridge 0000:00:05.0
Bluetooth: Core ver 2.8
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
PCI-DMA: Disabling IOMMU.
PCI: Bridge: 0000:00:01.0
IO window: 9000-9fff
MEM window: b0100000-b01fffff
PREFETCH window: c0000000-cfffffff
PCI: Bridge: 0000:00:05.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: disabled.
PCI: Bus 7, cardbus bridge: 0000:06:04.0
IO window: 0000a400-0000a4ff
IO window: 0000a800-0000a8ff
PREFETCH window: 88000000-89ffffff
MEM window: 8a000000-8bffffff
PCI: Bridge: 0000:00:14.4
IO window: a000-afff
MEM window: b0200000-b02fffff
PREFETCH window: 88000000-89ffffff
PCI: Setting latency timer of device 0000:00:05.0 to 64
ACPI: PCI Interrupt Link [LNKE] disabled and referenced, BIOS bug.
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:06:04.0[A] -> Link [LNKE] -> GSI 10 (level, low) -> IRQ
10
NET: Registered protocol family 2
IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
TCP established hash table entries: 262144 (order: 9, 2097152 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $
audit: initializing netlink socket (disabled)
audit(1156150118.880:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
PCI: Setting latency timer of device 0000:00:05.0 to 64
pcie_portdrv_probe->Dev[5a37:1002] has invalid IRQ. Check vendor BIOS
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:05.0:pcie00]
Allocate Port Service[0000:00:05.0:pcie01]
vesafb: framebuffer at 0xc0000000, mapped to 0xffffc20010100000, using 3750k, to
tal 262144k
vesafb: mode is 800x600x16, linelength=1600, pages=254
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
bootsplash 3.1.6-2004/03/31: looking for picture...<6> silentjpeg size 31397 byt
es,<6>...found (800x600, 31349 bytes, v3).
Console: switching to colour frame buffer device 92x33
fb0: VESA VGA frame buffer device
ACPI: AC Adapter [ACAD] (on-line)
ACPI: Battery Slot [BAT1] (battery present)
ACPI: Power Button (FF) [PWRF]
ACPI: Sleep Button (FF) [SLPF]
ACPI: Lid Switch [LID]
ACPI: Power Button (CM) [PWRB]
ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
ACPI: Processor [CPU0] (supports 8 throttling states)
ACPI: Thermal Zone [THRM] (0 C)
Real Time Clock Driver v1.12ac
Linux agpgart interface v0.101 (c) Dave Jones
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:00:14.6[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ
11
ACPI: PCI interrupt for device 0000:00:14.6 disabled
RAMDISK driver initialized: 16 RAM disks of 32000K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ATIIXP: IDE controller at PCI slot 0000:00:14.1
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
ACPI: PCI Interrupt 0000:00:14.1[A] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ
10
ATIIXP: chipset revision 0
ATIIXP: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x8410-0x8417, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0x8418-0x841f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
hda: ST960812A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: HL-DT-ST DVDRAM GSA-4082N, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
Losing some ticks... checking if CPU frequency changed.
hda: 117210240 sectors (60011 MB) w/8192KiB Cache, CHS=65535/16/63, UDMA(100)
hda: cache flushes supported
hda: hda1 hda2 hda3 hda4
ACPI: PCI Interrupt 0000:06:04.0[A] -> Link [LNKE] -> GSI 10 (level, low) -> IRQ
10
Yenta: CardBus bridge found at 0000:06:04.0 [103c:30a4]
Yenta: Enabling burst memory read transactions
Yenta: Using INTVAL to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to ISA
Yenta TI: socket 0000:06:04.0, mfunc 0x00a61b22, devctl 0x64
Yenta: ISA IRQ mask 0x00f8, PCI irq 10
Socket status: 30000006
pcmcia: parent PCI bridge I/O window: 0xa000 - 0xafff
pcmcia: parent PCI bridge Memory window: 0xb0200000 - 0xb02fffff
pcmcia: parent PCI bridge Memory window: 0x88000000 - 0x89ffffff
i8042.c: Detected active multiplexing controller, rev 1.1.
serio: i8042 AUX0 port at 0x60,0x64 irq 12
serio: i8042 AUX1 port at 0x60,0x64 irq 12
serio: i8042 AUX2 port at 0x60,0x64 irq 12
serio: i8042 AUX3 port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
sdhci: Secure Digital Host Controller Interface driver, 0.12
sdhci: Copyright(c) Pierre Ossman
sdhci: SDHCI controller found at 0000:06:04.4 [104c:8034] (rev 0)
sdhci [sdhci_probe()]: found 3 slot(s)
ACPI: PCI Interrupt 0000:06:04.4[A] -> Link [LNKE] -> GSI 10 (level, low) -> IRQ
10
sdhci [sdhci_probe_slot()]: slot 0 at 0xb020a000, irq 10
sdhci: ============== REGISTER DUMP ==============
sdhci: Sys addr: 0x00000000 | Version: 0x00008400
sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci: Present: 0x00020000 | Host ctl: 0x00000000
sdhci: Power: 0x00000000 | Blk gap: 0x00000000
sdhci: Wake-up: 0x00000000 | Clock: 0x00000002
sdhci: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci: Int enab: 0x00ff00fb | Sig enab: 0x00ff00fb
sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci: Caps: 0x01821090 | Max curr: 0x00000000
sdhci: ===========================================
mmc0: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0
mmc0: SDHCI at 0xb020a000 irq 10 DMA
sdhci [sdhci_probe_slot()]: slot 1 at 0xb0209c00, irq 10
sdhci: ============== REGISTER DUMP ==============
sdhci: Sys addr: 0x00000000 | Version: 0x00008400
sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci: Present: 0x00020000 | Host ctl: 0x00000000
sdhci: Power: 0x00000000 | Blk gap: 0x00000000
sdhci: Wake-up: 0x00000000 | Clock: 0x00000002
sdhci: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci: Int enab: 0x00ff00fb | Sig enab: 0x00ff00fb
sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci: Caps: 0x01821090 | Max curr: 0x00000000
sdhci: ===========================================
mmc0: clock 0Hz busmode 1 powermode 1 cs 0 Vdd 21 width 0
mmc1: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0
mmc1: SDHCI at 0xb0209c00 irq 10 DMA
sdhci [sdhci_probe_slot()]: slot 2 at 0xb0209800, irq 10
sdhci: ============== REGISTER DUMP ==============
sdhci: Sys addr: 0x00000000 | Version: 0x00008400
sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000
sdhci: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci: Present: 0x000a0000 | Host ctl: 0x00000000
sdhci: Power: 0x00000000 | Blk gap: 0x00000000
sdhci: Wake-up: 0x00000000 | Clock: 0x00000002
sdhci: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci: Int enab: 0x00ff00fb | Sig enab: 0x00ff00fb
sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
sdhci: Caps: 0x01821898 | Max curr: 0x00000000
sdhci: ===========================================
mmc0: clock 62500Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0
mmc2: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0
mmc2: SDHCI at 0xb0209800 irq 10 DMA
wbsd: Winbond W83L51xD SD/MMC card interface driver, 1.5
wbsd: Copyright(c) Pierre Ossman
mmc0: clock 62500Hz busmode 1 powermode 2 cs 1 Vdd 21 width 0
mmc0: starting CMD0 arg 00000000 flags 00000040
sdhci [sdhci_tasklet_finish()]: Ending request, cmd (0)
mmc0: req done (CMD0): 1/0/0: 00000000 00000000 00000000 00000000
mmc0: clock 62500Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0
mmc0: starting CMD55 arg 00000000 flags 00000015
sdhci [sdhci_tasklet_finish()]: Ending request, cmd (37)
mmc0: req done (CMD55): 1/0/0: 00000000 00000000 00000000 00000000
mmc0: starting CMD55 arg 00000000 flags 00000015
sdhci [sdhci_tasklet_finish()]: Ending request, cmd (37)
mmc0: req done (CMD55): 1/0/0: 00000000 00000000 00000000 00000000
mmc0: starting CMD55 arg 00000000 flags 00000015
sdhci [sdhci_tasklet_finish()]: Ending request, cmd (37)
mmc0: req done (CMD55): 1/0/0: 00000000 00000000 00000000 00000000
mmc0: starting CMD55 arg 00000000 flags 00000015
sdhci [sdhci_tasklet_finish()]: Ending request, cmd (37)
mmc0: req done (CMD55): 1/0/0: 00000000 00000000 00000000 00000000
mmc0: starting CMD1 arg 00000000 flags 00000061
sdhci [sdhci_tasklet_finish()]: Ending request, cmd (1)
mmc0: req done (CMD1): 1/0/0: 00000000 00000000 00000000 00000000
mmc0: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0
mmc1: clock 0Hz busmode 1 powermode 1 cs 0 Vdd 21 width 0
mmc1: clock 62500Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0
mmc1: clock 62500Hz busmode 1 powermode 2 cs 1 Vdd 21 width 0
mmc1: starting CMD0 arg 00000000 flags 00000040
sdhci [sdhci_tasklet_finish()]: Ending request, cmd (0)
mmc1: req done (CMD0): 1/0/0: 00000000 00000000 00000000 00000000
input: AT Translated Set 2 keyboard as /class/input/input0
mmc1: clock 62500Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0
mmc1: starting CMD55 arg 00000000 flags 00000015
sdhci [sdhci_tasklet_finish()]: Ending request, cmd (37)
mmc1: req done (CMD55): 1/0/0: 00000000 00000000 00000000 00000000
mmc1: starting CMD55 arg 00000000 flags 00000015
sdhci [sdhci_tasklet_finish()]: Ending request, cmd (37)
mmc1: req done (CMD55): 1/0/0: 00000000 00000000 00000000 00000000
mmc1: starting CMD55 arg 00000000 flags 00000015
sdhci [sdhci_tasklet_finish()]: Ending request, cmd (37)
mmc1: req done (CMD55): 1/0/0: 00000000 00000000 00000000 00000000
mmc1: starting CMD55 arg 00000000 flags 00000015
sdhci [sdhci_tasklet_finish()]: Ending request, cmd (37)
mmc1: req done (CMD55): 1/0/0: 00000000 00000000 00000000 00000000
mmc1: starting CMD1 arg 00000000 flags 00000061
sdhci [sdhci_tasklet_finish()]: Ending request, cmd (1)
mmc1: req done (CMD1): 1/0/0: 00000000 00000000 00000000 00000000
mmc1: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0
mmc2: clock 0Hz busmode 1 powermode 1 cs 0 Vdd 21 width 0
mmc2: clock 93750Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0
mmc2: clock 93750Hz busmode 1 powermode 2 cs 1 Vdd 21 width 0
mmc2: starting CMD0 arg 00000000 flags 00000040
sdhci [sdhci_tasklet_finish()]: Ending request, cmd (0)
mmc2: req done (CMD0): 1/0/0: 00000000 00000000 00000000 00000000
mmc2: clock 93750Hz busmode 1 powermode 2 cs 0 Vdd 21 width 0
mmc2: starting CMD55 arg 00000000 flags 00000015
sdhci [sdhci_tasklet_finish()]: Ending request, cmd (37)
mmc2: req done (CMD55): 1/0/0: 00000000 00000000 00000000 00000000
mmc2: starting CMD55 arg 00000000 flags 00000015
sdhci [sdhci_tasklet_finish()]: Ending request, cmd (37)
mmc2: req done (CMD55): 1/0/0: 00000000 00000000 00000000 00000000
mmc2: starting CMD55 arg 00000000 flags 00000015
sdhci [sdhci_tasklet_finish()]: Ending request, cmd (37)
mmc2: req done (CMD55): 1/0/0: 00000000 00000000 00000000 00000000
mmc2: starting CMD55 arg 00000000 flags 00000015
sdhci [sdhci_tasklet_finish()]: Ending request, cmd (37)
mmc2: req done (CMD55): 1/0/0: 00000000 00000000 00000000 00000000
mmc2: starting CMD1 arg 00000000 flags 00000061
sdhci [sdhci_tasklet_finish()]: Ending request, cmd (1)
mmc2: req done (CMD1): 1/0/0: 00000000 00000000 00000000 00000000
mmc2: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0
TCP bic registered
NET: Registered protocol family 1
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
ieee80211_crypt: registered algorithm 'NULL'
ACPI wakeup devices:
LID KBC0 MSE0 ELAN
ACPI: (supports S0 S3 S4 S5)
BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
Freeing unused kernel memory: 208k freed
ReiserFS: hda4: found reiserfs format "3.6" with standard journal
Synaptics Touchpad, model: 1, fw: 6.2, id: 0x1a0b1, caps: 0xa04713/0x200000
input: SynPS/2 Synaptics TouchPad as /class/input/input1
ReiserFS: hda4: using ordered data mode
ReiserFS: hda4: journal params: device hda4, size 8192, journal first block 18,
max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda4: checking transaction log (hda4)
ReiserFS: hda4: Using r5 hash to sort names
usbcore: registered new driver usbfs
usbcore: registered new driver hub
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:13.0[A] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ
11
ohci_hcd 0000:00:13.0: OHCI Host Controller
ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:13.0: irq 11, io mem 0xb0000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 4 ports detected
ACPI: PCI Interrupt 0000:00:13.1[A] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ
11
ohci_hcd 0000:00:13.1: OHCI Host Controller
ohci_hcd 0000:00:13.1: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:13.1: irq 11, io mem 0xb0001000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 4 ports detected
ACPI: PCI Interrupt 0000:00:13.2[A] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ
11
ehci_hcd 0000:00:13.2: EHCI Host Controller
ehci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 3
ehci_hcd 0000:00:13.2: irq 11, io mem 0xb0002000
ehci_hcd 0000:00:13.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 8 ports detected
ieee1394: Initialized config rom entry `ip1394'
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 10
ACPI: PCI Interrupt 0000:06:04.2[C] -> Link [LNKH] -> GSI 10 (level, low) -> IRQ
10
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[10] MMIO=[b0209000-b02097ff] Max
Packet=[2048] IR/IT contexts=[4/8]
ohci_hcd 0000:00:13.1: wakeup
ohci_hcd 0000:00:13.0: wakeup
usb 2-3: new low speed USB device using ohci_hcd and address 2
usb 2-3: configuration #1 chosen from 1 choice
Non-volatile memory driver v1.2
powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.60.2)
powernow-k8: 0 : fid 0xe (2200 MHz), vid 0x4 (1450 mV)
powernow-k8: 1 : fid 0xc (2000 MHz), vid 0x6 (1400 mV)
powernow-k8: 2 : fid 0xa (1800 MHz), vid 0x8 (1350 mV)
powernow-k8: 3 : fid 0x8 (1600 MHz), vid 0xa (1300 mV)
powernow-k8: 4 : fid 0x0 (800 MHz), vid 0x16 (1000 mV)
cpu_init done, current fid 0xe, vid 0x2
powernow-k8: ph2 null fid transition 0xe
usb 1-4: new full speed USB device using ohci_hcd and address 3
usb 1-4: configuration #1 chosen from 1 choice
usbcore: registered new driver hiddev
input: Logitech USB-PS/2 Optical Mouse as /class/input/input2
input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:13.1
-3
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new driver usbmouse
drivers/usb/input/usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
Bluetooth: HCI USB driver ver 2.9
usbcore: registered new driver hci_usb
ibm_acpi: ec object not found
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.1
Adding 1028152k swap on /dev/hda3. Priority:-1 extents:1 across:1028152k
NTFS driver 2.1.27 [Flags: R/O DEBUG MODULE].
NTFS volume version 3.1.
loop: loaded (max 8 devices)
hdc: ATAPI 24X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, DMA
Uniform CD-ROM driver Revision: 3.20
Netfilter messages via NETLINK v0.30.
ip_conntrack version 2.4 (8192 buckets, 65536 max) - 304 bytes per conntrack
Removing netfilter NETLINK layer.
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.7
ACPI: PCI Interrupt 0000:00:14.5[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ
11
NET: Registered protocol family 17
ndiswrapper version 1.21 loaded (preempt=yes,smp=no)
ndiswrapper (load_pe_images:573): fixing KI_USER_SHARED_DATA address in the driv
er
ndiswrapper: driver bcmwl5 (Broadcom,02/11/2005, 3.100.64.0) loaded
ACPI: PCI Interrupt Link [LNKF] enabled at IRQ 10
ACPI: PCI Interrupt 0000:06:02.0[A] -> Link [LNKF] -> GSI 10 (level, low) -> IRQ
10
ndiswrapper: using irq 10
wlan0: vendor: ''
wlan0: ndiswrapper ethernet device 00:14:a5:2c:63:c1 using driver bcmwl5, 14E4:4
319.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP w
ith WPA, WPA2, WPA2PSK
spurious 8259A interrupt: IRQ7.
8139too Fast Ethernet driver 0.9.27
ACPI: PCI Interrupt Link [LNKG] enabled at IRQ 10
ACPI: PCI Interrupt 0000:06:06.0[A] -> Link [LNKG] -> GSI 10 (level, low) -> IRQ
10
eth1: RealTek RTL8139 at 0xffffc200100ce400, 00:0f:b0:c5:d4:57, IRQ 10
eth1: Identified 8139 chip type 'RTL-8100B/8139D'
eth1: link down
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
ADDRCONF(NETDEV_UP): eth1: link is not ready
IPv6 over IPv4 tunneling driver
Netfilter messages via NETLINK v0.30.
ip_conntrack version 2.4 (8192 buckets, 65536 max) - 304 bytes per conntrack
[drm] Initialized drm 1.0.1 20051102
ClusterIP Version 0.8 loaded successfully
ipt_recent v0.3.1: Stephen Frost <sfrost@snowman.net>. http://snowman.net/proje
cts/ipt_recent/
connmark: only support 32bit mark
CONNMARK: Only supports 32bit mark
netfilter PSD loaded - (c) astaro AG
ip_tables: psd match: invalid size 0 != 16
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 10117 b
ytes, v3).
bootsplash: status on console 0 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 10117 b
ytes, v3).
bootsplash: status on console 1 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 10117 b
ytes, v3).
bootsplash: status on console 2 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 10117 b
ytes, v3).
bootsplash: status on console 3 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 10117 b
ytes, v3).
bootsplash: status on console 4 changed to on
bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 10117 b
ytes, v3).
bootsplash: status on console 5 changed to on
eth0: no IPv6 routers present
usb 3-1: new high speed USB device using ehci_hcd and address 4
usb 3-1: configuration #1 chosen from 1 choice
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
Vendor: Generic Model: STORAGE DEVICE Rev: 9312
Type: Direct-Access ANSI SCSI revision: 00
sd 0:0:0:0: Attached scsi removable disk sda
sd 0:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete
SCSI device sda: 1984000 512-byte hdwr sectors (1016 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 1984000 512-byte hdwr sectors (1016 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
sda: sda1


At the end I plugged in an external SD card reader just to check if my card was the problem. It isn't the computer can read the card fine. Just not through the internal reader.

[/quote]
Hontas_7441

Non Figura

Joined: 15 Oct 2005
Posts: 120

Back to top
View user's profile Send private message
PostPosted: Mon Aug 21, 2006 5:24 pm    Post subject: Reply with quote

I have got it.

I needed to recompile the driver into modules. I also needed to input setpci -s 06:4.3 4c=0x22 where the 06:4.3 is the pci address of the texas instruments mass storage controller. Then I manually loaded mmc_block and sdhci (in that order).

Then the device was mounted and KDE opened a window and i can use my internal reader! Finally.
Hontas_7441

Non Figura

Joined: 15 Oct 2005
Posts: 120

Back to top
View user's profile Send private message
PostPosted: Mon Aug 21, 2006 6:04 pm    Post subject: Reply with quote

Do you mind if I move this thread to General Hardware Tips and Tricks?
_________________
MSI K8N Neo4, Athlon64 3200+, 2GB PC3200 dual-channel, GeForce 6600 PCIe 256M, Lite-On DVD/CD-RW, Memorex DVD-RW, AG Neovo 19" DFP. MDV 2010.0 x86_64.
RJ549

RJ549

Joined: 28 Apr 2004
Posts: 5629

Back to top
View user's profile Send private message
PostPosted: Mon Aug 21, 2006 7:47 pm    Post subject: Reply with quote

It's your world boss. But The thing is. This will only work in a release that has kernle 2.17 or better still 2.18 and thereafter. Older versions would need a pathc and all that stuff.
Hontas_7441

Non Figura

Joined: 15 Oct 2005
Posts: 120

Back to top
View user's profile Send private message
PostPosted: Mon Aug 21, 2006 10:41 pm    Post subject: Reply with quote

I've moved it but left the shadow topic.

People looking to get this hardware working might not think to look in the Cooker forum.
Besides, 2007 will soon be a thing of the present. (we hope) Wink

Thanks for posting this good information. IMHO, this is something that should work out-of-the-box for 2007.

Would you mind going to http://qa.mandriva.com and relaying your experience?
There's a good chance that this one will get picked up.
_________________
MSI K8N Neo4, Athlon64 3200+, 2GB PC3200 dual-channel, GeForce 6600 PCIe 256M, Lite-On DVD/CD-RW, Memorex DVD-RW, AG Neovo 19" DFP. MDV 2010.0 x86_64.
RJ549

RJ549

Joined: 28 Apr 2004
Posts: 5629

Back to top
View user's profile Send private message
PostPosted: Wed Aug 23, 2006 11:55 am    Post subject: Reply with quote

Does anyone know what file I can add the line
setpci -s 06:04.3 4c=0x22
to and still get it executed automatically?

Right now it is in /etc/conf.d.start

and where should the lines

mmc_block
sdhci
Be to make those modules load automatically. I tried putting them in /etc/modprobe.conf and only got errors.

Any advice?

@RJ459. I will do that after I can figure out how to make this work. You know why this is important? Because those SD cards are becomming almost like floppies.
Hontas_7441

Non Figura

Joined: 15 Oct 2005
Posts: 120

Back to top
View user's profile Send private message
PostPosted: Wed Aug 23, 2006 12:04 pm    Post subject: Reply with quote

Try putting the module names in: /etc/modprobe.preload

For the boot-time run script, try adding it to: /etc/rc.d/rc.local
_________________
MSI K8N Neo4, Athlon64 3200+, 2GB PC3200 dual-channel, GeForce 6600 PCIe 256M, Lite-On DVD/CD-RW, Memorex DVD-RW, AG Neovo 19" DFP. MDV 2010.0 x86_64.
RJ549

RJ549

Joined: 28 Apr 2004
Posts: 5629

Back to top
View user's profile Send private message
PostPosted: Wed Aug 23, 2006 1:12 pm    Post subject: Reply with quote

The real correct way to do would be to write a udev rule, but the driver should auto-detect you own such a device as well. No manual intervention should be needed.
yoho
Taster
yoho

Joined: 16 Apr 2005
Posts: 3777
Location: Brussels, Belgium

Back to top
View user's profile Send private message
PostPosted: Thu Aug 24, 2006 5:33 pm    Post subject: Reply with quote

Ok I have got the procedure down now.

Step one is to have the 2.17 kernel or better.

Two run as root lspci to find out the pci address of the Ti SD card interface and the multimedia card reader.

Three compile the kernel with mmc_block and sdhci as modules.

Four insert a line like setpci -s 06:04.3 4c=0x22 into your /etc/rc.d/rc.local.

Five insert in /etc/modprobe.preload the following lines in this order.
mmc_ block
sdhci
Six Reboot.
Last insert SD card and enjoy something that should have been able to work with Linux from the start. Smile
Hontas_7441

Non Figura

Joined: 15 Oct 2005
Posts: 120

Back to top
View user's profile Send private message
PostPosted: Thu Oct 05, 2006 3:44 pm    Post subject: Reply with quote

do you know if with the last 2007 we have still the need to compile the kernel ?
filipM

filipM

Joined: 31 Mar 2003
Posts: 60

Back to top
View user's profile Send private message Visit poster's website
PostPosted: Mon Oct 16, 2006 3:18 am    Post subject: Reply with quote

NO
But one annyoung thig is once this is done and an Sd card inserted it does not automount it and open a konqueror window. But it does this for every other medium including my USB connected Sd card reader.

Why?
Hontas_7441

Non Figura

Joined: 15 Oct 2005
Posts: 120

Back to top
View user's profile Send private message
PostPosted: Mon Oct 16, 2006 5:43 am    Post subject: Reply with quote

My camera and usb key are automounted. Is it an installation from scratch or an update ?
yoho
Taster
yoho

Joined: 16 Apr 2005
Posts: 3777
Location: Brussels, Belgium

Back to top
View user's profile Send private message
PostPosted: Thu Nov 23, 2006 2:12 am    Post subject: why 4c=0x22k for me. Reply with quote

Hi,

i m following your discussion and made all but it still don t work for me

what mean the 4c=0x22 for the setpci -s .... ?

because everything is showing but it didn t react when i insert my SD card

i have a Ricoh sd card reader, does it may work by any chance? or is it still not supported?

thank
Tzacos

Tzacos

Joined: 25 Oct 2005
Posts: 13
Location: Tours (France)

Back to top
View user's profile Send private message
PostPosted: Thu Nov 23, 2006 12:50 pm    Post subject: Reply with quote

This thread is more or less obsolete. See the real problem and solution here :

http://qa.mandriva.com/twiki/bin/view/Main/MandrivaLinux2007Errata#SD_cards_not_automounted_in_some
yoho
Taster
yoho

Joined: 16 Apr 2005
Posts: 3777
Location: Brussels, Belgium

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Mandriva Forum Index -> General Hardware Tips & Tricks 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


Powered by phpBB © 2001, 2005 phpBB Group