Jump to content

HP DV1325 or HP DV1000 Series


Guest Mario Medina
 Share

Recommended Posts

Guest Mario Medina

Hi! I'm using mandriva for a long time, and i wish to report how to make it working on an HP DV1325LA.

 

This post is to explain how to configure Mandriva 2007.1 Spring to read that card.

 

It is very simple. Just add this line at the end of /etc/rc.d/rc.local

 

/usr/bin/setpci -s `/usr/bin/lspci | /bin/grep -i flashmedia |/bin/cut -d ' ' -f 1` 4c.b=02 > /tmp/logmmc 2>&1

 

You need to have installed pciutils (it is a default)

 

and in the /etc/fstab file you need this line:

 

/dev/mmcblk0p1 /media/mmc auto umask=0,users,iocharset=iso8859-1,codepage=850,noauto,rw,exec,noatime 0 0

 

 

and that's all.

 

I hope someone in mandriva develpment team read this and add a more sofisticated method to configure this, because there are two known problems:

 

- If the SD card has not the default config of One partition, and is in a configuration with more than one partition, or it has no partitions at all and is used as a raw disc, this doesn't work.

 

- If you hibernate your computer and then resume it, you will need to run again the setpci command.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...