tucked away into a tiny corner

Wednesday, December 19, 2007

Interesting Puzzle

Recently, I went down to visit my mother in Florida. She has System76 Koala as her main workstation. She has run her own business all her life as a Piano/Organ Teacher. While I was there she asked me to connect her Yamaha Clavinova keyboard to the computer via the Midi protocol. So, first we bought a MIDI to USB cable, and then I installed UbuntuStudio so that we could have the low-latency kernel plus all the easy setup on the machine. (Everything is Gutsy) So Rosegarden nicely made sounds when I plotted notes on the staff, plus when I had added the drivers in the repos for the midi-to-usb cable we were using it was seen by the computer. However, and this is the big problem, I was unable to get a data stream into Rosegarden via the cable nor was I able to control the keyboard through the Output. This was true across a couple of other applications. I had to return home before I was able to get things working better, but I am still able to access the machine and I am also able to get a reliable set of hands and eye over there, but it would be nice if we can find a way to solve this problem.

Friday, December 14, 2007

Touch Me, I'm Sick

Thanks to a reader out there in the blogosphere, Dean, I was pointed to a very handy forum page. The result of following these directions, I now have touchscreen support. After some hacking on a train, I got the stylus to be fairly accurate. SO here's the scoop:
  1. Make certain that the BIOS is selected to "touch panel" not "tablet"
  2. installe the evtouch driver, which is as simple as "sudo apt-get install evtouch"
  3. Then here is my xorg.conf
  4. # xorg.conf (xorg X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file with caution, and see the xorg.conf manual page.
    # (Type "man xorg.conf" at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    # sudo dpkg-reconfigure -phigh xserver-xorg

    Section "Files"
    EndSection

    Section "InputDevice"
    Identifier "Generic Keyboard"
    Driver "kbd"
    Option "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    EndSection

    Section "InputDevice"
    Identifier "Configured Mouse"
    Driver "mouse"
    Option "CorePointer"
    Option "Device" "/dev/input/mice"
    Option "Protocol" "ImPS/2"
    Option "ZAxisMapping" "4 5"
    Option "Emulate3Buttons" "true"
    EndSection

    Section "InputDevice"
    Identifier "Synaptics Touchpad"
    Driver "synaptics"
    Option "SendCoreEvents" "true"
    Option "Device" "/dev/psaux"
    Option "Protocol" "auto-dev"
    Option "HorizEdgeScroll" "0"
    EndSection

    Section "InputDevice"
    Driver "wacom"
    Identifier "stylus"
    Option "Device" "/dev/input/wacom"
    Option "Type" "stylus"
    Option "ForceDevice" "ISDV4" # Tablet PC ONLY
    EndSection

    Section "InputDevice"
    Driver "wacom"
    Identifier "eraser"
    Option "Device" "/dev/input/wacom"
    Option "Type" "eraser"
    Option "ForceDevice" "ISDV4" # Tablet PC ONLY
    EndSection

    Section "InputDevice"
    Driver "wacom"
    Identifier "cursor"
    Option "Device" "/dev/input/wacom"
    Option "Type" "cursor"
    Option "ForceDevice" "ISDV4" # Tablet PC ONLY
    EndSection

    Section "InputDevice"
    Identifier "Touchscreen"
    Driver "evtouch"
    Option "Device" "/dev/input/by-id/usb-Fujitsu_Component_USB_Touch_Panel-event-joystick"
    Option "DeviceName" "Touchscreen"
    Option "MinX" "570"
    Option "MinY" "745"
    Option "MaxX" "15250"
    Option "MaxY" "15575"
    # Option "SwapX" "1"
    # Option "SwapXY" "1"
    # Option "ReportingMode" "Raw"
    # Option "Emulate3Buttons"
    # Option "Emulate3Timeout" "50"
    # Option "TapTimer" "0"
    # Option "LongTouchTimer" "250"
    Option "SendCoreEvents"
    EndSection

    Section "Device"
    Identifier "Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"
    Driver "intel"
    BusID "PCI:0:2:0"
    EndSection

    Section "Monitor"
    Identifier "Generic Monitor"
    Option "DPMS"
    EndSection

    Section "Screen"
    Identifier "Default Screen"
    Device "Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"
    Monitor "Generic Monitor"
    DefaultDepth 24
    SubSection "Display"
    Modes "640x480"
    EndSubSection
    EndSection

    Section "ServerLayout"
    Identifier "Default Layout"
    Screen "Default Screen"
    InputDevice "Generic Keyboard"
    InputDevice "Configured Mouse"

    # Uncomment if you have a wacom tablet
    # InputDevice "stylus" "SendCoreEvents"
    # InputDevice "cursor" "SendCoreEvents"
    # InputDevice "eraser" "SendCoreEvents"

    InputDevice "Touchscreen" "SendCoreEvents"
    # InputDevice "Synaptics Touchpad"
    EndSection

There is more work that needs to be done to make the stylus pixel perfect accurate, as it stands now there is about five or six pixels of difference, but it does work.

Technorati Tags: , , , , ,

Sunday, December 09, 2007

I am an Associate.

After two years o hard work, even writing papers on my honey moon, I have now received my first college degree. My final GPA for the course of study is a 3.2, which I am quite proud to have earned. Next I will pursue my Bachelor's of Science in Computer Science with a focus in the discipline of Internet Engineering. I have transferred to a new academy, Ellis College at New York Institute of Technology for this educational path. New school, new website. Also requires that I use Internet Explorer and Shockwave, which I can run on my computer through the purchase of CrossOver for Linux. This certainly is my least favorite aspect of the new school thus far, however there are some aspects of the new school which I find much more appealling- they do actually offer a degree in ComSci!!

Anyways, I am quite happy to have completed all of that, and now look forward to what's in front of me.

Sunday, December 02, 2007

Mark me inactive



Facebook Executive Discusses Beacon Brouhaha - Bits - Technology - New York Times Blog
“One of the things we try to do is listen to feedback as much as possible. Just to give you where a lot of this feedback is coming from, it’s coming more from the press than specific users,” he said. “Right now, the right thing to do is to make sure we speak to actual users, not the pundits.”



Just so you know, I'm not a pundit and I am no longer spending time using Facebook because of Beacon.

Powered by ScribeFire.