LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 03-14-2006, 11:39 PM   #1
hedpe
Member
 
Registered: Jan 2005
Location: Pittsburgh
Distribution: Ubuntu
Posts: 378

Rep: Reputation: 30
need help fixing my udev rules or ivman rules


Hi,

ivman seems to have broken on me... it used to work perfectly but now it doesn't seem to run actions when a device is inserted.

For instance, in my local user .ivman/IvmConfigProperties.xml I have:
Code:
    <ivm:Match name="hal.block.device" value="/dev/sd_card">
        <ivm:Property name="hal.volume.is_mounted">
            <ivm:Action value="true" exec="rox.add /mnt/sdcard 20 370 SD_Card" />
            <ivm:Action value="false" exec="rox.rem /mnt/sdcard SD_Card" />
        </ivm:Property>
    </ivm:Match>
Which should add an icon to my desktop... this used to work

ivman still sees the card being inserted...
Code:
hal_interface.c:47 (hal_device_added) New Device: /org/freedesktop/Hal/devices/volume_uuid_1406_2A4F
IvmConfig/IvmConfigCommon.c:152 (ivm_device_is_mountable) UDI /org/freedesktop/Hal/devices/volume_uuid_1406_2A4F is device /dev/sdc1
IvmConfig/IvmConfigCommon.c:292 (ivm_device_is_mountable) Device /dev/sdc1 appears to be mountable
manager.c:977 (ivm_media_changed) Giving other programs a chance to mount...
manager.c:988 (ivm_media_changed) Attempting to mount device /dev/sdc1
manager.c:768 (ivm_run_command) Running: pmount -u 007 '/dev/sdc1' '1GB CF'
Warning: device /dev/sd_card is already handled by /etc/fstab, supplied label is ignored
manager.c:1004 (ivm_media_changed) /org/freedesktop/Hal/devices/volume_uuid_1406_2A4F wasn't mounted, by us or by others...
IvmConfig/IvmConfigCommon.c:152 (ivm_device_is_mountable) UDI /org/freedesktop/Hal/devices/volume_uuid_1406_2A4F is device /dev/sdc1
IvmConfig/IvmConfigCommon.c:292 (ivm_device_is_mountable) Device /dev/sdc1 appears to be mountable
and mounts it according to my /etc/fstab...
Code:
/dev/sd_card  /mnt/sdcard       vfat        noauto,users                0 0
So now the card is mounted... however the user ivman will not add anything to my desktop! I even tried switching:
<ivm:Match name="hal.block.device" value="/dev/sd_card">
to
<ivm:Match name="hal.block.device" value="/dev/sdc1">

still nothing

Any help or suggestions would be greatly appreciated.

Thanks!
George

Last edited by hedpe; 03-15-2006 at 12:24 AM.
 
Old 03-18-2006, 09:56 AM   #2
hedpe
Member
 
Registered: Jan 2005
Location: Pittsburgh
Distribution: Ubuntu
Posts: 378

Original Poster
Rep: Reputation: 30
bump please :\
 
Old 03-18-2006, 10:07 AM   #3
truthfatal
Member
 
Registered: Mar 2005
Location: Winnipeg, MB
Distribution: Slackware, OS X
Posts: 443
Blog Entries: 9

Rep: Reputation: 32
are you sure this sdcard is getting mounted properly?
have you tried changeing sd_card to sdc1 in your fstab?

I have no clue what ivman is and have no experience configuring udev... but based on what you posted, this is the first thing I would try.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating rules for udev wnaLinux Slackware 5 01-03-2008 09:21 AM
udev rules for sandisk 8 in 1 card reader, can't distinguish hedpe Linux - Hardware 4 12-30-2005 03:38 AM
udev rules, finding the kernel name of a device? rignes Linux - Software 2 11-06-2005 11:42 PM
Networking rules (udev) cassi0peias Linux - Networking 1 10-18-2005 10:13 AM
Viruses, ipchains, dynamic rules, rules with regular expressions marktaff Linux - Security 2 09-25-2001 04:01 AM


All times are GMT -5. The time now is 06:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration