Udev: add mountpoints for removable devices

Yet another solution to the removable devices problem.
After a minor system overhaul I finally decided to get rid of a bunch of static mountpoints I had in /mnt. I checked Arch wiki, and what I saw there, well, raised some questions. I mean, it's udev, it's not supposed to be pretty, but pmount with a fixed user, as a recommended solution? Ugh.
So I came up with a perl script that modifies /etc/fstab dynamically and creates mountpoints under /mnt, but doesn't actually mount anything. This way user mounts do not require any specific handling, and overall it looks nice and simple.
To my slight surprise I couldn't find any good scripts that would do this even outside of the wiki (which is strange, btw, because the solution is obvious), so I decided to put it here. Maybe I'm not the only one who thinks auto-mounting is never a good thing.
https://raw.github.com/nkf/udevh/master/udevh-sd | https://raw.github.com/nkf/udevh/master/README
Comments, suggestions etc. are welcome.
Please check the source and udev rules before doing anything, it's fstab after all.

tomk wrote:As long as you're happy.....
Well, yeah. I'm not a big fan of the current udev implementation, but this time it all worked very well.
As for the man page, well, it's not really set in stone. Ok, I admit I didn't read it, in Arch at least, but anyway, there must be reasons to call it static. mount is a simple tool, it's clear how it works, that's the only file it reads, and I see no intrinsic features in mount that would require fstab to be static. I'd say it's more of an self-imposed challenge to treat it as static, and not a necessity. At least for current implementation of mount, and current format of fstab, with "user", "users" etc.
Also, the kludgy automount suggestions on the udev page - pmount with fixed user ZOMG - are deprecated now in favour of udisks-based setups.
Maybe it should be removed then, or at least clearly labeled as deprecated?
Because when you read the page, it comes as a suggested solution. And udisks, well, I skipped that section at all, partly because it was above "Auto mounting USB devices", and party because it talks about KDE, Gnome and automounting.
Oh, and btw: I've just noticed that the fixed user in that example is "tomk" ;-)
falconindy wrote:I think you're in the minority of folks who think dynamically modifying a system config file as crucial as /etc/fstab is a good thing.
Somewhat off-topic, but /etc/fstab is one of the least critical files in the system, and one of the easiest to fix.
I didn't check with the current version, but if I'd was unable to boot without fstab, I'd call it a bug in initscripts.
.:B:. wrote:There's nothing more easy than udisks - and there are plenty of frontends to it, like udiskie. (...) Reinventing the wheel is not always necessary.
Well, I'm reading about udisks now, and the problem is, when I want a wheel, I want a wheel, not a Segway.
I like my system to be simple (arch way and all), while this thing wants d-bus, polkit, some frontends and org.freedesktop.stuff.die.must.java style configuration variables just to be able to type "mount /mnt/sda1". Easy, maybe, for a given values of "easy"; simple, anything but.

Similar Messages

  • [Solved] udev rules: serial for persistent device naming disappeared

    Hello,
    since the latest upgrade of udev and kmod I cant't mount my external e-SATA hard disk with my working udev rules.
    This is my udev rule:
    $ cat /etc/udev/rules.d/66-persistent_esata.rules
    KERNEL=="sd?1", SUBSYSTEMS=="block", ENV{ID_SERIAL_SHORT}=="S1VSJ1LS301247", NAME="aluguard"
    When plugged in, I could decrypt and mount it with "sudo cryptsetup luksOpen /dev/aluguard aluguard && mount /mnt/aluguard".
    Since the update above I get "Device /dev/aluguard doesn't exist or access denied."
    While I re-checked https://wiki.archlinux.org/index.php/Ma … _with_udev, I discovered, that the serial entry in the output of udevadm has vanished:
    $ udevadm info -a -p $(udevadm info -q path -n /dev/sdg)
    Udevadm info starts with the device specified by the devpath and then
    walks up the chain of parent devices. It prints for every device
    found, all possible attributes in the udev rules key format.
    A rule to match, can be composed by the attributes of the device
    and the attributes from one single parent device.
    looking at device '/devices/pci0000:00/0000:00:09.0/host3/target3:0:0/3:0:0:0/block/sdg':
    KERNEL=="sdg"
    SUBSYSTEM=="block"
    DRIVER==""
    ATTR{range}=="16"
    ATTR{ext_range}=="256"
    ATTR{removable}=="0"
    ATTR{ro}=="0"
    ATTR{size}=="1953525168"
    ATTR{alignment_offset}=="0"
    ATTR{discard_alignment}=="0"
    ATTR{capability}=="50"
    ATTR{stat}==" 96 24 762 780 0 0 0 0 0 780 780"
    ATTR{inflight}==" 0 0"
    ATTR{events}==""
    ATTR{events_async}==""
    ATTR{events_poll_msecs}=="-1"
    looking at parent device '/devices/pci0000:00/0000:00:09.0/host3/target3:0:0/3:0:0:0':
    KERNELS=="3:0:0:0"
    SUBSYSTEMS=="scsi"
    DRIVERS=="sd"
    ATTRS{device_blocked}=="0"
    ATTRS{type}=="0"
    ATTRS{scsi_level}=="6"
    ATTRS{vendor}=="ATA "
    ATTRS{model}=="SAMSUNG HD103SI "
    ATTRS{rev}=="1AG0"
    ATTRS{state}=="running"
    ATTRS{timeout}=="30"
    ATTRS{iocounterbits}=="32"
    ATTRS{iorequest_cnt}=="0xa2"
    ATTRS{iodone_cnt}=="0x98"
    ATTRS{ioerr_cnt}=="0xc"
    ATTRS{evt_media_change}=="0"
    ATTRS{queue_depth}=="31"
    ATTRS{queue_ramp_up_period}=="120000"
    ATTRS{queue_type}=="simple"
    looking at parent device '/devices/pci0000:00/0000:00:09.0/host3/target3:0:0':
    KERNELS=="target3:0:0"
    SUBSYSTEMS=="scsi"
    DRIVERS==""
    looking at parent device '/devices/pci0000:00/0000:00:09.0/host3':
    KERNELS=="host3"
    SUBSYSTEMS=="scsi"
    DRIVERS==""
    looking at parent device '/devices/pci0000:00/0000:00:09.0':
    KERNELS=="0000:00:09.0"
    SUBSYSTEMS=="pci"
    DRIVERS=="ahci"
    ATTRS{vendor}=="0x10de"
    ATTRS{device}=="0x0554"
    ATTRS{subsystem_vendor}=="0x1849"
    ATTRS{subsystem_device}=="0x0554"
    ATTRS{class}=="0x010601"
    ATTRS{irq}=="23"
    ATTRS{local_cpus}=="00000000,00000003"
    ATTRS{local_cpulist}=="0-1"
    ATTRS{numa_node}=="0"
    ATTRS{dma_mask_bits}=="64"
    ATTRS{consistent_dma_mask_bits}=="64"
    ATTRS{enable}=="1"
    ATTRS{broken_parity_status}=="0"
    ATTRS{msi_bus}==""
    looking at parent device '/devices/pci0000:00':
    KERNELS=="pci0000:00"
    SUBSYSTEMS==""
    DRIVERS==""
    What is the reason for this strange behaviour, and how can I get back the serial entry?
    Thank in advance!
    Last edited by indianahorst (2012-01-31 13:03:20)

    $ udevadm info -q all -n /dev/sdg1
    P: /devices/pci0000:00/0000:00:09.0/host3/target3:0:0/3:0:0:0/block/sdg/sdg1
    N: sdg1
    S: disk/by-id/ata-SAMSUNG_HD103SI_S1VSJ1LS301247-part1
    S: disk/by-id/scsi-SATA_SAMSUNG_HD103SIS1VSJ1LS301247-part1
    S: disk/by-id/wwn-0x50024e900136a03e-part1
    S: disk/by-path/pci-0000:00:09.0-scsi-3:0:0:0-part1
    S: disk/by-uuid/bb024e1b-78a5-4ed0-9e80-aaa7633aa493
    E: DEVLINKS=/dev/disk/by-id/ata-SAMSUNG_HD103SI_S1VSJ1LS301247-part1 /dev/disk/by-id/scsi-SATA_SAMSUNG_HD103SIS1VSJ1LS301247-part1 /dev/disk/by-id/wwn-0x50024e900136a03e-part1 /dev/disk/by-path/pci-0000:00:09.0-scsi-3:0:0:0-part1 /dev/disk/by-uuid/bb024e1b-78a5-4ed0-9e80-aaa7633aa493
    E: DEVNAME=/dev/sdg1
    E: DEVPATH=/devices/pci0000:00/0000:00:09.0/host3/target3:0:0/3:0:0:0/block/sdg/sdg1
    E: DEVTYPE=partition
    E: ID_ATA=1
    E: ID_ATA_DOWNLOAD_MICROCODE=1
    E: ID_ATA_FEATURE_SET_AAM=1
    E: ID_ATA_FEATURE_SET_AAM_CURRENT_VALUE=254
    E: ID_ATA_FEATURE_SET_AAM_ENABLED=1
    E: ID_ATA_FEATURE_SET_AAM_VENDOR_RECOMMENDED_VALUE=254
    E: ID_ATA_FEATURE_SET_APM=1
    E: ID_ATA_FEATURE_SET_APM_ENABLED=0
    E: ID_ATA_FEATURE_SET_HPA=1
    E: ID_ATA_FEATURE_SET_HPA_ENABLED=1
    E: ID_ATA_FEATURE_SET_PM=1
    E: ID_ATA_FEATURE_SET_PM_ENABLED=1
    E: ID_ATA_FEATURE_SET_PUIS=1
    E: ID_ATA_FEATURE_SET_PUIS_ENABLED=0
    E: ID_ATA_FEATURE_SET_SECURITY=1
    E: ID_ATA_FEATURE_SET_SECURITY_ENABLED=0
    E: ID_ATA_FEATURE_SET_SECURITY_ENHANCED_ERASE_UNIT_MIN=194
    E: ID_ATA_FEATURE_SET_SECURITY_ERASE_UNIT_MIN=194
    E: ID_ATA_FEATURE_SET_SMART=1
    E: ID_ATA_FEATURE_SET_SMART_ENABLED=1
    E: ID_ATA_SATA=1
    E: ID_ATA_SATA_SIGNAL_RATE_GEN1=1
    E: ID_ATA_SATA_SIGNAL_RATE_GEN2=1
    E: ID_ATA_WRITE_CACHE=1
    E: ID_ATA_WRITE_CACHE_ENABLED=1
    E: ID_BUS=ata
    E: ID_FS_TYPE=crypto_LUKS
    E: ID_FS_USAGE=crypto
    E: ID_FS_UUID=bb024e1b-78a5-4ed0-9e80-aaa7633aa493
    E: ID_FS_UUID_ENC=bb024e1b-78a5-4ed0-9e80-aaa7633aa493
    E: ID_FS_VERSION=1
    E: ID_MODEL=SAMSUNG_HD103SI
    E: ID_MODEL_ENC=SAMSUNG\x20HD103SI\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
    E: ID_PART_ENTRY_TYPE=0x83
    E: ID_PART_TABLE_TYPE=dos
    E: ID_PATH=pci-0000:00:09.0-scsi-3:0:0:0
    E: ID_PATH_TAG=pci-0000_00_09_0-scsi-3_0_0_0
    E: ID_REVISION=1AG01131
    E: ID_SCSI_COMPAT=SATA_SAMSUNG_HD103SIS1VSJ1LS301247
    E: ID_SERIAL=SAMSUNG_HD103SI_S1VSJ1LS301247
    E: ID_SERIAL_SHORT=S1VSJ1LS301247
    E: ID_TYPE=disk
    E: ID_WWN=0x50024e900136a03e
    E: ID_WWN_WITH_EXTENSION=0x50024e900136a03e
    E: MAJOR=8
    E: MINOR=97
    E: PART_ENTRY_DISK=8:96
    E: PART_ENTRY_NUMBER=1
    E: PART_ENTRY_OFFSET=63
    E: PART_ENTRY_SCHEME=dos
    E: PART_ENTRY_SIZE=1953520002
    E: SUBSYSTEM=block
    E: UDEV_LOG=3
    E: UDISKS_PARTITION=1
    E: UDISKS_PARTITION_ALIGNMENT_OFFSET=0
    E: UDISKS_PARTITION_NUMBER=1
    E: UDISKS_PARTITION_OFFSET=32256
    E: UDISKS_PARTITION_SCHEME=mbr
    E: UDISKS_PARTITION_SIZE=1000202241024
    E: UDISKS_PARTITION_SLAVE=/sys/devices/pci0000:00/0000:00:09.0/host3/target3:0:0/3:0:0:0/block/sdg
    E: UDISKS_PARTITION_TYPE=0x83
    E: UDISKS_PRESENTATION_NOPOLICY=0
    E: USEC_INITIALIZED=6897248001
    OK, there is the serial.... but the problem persists - udev doesn't execute the rule and doesn't create /dev/aluguard.

  • [HAL] Mount options for removable devices

    I need my USB drives automounted with noatime mount options. Following the guidelines at http://wiki.archlinux.org/index.php/HAL, I created a file /usr/share/hal/fdi/policy/10osvendor/10-custom-mount-options.fdi with the following content:
    <?xml version="1.0" encoding="UTF-8"?>
    <deviceinfo version="0.2">
    <device>
    <match key="block.is_volume" bool="true">
    <match key="@block.storage_device:storage.hotpluggable" bool="true">
    <merge key="volume.policy.mount_option.noatime" type="bool">true</merge>
    </match>
    <match key="@block.storage_device:storage.removable" bool="true">
    <merge key="volume.policy.mount_option.noatime" type="bool">true</merge>
    </match>
    </match>
    </device>
    </deviceinfo>
    And then restarted HAL. Even tried reboot. But my drives still won't mount with noatime. Any help is much appreciated?

    [:bump:]

  • Add on for Handheld device

    Hello All,
    I'm trying to find a solution that will allow me to create deliveries in a hand-held device in a remote location. The device doesn't necessarily have to have a live connection to the DB. The user should be able to create the delivery, and then sync that with the database when he returns to the office using a cradle or any other method. Syncing should transfer the deliveries from the handheld to the actual database and update inventory accordingly.
    Thanks
    Reza

    Try "Amodat"

  • Udev bash script for autodialing usb huawei modem

    Hey
    I've got an interesting one here.
    I have scripted up a bash script to be triggered by a udev add event for my usb modem. As far as I can tell the udev event is firing correctly according to udevadm.
    ACTION=="add", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1003", RUN+="/bin/sh /usr/local/bin/huawei_key.sh add"
    ACTION=="remove", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1003", RUN+="/bin/sh /usr/local/bin/huawei_key.sh remove"
    And heres the code from the script
    #!/bin/bash
    #returns
    # 0 Successfully ran script for case
    # 1 wvdial process already running
    # 2 wvdial was not terminated
    # 3 script was not ran with ADD or REMOVE events
    function getpid #get process id of running program
    pidof wvdial
    if [ "$?" = 0 ];
    then
    pid=`pidof wvdial`
    running=1
    else
    running=0
    fi
    function checkrun #check for a running copy of the program
    pidof wvdial
    if [ "$?" == "0" ];
    then
    running=1
    else
    running=0
    fi
    function killloop #a set of time kill commands to let the program exit gracefully
    #two terms, one int and one kill with suitable gaps
    getpid
    checkrun
    if [ "$running" = "0" ];
    then
    return
    fi
    kill $pid
    sleep 10
    checkrun
    if [ "$running" = "0" ];
    then
    return
    fi
    kill $pid
    sleep 10
    checkrun
    if [ "$running" = "0" ];
    then
    return
    fi
    kill -INT $pid
    sleep 5
    checkrun
    if [ "$running" = "0" ];
    then
    return
    fi
    kill -KILL $pid
    sleep 5
    checkrun
    if [ "$running" = "1" ];
    then
    exit 2 #process fails to die
    fi
    function getlaststatus
    if [ -e "/var/run/huawie" ];
    then
    last=`cat /var/run/huawie`
    else
    last=0
    fi
    if [ "$1" = "add" ];
    then
    getlaststatus
    if [ "$last" = "1" ];
    then
    exit 1
    fi
    echo 1 > /var/run/huawie #block future udev events
    getpid
    if [ "$running" = "1" ];
    then
    exit 1
    fi
    modprobe usbserial
    sleep 6 #modem init time
    wvdial &
    exit 0
    elif [ "$1" = "remove" ];
    then
    getlaststatus
    if [ "$last" = "2" ];
    then
    exit 0
    fi
    echo 2 > /var/run/huawie
    killloop
    exit 0
    else
    echo 3 > /var/run/huawie
    exit 3
    fi
    I'd appreciate any ideas, this one has me stumped
    Edit:
    Forgot to add that when I call the script manually it works like a charm.
    Last edited by adamd (2009-08-25 15:04:06)

    Hey
    I've got an interesting one here.
    I have scripted up a bash script to be triggered by a udev add event for my usb modem. As far as I can tell the udev event is firing correctly according to udevadm.
    ACTION=="add", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1003", RUN+="/bin/sh /usr/local/bin/huawei_key.sh add"
    ACTION=="remove", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1003", RUN+="/bin/sh /usr/local/bin/huawei_key.sh remove"
    And heres the code from the script
    #!/bin/bash
    #returns
    # 0 Successfully ran script for case
    # 1 wvdial process already running
    # 2 wvdial was not terminated
    # 3 script was not ran with ADD or REMOVE events
    function getpid #get process id of running program
    pidof wvdial
    if [ "$?" = 0 ];
    then
    pid=`pidof wvdial`
    running=1
    else
    running=0
    fi
    function checkrun #check for a running copy of the program
    pidof wvdial
    if [ "$?" == "0" ];
    then
    running=1
    else
    running=0
    fi
    function killloop #a set of time kill commands to let the program exit gracefully
    #two terms, one int and one kill with suitable gaps
    getpid
    checkrun
    if [ "$running" = "0" ];
    then
    return
    fi
    kill $pid
    sleep 10
    checkrun
    if [ "$running" = "0" ];
    then
    return
    fi
    kill $pid
    sleep 10
    checkrun
    if [ "$running" = "0" ];
    then
    return
    fi
    kill -INT $pid
    sleep 5
    checkrun
    if [ "$running" = "0" ];
    then
    return
    fi
    kill -KILL $pid
    sleep 5
    checkrun
    if [ "$running" = "1" ];
    then
    exit 2 #process fails to die
    fi
    function getlaststatus
    if [ -e "/var/run/huawie" ];
    then
    last=`cat /var/run/huawie`
    else
    last=0
    fi
    if [ "$1" = "add" ];
    then
    getlaststatus
    if [ "$last" = "1" ];
    then
    exit 1
    fi
    echo 1 > /var/run/huawie #block future udev events
    getpid
    if [ "$running" = "1" ];
    then
    exit 1
    fi
    modprobe usbserial
    sleep 6 #modem init time
    wvdial &
    exit 0
    elif [ "$1" = "remove" ];
    then
    getlaststatus
    if [ "$last" = "2" ];
    then
    exit 0
    fi
    echo 2 > /var/run/huawie
    killloop
    exit 0
    else
    echo 3 > /var/run/huawie
    exit 3
    fi
    I'd appreciate any ideas, this one has me stumped
    Edit:
    Forgot to add that when I call the script manually it works like a charm.
    Last edited by adamd (2009-08-25 15:04:06)

  • Udev not loading the right driver for usbtmc device

    I have a usb beam profiler  and I'm trying to get it to work on arch linux. It works using NI-VISA, so I should be able to communicate with it using usbtmc. However, when I plug it in, it does not show up in /dev.
    I think the problem is that udev is not loading the tmc interface driver when I plug it in.
    Here's a snippet of the output from lsusb -v:
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 0
    bNumEndpoints 4
    bInterfaceClass 255 Vendor Specific Class
    bInterfaceSubClass 0
    bInterfaceProtocol 0
    iInterface 0
    I believe that bInterface* should look something like:
    bInterfaceClass 254 Application Specific Interface
    bInterfaceSubClass 3 Test and Measurement
    bInterfaceProtocol 1 TMC
    iInterface 5 TMC488
    Is there a way to force udev to load the right interface? Or is the problem that I'm missing something from my kernel?

    Could you post the entire output of lsusb -v for the device?
    Bus 001 Device 013: ID 1313:8019 ThorLabs
    Couldn't open device, some information will be missing
    Device Descriptor:
    bLength 18
    bDescriptorType 1
    bcdUSB 2.00
    bDeviceClass 0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 64
    idVendor 0x1313 ThorLabs
    idProduct 0x8019
    bcdDevice 0.00
    iManufacturer 1
    iProduct 2
    iSerial 3
    bNumConfigurations 1
    Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 46
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0x80
    (Bus Powered)
    MaxPower 500mA
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 0
    bNumEndpoints 4
    bInterfaceClass 255 Vendor Specific Class
    bInterfaceSubClass 0
    bInterfaceProtocol 0
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x02 EP 2 OUT
    bmAttributes 2
    Transfer Type Bulk
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0200 1x 512 bytes
    bInterval 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x04 EP 4 OUT
    bmAttributes 2
    Transfer Type Bulk
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0200 1x 512 bytes
    bInterval 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x86 EP 6 IN
    bmAttributes 2
    Transfer Type Bulk
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0200 1x 512 bytes
    bInterval 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x88 EP 8 IN
    bmAttributes 2
    Transfer Type Bulk
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0200 1x 512 bytes
    bInterval 0
    What device node name are you expecting?
    Not sure, but probably /dev/usbtmc0
    Is there a chance that it is being instantiated as a HID device?  Does /dev/usbhid0 appear?
    Nope, don't have a /dev/usbhid0
    What does the journal say when the device has been attached?
    I'm not sure what you mean, but dmesg says:
    [ 6095.219400] usb 1-1.2: new high-speed USB device number 14 using ehci-pci
    and udevadm monitor says:
    KERNEL[6098.321484] add /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2 (usb)
    KERNEL[6098.321887] add /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0 (usb)
    UDEV [6098.324333] add /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2 (usb)
    UDEV [6098.325356] add /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0 (usb)

  • I have four devices on one Apple ID, i have separate emails and phone numbers for each device but when I tried to add one to my iPod, it said that the email was already in use.

    I have four devices on one Apple ID, i have seperate emails and phone numbers for each device but when I tried to add one to my iPod, it said that the email was already in use.  I have tried many things and the only guess I have is that either someone else has this email as their iMessage but is fake or it wasn't taken off my old iPod when I reset it.  Any ideas on what to do?

    Thanks but that doesn't give me the information I need.  I am putting an email on my ipod for people to contact me for iMessage and FaceTime but when I put the email in, it gives me an error saying that the email cannot be veirified because it is already in use.  My Apple ID can be varified, just not the email that they will contact me with.

  • Java mapping for Remove and Add of  DOCTYPE Tag

    HI All,
    i have one issue while the Java mapping for Remove and Add of  DOCTYPE Tag   in Operation Mapping .
    it says that , while am testing in Configuration Test "  Problem while determining receivers using interface mapping: Error while determining root tag of XML"
    Receiver Determination...
    error in SXMB MOni
    " SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">CX_RD_PLSRV</SAP:Code>
      <SAP:P1>Problem while determining receivers using interface mapping: Error while determining root tag of XML: '<!--' or '<![CDATA[' expected</SAP:P1>
    plz provide solutions
    Thanks in advance.

    Hi Mahesh,
    I understand, you are using extended Receiver Determination using Operational Mapping (which has Java Mapping). And, there is an error message u201CError while determining root tag of XMLu201D, when you are doing configuration test.
    Can you please test, the Operational Mapping (which has Java Mapping) separately in ESR, with payload which is coming now. It should produce a XML something like this [Link1|http://help.sap.com/saphelp_nwpi711/helpdata/en/48/ce53aea0d7154ee10000000a421937/frameset.htm]
    <Receivers>
    <Receiver>
      <Party agency="016" scheme="DUNS">123456789</Party>
      <Service>MyService</Service>
    </Receiver>
    <Receiver>
      <Party agency="http://sap.com/xi/XI" scheme="XIParty"></Party>
      <Service>ABC_200</Service>
    </Receiver>
    </Receivers>
    If it is not (I Think it will not), then there is some problem in Java Mapping coding. Please correct it. Last option, if your Java code is small in length; you may paste it here, so that we can have a look at the cause of issue.
    Regards,
    Raghu_Vamsee

  • I hit the remove device button on itunes. How do i add my iphone back?

    i hit the remove device button on itunes. How do i add my iphone back?

    You will either need to use iTunes Match or automatic downloads on it, or redownload some of your past purchases.
    Associating a device to an account : http://support.apple.com/kb/HT4627

  • HT1923 I cannot uninstall apple mobile device support.  I am following the instructions for removing and reinstalling itunes but now stuck.  Please help.

    I am following the instructions for removing and reinstalling itunes because I had a "msvcr80.dll missing from your computer" error.  I have uninstalled itunes and apple software update but the next one in order "apple mobile device support" will not uninstall.  According to the instructions, that one has to be removed before I can do the rest.  Would love any help I can get.

    Hello and thanks so much for your quick reply. I am at a standstill, because I have done those things already and it has not worked. The repair install procedure seemed to take place quickly, but the same thing happened again when I tried to uninstall it the program after that.... It seems to proceed, then the progress bar goes backward, and there it still is!
    When I downloaded the Microsoft Fixit program and asked it to uninstall the Apple Mobile device Support, it started but then got stuck and I had to shut my computer off, as it froze everything up!
    I'm hoping you can help..... This seems to be a problem with the new version, and it's frustrating, because I can't use Itunes on my computer at all till we find a solution.
    Perhaps if I try to restore my computer to before the Itunes 11.1.4 uodate?
    Thanks so much for your help,
    Shirley 261

  • [svn:osmf:] 13966: 1. Integrate code changes from Matthew to remove timeBias and add support for subclip

    Revision: 13966
    Revision: 13966
    Author:   [email protected]
    Date:     2010-02-03 15:04:44 -0800 (Wed, 03 Feb 2010)
    Log Message:
    1. Integrate code changes from Matthew to remove timeBias and add support for subclip
    2. A minor bug fix with the index handler
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPNetStream.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPStreamingState.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/f4f/HTTPStreamingF4FIndexHandler.as

    Maybe you try posting in one of the Enterprise & Remote Computing forums:
    http://forum.java.sun.com/category.jspa?categoryID=14
    And please use the forum CODE tags for formatted readable display of your code on the board.
    http://forum.java.sun.com/post!reply.jspa?messageID=9989322#

  • When i open new tab my all bookmarks and add on's remove automatically, what can do for locking this???

    when i open new tab my all bookmarks and add on's remove automatically, what can do for locking this???

    Do you mean that toolbars get hidden when you open a new tab?
    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    *Use a compressed image type like PNG or JPG to save the screenshot
    *Make sure that you do not exceed the maximum size of 1 MB
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Can not remove second line in Jabber for Tablet device on CUCM

    Hi all,
    The functionality we are trying to achieve is that people will have different DNs for their desk phones and Jabber for iPad devices, but when they make a call from the iPad, the desk phone DN will be shown. I have been testing out the Primary extension feature in the CUCM but it doesn't work properly so far. And now, I added two different DNs to a Jabber for Tablet device and can not remove the second one from 'Modify button items'. It gives the following error :
    Update failed. TypeDbErrors.gen25083
    Any ideas on how to fix this? Any ideas on how to use the primary extension feature?
    Regards,
    Fikri
    Enironment :
    CUCM 8.6.2
    Jabber for iPad 9.3.2 / Jabber for iOS 9.6

    I would delete the device and recreate it or delete the DN and then put it back on the device(s) it does belong on. The only real way to fix this would a TAC case so they can open a defect for you.
    Primary Extension isn't used in any of the alerting/connected display states. The only way to achieve this would be a lot of very complicated translation patterns/partitions/CSSes with calling party transformations on them. For example, if your desk phone DN was 2000 but the tablet DN was 3000, the translation pattern that would need to match for every number you dial would have to transform the calling party to 2XXX.
    If you want an opinion, this is bad design. You don't email a person at a separate address for their desktop vs. their smartphone. CUCM is designed to work the same way: you are calling a user, not the device.
    Please remember to rate helpful responses and identify helpful or correct answers.

  • TDM Excel Add-In for Microsoft Excel will not install: Installation Summary No software will be installed or removed.

    Hello,
    My7 computer is running Windows 7, I have the Base installation of LabVIEW, and have Microsoft Office 2007 installed.
    I have downloaded the Add-In for Microsoft Excel from:
    http://zone.ni.com/devzone/cda/epd/p/id/2944
    unzipped it successfully (66 files created)
    searched for messages and updates  (No notifications.)
    and I get a screen reading:
    Start Installation
       Review the following summary before continuing.
    Installation Summary
       No software will be installed or removed.
    The "Next" button is grayed out, leaving "Save File" "<<Back" and "Cancel"
    Does anyone have a suggestion why I am unable to go any further?
    Thank you,
    Solved!
    Go to Solution.

    Are you sure it hasn't been installed before? Under Control Panel...Programs and Features...National Instruments Software...do a "Change/Remove" and look down the list for "NI TDM Excel Add-In verX.XX". If found, uninstall and re-run the installer for the newest version.
    This might help as well.
    “A child of five could understand this. Send someone to fetch a child of five.”
    ― Groucho Marx

  • Removed Device for my iphone 4's ''Find my iphone device''

    Hello so my iphone 4 s got stolen few days ago i found this ''found my iphone'' thing on my pc and it worked perfectly till today i clicked ''remove device'' by excident and know they write '' No Device set up your icloud account on an iphone,ipad,ipod touch or mac to use  find my iphone'' HOW AM I SUPPOSE TO DO THAT WHEN I DONT HAVE AN IPHONE? PLEASE SOMBODY HELP ME .!!!

    You can't do anything.
    If your iPhone is not wiped, it will automatically re-appear when it next connects to the internet.

Maybe you are looking for