List Info

Thread: SD Card reader, HP/Compaq latptop




SD Card reader, HP/Compaq latptop
country flaguser name
United States
2007-07-05 07:12:00
I have a Compaq R4000 laptop, with a multifunction Card
Reader in it
(SD/MMC/SM, etc). The documentation for this is kinda
lacking, so I'm
asking the list, has anyone got one of these buggers working
in Gentoo?

-- 
Recedite, plebes! Gero rem imperialem!


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support
-- 
gentoo-amd64gentoo.org mailing list


Re: SD Card reader, HP/Compaq latptop
user name
2007-07-05 07:39:27


On 7/5/07, Mark Haney < mhaneyercbroadband.org">mhaneyercbroadband.org> wrote:
I have a Compaq R4000 laptop, with a multifunction Card Reader in it
(SD/MMC/SM, etc). The documentation for this is kinda lacking, so I'm
asking the list, has anyone got one of these buggers working in Gentoo?

Is a TI??? I have a NC6400 and it uses and TI reader.

The driver is broken in the 2.6.19 and 2.6.20. Which kernel are you using? Now I'm using 2.6.21

When I was using a 2.6.18 it needed some tweaking, I used 'setpci -s 02: 06.2 4c.b=029; in my local.start

Good luck!

--
Recedite, plebes! Gero rem imperialem!


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support
--
gentoo-amd64gentoo.org">gentoo-amd64gentoo.org mailing list


Re: SD Card reader, HP/Compaq latptop
country flaguser name
United States
2007-07-05 09:14:21
Javi Moreno wrote:
> On 7/5/07, Mark Haney <mhaneyercbroadband.org>
wrote:
>>
>> I have a Compaq R4000 laptop, with a multifunction
Card Reader in it
>> (SD/MMC/SM, etc). The documentation for this is
kinda lacking, so I'm
>> asking the list, has anyone got one of these
buggers working in Gentoo?
> 
> 
> Is a TI??? I have a NC6400 and it uses and TI reader.
> 
> The driver is broken in the 2.6.19 and 2.6.20. Which
kernel are you using?
> Now I'm using 2.6.21
> 
> When I was using a 2.6.18 it needed some tweaking, I
used 'setpci -s
> 02:06.2
> 4c.b=02' in my local.start
> 
> Good luck!

Yeah it's a TI, and i"m running 2.6.21-gentoo-r3 right
now.  So how do I
set it up?  I can't find any reasonable documentation on
it.



-- 
Recedite, plebes! Gero rem imperialem!


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support
-- 
gentoo-amd64gentoo.org mailing list


Re: SD Card reader, HP/Compaq latptop
user name
2007-07-05 09:51:22
With the 2.6.21 I don't need any tweak, at least for me.

First configure the kernel

# cd /usr/src/linux
# make menuconfig


Under Device Drivers I have MMC Support selected, MMC block device driver and Secure Digital Host Controller Inferface Support as well.
Then TI Flash Media as module.

If you are first selecting this option you'll have to reboot with the new kernel.
If not you can compile and load the module tifm_sd. After modprobing you can run update-modules to have that module loaded always.

# make && make modules_install
# cp arch/'YOUR ARCH'/boot/bzImage /boot/';YOUR KERNEL';
# reboot (not needed depending on what you had on your previous kernel)

# modprobe tifm_sd
# update-modules

The device will be named /dev/mmcblk0, /dev/mmcblk0p1 for firt partition and so on.

Now mount, you'll need vfat fs support.
Re: SD Card reader, HP/Compaq latptop
country flaguser name
United States
2007-07-06 07:38:16
Javi Moreno wrote:

> # make && make modules_install
> # cp arch/'YOUR ARCH'/boot/bzImage /boot/'YOUR KERNEL'
> # reboot (not needed depending on what you had on your
previous kernel)
> 
> # modprobe tifm_sd
> # update-modules
> 
> The device will be named /dev/mmcblk0, /dev/mmcblk0p1
for firt partition
> and
> so on.
> 
> Now mount, you'll need vfat fs support.
> 

Yep that did it.  The problem I had was that I was compiling
mmc_core
and mmc_blk(?) as modules and they wouldn't load that way. 
Once I built
them into the kernel and left tifm_sd, etc. as modules they
all played
nice and now I can use my SD card.

Thanks for the help.


-- 
Recedite, plebes! Gero rem imperialem!


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support
-- 
gentoo-amd64gentoo.org mailing list


Re: SD Card reader, HP/Compaq latptop
user name
2007-07-06 12:43:42


2007/7/6, Mark Haney < mhaneyercbroadband.org">mhaneyercbroadband.org>:
Javi Moreno wrote:

&gt; # make && make modules_install
> # cp arch/'YOUR ARCH'/boot/bzImage /boot/';YOUR KERNEL';
> # reboot (not needed depending on what you had on your previous kernel)
>
> # modprobe tifm_sd
&gt; # update-modules
>
&gt; The device will be named /dev/mmcblk0, /dev/mmcblk0p1 for firt partition
> and
> so on.
>
&gt; Now mount, you'll need vfat fs support.
>

Yep that did it. &nbsp;The problem I had was that I was compiling mmc_core
and mmc_blk(?) as modules and they wouldn';t load that way.  Once I built
them into the kernel and left tifm_sd, etc. as modules they all played
nice and now I can use my SD card.

you can also build them as modules, and then add them  as 2 lines in /etc/modules.autoload/kernel-2.6 file and they will be loaded at the top of start of local and imedeately after the start of boot services.... this is a way of loading modules that udev will not load by default and that you still want to load at boot....

Thanks for the help.


--
Recedite, plebes! Gero rem imperialem!


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support
--
gentoo-amd64gentoo.org">gentoo-amd64gentoo.org mailing list




--
beso

d-_-b
[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )