openSuse does not auto mount SD card drive

I have a Toshiba Satellite 2410 laptop. This laptop has a built in SD card drive.
When I insert an SD card into the reader, openSuse does not automatically mount the device.
Could someone give advice on what to do and what to look for to solve this?

The lspci command does see the SD drive.

lspci

00:00.0 Host bridge: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge (rev 04)
00:01.0 PCI bridge: Intel Corporation 82845 845 [Brookdale] Chipset AGP Bridge (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801CA/CAM USB Controller #2 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 42)
00:1f.0 ISA bridge: Intel Corporation 82801CAM ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801CAM IDE U100 Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC’97 Audio Controller (rev 02)
00:1f.6 Modem: Intel Corporation 82801CA/CAM AC’97 Modem Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 420 Go] (rev a3)
02:08.0 Ethernet controller: Intel Corporation 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller (rev 42)
02:0b.0 CardBus bridge: Toshiba America Info Systems ToPIC100 PCI to Cardbus Bridge with ZV Support (rev 32)
02:0b.1 CardBus bridge: Toshiba America Info Systems ToPIC100 PCI to Cardbus Bridge with ZV Support (rev 32)
02:0d.0 System peripheral: Toshiba America Info Systems SD TypA Controller (rev 03)

do you get any error message ? somethig like this:

org.freedesktop.hal.storage.mount-removable no <– (action, result)

If so then PolicyKit is preventing mounting of those drives,
Edit the PolicyKit settings but editing this file:

/usr/share/PolicyKit/policy/org.freedesktop.hal.storage.policy

search for this pattern:

<action id="org.freedesktop.hal.storage.mount-removable">
<description>Mount file systems from external drives.</description>
<message>System policy prevents mounting external media</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>

and replace it with

<action id="org.freedesktop.hal.storage.mount-removable">
<description>Mount file systems from external drives.</description>
<message>System policy prevents mounting external media</message>
<defaults>
<allow_inactive>yes</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>

Next, restart the HAL subsystem by opening the terminal, switching the root and typing

rchal restart

remove and reinsert the SD card, it should get mounted.

I don’t see any error messages you described in your previous reply. Neither with dmesg nor /var/log/Xorg*log

Nevertheless, I modified /usr/share/PolicyKit/policy/org.freedesktop.hal.storage.policy according to your description and still nothing is mounted when the SD card is inserted into the drive.

Any suggestions?

I don’t know if this is significant. But my /usr/share/PolicyKit/policy/org.freedesktop.hal.storage.policy contains

<action id=“org.freedesktop.hal.storage.mount-removable”>
<description>Mount file systems from removable drives.</description>
<message>System policy prevents mounting removable media</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>

Not quite a match as that you entered but I think this might be equivalent.

Hello All,

Does anyone have anymore suggestion to get my SD drive working on openSuse 11?

Thanks

Hi
Works fine on my Toshiba, but I get;

 /sbin/lspci -nnv |grep SD
05:0b.4 SD Host controller [0805]: Texas Instruments
PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller
[104c:8034] (prog-if 01

Also it uses the following modules;


lsmod |grep mmc
mmc_block              17540  2
mmc_core               53276  2 mmc_block,sdhci

Dmesg output when I plug a card in;


mmc2: new SD card at address 9ffc
mmcblk0: mmc2:9ffc SD01G 992000KiB
mmcblk0: p1

And


df -k /dev/mmcblk0p1
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mmcblk0p1          991488        32    991456 1% /media/mjl_sandisk


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
up 1 day 3:51, 1 user, load average: 0.25, 0.24, 0.14
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

Try this too: edit PolicyKit.conf to allow mount of removable media to anyone.

In:

/etc/PolicyKit/PolicyKit.conf

Add a section like this between the pair of tags:

  
  <match action="org.freedesktop.hal.storage.mount-removable">
    <return result="yes"/>
  </match>

***By the way, i hope there is a VERY GOOD REASON to screw up automounting of usb drives for casual users since previous opensuse releases… and even if there’s one, i think that such a basic feature should not need modifying an obscure XML configuration file, but be taken for granted!!!


Hi
Well it works out of the box for me with no configuration changes for
both SD cards and USB devices.

So that to me would indicate something related to the hardware maybe
some strange pci ID’s that aren’t recognized.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
up 2 days 6:45, 2 users, load average: 0.00, 0.03, 0.09
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

I tried the commands that you specified and I have the following:

lspci -nnv|grep SD

02:0d.0 System peripheral [0880]: Toshiba America Info Systems SD TypA Controller [1179:0805] (rev 03)

lsmod |grep mmc

<nothing shown>

From this, I assume that the approp kernel modules dealing with the SD drive is not loaded. If this is the case, you someone tell me how I would locate and load these modules.

Thanks

Hi
Just try manually loading them and see what happens;


sudo /sbin/modprobe sdhci
sudo /sbin/modprobe mmc_core
sudo /sbin/modprobe mmc_block


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
up 2 days 4:15, 4 users, load average: 0.36, 0.81, 0.45
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

I followed you instructions but still no go. I loaded the specified modules and then plugged in my SD card. Nothing was automounted. The /dev/mmc* directory that you specified in the previous email does not exist on mine.

modprobe sdhci

modprobe mmc_core

modprobe mmc_block

lsmod|grep mmc

mmc_block 17540 0
mmc_core 53276 2 mmc_block,sdhci

df -k /dev/mmcblk0p1

df: `/dev/mmcblk0p1’: No such file or directory
df: no file systems processed

ls -l /dev/mmc*

ls: cannot access /dev/mmc*: No such file or directory

Hi
Anything in dmesg when you plug the device in?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
up 15:25, 1 user, load average: 0.08, 0.10, 0.09
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

dmesg only show the following and remains the same even after I plugged in the SD card. I noticed that when I plugged in the SD card, the harddrive light started flashing. I would assume that the openSuse is reacting to this somehow.

dmesg

…<snipped out>
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman

Hello All,

I’m still having problems with using the SD drive with my laptop. Any more suggestions?

Thanks