Udev misses some (HDMI) plug/unplug events

When I monitor udev events while plugging and unplugging my external hdmi monitor, only some random events are reported.
It should be noted that I use a DVI screen with an HDMI cable and a small adapter between the cable and the screen.
Here is a sample session :
$ udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[140907.961440] change /devices/pci0000:00/0000:00:02.0/drm/card0 (drm) [plug or unplug; other event missing]
UDEV [140907.962541] change /devices/pci0000:00/0000:00:02.0/drm/card0 (drm)
[missed 7 unplug/plug cycles]
KERNEL[141838.431577] change /devices/pci0000:00/0000:00:02.0/drm/card0 (drm) [unplug]
UDEV [141838.432396] change /devices/pci0000:00/0000:00:02.0/drm/card0 (drm)
KERNEL[141838.448023] change /devices/pci0000:00/0000:00:02.0/drm/card0 (drm) [plug]
UDEV [141838.448853] change /devices/pci0000:00/0000:00:02.0/drm/card0 (drm)
[more missed cycles]
I also dumped a full event :
$ udevadm monitor --udev --kernel --property
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[142298.213473] change /devices/pci0000:00/0000:00:02.0/drm/card0 (drm)
ACTION=change
DEVNAME=/dev/dri/card0
DEVPATH=/devices/pci0000:00/0000:00:02.0/drm/card0
DEVTYPE=drm_minor
HOTPLUG=1
MAJOR=226
MINOR=0
SEQNUM=2896
SUBSYSTEM=drm
UDEV [142298.214231] change /devices/pci0000:00/0000:00:02.0/drm/card0 (drm)
ACTION=change
DEVNAME=/dev/dri/card0
DEVPATH=/devices/pci0000:00/0000:00:02.0/drm/card0
DEVTYPE=drm_minor
HOTPLUG=1
ID_FOR_SEAT=drm-pci-0000_00_02_0
ID_PATH=pci-0000:00:02.0
ID_PATH_TAG=pci-0000_00_02_0
MAJOR=226
MINOR=0
SEQNUM=2896
SUBSYSTEM=drm
TAGS=:seat:uaccess:
USEC_INITIALIZED=42
I have no idea where to continue investigating.
Should I look for bugs in the kernel modules ? In udev ?
Could it be that my setup makes it impossible to detect some events ?
Thanks !

I experience the same thing with my HP laptop. Udev sometimes detects the change, but sometimes it doesn't. If I open KDE Settings, the change is detected.

