Tell BrowserLab to simulate mouse/keyboard input?

I'm interested in using BrowserLab to research form element styling (something akin to http://www.456bereastreet.com/archive/200701/styling_form_controls_with_css_revisited/ , but with today's browsers).
I haven't found a JS solution to simulate clicking on SELECT elements (i.e., to show the OPTION elements) as shown in this screenshot: http://www.456bereastreet.com/lab/styling-form-controls-revisited/select-single-option/ff2 -osx.png and was wondering if it was possible to tell BrowserLab to "click" on the web page.
Thanks!

Hey Adam,
oops , i thought "menu" - which has drop down  built using div + css, u are right form elements (SELECT) drop down box does not stick but disappears - as soon as u press the short cut F6 key.
u can also try the similiar workflow using the Firefox/Firebug BL Integration which was recently released at Firefox exchange :
https://addons.mozilla.org/en-US/firefox/addon/231196/
but you may run into similiar limitation with native OS control losing dropdown state as soon as you hit the preview shortcut key , so there does not appear to be way to capture  an open form <SELECT> element.
we will see if we can offer support for the same in future release - thanks for your feedback.
Thanks,
Amit.

Similar Messages

  • Take printscreen and detect mouse/keyboard input

    hi guys,
    I'm looking a way to take printsceen and detecting mouse/keyboard input in Adobe Air app using html/ajax .. is it possible ?
    any ideas ..please

    I wrote a blog post on how to do screen capturing using Adobe AIR abnd HTML/JavaScript. Maybe it'll help you out:
    http://www.andymatthews.net/read/2009/11/05/Capture-BitmapData-with-JavaScript-AIR-applica tions
    As for detecting key input, you can add a keydown/keydown event to the document quite easily.
    document.addEventListener('keydown', function(evt){
         // do something

  • Mouse & keyboard input problem.

    Hello there.
    I have recently started using a Mac Mini for music live performance.
    I am using programs like Ableton Live & Apple's MainStage.
    I am experiencing problems with the input coming from the mouse and keyboard. After startup everything works perfectly fine. I am using Apple's Magic Mouse and Apple's wireless bluetooth keyboard now, but I have also experienced the same with a simple cheap usb mouse.
    Let me explain, what happens:
    From time to time, the input coming from both the keyboard and the mouse stops. The keyboards is not responding at all. The mouse can move the coursor around, but the buttons are not responding. When I for example move the coursor on an icon in the dock, the name does not pop up, as it would do normally.
    From that point my rescue is a restart (hard one) or a screen sharing login from another mac on the network to do a normal restart.
    Is anyone experiencing something similar? Any tips to help me out?

    We are running Ableton Live for running backtracks.
    Here is the part of the log. There is more log about the system startup, if needed.
    18/06/14 16:27:54,000
    kernel[0]
    Sandbox: ntpd(375) deny file-read-data /private/var/run/resolv.conf
    18/06/14 16:27:54,000
    kernel[0]
    Sandbox: ntpd(375) deny file-read-data /private/var/run/resolv.conf
    18/06/14 16:33:05,371
    WindowServer[103]
    Warning: Program "Live" posted a mouse-down, blocking hardware events, but did no further mouse activity
    18/06/14 16:35:17,000
    kernel[0]
    [AppleMultitouchDevice::willTerminate] entered
    18/06/14 16:35:17,000
    kernel[0]
    [AppleMultitouchDevice::stop] entered
    18/06/14 16:35:17,000
    kernel[0]
    [0xffffff8018afd600][free]()
    18/06/14 16:35:17,804
    loginwindow[68]
    Preferred Localizations total: 1 contents (  English )
    18/06/14 16:35:24,412
    WindowServer[103]
    Warning: Program "Live" posted a mouse-down, blocking hardware events, but did no further mouse activity
    18/06/14 16:35:24,428
    WindowServer[103]
    Warning: Program "Live" posted a mouse-down, blocking hardware events, but did no further mouse activity
    18/06/14 16:35:59,916
    digest-service[514]
    label: default
    18/06/14 16:35:59,916
    digest-service[514]
    dbname: od:/Local/Default
    18/06/14 16:35:59,916
    digest-service[514]
    mkey_file: /var/db/krb5kdc/m-key
    18/06/14 16:35:59,916
    digest-service[514]
    acl_file: /var/db/krb5kdc/kadmind.acl
    18/06/14 16:35:59,917
    digest-service[514]
    digest-request: uid=0
    18/06/14 16:35:59,918
    digest-service[514]
    digest-request: netr probe 0
    18/06/14 16:35:59,919
    digest-service[514]
    digest-request: init request
    18/06/14 16:35:59,922
    digest-service[514]
    digest-request: init return domain: DUNES-MAC-MINI server: DUNES-MAC-MINI indomain was: <NULL>
    18/06/14 16:36:00,010
    digest-service[514]
    digest-request: uid=0
    18/06/14 16:36:00,010
    digest-service[514]
    digest-request: init request
    18/06/14 16:36:00,013
    digest-service[514]
    digest-request: init return domain: DUNES-MAC-MINI server: DUNES-MAC-MINI indomain was: <NULL>
    18/06/14 16:36:00,175
    digest-service[514]
    digest-request: uid=0
    18/06/14 16:36:00,175
    digest-service[514]
    digest-request: init request
    18/06/14 16:36:00,178
    digest-service[514]
    digest-request: init return domain: DUNES-MAC-MINI server: DUNES-MAC-MINI indomain was: <NULL>
    18/06/14 16:36:00,204
    digest-service[514]
    digest-request: uid=0
    18/06/14 16:36:00,204
    digest-service[514]
    digest-request: init request
    18/06/14 16:36:00,207
    digest-service[514]
    digest-request: init return domain: DUNES-MAC-MINI server: DUNES-MAC-MINI indomain was: <NULL>
    18/06/14 16:36:00,210
    digest-service[514]
    digest-request: uid=0
    18/06/14 16:36:00,212
    digest-service[514]
    digest-request: od failed with 2 proto=ntlmv2
    18/06/14 16:36:00,212
    digest-service[514]
    digest-request: user=\GUEST
    18/06/14 16:36:00,215
    digest-service[514]
    digest-request: kdc failed with -1765328234 proto=unknown
    18/06/14 16:36:00,215
    digest-service[514]
    digest-request guest: ok user=DUNES-MAC-MINI\GUEST proto=ntlmv2 flags: NEG_KEYEX, ENC_128, NEG_VERSION, NEG_TARGET_INFO, NEG_NTLM2, NEG_NTLM, NEG_TARGET, NEG_UNICODE
    18/06/14 16:36:01,567
    kdc[72]
    Got a canonicalize request for a LKDC realm from 192.168.1.101:51637
    18/06/14 16:36:01,567
    kdc[72]
    LKDC referral to the real LKDC realm name
    18/06/14 16:36:01,570
    kdc[72]
    BUG in libdispatch client: kevent[EVFILT_READ] delete: "Bad file descriptor" - 0x9
    18/06/14 16:36:01,698
    kdc[72]
    AS-REQ dune@LKDC:SHA1.D06C7456A2943F6790428F4FC70E766BF0D80FB1 from 192.168.1.101:51638 for krbtgt/LKDC:SHA1.D06C7456A2943F6790428F4FC70E766BF0D80FB1@LKDC:SHA1.D06C7456A29 43F6790428F4FC70E766BF0D80FB1
    18/06/14 16:36:01,702
    kdc[72]
    AS-REQ dune@LKDC:SHA1.D06C7456A2943F6790428F4FC70E766BF0D80FB1 from 192.168.1.101:51638 for krbtgt/LKDC:SHA1.D06C7456A2943F6790428F4FC70E766BF0D80FB1@LKDC:SHA1.D06C7456A29 43F6790428F4FC70E766BF0D80FB1
    18/06/14 16:36:01,703
    kdc[72]
    Need to use PA-ENC-TIMESTAMP/PA-PK-AS-REQ
    18/06/14 16:36:01,713
    kdc[72]
    AS-REQ dune@LKDC:SHA1.D06C7456A2943F6790428F4FC70E766BF0D80FB1 from 192.168.1.101:51639 for krbtgt/LKDC:SHA1.D06C7456A2943F6790428F4FC70E766BF0D80FB1@LKDC:SHA1.D06C7456A29 43F6790428F4FC70E766BF0D80FB1
    18/06/14 16:36:01,717
    kdc[72]
    AS-REQ dune@LKDC:SHA1.D06C7456A2943F6790428F4FC70E766BF0D80FB1 from 192.168.1.101:51639 for krbtgt/LKDC:SHA1.D06C7456A2943F6790428F4FC70E766BF0D80FB1@LKDC:SHA1.D06C7456A29 43F6790428F4FC70E766BF0D80FB1
    18/06/14 16:36:01,718
    kdc[72]
    Client sent patypes: ENC-TS
    18/06/14 16:36:01,718
    kdc[72]
    ENC-TS pre-authentication succeeded -- dune@LKDC:SHA1.D06C7456A2943F6790428F4FC70E766BF0D80FB1
    18/06/14 16:36:01,719
    kdc[72]
    Client supported enctypes: aes256-cts-hmac-sha1-96, aes128-cts-hmac-sha1-96, des3-cbc-sha1, arcfour-hmac-md5, using aes256-cts-hmac-sha1-96/aes256-cts-hmac-sha1-96
    18/06/14 16:36:01,719
    kdc[72]
    Requested flags: canonicalize
    18/06/14 16:36:01,867
    kdc[72]
    TGS-REQ dune@LKDC:SHA1.D06C7456A2943F6790428F4FC70E766BF0D80FB1 from 192.168.1.101:51640 for vnc/LKDC:SHA1.D06C7456A2943F6790428F4FC70E766BF0D80FB1@LKDC:SHA1.D06C7456A2943F 6790428F4FC70E766BF0D80FB1 [canonicalize]
    18/06/14 16:36:01,887
    screensharingd[516]
    Authentication: SUCCEEDED :: User Name: dune :: Viewer Address: 192.168.1.101 :: Type: Kerberos
    18/06/14 16:36:27,000
    kernel[0]
    Sandbox: ntpd(375) deny file-read-data /private/var/run/resolv.conf
    18/06/14 16:36:27,000
    kernel[0]
    Sandbox: ntpd(375) deny file-read-data /private/var/run/resolv.conf
    18/06/14 16:36:29,000
    kernel[0]
    [BNBMouseDevice::init][80.14] init is complete
    18/06/14 16:36:29,000
    kernel[0]
    [BNBMouseDevice::handleStart][80.14] returning 1
    18/06/14 16:36:29,000
    kernel[0]
    [AppleMultitouchHIDEventDriver::start] entered
    18/06/14 16:36:29,883
    loginwindow[68]
    Preferred Localizations total: 1 contents (
        English
    18/06/14 16:36:30,000
    kernel[0]
    [AppleMultitouchDevice::start] entered
    18/06/14 16:37:08,196
    WindowServer[103]
    Warning: Program "Live" posted a mouse-down, blocking hardware events, but did no further mouse activity
    18/06/14 16:37:18,214
    Console[524]
    setPresentationOptions called with NSApplicationPresentationFullScreen when there is no visible fullscreen window; this call will be ignored.
    18/06/14 16:39:41,000
    kernel[0]
    process ScreensharingAge[517] caught causing excessive wakeups. EXC_RESOURCE supressed due to audio playback
    18/06/14 16:39:59,731
    com.apple.IconServicesAgent[249]
    main Failed to composit image for binding VariantBinding [0x3b1] flags: 0x8 binding: FileInfoBinding [0x2bb] - extension: log, UTI: com.apple.log, fileType: ????.
    18/06/14 16:39:59,732
    quicklookd[521]
    Warning: Cache image returned by the server has size range covering all valid image sizes. Binding: VariantBinding [0x403] flags: 0x8 binding: FileInfoBinding [0x303] - extension: log, UTI: com.apple.log, fileType: ???? request size:48 scale: 1
    18/06/14 16:41:13,236
    MainStage[448]
    NIAUCocoaApplicationEvents: unregistration (0x3bdf2ca0)
    18/06/14 16:41:15,842
    WindowServer[103]
    _CGXSetWindowBackgroundBlurRadius: Invalid window 0xffffffff
    18/06/14 16:41:15,849
    WindowServer[103]
    _CGXSetWindowBackgroundBlurRadius: Invalid window 0xffffffff
    18/06/14 16:41:27,386
    com.apple.SecurityServer[15]
    Session 100017 created
    18/06/14 16:41:27,403
    com.apple.SecurityServer[15]
    Killing auth hosts
    18/06/14 16:41:27,403
    com.apple.SecurityServer[15]
    Session 100016 destroyed
    18/06/14 16:41:27,544
    com.apple.IconServicesAgent[249]
    main Failed to composit image for binding VariantBinding [0x3b3] flags: 0x8 binding: FileInfoBinding [0x4b3] - extension: caf, UTI: com.apple.coreaudio-format, fileType: ????.
    18/06/14 16:41:27,544
    quicklookd[521]
    Warning: Cache image returned by the server has size range covering all valid image sizes. Binding: VariantBinding [0x803] flags: 0x8 binding: FileInfoBinding [0x703] - extension: caf, UTI: com.apple.coreaudio-format, fileType: ???? request size:16 scale: 1
    18/06/14 16:41:28,451
    Console[547]
    setPresentationOptions called with NSApplicationPresentationFullScreen when there is no visible fullscreen window; this call will be ignored.
    18/06/14 16:41:41,991
    Console[547]
    Marker - 18 Jun 2014 16:41:41
    18/06/14 16:41:44,520
    Console[547]
    Marker - 18 Jun 2014 16:41:44
    18/06/14 16:42:05,640
    com.apple.launchd.peruser.501[174]
    (com.apple.PackageKit.InstallStatus) Throttling respawn: Will start in 9 seconds
    18/06/14 16:42:05,689
    WindowServer[103]
    CGXGetConnectionProperty: Invalid connection 49155
    18/06/14 16:42:05,690
    WindowServer[103]
    CGXGetConnectionProperty: Invalid connection 49155
    18/06/14 16:42:05,690
    WindowServer[103]
    CGXGetConnectionProperty: Invalid connection 49155
    18/06/14 16:42:05,690
    WindowServer[103]
    CGXGetConnectionProperty: Invalid connection 49155
    18/06/14 16:42:05,690
    WindowServer[103]
    CGXGetConnectionProperty: Invalid connection 49155
    18/06/14 16:42:05,705
    com.apple.launchd.peruser.501[174]
    (com.apple.universalaccessAuthWarn[280]) Exited: Killed: 9
    18/06/14 16:42:05,705
    com.apple.launchd.peruser.501[174]
    (com.apple.AirPlayUIAgent[316]) Exited: Killed: 9
    18/06/14 16:42:05,707
    com.apple.launchd[1]
    (com.apple.ShareKitHelper[255]) Exited: Killed: 9
    18/06/14 16:42:05,709
    com.apple.launchd[1]
    (com.apple.internetaccounts[246]) Exited: Killed: 9
    18/06/14 16:42:05,722
    com.apple.launchd.peruser.501[174]
    ([0x0-0x1b01b].com.apple.AppleSpell[305]) Exited: Killed: 9
    18/06/14 16:42:05,723
    com.apple.launchd.peruser.501[174]
    (com.apple.gamed[215]) Exited: Killed: 9
    18/06/14 16:42:15,741
    loginwindow[68]
    ERROR | -[ApplicationManager quitPrivateProcesses] | Private process did not quit
    18/06/14 16:42:15,773
    sessionlogoutd[560]
    sessionlogoutd Launched
    18/06/14 16:42:15,779
    sessionlogoutd[560]
    DEAD_PROCESS: 68 console
    18/06/14 16:42:15,807
    airportd[90]
    _doAutoJoin: Already associated to “DuneLive2014”. Bailing on auto-join.
    18/06/14 16:42:15,812
    shutdown[561]
    reboot by _softwareupdate:
    18/06/14 16:42:15,813
    shutdown[561]
    SHUTDOWN_TIME: 1403102535 812435

  • Broken laptop input mouse & keyboard [xps15z] [post Syu]

    Problems:
    -laptop's (dell xps 15z) keyboard and mouse not working
    -X broken
    I am really stumped here and looking for any help / direction. I am running out of questions to ask, and would appreciate any feedback.
    What I have tried:
    -creating a new modprobe.conf,
    -merging rc.conf.pacnew,
    -downgrading to my previous udev, mkinitcpio, and module-init-tools, using the packages found in cache. remade init with
    mkinitcpio -p linux
    and keyboard and mouse still did not work
    -merged locale.conf.pacnew
    -merged pacman.conf.pacnew
    -traversed almost all of the logs multiple times (have not found a silver bullet, but not positive on what Im looking for..)
    Below I have included some notes, my relevant (dates) pacman.log, and what I pulled from dmesg that seemed related to me.
    //notes
    -usb ports work
    -when i hit keys on the keyboard while at the console username prompt, nothing types, but if laptop is a dark place, the keys back-lights actually do light up...
    -every other boot I get stuck on MUX error (error has been there since I installed arch, but only now does it freeze occasionally here)
    [ 5.627516] [drm:intel_dsm_platform_mux_info] *ERROR* MUX INFO call failed
    [ 5.627613] [drm:intel_dsm_platform_mux_info] *ERROR* MUX INFO call failed
    -the update that broke stuff I set up my pacman key config
    [2012-01-20 05:14] warning: /etc/pacman.conf installed as /etc/pacman.conf.pacnew
    [2012-01-20 05:14] >>> Run `pacman-key --init` to set up your pacman keyring.
    [2012-01-20 05:14] upgraded pacman (3.5.4-4 -> 4.0.1-4)
    -also had to force the filesystem
    [2012-01-20 06:01] Running 'pacman -S --force filesystem'
    [2012-01-20 06:01] upgraded filesystem (2011.10-1 -> 2011.12-2)
    //dmesg findings
    [ 1.034772] mousedev: PS/2 mouse device common for all mice
    [ 1.045355] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
    [ 6.172182] input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input8
    [ 42.447721] input: Dell Dell USB Keyboard as /devices/pci0000:00/0000:00:1c.3/0000:04:00.0/usb2/2-1/2-1:1.0/input/input15
    [ 42.447801] generic-usb 0003:413C:2003.0001: input,hidraw0: USB HID v1.10 Keyboard [Dell Dell USB Keyboard] on usb-0000:04:00.0-1/input0
    [ 42.447811] usbcore: registered new interface driver usbhid
    [ 42.447812] usbhid: USB HID core driver
    //pacman.log
    [2012-01-20 05:13] Running 'pacman -Syu'
    [2012-01-20 05:13] synchronizing package lists
    [2012-01-20 05:14] upgraded linux-api-headers (3.1.4-1 -> 3.1.6-1)
    [2012-01-20 05:14] warning: /etc/locale.gen installed as /etc/locale.gen.pacnew
    [2012-01-20 05:14] Generating locales...
    [2012-01-20 05:14] en_US.UTF-8... done
    [2012-01-20 05:14] en_US.ISO-8859-1... done
    [2012-01-20 05:14] Generation complete.
    [2012-01-20 05:14] upgraded glibc (2.14.1-2 -> 2.15-3)
    [2012-01-20 05:14] upgraded libarchive (2.8.5-2 -> 3.0.3-2)
    [2012-01-20 05:14] warning: /etc/pacman.conf installed as /etc/pacman.conf.pacnew
    [2012-01-20 05:14] >>> Run `pacman-key --init` to set up your pacman keyring.
    [2012-01-20 05:14] upgraded pacman (3.5.4-4 -> 4.0.1-4)
    [2012-01-20 05:16] Running 'pacman -Syu'
    [2012-01-20 05:16] synchronizing package lists
    [2012-01-20 05:16] starting full system upgrade
    [2012-01-20 05:16] Running 'pacman -Syu'
    [2012-01-20 05:16] synchronizing package lists
    [2012-01-20 05:16] starting full system upgrade
    [2012-01-20 05:22] Running 'pacman -Rdd gcc-multilib gcc-libs-multilib'
    [2012-01-20 05:22] Running 'pacman -S gcc-multilib'
    [2012-01-20 05:24] Running 'pacman -Syu'
    [2012-01-20 05:24] synchronizing package lists
    [2012-01-20 05:24] starting full system upgrade
    [2012-01-20 05:25] Running 'pacman -S gcc-libs'
    [2012-01-20 05:27] Running 'pacman -S gcc-objc-multilib'
    [2012-01-20 05:37] Running 'pacman -Syu'
    [2012-01-20 05:37] synchronizing package lists
    [2012-01-20 05:37] starting full system upgrade
    [2012-01-20 05:55] Running 'pacman -Syu'
    [2012-01-20 05:55] synchronizing package lists
    [2012-01-20 05:56] starting full system upgrade
    [2012-01-20 06:01] Running 'pacman -S --force filesystem'
    [2012-01-20 06:01] upgraded filesystem (2011.10-1 -> 2011.12-2)
    [2012-01-20 06:01] Running 'pacman -Syu'
    [2012-01-20 06:01] synchronizing package lists
    [2012-01-20 06:01] starting full system upgrade
    [2012-01-20 06:02] removed gcc-libs-multilib (4.6.2-3)
    [2012-01-20 06:02] installed gcc-libs (4.6.2-5)
    [2012-01-20 06:02] upgraded db (5.2.36-2 -> 5.3.15-1)
    [2012-01-20 06:02] upgraded pam (1.1.5-1 -> 1.1.5-2)
    [2012-01-20 06:02] upgraded coreutils (8.14-1 -> 8.15-1)
    [2012-01-20 06:02] upgraded perl (5.14.2-4 -> 5.14.2-7)
    [2012-01-20 06:02] upgraded openssl (1.0.0.e-1 -> 1.0.0.g-1)
    [2012-01-20 06:02] upgraded libsasl (2.1.23-8 -> 2.1.23-9)
    [2012-01-20 06:02] upgraded libldap (2.4.26-5 -> 2.4.28-2)
    [2012-01-20 06:02] upgraded unixodbc (2.3.0-2 -> 2.3.1-1)
    [2012-01-20 06:02] upgraded apr-util (1.3.12-3 -> 1.3.12-5)
    [2012-01-20 06:02] upgraded at-spi2-core (2.2.1-1 -> 2.2.3-1)
    [2012-01-20 06:02] upgraded at-spi2-atk (2.2.1-1 -> 2.2.2-1)
    [2012-01-20 06:02] upgraded ca-certificates (20111025-2 -> 20111211-1)
    [2012-01-20 06:02] upgraded libxi (1.4.3-1 -> 1.4.5-1)
    [2012-01-20 06:02] upgraded desktop-file-utils (0.18-1 -> 0.19-1)
    [2012-01-20 06:02] upgraded qt (4.7.4-3 -> 4.8.0-2)
    [2012-01-20 06:02] upgraded attica (0.2.9-1 -> 0.3.0-1)
    [2012-01-20 06:02] upgraded automake (1.11.1-3 -> 1.11.2-1)
    [2012-01-20 06:02] upgraded binutils (2.22-2 -> 2.22-4)
    [2012-01-20 06:02] upgraded bluez (4.96-1 -> 4.98-1)
    [2012-01-20 06:02] upgraded cifs-utils (4.9-3 -> 5.2-1)
    [2012-01-20 06:02] upgraded clutter-gst (1.4.4-1 -> 1.4.6-1)
    [2012-01-20 06:02] upgraded lcms2 (2.2-1 -> 2.3-1)
    [2012-01-20 06:02] upgraded colord (0.1.15-3 -> 0.1.16-1)
    [2012-01-20 06:02] upgraded consolekit (0.4.5-1 -> 0.4.5-2)
    [2012-01-20 06:02] upgraded cryptsetup (1.4.0-2 -> 1.4.1-1)
    [2012-01-20 06:02] upgraded nss (3.12.11-3 -> 3.13.1-2)
    [2012-01-20 06:02] upgraded evolution-data-server (3.2.2-1 -> 3.2.3-2)
    [2012-01-20 06:03] upgraded gtk3 (3.2.2-4 -> 3.2.3-2)
    [2012-01-20 06:03] upgraded gtkhtml4 (4.2.2-1 -> 4.2.3-1)
    [2012-01-20 06:03] upgraded evolution (3.2.2-1 -> 3.2.3-2)
    [2012-01-20 06:03] upgraded file (5.09-1 -> 5.10-1)
    [2012-01-20 06:03] upgraded firefox (8.0.1-1 -> 9.0.1-1)
    [2012-01-20 06:03] upgraded telepathy-glib (0.16.3-1 -> 0.16.4-1)
    [2012-01-20 06:03] upgraded folks (0.6.5-1 -> 0.6.6-1)
    [2012-01-20 06:03] upgraded gcc (4.6.2-3 -> 4.6.2-5)
    [2012-01-20 06:03] upgraded libjpeg-turbo (1.1.1-3 -> 1.1.1-4)
    [2012-01-20 06:03] upgraded gdk-pixbuf2 (2.24.0-1 -> 2.24.1-1)
    [2012-01-20 06:03] upgraded gtksourceview3 (3.2.3-1 -> 3.2.3-2)
    [2012-01-20 06:03] upgraded pygobject-devel (3.0.2-1 -> 3.0.3-1)
    [2012-01-20 06:03] upgraded python2-gobject (3.0.2-1 -> 3.0.3-1)
    [2012-01-20 06:03] upgraded gedit (3.2.5-1 -> 3.2.6-1)
    [2012-01-20 06:03] upgraded git (1.7.8-1 -> 1.7.8.4-1)
    [2012-01-20 06:03] upgraded gjs (1.30.0-1 -> 1.30.1-1)
    [2012-01-20 06:03] upgraded gnutls (3.0.8-1 -> 3.0.11-1)
    [2012-01-20 06:03] upgraded glib-networking (2.30.1-1 -> 2.30.2-1)
    [2012-01-20 06:03] upgraded gpgme (1.3.1-1 -> 1.3.1-2)
    [2012-01-20 06:03] upgraded gmime (2.4.28-1 -> 2.6.4-1)
    [2012-01-20 06:03] upgraded gnome-color-manager (3.2.1-2 -> 3.2.2-1)
    [2012-01-20 06:03] upgraded gnome-icon-theme-symbolic (3.2.1-1 -> 3.2.2-1)
    [2012-01-20 06:03] upgraded gnome-keyring (3.2.2-1 -> 3.2.2-3)
    [2012-01-20 06:03] upgraded whois (5.0.13-1 -> 5.0.14-1)
    [2012-01-20 06:03] upgraded gnome-nettool (3.0.0-1 -> 3.0.1-1)
    [2012-01-20 06:04] upgraded mutter (3.2.1-1 -> 3.2.2-1)
    [2012-01-20 06:04] upgraded libpulse (1.1-1 -> 1.1-2)
    [2012-01-20 06:04] upgraded gnome-shell (3.2.1-1 -> 3.2.2.1-1)
    [2012-01-20 06:04] upgraded gvfs (1.10.1-1 -> 1.10.1-2)
    [2012-01-20 06:04] upgraded gvfs-obexftp (1.10.1-1 -> 1.10.1-2)
    [2012-01-20 06:04] upgraded vim-runtime (7.3.353-2 -> 7.3.401-1)
    [2012-01-20 06:04] upgraded ruby (1.9.3_p0-2 -> 1.9.3_p0-3)
    [2012-01-20 06:04] upgraded gvim (7.3.353-2 -> 7.3.401-1)
    [2012-01-20 06:04] upgraded hdparm (9.37-2 -> 9.38-1)
    [2012-01-20 06:04] upgraded inetutils (1.8-6 -> 1.9.1-1)
    [2012-01-20 06:04] upgraded iproute2 (2.6.39-2 -> 3.2.0-1)
    [2012-01-20 06:04] warning: /etc/rc.conf installed as /etc/rc.conf.pacnew
    [2012-01-20 06:04] upgraded initscripts (2011.11.3-1 -> 2012.01.2-1)
    [2012-01-20 06:04] upgraded jack (0.121.3-4 -> 0.121.3-5)
    [2012-01-20 06:04] installed rhino (1.7R3-1)
    [2012-01-20 06:04] installed jre7-openjdk-headless (7.b147_2.0-5)
    [2012-01-20 06:04] upgraded jre7-openjdk (7.b147_2.0-2 -> 7.b147_2.0-5)
    [2012-01-20 06:04] upgraded jdk7-openjdk (7.b147_2.0-2 -> 7.b147_2.0-5)
    [2012-01-20 06:04] upgraded redland (1:1.0.15-1 -> 1:1.0.15-3)
    [2012-01-20 06:04] upgraded redland-storage-virtuoso (1:1.0.15-1 -> 1:1.0.15-3)
    [2012-01-20 06:04] upgraded soprano (2.7.3-1 -> 2.7.4-1)
    [2012-01-20 06:04] upgraded libdbusmenu-qt (0.9.0-1 -> 0.9.0-2)
    [2012-01-20 06:04] upgraded polkit-qt (0.99.0-1 -> 0.103.0-1)
    [2012-01-20 06:04] upgraded phonon (1:4.5.1-2 -> 1:4.6.0-1)
    [2012-01-20 06:04] installed gperf (3.0.4-4)
    [2012-01-20 06:04] installed qtwebkit (2.2.1-2)
    [2012-01-20 06:04] upgraded kdelibs (4.7.4-1 -> 4.7.4-5)
    [2012-01-20 06:04] upgraded libassuan (2.0.2-1 -> 2.0.3-1)
    [2012-01-20 06:04] upgraded libdrm (2.4.28-1 -> 2.4.30-1)
    [2012-01-20 06:04] upgraded libgphoto2 (2.4.10.1-2 -> 2.4.11-1)
    [2012-01-20 06:04] upgraded libgsf (1.14.21-1 -> 1.14.22-2)
    [2012-01-20 06:04] upgraded libmysqlclient (5.5.19-1 -> 5.5.20-1)
    [2012-01-20 06:04] upgraded liboauth (0.9.4-2 -> 0.9.6-1)
    [2012-01-20 06:04] upgraded libpcap (1.1.1-4 -> 1.2.1-1)
    [2012-01-20 06:04] upgraded libreoffice-en-US (3.4.4-3 -> 3.4.5-1)
    [2012-01-20 06:04] upgraded libreoffice-common (3.4.4-3 -> 3.4.5-1)
    [2012-01-20 06:04] upgraded libreoffice-base (3.4.4-3 -> 3.4.5-1)
    [2012-01-20 06:04] upgraded libreoffice-calc (3.4.4-3 -> 3.4.5-1)
    [2012-01-20 06:04] upgraded libreoffice-draw (3.4.4-3 -> 3.4.5-1)
    [2012-01-20 06:04] upgraded libreoffice-gnome (3.4.4-3 -> 3.4.5-1)
    [2012-01-20 06:04] upgraded libreoffice-impress (3.4.4-3 -> 3.4.5-1)
    [2012-01-20 06:04] upgraded libreoffice-kde4 (3.4.4-3 -> 3.4.5-1)
    [2012-01-20 06:04] upgraded libreoffice-math (3.4.4-3 -> 3.4.5-1)
    [2012-01-20 06:04] upgraded libreoffice-sdk (3.4.4-3 -> 3.4.5-1)
    [2012-01-20 06:04] upgraded libreoffice-sdk-doc (3.4.4-3 -> 3.4.5-1)
    [2012-01-20 06:04] upgraded libreoffice-writer (3.4.4-3 -> 3.4.5-1)
    [2012-01-20 06:04] upgraded util-linux (2.20.1-1 -> 2.20.1-2)
    [2012-01-20 06:04] upgraded libtracker-sparql (0.12.8-1 -> 0.12.9-1)
    [2012-01-20 06:04] >>> Updating module dependencies. Please wait ...
    [2012-01-20 06:04] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2012-01-20 06:04] ==> Building image from preset: 'default'
    [2012-01-20 06:04] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    [2012-01-20 06:04] ==> Starting build: 3.2.1-1-ARCH
    [2012-01-20 06:04] -> Parsing hook: [base]
    [2012-01-20 06:04] -> Parsing hook: [udev]
    [2012-01-20 06:04] -> Parsing hook: [autodetect]
    [2012-01-20 06:05] -> Parsing hook: [pata]
    [2012-01-20 06:05] -> Parsing hook: [scsi]
    [2012-01-20 06:05] -> Parsing hook: [sata]
    [2012-01-20 06:05] -> Parsing hook: [filesystems]
    [2012-01-20 06:05] -> Parsing hook: [usbinput]
    [2012-01-20 06:05] ==> Generating module dependencies
    [2012-01-20 06:05] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
    [2012-01-20 06:05] ==> Image generation successful
    [2012-01-20 06:05] ==> Building image from preset: 'fallback'
    [2012-01-20 06:05] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    [2012-01-20 06:05] ==> Starting build: 3.2.1-1-ARCH
    [2012-01-20 06:05] -> Parsing hook: [base]
    [2012-01-20 06:05] -> Parsing hook: [udev]
    [2012-01-20 06:05] -> Parsing hook: [pata]
    [2012-01-20 06:05] -> Parsing hook: [scsi]
    [2012-01-20 06:05] -> Parsing hook: [sata]
    [2012-01-20 06:05] -> Parsing hook: [filesystems]
    [2012-01-20 06:05] -> Parsing hook: [usbinput]
    [2012-01-20 06:05] ==> Generating module dependencies
    [2012-01-20 06:05] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
    [2012-01-20 06:05] ==> Image generation successful
    [2012-01-20 06:05] upgraded linux (3.1.5-1 -> 3.2.1-1)
    [2012-01-20 06:05] upgraded linux-docs (3.1.5-1 -> 3.2.1-1)
    [2012-01-20 06:05] upgraded linux-headers (3.1.5-1 -> 3.2.1-1)
    [2012-01-20 06:05] upgraded mono (2.10.6-1 -> 2.10.8-1)
    [2012-01-20 06:05] upgraded mysql-clients (5.5.19-1 -> 5.5.20-1)
    [2012-01-20 06:05] upgraded mysql (5.5.19-1 -> 5.5.20-1)
    [2012-01-20 06:05] upgraded obexd-client (0.42-1 -> 0.44-1)
    [2012-01-20 06:05] upgraded php (5.3.8-5 -> 5.3.9-1)
    [2012-01-20 06:05] upgraded php-apache (5.3.8-5 -> 5.3.9-1)
    [2012-01-20 06:05] upgraded poppler (0.18.1-1 -> 0.18.2-1)
    [2012-01-20 06:05] upgraded poppler-glib (0.18.1-1 -> 0.18.2-1)
    [2012-01-20 06:05] upgraded pulseaudio (1.1-1 -> 1.1-2)
    [2012-01-20 06:05] upgraded rpcbind (0.2.0-5 -> 0.2.0-6)
    [2012-01-20 06:05] upgraded sdl (1.2.14-9 -> 1.2.14-10)
    [2012-01-20 06:05] upgraded sdl_image (1.2.10-2 -> 1.2.11-1)
    [2012-01-20 06:05] upgraded sdl_ttf (2.0.10-1 -> 2.0.11-1)
    [2012-01-20 06:05] upgraded subversion (1.7.2-1 -> 1.7.2-2)
    [2012-01-20 06:05] upgraded thunderbird (8.0-1 -> 9.0.1-1)
    [2012-01-20 06:05] upgraded totem-plparser (2.32.6-1 -> 2.32.6-3)
    [2012-01-20 06:05] upgraded tracker (0.12.8-1 -> 0.12.9-1)
    [2012-01-20 06:05] upgraded wavpack (4.60.1-1 -> 4.60.1-2)
    [2012-01-20 06:05] upgraded xf86-video-nouveau (0.0.16_git20110829-1 -> 0.0.16_git20120106-1)
    [2012-01-20 06:05] upgraded xkeyboard-config (2.4.1-2 -> 2.4.1-3)
    [2012-01-20 06:05] upgraded xorg-server-common (1.11.2-2 -> 1.11.3-1)
    [2012-01-20 06:05] upgraded xorg-server (1.11.2-2 -> 1.11.3-1)
    [2012-01-20 06:05] upgraded xorg-xinit (1.3.1-1 -> 1.3.1-2)
    [2012-01-20 06:05] upgraded xterm (275-1 -> 276-1)
    [2012-01-20 06:06] Running 'pacman -Syu'
    [2012-01-20 06:06] synchronizing package lists
    [2012-01-20 06:06] starting full system upgrade
    [2012-01-23 04:20] Running 'pacman -Syu'
    [2012-01-23 04:20] synchronizing package lists
    [2012-01-23 04:20] starting full system upgrade
    [2012-01-23 04:20] Running 'pacman -Syu'
    [2012-01-23 04:20] synchronizing package lists
    [2012-01-23 04:20] starting full system upgrade
    [2012-01-23 04:21] removed module-init-tools (3.16-3)
    [2012-01-23 04:21] upgraded dbus-sharp (0.7.0-3 -> 0.7.0-4)
    [2012-01-23 04:21] upgraded dbus-sharp-glib (0.5.0-3 -> 0.5.0-4)
    [2012-01-23 04:21] upgraded gnutls (3.0.11-1 -> 3.0.12-1)
    [2012-01-23 04:21] upgraded gstreamer0.10-python (0.10.21-1 -> 0.10.22-1)
    [2012-01-23 04:21] installed kmod (4-1)
    [2012-01-23 04:21] upgraded udev (175-1 -> 178-1)
    [2012-01-23 04:21] warning: /etc/rc.conf installed as /etc/rc.conf.pacnew
    [2012-01-23 04:21] upgraded initscripts (2012.01.2-1 -> 2012.01.3-1)
    [2012-01-23 04:21] upgraded libgee (0.6.3-1 -> 0.6.4-1)
    [2012-01-23 04:21] upgraded mdadm (3.2.2-4 -> 3.2.3-1)
    [2012-01-23 04:21] upgraded mkinitcpio (0.8.0-3 -> 0.8.2-1)
    [2012-01-23 04:21] upgraded pixman (0.24.0-1 -> 0.24.2-1)
    [2012-01-23 04:21] upgraded poppler (0.18.2-1 -> 0.18.3-1)
    [2012-01-23 04:21] upgraded poppler-glib (0.18.2-1 -> 0.18.3-1)
    [2012-01-23 04:21] upgraded sdl_image (1.2.11-1 -> 1.2.12-1)
    [2012-01-23 04:21] upgraded sg3_utils (1.30-1 -> 1.33-1)
    [2012-01-23 04:21] upgraded sqlite3 (3.7.9-1 -> 3.7.10-1)
    [2012-01-23 04:21] upgraded xkeyboard-config (2.4.1-3 -> 2.5-1)
    [2012-01-23 04:21] upgraded xterm (276-1 -> 278-1)
    EDIT: SO NOW x won't even make it as far as it did before (to at least let me see the wallpaper) and eventually goes to a 'something went wrong' screen and I have to shutdown as I don't have a mouse to select Log Out.
    //xorg.log
    [ 31.490] (**) Option "xkb_rules" "evdev"
    [ 31.490] (**) Option "xkb_model" "evdev"
    [ 31.490] (**) Option "xkb_layout" "us"
    [ 31.490] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
    [ 31.490] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
    [ 31.490] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
    [ 31.490] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 31.490] (**) AT Translated Set 2 keyboard: always reports core events
    [ 31.490] (**) AT Translated Set 2 keyboard: Device: "/dev/input/event0"
    [ 31.490] (--) AT Translated Set 2 keyboard: Found keys
    [ 31.490] (II) AT Translated Set 2 keyboard: Configuring as keyboard
    [ 31.490] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
    [ 31.490] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 13)
    [ 31.491] (**) Option "xkb_rules" "evdev"
    [ 31.491] (**) Option "xkb_model" "evdev"
    [ 31.491] (**) Option "xkb_layout" "us"
    [ 31.491] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/event9)
    [ 31.491] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "evdev pointer catchall"
    [ 31.491] (II) Using input driver 'evdev' for 'ImPS/2 Generic Wheel Mouse'
    [ 31.491] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 31.491] (**) ImPS/2 Generic Wheel Mouse: always reports core events
    [ 31.491] (**) ImPS/2 Generic Wheel Mouse: Device: "/dev/input/event9"
    [ 31.491] (--) ImPS/2 Generic Wheel Mouse: Found 3 mouse buttons
    [ 31.491] (--) ImPS/2 Generic Wheel Mouse: Found scroll wheel(s)
    [ 31.491] (--) ImPS/2 Generic Wheel Mouse: Found relative axes
    [ 31.491] (--) ImPS/2 Generic Wheel Mouse: Found x and y relative axes
    [ 31.491] (II) ImPS/2 Generic Wheel Mouse: Configuring as mouse
    [ 31.491] (II) ImPS/2 Generic Wheel Mouse: Adding scrollwheel support
    [ 31.491] (**) ImPS/2 Generic Wheel Mouse: YAxisMapping: buttons 4 and 5
    [ 31.491] (**) ImPS/2 Generic Wheel Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [ 31.491] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input9/event9"
    [ 31.491] (II) XINPUT: Adding extended input device "ImPS/2 Generic Wheel Mouse" (type: MOUSE, id 14)
    [ 31.491] (II) ImPS/2 Generic Wheel Mouse: initialized for relative axes.
    [ 31.491] (**) ImPS/2 Generic Wheel Mouse: (accel) keeping acceleration scheme 1
    [ 31.491] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration profile 0
    [ 31.491] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration factor: 2.000
    [ 31.491] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration threshold: 4
    [ 31.491] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/mouse0)
    [ 31.491] (II) No input driver/identifier specified (ignoring)
    [ 31.491] (II) config/udev: Adding input device PC Speaker (/dev/input/event2)
    [ 31.491] (II) No input driver/identifier specified (ignoring)
    [ 31.492] (II) config/udev: Adding input device Dell WMI hotkeys (/dev/input/event8)
    [ 31.492] (**) Dell WMI hotkeys: Applying InputClass "evdev keyboard catchall"
    [ 31.492] (II) Using input driver 'evdev' for 'Dell WMI hotkeys'
    [ 31.492] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 31.492] (**) Dell WMI hotkeys: always reports core events
    [ 31.492] (**) Dell WMI hotkeys: Device: "/dev/input/event8"
    [ 31.492] (--) Dell WMI hotkeys: Found keys
    [ 31.492] (II) Dell WMI hotkeys: Configuring as keyboard
    [ 31.492] (**) Option "config_info" "udev:/sys/devices/virtual/input/input8/event8"
    [ 31.492] (II) XINPUT: Adding extended input device "Dell WMI hotkeys" (type: KEYBOARD, id 15)
    [ 31.492] (**) Option "xkb_rules" "evdev"
    [ 31.492] (**) Option "xkb_model" "evdev"
    [ 31.492] (**) Option "xkb_layout" "us"
    [ 34.195] (II) intel(0): EDID vendor "AUO", prod id 12525
    [ 34.195] (II) intel(0): Printing DDC gathered Modelines:
    [ 34.195] (II) intel(0): Modeline "1920x1080"x0.0 140.00 1920 1968 2068 2144 1080 1083 1084 1088 +hsync -vsync (65.3 kHz)
    [ 34.195] (II) intel(0): Modeline "1920x1080"x0.0 93.33 1920 1968 2068 2144 1080 1083 1084 1088 +hsync -vsync (43.5 kHz)
    [ 34.531] (II) intel(0): EDID vendor "AUO", prod id 12525
    [ 34.531] (II) intel(0): Printing DDC gathered Modelines:
    [ 34.531] (II) intel(0): Modeline "1920x1080"x0.0 140.00 1920 1968 2068 2144 1080 1083 1084 1088 +hsync -vsync (65.3 kHz)
    [ 34.531] (II) intel(0): Modeline "1920x1080"x0.0 93.33 1920 1968 2068 2144 1080 1083 1084 1088 +hsync -vsync (43.5 kHz)
    [ 66.265] (II) intel(0): EDID vendor "AUO", prod id 12525
    [ 66.265] (II) intel(0): Printing DDC gathered Modelines:
    [ 66.265] (II) intel(0): Modeline "1920x1080"x0.0 140.00 1920 1968 2068 2144 1080 1083 1084 1088 +hsync -vsync (65.3 kHz)
    [ 66.265] (II) intel(0): Modeline "1920x1080"x0.0 93.33 1920 1968 2068 2144 1080 1083 1084 1088 +hsync -vsync (43.5 kHz)
    EDIT: FOUND this bug: https://bugs.archlinux.org/task/28049 - realize I may really be fishing here..
    //udev test
    # line below is from dmesg
    [ 1.068340] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
    run_command: calling: test
    adm_test: version 178
    builtin_kmod_init: load module index
    add_matching_files: unable to open '/run/udev/rules.d': No such file or directory
    parse_file: reading '/lib/udev/rules.d/10-dm.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/11-dm-lvm.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/13-dm-disk.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/40-gphoto.rules' as rules file
    add_rule: IMPORT found builtin 'usb_id --export %p', replacing /lib/udev/rules.d/40-gphoto.rules:11
    parse_file: reading '/lib/udev/rules.d/40-hpet-permissions.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/42-qemu-usb.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/50-udev-default.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/53-sane.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/60-cdrom_id.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/60-pcmcia.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/60-persistent-alsa.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/60-persistent-input.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/60-persistent-serial.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/60-persistent-storage-tape.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/60-persistent-storage.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/60-persistent-v4l.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/61-accelerometer.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/61-gnome-bluetooth-rfkill.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/64-md-raid.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/69-cd-sensors.rules' as rules file
    add_rule: IMPORT found builtin 'usb_id --export %p', replacing /lib/udev/rules.d/69-cd-sensors.rules:76
    add_rule: IMPORT found builtin 'usb-db %p', replacing /lib/udev/rules.d/69-cd-sensors.rules:77
    parse_file: reading '/lib/udev/rules.d/70-infrared.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/70-udev-acl.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/75-net-description.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/75-probe_mtd.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/75-tty-description.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/77-nm-olpc-mesh.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/78-sound-card.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/80-drivers.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/80-udisks.rules' as rules file
    add_rule: IMPORT found builtin 'pci-db %p', replacing /lib/udev/rules.d/80-udisks.rules:6
    parse_file: reading '/lib/udev/rules.d/85-usbmuxd.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/90-pulseaudio.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-cd-devices.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-dm-notify.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-keyboard-force-release.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-keymap.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-udev-late.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-upower-battery-recall-dell.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-upower-battery-recall-fujitsu.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-upower-battery-recall-gateway.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-upower-battery-recall-ibm.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-upower-battery-recall-lenovo.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-upower-battery-recall-toshiba.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-upower-csr.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-upower-hid.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/95-upower-wup.rules' as rules file
    parse_file: reading '/lib/udev/rules.d/97-bluetooth-hid2hci.rules' as rules file
    udev_rules_new: rules use 188232 bytes tokens (15686 * 12 bytes), 27728 bytes buffer
    udev_rules_new: temporary index used 50920 bytes (2546 * 20 bytes)
    udev_device_new_from_syspath: device 0x1a25700 has devpath '/devices/platform/i8042/serio0/input/input0'
    udev_device_new_from_syspath: device 0x1a34d60 has devpath '/devices/platform/i8042/serio0/input/input0'
    udev_device_read_db: device 0x1a34d60 filled with db file data
    udev_rules_apply_to_event: IMPORT builtin 'input_id' /lib/udev/rules.d/50-udev-default.rules:23
    udev_builtin_add_property: ID_INPUT=1
    get_cap_mask: capabilities/ev raw kernel attribute: 120013
    get_cap_mask: capabilities/abs raw kernel attribute: 0
    get_cap_mask: capabilities/rel raw kernel attribute: 0
    get_cap_mask: capabilities/key raw kernel attribute: 402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe
    test_key: test_key: checking bit block 0 for any keys; found=1
    test_key: test_key: checking bit block 64 for any keys; found=1
    test_key: test_key: checking bit block 128 for any keys; found=1
    test_key: test_key: checking bit block 192 for any keys; found=1
    udev_builtin_add_property: ID_INPUT_KEY=1
    udev_builtin_add_property: ID_INPUT_KEYBOARD=1
    udev_device_new_from_syspath: device 0x1a361d0 has devpath '/devices/platform/i8042/serio0'
    udev_device_new_from_syspath: device 0x1a36740 has devpath '/devices/platform/i8042'
    udev_device_new_from_syspath: device 0x1a36d00 has devpath '/devices/platform'
    udev_rules_apply_to_event: IMPORT builtin 'path_id' /lib/udev/rules.d/60-persistent-input.rules:31
    udev_builtin_add_property: ID_PATH=platform-i8042-serio-0
    udev_builtin_add_property: ID_PATH_TAG=platform-i8042-serio-0
    udev_rules_apply_to_event: IMPORT builtin 'kmod' /lib/udev/rules.d/80-drivers.rules:5
    builtin_kmod: execute 'load' 'input:b0011v0001p0001eAB41-e0,1,4,11,14,k71,72,73,74,75,76,77,79,7A,7B,7C,7D,7E,7F,80,8C,8E,8F,9B,9C,9D,9E,9F,A3,A4,A5,A6,AC,AD,B7,B8,B9,D9,E2,ram4,l0,1,2,sfw'
    load_module: inserted 'evdev'
    udev_device_update_db: created db file '/run/udev/data/+input:input0' for '/devices/platform/i8042/serio0/input/input0'
    builtin_kmod_exit: unload module index
    This program is for debugging only, it does not run any program,
    specified by a RUN key. It may show incorrect results, because
    some values may be different, or not available at a simulation run.
    .INPUT_CLASS=kbd
    ACTION=add
    DEVPATH=/devices/platform/i8042/serio0/input/input0
    EV=120013
    ID_INPUT=1
    ID_INPUT_KEY=1
    ID_INPUT_KEYBOARD=1
    ID_PATH=platform-i8042-serio-0
    ID_PATH_TAG=platform-i8042-serio-0
    ID_SERIAL=noserial
    KEY=402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe
    LED=7
    MODALIAS=input:b0011v0001p0001eAB41-e0,1,4,11,14,k71,72,73,74,75,76,77,79,7A,7B,7C,7D,7E,7F,80,8C,8E,8F,9B,9C,9D,9E,9F,A3,A4,A5,A6,AC,AD,B7,B8,B9,D9,E2,ram4,l0,1,2,sfw
    MSC=10
    NAME="AT Translated Set 2 keyboard"
    PHYS="isa0060/serio0/input0"
    PRODUCT=11/1/1/ab41
    PROP=0
    SUBSYSTEM=input
    UDEV_LOG=6
    USEC_INITIALIZED=5011892
    Last edited by killnine (2012-01-25 14:39:33)

    I'm glad that fixed your keyboard.
    Good idea about the wiki page. If/when I have time I will add something. Feel free to do so if you have some.
    I've not had the computer for long, however the core install boots and works fine, but after updating the keyboard and mouse become unresponsive, so unfortunately from my perspective, one of the updates in the past 4 or 5 months broke it! However, though I've not tried any combinations of boot parameters, the vast majority of live CDs won't even boot without acpi=off (or presumably, only acpi=noirq is actually needed, looking at your tests) so it doesn't look to be Arch specific.
    For your X problems, are you using a DE or WM, and how are you logging in? If you can disable the login manager (if present) and start an X session with startx, with say only exec xterm in your ~/.xinitrc that might help pinpoint the issue. If that works, it will unlikely be an X issue, more one of your DE/WM.

  • Using Firefox 3.6 after a few mouse click/ keyboard input the firefox window is no more active, mouse click and keyboard input is inactive ; then I click on the taskbar and the keyboard is active again during a few click then it stops again etc.

    Using Firefox 3.6 after a few mouse click/ keyboard input the firefox window is no more active, mouse click and keyboard input is inactive ;
    to solve it I click on the taskbar and the keyboard is active again during a few click then it does not work any more and I click again on the task bar etc.
    after several repetitions, I have to call the task manager alt+del+ctrl, then come back to the firefox window to be able to use keyboard and mouse again

    Attaching the picture for the tab shape I want...

  • OSX/SL 10.6.8 all window apps lose keyboard input; mouse and cmd-N work for spaces

    Input suddenly stops going to all applications, from MacBook Pro and wireless keyboards, and from "Show Keyboard viewer" (OSX 10.6.8 'Snow Leopard', MacBook Pro). Though the OSX Keyboard Viewer shows the keys onscreen as they are pressed on the MacBook and wireless keyboards. 'Spaces' responds to cmd-N commands, but no input is possible to any running or newly-started 3rd party or Apple-provided application. Killing off applications one by one doesn't recover keyboard input ability;  a complete reboot appears necessary to restore the ability to key input into applications. This happens repeatedly, yet never registers as an OS/X 'crash' because 'Force Quit'ting applications and restarting is still possible using only the magic mouse or trackpad.   No data  whether only logging out and back in would correct the apparent input-focus disconnect of all applications with the window manager. There may be some way to restart the window manager by using the mouse to open up new apps and/or cut and paste characters ( including a carriage return ) or cut and paste entire saved typed commands into a terminal window.

    Do a backup, using either Time Machine or a cloning program, to ensure files/data can be recovered. Two backups are better than one.
    Try setting up another admin user account to see if the same problem continues. If Back-to-My Mac is selected in System Preferences, the Guest account will not work. The intent is to see if it is specific to one account or a system wide problem. This account can be deleted later.
    Isolating an issue by using another user account
    If the problem is still there, try booting into the Safe Mode using your normal account.  Disconnect all peripherals except those needed for the test. Shut down the computer and then power it back up after waiting 10 seconds. Immediately after hearing the startup chime, hold down the shift key and continue to hold it until the gray Apple icon and a progress bar appear. The boot up is significantly slower than normal. This will reset some caches, forces a directory check, and disables all startup and login items, among other things. When you reboot normally, the initial reboot may be slower than normal. If the system operates normally, there may be 3rd party applications which are causing a problem. Try deleting/disabling the third party applications after a restart by using the application un-installer. For each disable/delete, you will need to restart if you don't do them all at once.
    Safe Mode - About
    Safe Mode

  • I need to get Keyboard input as well as mouse input on a JButton

    I need to get Keyboard input as well as mouse input on a JButton
    I have attempted to implement KeyListener. I get the keyCode but I need it to go in to the same String variable as my Actionlistener section.

    Here is the code I have trouble with getting keyboard input as wells as mouse input into the same variable.
    public class Calctester extends JFrame
    implements ActionListener, KeyListener
    private double var1, var2;//var1 and var2 are used to perform calculation
    String operand1 = "";//takes first input until an operator is pressed
    String operand2 = "";//takes input after operator is invoked
    double result;//is used to store the result
    boolean flag = false;//to signal operator pressed
    boolean decimalFlag = false;//to signal decimal pressed
    String stringInput;//used as a temporary store for all entry to allow for conditions to be evaluated
    char ch; //used to store the operator for comparison//Reason is pre does not compare using string
    String pre = "";//used to store the operator
    double mem; //will hold memory operation values
    double vMod; //Temporary store for var2 to be used with percent operations
    //Creates buttons
    JButton btn0 = new JButton("0");
    JButton btn1 = new JButton("1");
    JButton btn2 = new JButton("2");
    JButton btn3 = new JButton("3");
    JButton btn4 = new JButton("4");
    JButton btn5 = new JButton("5");
    JButton btn6 = new JButton("6");
    JButton btn7 = new JButton("7");
    JButton btn8 = new JButton("8");
    JButton btn9 = new JButton("9");
    JButton btnC = new JButton("C");
    JButton btnCE = new JButton("CE");
    JButton btnBkpSpc = new JButton("Backspace");
    JButton btnPlus = new JButton("+");
    JButton btnMinus = new JButton("-");
    JButton btnMultiply = new JButton("*");
    JButton btnDivide = new JButton("/");
    JButton btnEquals = new JButton("=");
    JButton btnPeriod = new JButton(".");
    JButton btnPlusMinus = new JButton("+/-");
    JButton btnSqrt = new JButton("sqrt");
    JButton btnMod = new JButton("%");
    JButton btnOneOverX = new JButton("1/x");
    JButton btnMC = new JButton("MC");
    JButton btnMR = new JButton("MR");
    JButton btnMS = new JButton("MS");
    JButton btnMPlus = new JButton("M+");
    //Displays Text area for Display
    JTextField txtArea = new JTextField("0.");//The calculation display area set to 0.
    JTextField mArea = new JTextField();//to display memory operations
    //Default constructor
    Calctester()
    //Defines a content pane
    Container c = getContentPane();
    //Defines the layout of the frame and sets it to null to allow absolute positioning
    c.setLayout(null);
    //Defines event handling
    btn0.addActionListener(this);
    btn1.addActionListener(this);
    btn2.addActionListener(this);
    btn3.addActionListener(this);
    btn4.addActionListener(this);
    btn5.addActionListener(this);
    btn6.addActionListener(this);
    btn7.addActionListener(this);
    btn8.addActionListener(this);
    btn9.addActionListener(this);
    btnC.addActionListener(this);
    btnCE.addActionListener(this);
    btnBkpSpc.addActionListener(this);
    btnPlus.addActionListener(this);
    btnMinus.addActionListener(this);
    btnDivide.addActionListener(this);
    btnMultiply.addActionListener(this);
    btnEquals.addActionListener(this);
    btnPeriod.addActionListener(this);
    btnPlusMinus.addActionListener(this);
    btnSqrt.addActionListener(this);
    btnMod.addActionListener(this);
    btnOneOverX.addActionListener(this);
    btnMR.addActionListener(this);
    btnMS.addActionListener(this);
    btnMPlus.addActionListener(this);
    btnMC.addActionListener(this);
    btn1.addKeyListener(this);
    //Adds the buttons to the frame and sets the font of the label to be
    //logical font Dialog,plain as opposed to Bold and the label size to 12
    //Also sets the border type of aech button
    c.add(btn0).setFont(new Font("Dialog", Font.PLAIN, 12));
    btn0.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btn1).setFont(new Font("Dialog", Font.PLAIN, 12));
    btn1.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btn2).setFont(new Font("Dialog", Font.PLAIN, 12));
    btn2.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btn3).setFont(new Font("Dialog", Font.PLAIN, 12));
    btn3.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btn4).setFont(new Font("Dialog", Font.PLAIN, 12));
    btn4.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btn5).setFont(new Font("Dialog", Font.PLAIN, 12));
    btn5.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btn6).setFont(new Font("Dialog", Font.PLAIN, 12));
    btn6.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btn7).setFont(new Font("Dialog", Font.PLAIN, 12));
    btn7.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btn8).setFont(new Font("Dialog", Font.PLAIN, 12));
    btn8.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btn9).setFont(new Font("Dialog", Font.PLAIN, 12));
    btn9.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnC).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnC.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnCE).setFont(new Font("Helvetica", Font.PLAIN, 12));
    btnCE.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnBkpSpc).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnBkpSpc.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnPlus).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnPlus.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnMinus).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnMinus.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnMultiply).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnMultiply.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnDivide).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnDivide.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnEquals).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnEquals.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnPeriod).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnPeriod.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnPlusMinus).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnPlusMinus.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnMod).setFont(new Font("Albertus Medium", Font.PLAIN, 12));
    btnMod.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnSqrt).setFont(new Font("Microsoft San Serif", Font.PLAIN, 11));
    btnSqrt.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnOneOverX).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnOneOverX.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnMC).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnMC.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnMS).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnMS.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnMR).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnMR.setBorder(new BevelBorder(BevelBorder.RAISED));
    c.add(btnMPlus).setFont(new Font("Dialog", Font.PLAIN, 12));
    btnMPlus.setBorder(new BevelBorder(BevelBorder.RAISED));
    //sets the color of the label of the buttons
    btnC.setForeground(Color.red);
    btnCE.setForeground(Color.red);
    btnBkpSpc.setForeground(Color.red);
    btnDivide.setForeground(Color.red);
    btnMultiply.setForeground(Color.red);
    btnMinus.setForeground(Color.red);
    btnPlus.setForeground(Color.red);
    btnMC.setForeground(Color.red);
    btnMR.setForeground(Color.red);
    btnMS.setForeground(Color.red);
    btnMPlus.setForeground(Color.red);
    btnEquals.setForeground(Color.red);
    btn0.setForeground(Color.blue);
    btn1.setForeground(Color.blue);
    btn2.setForeground(Color.blue);
    btn3.setForeground(Color.blue);
    btn4.setForeground(Color.blue);
    btn5.setForeground(Color.blue);
    btn6.setForeground(Color.blue);
    btn7.setForeground(Color.blue);
    btn8.setForeground(Color.blue);
    btn9.setForeground(Color.blue);
    btnPlusMinus.setForeground(Color.blue);
    btnSqrt.setForeground(Color.blue);
    btnMod.setForeground(Color.blue);
    btnOneOverX.setForeground(Color.blue);
    btn0.setFocusPainted(false);
    btnPlus.setFocusPainted(false);
    btnEquals.setFocusPainted(false);
    //The display text area and the memory operation text area
    c.add(txtArea);
    txtArea.setBorder(new BevelBorder(BevelBorder.LOWERED));
    txtArea.setBounds(7,0,240,25);//To provide a Text box @ the top of the frame
    txtArea.setEditable(false);
    txtArea.setBackground(Color.white);
    c.add(mArea);
    mArea.setBounds(13, 35, 28, 25);
    mArea.setEditable(false);
    mArea.setBorder(new BevelBorder(BevelBorder.LOWERED));
    setSize(260,251);//size of the frame
    setTitle("Calculator"); //Title
    setVisible(true); //this makes the frame visible on the screen
    setResizable(false); //this disallow resizing of the frame
    setDefaultCloseOperation(EXIT_ON_CLOSE);//to close app
    //instead of the above method you can use the WindowsListener which extennds other classes and implements other interfaces.
    setLocation(300,200);//positioning of the window on the screen
    txtArea.setHorizontalAlignment(JTextField.RIGHT);//sets the text in the text field to the right
    mArea.setHorizontalAlignment(JTextField.CENTER);//centers the label
    JMenu editMenu = new JMenu("Edit");//creates menu
    JMenuItem copy = new JMenuItem("Copy Ctrl+C");//creates menu item
    copy.addActionListener(this);//event handling
    JMenuItem paste = new JMenuItem("Paste Ctrl+V");//creates menu
    paste.addActionListener(this);//event handling
    JMenuBar myMenu = new JMenuBar();//declares a menu bar
    setJMenuBar(myMenu);//adds the menu bar to the frame
    editMenu.setBorderPainted(false);//removes the border shadow around the menu bar
    myMenu.setBorderPainted(false);//removes the border shadow around menu bar
    //adds menu items to the menu, sets the font and font size.
    editMenu.add(paste).setFont(new Font("Dialog", Font.PLAIN, 12));//
    editMenu.add(copy).setFont(new Font("Dialog", Font.PLAIN, 12));
    myMenu.add(editMenu).setFont(new Font("Dialog", Font.PLAIN, 12));
    JMenu viewMenu = new JMenu("View");//creates menu
    JMenuItem sci = new JMenuItem("Scientific");//creates menu item
    sci.addActionListener(this);//event handling
    JMenuItem std = new JMenuItem("Standard");//creates menu item
    //adds menu items to the menu, sets the font and font size.
    viewMenu.add(sci).setFont(new Font("Dialog", Font.PLAIN, 12));
    viewMenu.add(std).setFont(new Font("Dialog", Font.PLAIN, 12));
    myMenu.add(viewMenu).setFont(new Font("Dialog", Font.PLAIN, 12));
    JMenu helpMenu = new JMenu("Help");//creates menu
    JMenuItem helpTopics = new JMenuItem("Help Topics");//creates menu item
    JMenuItem aboutCalc = new JMenuItem("About Calculator");//creates menu item
    helpTopics.addActionListener(this);//event handling
    //helpTopics.setBorder(new BevelBorder(BevelBorder.RAISED));
    helpTopics.setBorder(LineBorder.createGrayLineBorder());
    //adds menu items to the menu, sets the font and font size.
    helpMenu.add(helpTopics).setFont(new Font("Dialog", Font.PLAIN, 12));
    helpMenu.add(aboutCalc).setFont(new Font("Dialog", Font.PLAIN, 12));
    myMenu.add(helpMenu).setFont(new Font("Dialog", Font.PLAIN, 12));
    //aboutCalc.setBorder(new BevelBorder(BevelBorder.RAISED));
    aboutCalc.setBorder(LineBorder.createGrayLineBorder());
    //aboutCalc.setActionCommand("Nothing here right now");
    //Setting absolute positions for the buttons.
    btn0.setBounds(50, 160, 35, 28);
    btn1.setBounds(50, 130, 35, 28);
    btn2.setBounds(90, 130, 35, 28);
    btn3.setBounds(130, 130, 35, 28);
    btn4.setBounds(50, 100, 35, 28);
    btn5.setBounds(90, 100, 35, 28);
    btn6.setBounds(130, 100, 35, 28);
    btn7.setBounds(50, 70, 35, 28);
    btn8.setBounds(90, 70, 35, 28);
    btn9.setBounds(130, 70, 35, 28);
    btnC.setBounds(180, 35, 63, 28);
    btnCE.setBounds(115, 35, 63, 28);
    btnBkpSpc.setBounds(50, 35, 63, 28);
    btnPlus.setBounds(170, 160, 35, 28);
    btnMinus.setBounds(170, 130, 35, 28);
    btnMultiply.setBounds(170, 100, 35, 28);
    btnDivide.setBounds(170, 70, 35, 28);
    btnEquals.setBounds(210, 160, 35, 28);
    btnPeriod.setBounds(130, 160, 35, 28);
    btnPlusMinus.setBounds(90, 160, 35, 28);
    btnMC.setBounds(8, 70, 35, 28);
    btnMR.setBounds(8, 100, 35, 28);
    btnMS.setBounds(8, 130, 35, 28);
    btnMPlus.setBounds(8, 160, 35, 28);
    btnSqrt.setBounds(210, 70, 35, 28);
    btnMod.setBounds(210, 100, 35, 28);
    btnOneOverX.setBounds(210, 130, 35, 28);
    // btn7.addKeyListener(this);
    try
    UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
    SwingUtilities.updateComponentTreeUI(this);
    catch (Exception e)
    System.out.println("Could not load Metal Look and Feel");
    public void keyReleased(KeyEvent e)
    //btn1 = txtArea.getRegisteredKeyStrokes();
    // System.out.println(1);
    // keyTyped();
    public void keyPressed(KeyEvent e)
    //if (e.getActionCommand().equals("1"));
    //(e.getKeyText().compareTo("1"));
    //(e.getKeyCode().equals("1"));
    //else
    System.out.println("Error");
    //keyTyped();
    public void keyTyped(KeyEvent e)
    //displayInfo(e, "KEY TYPED: ");
    System.err.println("KeyTyped >>> " + e.KEY_TYPED);
    //keyEvent.keyTyped();
    // e.KEY_TYPED;
    /* protected void displayInfo (KeyEvent e, string s)
    {KeyCodeString;
    int keyCode = e.getKeyCode();
    keyCodeString = "key code " + keyCode
    + "("
    + KeyEvent.getKeyText(keyCode);
    public void actionPerformed(ActionEvent e)
    stringInput = e.getActionCommand();
    System.out.println("First stringInput action performed>>" +stringInput);
    System.out.println("First pre action performed>>" +pre);
    if (stringInput == "C")
    operand1 = "";
    operand2 = "";
    var1 = 0;
    var2 = 0;
    var1 = result;
    txtArea.setText("0.");
    flag = false;//to force the operations to jump to operand 1 and go through the loop as normal
    pre = "";
    if (stringInput == "CE")
    operand2 = "";
    var2 = 0;
    txtArea.setText("0.");
    flag = true;//to force the operations to jump to operand 1 and go through the loop as normal
    if (stringInput == "MR")
    if (var1 != 0)
    txtArea.setText(Double.toString(var1));
    mArea.setText("M");
    System.err.println("mem@operand1 >> "+ mem );
    else if (var2 != 0)
    txtArea.setText(Double.toString(var2));
    mArea.setText("M");
    System.err.println("mem @ mR else>> "+ mem );
    if (stringInput == "MS")
    mArea.setText("M");
    if (operand1 != "")
    mem = var1;
    else if (operand2 != "")
    mem = var2;
    else
    mem = 0;
    if (stringInput == "MC")
    mArea.setText("");//to clear the text area display
    mem = 0;//to reset the variable
    if (stringInput == "M+")
    mArea.setText("M");
    flag = true;//to force the operations to jump to operand 2 and go through the loop as normal
    if (stringInput == "=")
    //result = evaluate();
    txtArea.setText(Double.toString(result));
    System.out.println("Equals>>" +stringInput);
    System.out.println("Equals>>" +pre);
    System.err.println("The flag at equals is " + flag);
    if (stringInput == "+"||stringInput == "-"||stringInput == "/"||
    stringInput == "*"||stringInput == "=")
    pre = pre.concat(stringInput);
    System.out.println("Second action perfo/check for operator>>" +stringInput);
    System.out.println("Second pre action perfo/check for operator>>" +pre);
    operand2 = "";
    System.err.println("The flag at +,- etc is " + flag);
    if(!flag &&(stringInput == "*"|| stringInput == "/"))
    var2 = 1;
    stringInput = "";
    flag = true;
    if(!flag)
    stringInput = pre;
    System.out.println("if flag true/stringInput" +stringInput);
    System.out.println("flag true/pre" +pre);
    else
    //These statements extract the operator
    stringInput = pre.valueOf(pre.charAt(pre.length()-2));
    ch = pre.charAt(pre.length()-2);
    System.out.println("@ position -2 stringInput" + pre.valueOf(pre.charAt(pre.length()-2)));
    System.out.println("@ position -2 pre" + pre.charAt(pre.length()-2));
    result = evaluate();
    var2 = 0;
    operand2 = "";
    txtArea.setText(Double.toString(result));
    System.out.println("Total is " + result);
    flag = true;
    if(!flag &&(stringInput == "*"|| stringInput == "/"))
    var2 = 1;
    stringInput = "";
    flag = true;
    if (stringInput == "%")
    //evaluate();
    txtArea.setText(Double.toString(result));
    System.err.println("mem @ mR else>> "+ result + " %" );
    if (stringInput == "1/x")
    if (operand1 != "")
    txtArea.setText(Double.toString(1/var1));
    //System.err.println("mem@operand1 >> "+ mem );
    else if (operand2 != "")
    operand2 = "";
    txtArea.setText(Double.toString(1/var2));
    //System.err.println(">> "+ mem );
    if (Character.isDigit(stringInput.charAt(0))||stringInput == ".")
    System.out.println(operand1);
    if (stringInput == "." && operand1 == "")
    operand1 = "0";
    System.out.print("fail op1");
    if (stringInput == "." && operand2 == "")
    System.out.print("fail op2");
    operand2 = "0";
    if (flag==false)
    operand1 = operand1.concat(stringInput);
    result = Double.parseDouble(operand1);
    System.out.println("op1 =>" + operand1);
    txtArea.setText(operand1);
    //result = var1;
    System.out.println("result after var1 = result " + result);
    else
    operand2 = operand2.concat(stringInput);
    var2 = Double.parseDouble(operand2);
    //var2 = vMod;
    System.out.println("op2 =>" + operand2);
    txtArea.setText(" ");//to clear the text area
    txtArea.setText(operand2);//to display the second number if (operators == "+")
    System.out.println("result after var2 " + result);
    public double evaluate()
    if (ch == '+' )
    result = result + var2;
    if (ch == '-' )
    result = result - var2;
    if (ch == '/' )
    result = result / var2;
    if (ch == '*' )
    result = result * var2;
    if (ch == '%')
    var2 = Double.parseDouble(operand2);
    result = result/vMod*100;
    System.out.println("% "+ result);
    return result;
    public static void main(String [] args)
    Calctester x = new Calctester();
    }

  • Can java program simulate keyboard input?

    is it possible to create a java program or applet that simulates an end-user's keyboard input into another java applet? is it also possible to feed the output of that target applet to a file based on the different input combinations?
    and How?
    Thanks.

    Take a look at the API-docs for the class java.awt.Robot . This generates system-level input-events. Might not work in an applet, I do not know whether an applet has the right to do this.
    The second question is actually the more difficult one, since normal applets can not do file access.

  • Keyboard Input Sans Keyboard

    I'm looking for the most simple program that will let me do keyboard input from a bash script.  (or if library I can write a quick script with). Being able to move the mouse as well is also desired, or a seperate program/library for that.
    Thanks.
    Last edited by Mardoct (2010-06-12 21:14:16)

    Im not sure what you want? Do you want to simulate keypresses in an X environment?

  • S12 Nano locks up and ignores mouse/keyboard

    I'm experiencing frequent lockups, where the system ignores mouse clicks and keyboard input.  The mouse (external usb or trackpad) will continue to move, but clicks and taps are ignored.  The windows key still works, and the system responds to ctrl-alt-del and Fn keys - and nothing else.  It doesn't seem to be a hardware problem.  In fact I'm convinced its a driver issue, or a problem with Win XP altogether mishandling interrupts on the new nano platform.  Any ideas?

    Sorry to hear you're also having trouble, although its nice to know I'm not alone.  I'm still having issues where Win XP ignores input on occasion, and I'm sill convinced its a windows (or perhaps driver) issue, as I've been able to free it a few times by killing a stuck application.  It always responds to ctrl-alt-del to bring up the task manager, so I can usually get the system unwedged - at the cost of losing whatever I was working on in the app that fell asleep on my interrupt, or whatever sort of nonsense causes this.  I stopped using it for any meaningful tasks after the first couple of episodes, but I may end up running ubuntu on it - if for nothing else to prove to myself that it isn't a hardware issue

  • Spaces locks keyboard input

    Per Sean Dale1, the following was mis-posted in the 10.5 Leopard thread (original post here: http://discussions.apple.com/thread.jspa?threadID=2201088):
    Have been running into this problem more and more frequently on both a MacBook Pro and Mac Pro tower running 10.6.1 and 10.6.2: when I Control-right-arrow to move to my other "space" one or two of two bad things will happen:
    (1) the icon in the middle-bottom of the screen showing which "space" I'm in does NOT fade away and disappear
    (2) I am prevented from doing ANY keyboard-input into my programs there. I will be able to click and highlight windows using the mouse, as well as see menus activating and such, but anywhere there is a text field (browser or address book or ANYwhere) keyboard input is not displayed.
    The only solution is to go into the Activity Monitor and quit the Dock application.
    Have been seeing this problem for a few weeks which persists through reboots and such.
    Ideas?

    This issue is being covered in more detail at this thread:
    http://discussions.apple.com/thread.jspa?threadID=2161076
    This suddenly started happening to me yesterday and now happens every time I switch Spaces with the keyboard. I've found that the only way around it is to only use the menubar icon to switch. Because I'm so used to clicking keys to switch Spaces and still do it unconsciously, I've disabled the keys in Spaces prefs.

  • Installed rdesktop - but keyboard input still goes to Mac Terminal??

    My work PC has been "upgraded" to Windows 7 which made the Microsoft Remote Desktop Connection v2.0.1 stop working (it connects OK, I can login and see my work PC screen, but as soon as I try to do something I am "disconnected" from the PC).  I can't install RDC 2.1 because I have a PPC G5.
    So I searched for alternative remote desktop apps.  Cord 0.5.0 crashes on my machine and 0.5.5 won't even start up.
    I ended up installing rdesktop (www.rdesktop.org)
    It looks promising - very fast, and gets me to my PC login screen.  My mouse pointer can click on the screen buttons, but any keyboard input appears in my G5 Terminal window and is not sent to the Windows 7 PC.  This makes it impossible to enter my Windows 7 password to login!
    I'm sure this is a simple problem to solve but I have no idea on how to solve it.
    Any clues appreciated.  Thanks.

    Try:
    rdesktop -x m -r clipboard:"CLIPBOARD" -g 1280x1024 -u<username> <hostip>
    I do recommend using ssh tunnel for RDP over internet. Is more secure and limits open ports to only ssh port in firewall.
    There are instructions about on how to use cygwin with RSA key login, turn off ssh password login when working properly.

  • Maple13, tiling wm and keyboard input

    Hi,
    I am using a tiling wm (musca). I installed maple and at first had the problem, that maple would show only a grey window.
    Using wmname and
    wmname LG3D
    I resolved the problem. Now the problem is, that the worksheets wont accept my keyboard input.
    Mouse/menus work. All dialogs also work with keyboard input.
    If I open a new worksheet, input works. But as soon as I switch worksheet it does not work anymore.
    Anyone an Idea what I could do?
    Thanks!
    PS: I already tried sun jre (from pacman) and openjdk6 by changing the maple startup file. It's always the same

    Depending in your window manager you may have the option to add a floating workspace. Try working there. If that doesn't solve the problem you can try runing an aditional floating window manager inside a Xnest or a Xephyr session. This has worked for me for some other problematic applications. For example try:
    Xephyr -ac -br -host-cursor -noreset -screen 1280x800 :1 &
    sleep 3
    twm -display :1
    this will initiate a new X session inside yours, which will be managed by twm. There you can run a terminal and of course maple. Maybe is a sub optimal workaround, but is the only alternative I have found.
    (Note that Xephyr is found in xorg-server-xephyr package and twm, well in xorg-twm )

  • HttpServer error in reading buffer size via keyboard input - HELP

    I've written a simple HttpServer program that reads keyboard input to construct a buffer to copy the requested file into the socket's output stream. I've done the string-to-integer conversion using BufferedReader and parse.Int. However, when I go to use the int later in the program, I keep getting the message "variable b may not have been initialized." Can anyone tell me what's missing from the code below? Thanks.
    private static void sendBytes(FileInputStream fis, OutputStream os)throws Exception
         //Construct a buffer via console input
         BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
         String str;
         int b;
              System.out.println("Enter desired buffer size or CTRL-C to break.");
         //Convert entry to an integer
         do
              str = br.readLine();
                 try
                   b = Integer.parseInt(str);
              catch(NumberFormatException e)
                   System.out.println("Invalid entry.");
         while((str=br.readLine())!=null);
         //Construct a buffer
         byte[] buffer = new byte;
         int bytes = 0;
         //Begin timing HTML page delivery
         long start, end;
              System.out.println("Timing for Web page delivery");
         start = System.currentTimeMillis();
         //Copy requested file into the socket's output stream
              while((bytes = fis.read(buffer)) != -1)
              os.write(buffer, 0, bytes);

    As the message suggests, what is missing is code to initialize the variable b. The first mention ("int b;") does not initialize it. The second mention ("b = Integer.parseInt(str);") only initializes it if no exception is thrown. So it's possible for b to be uninitialized when you actually try to use it.
    What do you need to change? First you need to decide what's to be done if the keyboard input isn't a valid integer. Do you have a default value in mind? If so, put that where you declare the variable ("int b = 42;"). If not, just initialize the variable to zero ("int b = 0;").

  • Keyboard Input Non-Functional

    When I attempt to play any flash game on any given website I
    get no feedback from the game. Mouse movements and clicks do,
    however, work. I'm running on an iMac G5 with the latest Flash
    Player installed. I've tried uninstalling Flash then reinstalling
    as well as several different browsers (Safari, Firefox, Opera) to
    no avail.
    I've noticed a few topics about this problem around the web
    with no answer... I'm hoping there is one :\
    Thanks in advance!

    I am using a Bluetooth keyboard. I've noticed that the issue
    does resolve itself when using a USB keyboard.
    Ex: launch flash game with BT keyboard, games ignores
    keyboard input. Connect USB keyboard - game responds normally and
    the keys on the BT are still ignored.
    Leaging the game running, switch to textedit and all the keys
    on the BT keyboard are recognized. Back to the game = BT ignored,
    USB works.
    I'd like to blame this all on Adobe but Why would Apple even
    make is possible to distinguish between a BT and USB keyboard at
    the Application level?

Maybe you are looking for