Similar Messages

  • [SOLVED] Udev: recognising plugging/unplugging of USB Audio Device

    Hi!
    I am trying to write an udev rule to detect if an usb audio device was plugged / unplugged to change my default audio device (in effect this udev rule should run a bash script..).
    Right now it looks like that:
    KERNEL=="pcmC[D0-9cp]*", DRIVERS=="usb", ACTION=="add", PROGRAM="/bin/bash -c '/home/me/dotfiles/soundconf.sh attached'"
    and I have a second rule for "remove" instead of add calling a different parameter.
    However, unfortunately the change is not being detected. my sound devices are listed in e.g. /proc/asound/card0/pcm0c etc for my first card and /proc/asound/card4/... for the second.
    They are also listed in /proc/asound/NAMEOFCARD (e.g. PCH).
    how can i reliably detect if one was plugged or unplugged?
    thanks !
    Last edited by replax (2013-11-27 22:50:00)

    hi!
    thanks!
    my output for "sudo udevadm monitor --kernel" is:
    monitor will print the received events for:
    KERNEL - the kernel uevent
    KERNEL[409.000749] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input24/event18 (input)
    KERNEL[409.023556] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input24 (input)
    KERNEL[409.023611] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0005/hidraw/hidraw0 (hidraw)
    KERNEL[409.023632] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0005 (hid)
    KERNEL[409.023648] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0 (usb)
    KERNEL[409.023829] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D1p (sound)
    KERNEL[409.023845] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D0p (sound)
    KERNEL[409.023859] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/controlC1 (sound)
    KERNEL[409.023869] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1 (sound)
    KERNEL[409.023885] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1 (usb)
    KERNEL[409.023899] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.3 (usb)
    KERNEL[409.024517] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1 (usb)
    KERNEL[411.633928] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1 (usb)
    KERNEL[411.634043] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0 (usb)
    KERNEL[411.648482] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0006 (hid)
    KERNEL[411.649170] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input25 (input)
    KERNEL[411.649320] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input25/event18 (input)
    KERNEL[411.649347] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0006/hidraw/hidraw0 (hidraw)
    KERNEL[411.657385] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1 (usb)
    KERNEL[411.680527] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1 (sound)
    KERNEL[411.680564] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D1p (sound)
    KERNEL[411.680737] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D0p (sound)
    KERNEL[411.680796] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/controlC1 (sound)
    KERNEL[411.680951] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.3 (usb)
    KERNEL[411.705251] change /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1 (sound)
    and my output for "sudo udevadm --udev --property" is:
    monitor will print the received events for:
    UDEV - the event which udev sends out after rule processing
    UDEV [409.001439] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input24/event18 (
    input)
    ACTION=remove
    DEVLINKS=/dev/input/by-id/usb-HiFimeDIY_Audio_SA9023_USB_Audio-event-if00 /dev/input/by-path/pci-0000:00:1d.0-usb-0:1.2
    .1:1.0-event
    DEVNAME=/dev/input/event18
    DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input24/event18
    ID_BUS=usb
    ID_INPUT=1
    ID_MODEL=SA9023_USB_Audio
    ID_MODEL_ENC=SA9023\x20USB\x20Audio
    ID_MODEL_ID=10e1
    ID_PATH=pci-0000:00:1d.0-usb-0:1.2.1:1.0
    ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_2_1_1_0
    ID_REVISION=0001
    ID_SERIAL=HiFimeDIY_Audio_SA9023_USB_Audio
    ID_TYPE=hid
    ID_USB_DRIVER=usbhid
    ID_USB_INTERFACES=:030000:010100:010200:
    ID_USB_INTERFACE_NUM=00
    ID_VENDOR=HiFimeDIY_Audio
    ID_VENDOR_ENC=HiFimeDIY\x20Audio
    ID_VENDOR_ID=262a
    MAJOR=13
    MINOR=82
    SEQNUM=2036
    SUBSYSTEM=input
    USEC_INITIALIZED=4690
    UDEV [409.024376] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input24 (input)
    ACTION=remove
    DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input24
    EV=1
    ID_BUS=usb
    ID_FOR_SEAT=input-pci-0000_00_1d_0-usb-0_1_2_1_1_0
    ID_INPUT=1
    ID_MODEL=SA9023_USB_Audio
    ID_MODEL_ENC=SA9023\x20USB\x20Audio
    ID_MODEL_ID=10e1
    ID_PATH=pci-0000:00:1d.0-usb-0:1.2.1:1.0
    ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_2_1_1_0
    ID_REVISION=0001
    ID_SERIAL=HiFimeDIY_Audio_SA9023_USB_Audio
    ID_TYPE=hid
    ID_USB_DRIVER=usbhid
    ID_USB_INTERFACES=:030000:010100:010200:
    ID_USB_INTERFACE_NUM=00
    ID_VENDOR=HiFimeDIY_Audio
    ID_VENDOR_ENC=HiFimeDIY\x20Audio
    ID_VENDOR_ID=262a
    MODALIAS=input:b0003v262Ap10E1e0100-e0,kramlsfw
    NAME="HiFimeDIY Audio SA9023 USB Audio"
    PHYS="usb-0000:00:1d.0-1.2.1/input0"
    PRODUCT=3/262a/10e1/100
    PROP=0
    SEQNUM=2037
    SUBSYSTEM=input
    TAGS=:seat:
    UNIQ=""
    USEC_INITIALIZED=634532
    UDEV [409.024487] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0005/hid
    raw/hidraw0 (hidraw)
    ACTION=remove
    DEVNAME=/dev/hidraw0
    DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0005/hidraw/hidraw0
    MAJOR=248
    MINOR=0
    SEQNUM=2038
    SUBSYSTEM=hidraw
    USEC_INITIALIZED=9023681
    UDEV [409.026487] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0005 (hi
    d)
    ACTION=remove
    DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0005
    HID_ID=0003:0000262A:000010E1
    HID_NAME=HiFimeDIY Audio SA9023 USB Audio
    HID_PHYS=usb-0000:00:1d.0-1.2.1/input0
    MODALIAS=hid:b0003g0001v0000262Ap000010E1
    SEQNUM=2039
    SUBSYSTEM=hid
    USEC_INITIALIZED=23875
    UDEV [409.026531] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/controlC1 (
    sound)
    ACTION=remove
    DEVLINKS=/dev/snd/by-id/usb-HiFimeDIY_Audio_SA9023_USB_Audio-01 /dev/snd/by-path/pci-0000:00:1d.0-usb-0:1.2.1:1.1
    DEVNAME=/dev/snd/controlC1
    DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/controlC1
    ID_BUS=usb
    ID_MODEL=SA9023_USB_Audio
    ID_MODEL_ENC=SA9023\x20USB\x20Audio
    ID_MODEL_ID=10e1
    ID_PATH=pci-0000:00:1d.0-usb-0:1.2.1:1.1
    ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_2_1_1_1
    ID_REVISION=0001
    ID_SERIAL=HiFimeDIY_Audio_SA9023_USB_Audio
    ID_TYPE=audio
    ID_USB_DRIVER=snd-usb-audio
    ID_USB_INTERFACES=:030000:010100:010200:
    ID_USB_INTERFACE_NUM=01
    ID_VENDOR=HiFimeDIY_Audio
    ID_VENDOR_ENC=HiFimeDIY\x20Audio
    ID_VENDOR_ID=262a
    MAJOR=116
    MINOR=13
    SEQNUM=2043
    SUBSYSTEM=sound
    TAGS=:uaccess:
    USEC_INITIALIZED=665890
    UDEV [409.026557] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.3 (usb)
    ACTION=remove
    DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.3
    DEVTYPE=usb_interface
    ID_MODEL_FROM_DATABASE=USB-2.0 4-Port HUB
    ID_VENDOR_FROM_DATABASE=Genesys Logic, Inc.
    INTERFACE=1/2/0
    MODALIAS=usb:v262Ap10E1d0001dc00dsc00dp00ic01isc02ip00in03
    PRODUCT=262a/10e1/1
    SEQNUM=2046
    SUBSYSTEM=usb
    TYPE=0/0/0
    USEC_INITIALIZED=665944
    UDEV [409.026573] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0 (usb)
    ACTION=remove
    DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0
    DEVTYPE=usb_interface
    ID_MODEL_FROM_DATABASE=USB-2.0 4-Port HUB
    ID_VENDOR_FROM_DATABASE=Genesys Logic, Inc.
    INTERFACE=3/0/0
    MODALIAS=usb:v262Ap10E1d0001dc00dsc00dp00ic03isc00ip00in00
    PRODUCT=262a/10e1/1
    SEQNUM=2040
    SUBSYSTEM=usb
    TYPE=0/0/0
    USEC_INITIALIZED=130
    UDEV [409.026616] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D0p (s
    ound)
    ACTION=remove
    DEVNAME=/dev/snd/pcmC1D0p
    DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D0p
    MAJOR=116
    MINOR=12
    SEQNUM=2042
    SUBSYSTEM=sound
    TAGS=:uaccess:
    USEC_INITIALIZED=5836
    UDEV [409.078843] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D1p (s
    ound)
    ACTION=remove
    DEVNAME=/dev/snd/pcmC1D1p
    DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D1p
    MAJOR=116
    MINOR=11
    SEQNUM=2041
    SUBSYSTEM=sound
    TAGS=:uaccess:
    USEC_INITIALIZED=5794
    UDEV [409.079039] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1 (sound)
    ACTION=remove
    DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1
    ID_BUS=usb
    ID_FOR_SEAT=sound-pci-0000_00_1d_0-usb-0_1_2_1_1_1
    ID_ID=usb-HiFimeDIY_Audio_SA9023_USB_Audio-01-Audio
    ID_MODEL=SA9023_USB_Audio
    ID_MODEL_ENC=SA9023\x20USB\x20Audio
    ID_MODEL_FROM_DATABASE=USB-2.0 4-Port HUB
    ID_MODEL_ID=10e1
    ID_PATH=pci-0000:00:1d.0-usb-0:1.2.1:1.1
    ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_2_1_1_1
    ID_REVISION=0001
    ID_SERIAL=HiFimeDIY_Audio_SA9023_USB_Audio
    ID_TYPE=audio
    ID_USB_DRIVER=snd-usb-audio
    ID_USB_INTERFACES=:030000:010100:010200:
    ID_USB_INTERFACE_NUM=01
    ID_VENDOR=HiFimeDIY_Audio
    ID_VENDOR_ENC=HiFimeDIY\x20Audio
    ID_VENDOR_FROM_DATABASE=Genesys Logic, Inc.
    ID_VENDOR_ID=262a
    SEQNUM=2044
    SOUND_INITIALIZED=1
    SUBSYSTEM=sound
    SYSTEMD_WANTS=sound.target
    TAGS=:seat:systemd:
    USEC_INITIALIZED=5712
    UDEV [409.079517] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1 (usb)
    ACTION=remove
    DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1
    DEVTYPE=usb_interface
    ID_MODEL_FROM_DATABASE=USB-2.0 4-Port HUB
    ID_VENDOR_FROM_DATABASE=Genesys Logic, Inc.
    INTERFACE=1/1/0
    MODALIAS=usb:v262Ap10E1d0001dc00dsc00dp00ic01isc01ip00in01
    PRODUCT=262a/10e1/1
    SEQNUM=2045
    SUBSYSTEM=usb
    TYPE=0/0/0
    USEC_INITIALIZED=642712
    UDEV [409.085432] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1 (usb)
    ACTION=remove
    BUSNUM=004
    DEVNAME=/dev/bus/usb/004/010
    DEVNUM=010
    DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1
    DEVTYPE=usb_device
    ID_BUS=usb
    ID_MODEL=SA9023_USB_Audio
    ID_MODEL_ENC=SA9023\x20USB\x20Audio
    ID_MODEL_FROM_DATABASE=USB-2.0 4-Port HUB
    ID_MODEL_ID=10e1
    ID_REVISION=0001
    ID_SERIAL=HiFimeDIY_Audio_SA9023_USB_Audio
    ID_USB_INTERFACES=:030000:010100:010200:
    ID_VENDOR=HiFimeDIY_Audio
    ID_VENDOR_ENC=HiFimeDIY\x20Audio
    ID_VENDOR_FROM_DATABASE=Genesys Logic, Inc.
    ID_VENDOR_ID=262a
    MAJOR=189
    MINOR=393
    PRODUCT=262a/10e1/1
    SEQNUM=2047
    SUBSYSTEM=usb
    TYPE=0/0/0
    USEC_INITIALIZED=619842
    UDEV [411.697540] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1 (usb)
    ACTION=add
    BUSNUM=004
    DEVNAME=/dev/bus/usb/004/011
    DEVNUM=011
    DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1
    DEVTYPE=usb_device
    ID_BUS=usb
    ID_MODEL=SA9023_USB_Audio
    ID_MODEL_ENC=SA9023\x20USB\x20Audio
    ID_MODEL_FROM_DATABASE=USB-2.0 4-Port HUB
    ID_MODEL_ID=10e1
    ID_REVISION=0001
    ID_SERIAL=HiFimeDIY_Audio_SA9023_USB_Audio
    ID_USB_INTERFACES=:030000:010100:010200:
    ID_VENDOR=HiFimeDIY_Audio
    ID_VENDOR_ENC=HiFimeDIY\x20Audio
    ID_VENDOR_FROM_DATABASE=Genesys Logic, Inc.
    ID_VENDOR_ID=262a
    MAJOR=189
    MINOR=394
    PRODUCT=262a/10e1/1
    SEQNUM=2048
    SUBSYSTEM=usb
    TYPE=0/0/0
    USEC_INITIALIZED=33928
    UDEV [411.699672] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.3 (usb)
    ACTION=add
    DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.3
    DEVTYPE=usb_interface
    DRIVER=snd-usb-audio
    ID_MODEL_FROM_DATABASE=USB-2.0 4-Port HUB
    ID_VENDOR_FROM_DATABASE=Genesys Logic, Inc.
    INTERFACE=1/2/0
    MODALIAS=usb:v262Ap10E1d0001dc00dsc00dp00ic01isc02ip00in03
    PRODUCT=262a/10e1/1
    SEQNUM=2059
    SUBSYSTEM=usb
    TYPE=0/0/0
    USEC_INITIALIZED=80939
    UDEV [411.699773] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0 (usb)
    ACTION=add
    DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0
    DEVTYPE=usb_interface
    ID_MODEL_FROM_DATABASE=USB-2.0 4-Port HUB
    ID_VENDOR_FROM_DATABASE=Genesys Logic, Inc.
    INTERFACE=3/0/0
    MODALIAS=usb:v262Ap10E1d0001dc00dsc00dp00ic03isc00ip00in00
    PRODUCT=262a/10e1/1
    SEQNUM=2049
    SUBSYSTEM=usb
    TYPE=0/0/0
    USEC_INITIALIZED=34043
    UDEV [411.699840] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1 (usb)
    ACTION=add
    DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1
    DEVTYPE=usb_interface
    ID_MODEL_FROM_DATABASE=USB-2.0 4-Port HUB
    ID_VENDOR_FROM_DATABASE=Genesys Logic, Inc.
    INTERFACE=1/1/0
    MODALIAS=usb:v262Ap10E1d0001dc00dsc00dp00ic01isc01ip00in01
    PRODUCT=262a/10e1/1
    SEQNUM=2054
    SUBSYSTEM=usb
    TYPE=0/0/0
    USEC_INITIALIZED=57387
    UDEV [411.701367] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0006 (hi
    d)
    ACTION=add
    DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0006
    HID_ID=0003:0000262A:000010E1
    HID_NAME=HiFimeDIY Audio SA9023 USB Audio
    HID_PHYS=usb-0000:00:1d.0-1.2.1/input0
    MODALIAS=hid:b0003g0001v0000262Ap000010E1
    SEQNUM=2050
    SUBSYSTEM=hid
    USEC_INITIALIZED=48481
    UDEV [411.701544] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1 (sound)
    ACTION=add
    DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1
    ID_FOR_SEAT=sound-pci-0000_00_1d_0-usb-0_1_2_1_1_1
    ID_PATH=pci-0000:00:1d.0-usb-0:1.2.1:1.1
    ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_2_1_1_1
    SEQNUM=2055
    SUBSYSTEM=sound
    SYSTEMD_WANTS=sound.target
    TAGS=:seat:systemd:
    USEC_INITIALIZED=80503
    UDEV [411.702560] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input25 (input)
    ACTION=add
    DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input25
    EV=1
    ID_BUS=usb
    ID_FOR_SEAT=input-pci-0000_00_1d_0-usb-0_1_2_1_1_0
    ID_INPUT=1
    ID_MODEL=SA9023_USB_Audio
    ID_MODEL_ENC=SA9023\x20USB\x20Audio
    ID_MODEL_ID=10e1
    ID_PATH=pci-0000:00:1d.0-usb-0:1.2.1:1.0
    ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_2_1_1_0
    ID_REVISION=0001
    ID_SERIAL=HiFimeDIY_Audio_SA9023_USB_Audio
    ID_TYPE=hid
    ID_USB_DRIVER=usbhid
    ID_USB_INTERFACES=:030000:010100:010200:
    ID_USB_INTERFACE_NUM=00
    ID_VENDOR=HiFimeDIY_Audio
    ID_VENDOR_ENC=HiFimeDIY\x20Audio
    ID_VENDOR_ID=262a
    MODALIAS=input:b0003v262Ap10E1e0100-e0,kramlsfw
    NAME="HiFimeDIY Audio SA9023 USB Audio"
    PHYS="usb-0000:00:1d.0-1.2.1/input0"
    PRODUCT=3/262a/10e1/100
    PROP=0
    SEQNUM=2051
    SUBSYSTEM=input
    TAGS=:seat:
    UNIQ=""
    USEC_INITIALIZED=49147
    UDEV [411.703227] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D0p (s
    ound)
    ACTION=add
    DEVNAME=/dev/snd/pcmC1D0p
    DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D0p
    MAJOR=116
    MINOR=12
    SEQNUM=2057
    SUBSYSTEM=sound
    TAGS=:uaccess:
    USEC_INITIALIZED=80672
    UDEV [411.704394] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0006/hid
    raw/hidraw0 (hidraw)
    ACTION=add
    DEVNAME=/dev/hidraw0
    DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0006/hidraw/hidraw0
    MAJOR=248
    MINOR=0
    SEQNUM=2053
    SUBSYSTEM=hidraw
    USEC_INITIALIZED=49353
    UDEV [411.705903] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input25/event18 (
    input)
    ACTION=add
    DEVLINKS=/dev/input/by-id/usb-HiFimeDIY_Audio_SA9023_USB_Audio-event-if00 /dev/input/by-path/pci-0000:00:1d.0-usb-0:1.2
    .1:1.0-event
    DEVNAME=/dev/input/event18
    DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input25/event18
    ID_BUS=usb
    ID_INPUT=1
    ID_MODEL=SA9023_USB_Audio
    ID_MODEL_ENC=SA9023\x20USB\x20Audio
    ID_MODEL_ID=10e1
    ID_PATH=pci-0000:00:1d.0-usb-0:1.2.1:1.0
    ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_2_1_1_0
    ID_REVISION=0001
    ID_SERIAL=HiFimeDIY_Audio_SA9023_USB_Audio
    ID_TYPE=hid
    ID_USB_DRIVER=usbhid
    ID_USB_INTERFACES=:030000:010100:010200:
    ID_USB_INTERFACE_NUM=00
    ID_VENDOR=HiFimeDIY_Audio
    ID_VENDOR_ENC=HiFimeDIY\x20Audio
    ID_VENDOR_ID=262a
    MAJOR=13
    MINOR=82
    SEQNUM=2052
    SUBSYSTEM=input
    USEC_INITIALIZED=49330
    UDEV [411.714557] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/controlC1 (
    sound)
    ACTION=add
    DEVLINKS=/dev/snd/by-id/usb-HiFimeDIY_Audio_SA9023_USB_Audio-01 /dev/snd/by-path/pci-0000:00:1d.0-usb-0:1.2.1:1.1
    DEVNAME=/dev/snd/controlC1
    DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/controlC1
    ID_BUS=usb
    ID_MODEL=SA9023_USB_Audio
    ID_MODEL_ENC=SA9023\x20USB\x20Audio
    ID_MODEL_ID=10e1
    ID_PATH=pci-0000:00:1d.0-usb-0:1.2.1:1.1
    ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_2_1_1_1
    ID_REVISION=0001
    ID_SERIAL=HiFimeDIY_Audio_SA9023_USB_Audio
    ID_TYPE=audio
    ID_USB_DRIVER=snd-usb-audio
    ID_USB_INTERFACES=:030000:010100:010200:
    ID_USB_INTERFACE_NUM=01
    ID_VENDOR=HiFimeDIY_Audio
    ID_VENDOR_ENC=HiFimeDIY\x20Audio
    ID_VENDOR_ID=262a
    MAJOR=116
    MINOR=13
    SEQNUM=2058
    SUBSYSTEM=sound
    TAGS=:uaccess:
    USEC_INITIALIZED=80812
    UDEV [411.759604] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D1p (s
    ound)
    ACTION=add
    DEVNAME=/dev/snd/pcmC1D1p
    DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D1p
    MAJOR=116
    MINOR=11
    SEQNUM=2056
    SUBSYSTEM=sound
    TAGS=:uaccess:
    USEC_INITIALIZED=80575
    UDEV [411.760476] change /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1 (sound)
    ACTION=change
    DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1
    ID_BUS=usb
    ID_FOR_SEAT=sound-pci-0000_00_1d_0-usb-0_1_2_1_1_1
    ID_ID=usb-HiFimeDIY_Audio_SA9023_USB_Audio-01-Audio
    ID_MODEL=SA9023_USB_Audio
    ID_MODEL_ENC=SA9023\x20USB\x20Audio
    ID_MODEL_FROM_DATABASE=USB-2.0 4-Port HUB
    ID_MODEL_ID=10e1
    ID_PATH=pci-0000:00:1d.0-usb-0:1.2.1:1.1
    ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_2_1_1_1
    ID_REVISION=0001
    ID_SERIAL=HiFimeDIY_Audio_SA9023_USB_Audio
    ID_TYPE=audio
    ID_USB_DRIVER=snd-usb-audio
    ID_USB_INTERFACES=:030000:010100:010200:
    ID_USB_INTERFACE_NUM=01
    ID_VENDOR=HiFimeDIY_Audio
    ID_VENDOR_ENC=HiFimeDIY\x20Audio
    ID_VENDOR_FROM_DATABASE=Genesys Logic, Inc.
    ID_VENDOR_ID=262a
    SEQNUM=2060
    SOUND_INITIALIZED=1
    SUBSYSTEM=sound
    SYSTEMD_WANTS=sound.target
    TAGS=:seat:systemd:
    USEC_INITIALIZED=80503
    the output of "sudo udevadm monitor" is:
    monitor will print the received events for:
    UDEV - the event which udev sends out after rule processing
    KERNEL - the kernel uevent
    KERNEL[10520.780009] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input24/event17 (input)
    UDEV [10520.783295] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input24/event17 (input)
    KERNEL[10520.789826] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input24 (input)
    KERNEL[10520.789859] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0005/hidraw/hidraw0 (hidraw)
    KERNEL[10520.789871] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0005 (hid)
    KERNEL[10520.789895] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0 (usb)
    KERNEL[10520.789965] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D1p (sound)
    KERNEL[10520.789999] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D0p (sound)
    KERNEL[10520.790031] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/controlC1 (sound)
    KERNEL[10520.790473] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1 (sound)
    UDEV [10520.790483] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0005/hidraw/hidraw0 (hidraw)
    KERNEL[10520.790494] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1 (usb)
    UDEV [10520.790521] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input24 (input)
    KERNEL[10520.790533] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.3 (usb)
    UDEV [10520.790543] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D1p (sound)
    KERNEL[10520.790615] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1 (usb)
    UDEV [10520.790653] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D0p (sound)
    UDEV [10520.790723] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/controlC1 (sound)
    UDEV [10520.790843] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0005 (hid)
    UDEV [10520.790870] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1 (sound)
    UDEV [10520.791022] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.3 (usb)
    UDEV [10520.791133] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1 (usb)
    UDEV [10520.791157] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0 (usb)
    UDEV [10520.795934] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1 (usb)
    KERNEL[10523.411837] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1 (usb)
    KERNEL[10523.411961] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0 (usb)
    KERNEL[10523.425856] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0006 (hid)
    KERNEL[10523.426126] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input25 (input)
    KERNEL[10523.426179] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input25/event17 (input)
    KERNEL[10523.426268] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0006/hidraw/hidraw0 (hidraw)
    KERNEL[10523.433989] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1 (usb)
    KERNEL[10523.455486] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1 (sound)
    KERNEL[10523.455508] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D1p (sound)
    KERNEL[10523.455540] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D0p (sound)
    KERNEL[10523.455580] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/controlC1 (sound)
    KERNEL[10523.455608] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.3 (usb)
    UDEV [10523.463039] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1 (usb)
    UDEV [10523.464322] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0 (usb)
    UDEV [10523.464384] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1 (usb)
    UDEV [10523.464409] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.3 (usb)
    UDEV [10523.465345] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0006 (hid)
    UDEV [10523.465380] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1 (sound)
    UDEV [10523.466303] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input25 (input)
    UDEV [10523.466417] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0006/hidraw/hidraw0 (hidraw)
    UDEV [10523.467311] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input25/event17 (input)
    UDEV [10523.468387] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D1p (sound)
    UDEV [10523.468659] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D0p (sound)
    KERNEL[10523.468942] change /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1 (sound)
    UDEV [10523.474581] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/controlC1 (sound)
    UDEV [10523.475757] change /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1 (sound)
    please not that my usb soundcard is attached through a usb hub to my laptop and that it was attached when I ran the command, then removed it and attached it again.
    tried to use those udev rules:
    KERNEL=="pcmC1D1p", DRIVERS=="usb", ACTION=="add", RUN+="/bin/bash -c '/home/me/dotfiles/soundconf.sh attached'"
    KERNEL=="pcmC1D1p", DRIVERS=="usb", ACTION=="remove", RUN+="/bin/bash -c '/home/me/dotfiles/soundconf.sh detached'"
    to no avail unfortunately...
    thanks a lot for your patience and time !

  • It says I am missing some plug-ins so I tried to update. Any tips?

    When I try to open up guitar effects in Logic Express 8, it tells me I am missing the following plug-ins" "Pedalboard", "Amped", "AmpDsn". I tried to update but not having any luck. Any ideas?

    you're probably trying to open a logic 9 song in logic 8. pedalboard, ampdesigner are only included in logic (express) 9. but how did you try to update? did you try to update to logic express 9?

  • [SOLVED]udev: execute command on usb unplug (em28xx_dvb WinTV_HVR-900)

    Hi all.
    I've a known bug with a dvbt usb device.
    The problem is that if i unplug and replug it, em28xx_dvb module hangs in dvb_init() and a reboot is needed to use the device again.
    A manual workaround exists, it is sufficient to rmmod em28xx_dvb before replug the device again, but if i forgot it, i'm f*****
    So here comes a question:
    Does udev reacts to the unplug event? and if yes, how can i trigger the action of removing that module?
    I'm a little noob with udev rules, so please be patient and thanks!
    Last edited by kokoko3k (2011-05-17 11:52:33)

    I got it working; if anyone cares, here's the udev rule:
    ACTION=="remove", SUBSYSTEM=="usb", ENV{ID_MODEL}=="WinTV_HVR-900", RUN+="/sbin/rmmod em28xx_dvb"
    ENV{ID_MODEL}=="WinTV_HVR-900" is the key, my previous attempts to use ATTR{product}=="WinTV HVR-900" failed because it seems that udev doesn't trig any event on device removal (works on device plug),
    while it does using id_model.
    -EDIT-
    If anyone uses this device, here's other tricks i made to make it work (without ir):
    #> cat /etc/modprobe.d/tv.conf
    options em28xx disable_ir=1
    #> cat /etc/udev/rules.d/50-WinTv.rules
    ACTION=="remove", SUBSYSTEM=="usb", ENV{ID_MODEL}=="WinTV_HVR-900", RUN+="/sbin/rmmod em28xx_dvb""
    Before hibernation:
    # rmmod em28xx_dvb em28xx dvb_core tuner tvp5150 v4l2_common videodev videobuf_vmalloc videobuf_core tveeprom zl10353 ir_lirc_codec lirc_dev ir_sony_decoder ir_jvc_decoder ir_rc6_decoder ir_rc5_decoder ir_nec_decoder rc_core tuner_xc2028
    On resume from hibernation:
    # hwdetect --load-modules
    ...man, it wasnt 'easy'
    Last edited by kokoko3k (2011-05-17 12:08:16)

  • Ni IMaq IEEE-1394 v2.0 plug/unplug/enumeration

    The IMaq IEEE-1394 v2.0 Driver contains some new missed function's espec. the Camera plug/unplug and enumeration.
    I can't find any example, how to use this functions correctly. The Cam. plug/unplug functions are impl. by the IMAQ1394 Occurence Config. This Vi needs a valid Session ID, but is there none camera attached or the valid Cam. are detached, this Vi fails.
    In the future of my project, there are up to 15 Camera's attached, based on two PXI-8252 1394 Host adapters run's under Lv7.1-RT
    regards
    M.Funke
    Applications Engineer

    Dear Mr. Funke,
    as starting point you can use the programming model of the imaq example ll occurence vi's, that ship with LabVIEW. Implement the imaq 1394 vi's in a similar order. Place a loop, in which you wait on the occurence.
    Information how the imaq 1394 camera driver assigns interface numbers:
    camX (where X is an integer, and the first one is 0) is the interface name and is specific to a single camera.
    On Windows, the camera file is created when imaq1394CameraOpen is called (either through MAX or programmatically), and the imaq1394.ini file is updated. The imaq1394.ini file is created when the first camera is initialized. You can call imaq1394 Init with the interface name.
    The camera order (cam0 vs. cam1) is determined by uuid (unique universal identifier) of camera. The lowest uuids are first. So if you plug in a camera, it will be cam0. If you plug in another one, it could be cam0 or cam1 depending on its uuid. If you have two cameras plugged in and you unplug cam0, cam1 will become cam0.
    Regards,
    Philippe Goetz
    Applications Engineer, National Instruments

  • Has anyone encountered problem with VIRSA_CC_ACTUSAGE missing some data?

    Has anyone encountered a problem where the VIRSA_CC_ACTUSAGE table is missing some transaction activity?
    We have a situation where the monthly ST03 file shows that a user executed the MI31 transaction some time back in August.  However our ACTUSAGE table does not show this user performing MI31 for any day in August. 
    It does have records of other people using MI31 in August.  It also has records of this same user performing other transactions in August.  It even has records showing other transactions this same user performed in August.
    This is now an issue with our external Auditors.
    We are on GRC 5.3 SP 13.
    Thanks.

    Hi Bob,
    VIRSA_CC_ACTUSAGE holds information on the transactions executed by users and it gets the data from STAD. Did you notice the time user has spent in the MI31 transaction code (I know even if the user hasn't spent more time, it should be recorded), but this another step to isolate the issue.Also, check SM21 logs on that specific day, and see if there are any events registered during that time related to STAD. I think it was not able to collect the data.
    Also, check VIRSA_CC_ALTCDLOG. This is the Alter log table that stores information of ACTUSAGE. The purge utility will only delete the data from the ACTUSAGE, but it remains in the ALTCDLOG.
    Refer to SAP Note 1512020 for additional details on the Alert files.
    Hope this helps!!
    BR,
    Raghu

  • Translated wire message missing some values

    Hi,
    I am enqueuing an EDIFACT xml to B2B out queue (IP_OUT_QUEUE) which is getting converted to wire message and delivered correctly. But the translated wire message is missing some values:
    UNH segment of EDIFACT xml:
    <Segment-UNH>
    <Element-0062>1</Element-0062>
    <Composite-S009>
    <Element-0065>ORDERS</Element-0065>
    <Element-0052>D</Element-0052>
    <Element-0054>07B</Element-0054>
    <Element-0051>UN</Element-0051>
    </Composite-S009>
    </Segment-UNH>
    Starting part of wire message:
    UNA:+.? 'UNB+UNOB:1+ + +100407:2354+1003'UNG+ORDERS+ + +100407:2354+1003+UN+D:07B'UNH+1+ORDERS'BGM+105:::?' ?'+GSIAP.WORLD?:oracle.apps.po.event.xm::?'
    In wire message, 'UNH+1+ORDERS' - this portion is not having values of Element-0052, Element-0054 and Element-0051. Why are this values ('D','07B','UN') missing in the translated wire message?
    How can I make them appear in wire message?
    Appreciate your help.
    Thanks in Advance,
    Siddhesh

    Hi Siddhesh,
    Check your ecs file. Possibly you have not defined these params in ecs file.
    Enable the validation then you will come to know exact issue.
    Rgds,
    Nitesh Jain

  • MBP late 2009 getting delays/timeouts while mount/dismount or plug/unplug

    sigh
    Running a MBP late 2009 with 3GHz, 8GB RAM and 500GB HDD (300GB free).
    When I mount/dismount a drive it takes up to 1 min for the finder to respond again (getting the whirling ball).
    When I plug/unplug headphones it takes up to 1 min for the finder to respond again
    (getting the whirling ball).
    Shutting down means it gets to to final screen and stays there for 2 min, then it powers down.
    After any restart, it would mount/dismount plug/unplug fast (within 1 or 2 sec's). Then after a few min's, above behaviour starts.
    So I do not get any crashes. I get delays where the finder is blocked for up to 1 min.
    I updated to 10.6.4 some weeks ago and it started around that time.
    What can I do?

    So I deleted cache files for various apps (incl. finder) and ran several tools (ie. mycleanmac) and still the same behaviour:
    Whenever the finder has to update some settings, ie. disks, networks, screens, outputs... it hangs for a full minute and then goes on.
    Any ideas?
    Thank you in advance

  • When trying to start up AI program, error message is missing PDFFormat.aip plug-n and program will not start

    Why does Illustrator have error message "Missing PDFFormat.aip plug-in.  All updates are installed.

    Hi hi'ilani,
    We have heard this issue on some customers machine after 17.1 update.
    The only solution for this was to uninstall Ai and reinstall. If you install directly 2014 release then issue won't be there.
    Sanjay.

  • CS4 - Missing Fonts Loader Plug-in?

    I apologize if this has already been asked, but I am having difficulty with the missing fonts loader plug-in.
    Q:  Can some please give me a detailed (step-by-step) instructions for installing this plug in for CS4?
    Q:  What is this Microsoft Visual C++ 2005 Redistributable Package required for CS 4?
    I need some assistance, please.
    Thank you very much for any help!

    I meant to add this as well.
    Missing Fonts Loader Plug-in for Adobe InDesign CS4
    The plug-in for Adobe InDesign CS4 is available on the Proxima Software Web site. This plug-in can automatically
    activate missing fonts in Adobe InDesign documents.
    Missing Fonts Loader Plug In
    Product Adobe InDesign CS4 version 6.0
    Description Automatic Activation of Missing Fonts
    Operating System Microsoft Windows
    Requirements Your missing fonts must be located in FontExpert
    Groups (visible in the Groups view).
    FontExpert 2009 version 10.0.
    The plug-in may also work with FontExpert of earlier
    versions 9 and 8, but FontExpert 2009 version 10.0 is
    recommended.
    File Name MissingFontsLoader.pln
    How to Install the Plug-in
    NOTE
    The plug-in for InDesign CS4 requires Microsoft Visual C++ 2005 Redistributable Package
    (available on the Proxima Software Web site, http://www.proximasoftware.com/download.htm ).
    Copy the MissingFontsLoader.pln file to the Adobe InDesign plug-ins folder:
    c:\Program Files\Adobe\Adobe InDesign CS4\Plug-Ins\MissingFontsLoader\MissingFontsLoader.pln
    and RESTART Adobe InDesign.
    (Where "c:\Program Files\Adobe\Adobe InDesign CS4\" is the folder where Adobe InDesign is installed.)
    Using the Missing Fonts Loader Plug-in
    This plug-in has an activation option: automatic (recommended) or manual.
    Automatic Activation
    The Missing Fonts Loader Plug-in loads missing fonts automatically when you open an Adobe InDesign document.
    The plug-in searches for fonts in font groups defined in FontExpert. If a missing font is not found in the FontExpert
    Groups view, it will not be activated, and the font will be marked by InDesign as a missing font (for the current
    document).
    3
    Missing Fonts Loader Plug-In for Adobe InDesign CS4
    In the picture below, the Missing Fonts Loader window shows an empty list of missing fonts for the current
    document, because all fonts were activated automatically:
    4
    Missing Fonts Loader Plug-In for Adobe InDesign CS4
    When InDesign opens the document, it may still mark fonts as missing, even though they were actually activated
    by the plug-in during the opening of the document. In this case, you may be required to reopen document to let
    InDesign know that all missing fonts are now activated.
    The font information xml file helps solve this problem. It is recommended to select the Use font information xml
    files option. Every time you save the .indd document, the Missing Fonts Loader plug-in will create a small xml file.
    This xml file will include the list of fonts used in the corresponding .indd document. When this xml file is present,
    the plugin can activate fonts just before the InDesign actually opens the document and searches it for missing
    fonts. (You will find the xml file near the Adobe InDesign .indd document on your computer.)
    Manual Activation
    When the Activate Missing Fonts Automatically checkbox is cleared, the plug-in
    does not activate missing fonts when you open the document. You can open the plug-in
    window and activate fonts manually.
    The Missing Fonts Loader window shows the list of missing fonts in current document:
    5
    Missing Fonts Loader Plug-In for Adobe InDesign CS4
    Click the Activate All button to activate missing fonts.
    Important Note
    Unfortunately, when missing fonts are activated manually, you are usually required to close the InDesign
    document and open it again to let the document "know" that new fonts became available. This is the
    disadvantage of manual activation.
    6
    Missing Fonts Loader Plug-In for Adobe InDesign CS4
    Technical Support
    Please be sure to enter a correct e-mail address if you wish to receive a reply to your question or suggestion.
    Your e-mail address will not be used in any automated subscriptions.
    WE REPLY TO ALL CONTACT MESSAGES SENT TO US USING THE SUPPORT FORM OR VIA E-MAIL.
    WE GUARANTEE SENDING A HUMAN-CREATED REPLY, NOT AUTOMATED.
    Usually we reply within 8 hours, in many cases within 1 hour. The actual amount of time depends on your time
    zone. If you didn't receive a reply from us, please make sure you entered a correct e-mail address on the form and
    your Internet service provider isn’t using any anti-spam filters that may block messages with embedded
    hyperlinks or file attachments.
    Support Form on the Proxima Software Web site:
    http://www.ProximaSoftware.com/contact.php
    E-mail:
    [email protected]  

  • After Safari 5.1 update the following plugin is missing: Switchable Java Plug-in for WebKit

    Hi, after Safari 5.1 update the following plugin is missing: Switchable Java Plug-in for WebKit Java Switchable Plug-in (Cocoa) — von der Datei “JavaPluginCocoa.bundle”. How can I add this plugin manually? Because some applets are not working now! I restored the OS to Safari 5.0.5,
    now everything works fine. Is there any bugfix planned for Safari 5.1?

    Thanks, already managed to fix it with Time Machine Back-Up, however, you need only to restore the Safari.app file (can be found in Applications in Time Machine at a date before the last software upgrade to Safari 5.1)
    So, practically,
    go to Enter Time Machine
    -> browse (using the arrows at right hand bottom) to a date when everthing was still working
    -> go to Finder
    -> go to the hard drive (probably named Macintosh HD)
    -> go to Applications
    -> go to Safari.app
    -> highlight Safari.app by clicking on it
    -> hold 'ctrl' key and click again
    -> select from the drop menu that appears 'Get Info'
    -> next verify that is written 'version 5.0.5'
    -> close Info drop menu
    -> make sure the file Safari.app is still highlighted and click on 'Restore' under the arrows at righthand bottom of screen in Time Machine.
    Now you can leave Time Machine by clicking on Cancel on lefthand bottom
    Safari 5.0.5 will be added to the Applications under Safari.app (Safari 5.1 will also still be there and has the word (original) written behind it) drag this (original) marked file to the trash.
    That's all, works very good and means the whole system does not have to be re-installed.
    Hopefully Apple will cure this 5.1 version quickly - Make sure always to make a Time Machine Back-up before updating software!
    Hope this works for you all!

  • Why don't my photos appear as they do in iPhoto on my Apple Computer. Even though I specify to sync all Events, Faces, etc. the iPad 2 is missing Faces categories and the Events are in a different order.

    Why don't my photos appear as they do in iPhoto on my Apple Computer. Even though I specify to sync all Events, Faces, etc. the iPad 2 is missing Faces categories and the Events are in a different order.

    1) The best way to relocate the iTunes library folder is to move the entire iTunes folder with all subfolders to the new path, then press and hold down shift as start iTunes and keep holding until prompted to choose a library, then browse to the relocated folder and open the file iTunes Library.itl inside it.
    If you've done something different then provide some more details about what is where and I should be able to help.
    2) Purchases on the device should automatically transfer to a Purchased on <DeviceName> playlist, but it my depend a bit on whether automatic iCloud downloads are enabled. If there is a cloudy link then the transfer might not happen. You can use File > Devices > Transfer Purchases. In iTunes you should also check out iTunes Store > Quick Links > Purchased > Music > Not on this computer.
    3) Backup the device, then immediately restore it. In some cases you need to add a restore as new device into that equation. Obbviously not to be attempted until you're sure all your media is in your library. See Recover your iTunes library from your iPod or iOS device should it be needed.
    4) I believe there is complimentary 1 incident 90-day support with hardware purchases, but no free software support for iTunes itself. AppleCare gets you a different level of support.
    tt2

  • Plugging/Unplugging DVI cable protocol

    I've got my powerbook connected to an external monitor when at my desk via a KVM switch. The KVM switch is finicky with regards to monitor activation and I've discovered I need to have it on and my powerbook on & running when I plug & unplug the DVI cable from the port on my powerbook in order for it to work just right.
    I'm wondering if that is healthy for my powerbook or not(?). Will I hurt it by plugging & unplugging the DVI cable to & from the DVI port on the PowerBook whilst it's awake & running? Is it "plug 'n' play" like USB etc is?
    If I have the powerbook asleep, plug in the DVI monitor, then wake it up, the monitor & powerbook don't see each other. I have to either restart or unplug & replug whilst it's awake. Conversely, if I put my powerbook to sleep, then unplug the DVI cable, it wakes my powerbook up. Thus my reason for asking.
    thanx.jason.

    Thanks for your response Joe.
    I pulled up the manual for my 17"er and found all references to DVI plugging. It does appear that the PB is on when it's plugged in but does not say that specifically - it could just as easily mean to plug it in then boot - it's just not that clear.
    Well, I have one more month to decide wether or not to extend the Apple Care Warranty - I probably should do it since I've already had some issues with it.
    RE: http://discussions.apple.com/message.jspa?messageID=1129506
    Thanks for your help - though I'd still like to hear more thoughts/experience/knowledge/etc.
    -jason.

  • My apple tv is not working, the only thing showing up on the screen is the apple box with a white usb cord connected to it under the hdmi plug in and next to it is an iTunes sign- how do i fix my apple tv?

    my apple tv is not working, the only thing showing up on the screen is the apple box with a white usb cord connected to it under the hdmi plug in and next to it is an iTunes sign- how do i fix my apple tv?

    Restore.

  • I use my iphone 5 to record home videos. I have an apple tv but dvd burners dont have a hdmi plug in. Any suggestions on how i can burn videos from iphone 5?

    I use my iphone 5 to record home videos. I have an apple tv but dvd burners dont have a hdmi plug in. Any suggestions on how i can burn videos from iphone 5?
    I had a av cord that plugged into the iPhone 3gs and iPad 2 but its not compatible with the 5 connector. Right now i have to email myself the videos in small segments and open and save on the iPad 2 to burn them.  Is there an easier way to burn these from my iPhone 5 or through air play on apple tv?
    Thanks

    Connect the phone by USB to the computer, import with image capture, iPhoto or whatever application you use to import movies, drop it into iTunes.

Maybe you are looking for

  • How to Downgrade Satellite A100-411 to WXP?

    Hi, I just bought this sweet Notebook which has Windows Vista installed. Unfortunately I have to install Windows XP, but in the download section there are no drivers available yet for this specific model series called PSAARE. Are there any drivers of

  • Export from FCP as QT 4:3, Compressor Set at 4:3; ends up anamorphic. Why?

    I tried 3 ways: Export as QT, Using QT conversion,and through Compressor. Each time Settings were DV NTSC 4:3 in both QT and Compressor. Yet when going to DVD Studio Pro it's anamorphic. I checked the QT: it was anamorphic too! Does anybody have an a

  • ORA-13199 Error on a spatial query

    Hi, I am getting following Error on a spatial query (on version 11.1.0.7) "ORA-13199: Dimensionalities of geometry (GTYPE 3003) and diminfo (2) do not match. ORA-06512: at "MDSYS.MD", line 1723 ORA-06512: at "MDSYS.MDERR", line 17 ORA-06512: at "MDSY

  • Use parameter in page field

    Hi - I am adding a parameter to my URL and want to use that parameter value to display in a field in my page. My obfuscated URL is: http://<domain>/pls/apex/f?p=136:1:162234442:::::PARID:34567 I have a field on the page. I tried all different ways to

  • Duplicate mails and emails saty to be unread even i read the mails exchnage 2010

    Hello everyone, Organization: Server 2008R2 Exchnage 2010 sp3 ru4 Trmitnlim: Server 2008R2 Office: 2010 I have a strange problem on my exchange 2010 after I installed the sp 3 rolleup 4. Like other users make Hifos in outlook sometimes they see dupli