You are viewing azure

_azure

> Recent Entries
> Archive
> Friends
> Profile
> My Website
> previous 10 entries

December 29th, 2008


12:55 am


https://osuny.co.uk/~azure/txt/openbsd_thinkpad_x41_tablet.txt

.----------------------------------------------------------------------------.
|                                                                            |
|-----------------/ OpenBSD on the Thinkpad X41 Tablet /---------------------|
|                                                                            |
`----------------------------------------------------------------------------'
 azure@osuny.co.uk ============================== https://osuny.co.uk/~azure

Linux and OSX86 have not cornered the market for *nix-based Tablet PCs. The linuxwacom [1] driver project has been ported to FreeBSD as a package and can also be coaxed to compile on OpenBSD/i386 systems. Kernel modules are not required for the tablet to function normally.


_/ Compiling linuxwacom

linuxwacom-0.8.2 is available from Sourceforge:

  [ http://prdownloads.sourceforge.net/linuxwacom/linuxwacom-0.8.2.tar.bz2 ]

    # bunzip2 linuxwacom-0.8.2.tar.bz2 && tar xvf linuxwacom-0.8.2.tar
    # cd linuxwacom-0.8.2
    # ./configure


At this point you will need to edit src/xdrv/xf86Wacom.c and comment out lines 928-939. Otherwise the compile will fail with complaints from the USB-specific code.

    # gmake && gmake install

_/ Modifying the Running Kernel to Recognize the X41's Serial Tablet

Because the Wacom hardware in most Tablet PCs utilizes non-standard serial configurations, it is necessary to modify the OpenBSD kernel to detect the X41's Wacom Penabled [2] tablet:

    # mv /bsd /bsd.old
    # config -o /bsd -e /bsd.old

      OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
        deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
      Enter 'help' for information

    ukc> change com


      227 com0 at isa0 port 0x3f8 size 0 iomem -1 iosiz 0 irq 4 drq -1 drq2 -1 flags 0x0
      change [n] y
      port [0x3f8] ? 0x200
      size [0] ?
      iomem [-1] ?
      iosiz [0] ?
      irq [4] ? 5
      drq [-1] ?
      drq2 [-1] ?
      flags [0] ?
      227 com0 changed
      227 com0 at isa0 port 0x200 size 0 iomem -1 iosiz 0 irq 5 drq -1 drq2 -1 flags 0x0
      228 com1 at isa0 port 0x2f8 size 0 iomem -1 iosiz 0 irq 3 drq -1 drq2 -1 flags 0x0
      change [n]
      229 com2 at isa0 port 0x3e8 size 0 iomem -1 iosiz 0 irq 5 drq -1 drq2 -1 flags 0x0
      change [n]
      230 com* at ast0 slave -1 flags 0x0
      change [n]
      231 com* at pcmcia* function -1 irq -1 flags 0x0

      change [n]
      232 com* at isapnp0 port -1 size 0 iomem -1 iosiz 0 irq -1 drq -1 flags 0x0
      change [n]
      233 com* at puc* port -1 flags 0x0
      change [n]
      234 com* at cardbus* dev -1 function -1 flags 0x0
      change [n]

    ukc> quit

      Saving modified kernel.

    Upon reboot your system should detect the com0 device:

      com0 at isa0 port 0x200/8 irq 5: ns16550a, 16 byte fifo


_/ Xorg Configuration

---/ xorg.conf

Download my xorg.conf here:

  [ https://osuny.co.uk/~azure/x41/conf/xorg.conf ]


Information about the serial tablet must be added to xorg.conf:

    Section "ServerLayout"
          Identifier     "default"
          Screen      0  "Screen0" 0 0
          InputDevice    "Mouse0" "CorePointer"
          InputDevice    "Keyboard0" "CoreKeyboard"
          InputDevice    "cursor" "SendCoreEvents"
          InputDevice    "stylus" "SendCoreEvents"
    EndSection
    
    Section "InputDevice"
          Driver        "wacom"
          Identifier    "cursor"
          Option        "Device"        "/dev/tty00"
          Option        "Type"          "cursor"
          Option        "ForceDevice"   "ISDV4"
          Option        "Mode"          "Absolute"
          Option        "TPCButton"     "on"
    EndSection
    
    Section "InputDevice"
          Driver        "wacom"
          Identifier    "stylus"
          Option        "Device"        "/dev/tty00"
          Option        "Type"          "stylus"
          Option        "ForceDevice"   "ISDV4"
    EndSection
    


---/ .xinitrc

Download my .xinitrc here:

  [ https://osuny.co.uk/~azure/x41/conf/xinitrc ]


The keycodes for the X41's tablet buttons are as follows:

    reset          keycode 198
    rotate         keycode 204
    toolbox        keycode 199
    esc            keycode 203
    return         keycode 200
    left arrow     keycode 206
    right arrow    keycode 205 
    


_/ Acknowledgments

Thanks to Joshua Stein [3] for pointing me in the right direction.


---/ References:

[1]
  [ http://linuxwacom.sourceforge.net ]

[2]
  [ http://www.wacom.com/tabletpc/what_is_penabled.cfm ]

[3]
  [ http://jcs.org ]
  [ http://tinyurl.com/9j3p7y ]


.---------------------------------------------------------------------------.
|                                                                           |
|   _azure                                                                  |
|                                                                           |
`---------------------------------------------------------------------------'

EOF


(4 comments | Leave a comment)

December 26th, 2008


12:22 am - yeah, bash





(2 comments | Leave a comment)

November 26th, 2008


11:46 pm
http://harmful.cat-v.org

(Leave a comment)

October 26th, 2008


11:26 pm
Web Security Horror Stories
View SlideShare presentation or Upload your own. (tags: webapps xss)

Tags:

(Leave a comment)

September 30th, 2007


10:49 pm - CYBERTECH #23
has been released.

http://www.digivill.net/~ticom




(Leave a comment)

June 8th, 2007


05:52 pm
NOTE: TLB code too large, using trampolines
[ using 273456 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2007 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.1 (GENERIC) #128: Sun Mar 11 05:33:22 MDT 2007
    deraadt@sgi.openbsd.org:/usr/src/sys/arch/sgi/compile/GENERIC
real mem = 268435456
rsvd mem = 7020544
avail mem = 228564992
using 2867 buffers containing 13418496 bytes of memory
mainbus0 (root)
cpu0 at mainbus0: MIPS R10000 CPU rev 2.7 194 MHz with R10000 FPU rev 0.0
cpu0: cache L1-I 32KB D 32KB 2 way, L2 1024KB 2 way
macebus0 at mainbus0: crime rev 10.1
clock0 at macebus0: TOD with DS1687, ticker on int5 using count register
macepcibr0 at macebus0: mace rev 1, host system O2
pci0 at macepcibr0 bus 0
ahc0 at pci0 dev 1 function 0 "Adaptec AIC-7880" rev 0x00: irq 9
ahc0: Host Adapter Bios disabled.  Using default SCSI device parameters
scsibus0 at ahc0: 16 targets 
sd0 at scsibus0 targ 2 lun 0: < SEAGATE, ST318275LC, 0001 > SCSI2 0/direct fixed
sd0: 17366MB, 11721 cyl, 10 head, 303 sec, 512 bytes/sec, 35566480 sec total
cd0 at scsibus0 targ 4 lun 0: < TOSHIBA, CD-ROM XM-5701TA, 0167 > SCSI2 5/cdrom removable
ahc1 at pci0 dev 2 function 0 "Adaptec AIC-7880" rev 0x00: irq 10
ahc1: Host Adapter Bios disabled.  Using default SCSI device parameters
scsibus1 at ahc1: 16 targets
com0 at macebus0: ns16550a, 16 byte fifo
com0: console
com1 at macebus0: ns16550a, 16 byte fifo
mec0 at macebus0: MAC-110 rev 1, address 08:00:69:05:bb:ba
nsphy0 at mec0 phy 8: DP83840 10/100 PHY, rev. 1
mavb0 at macebus0: AD1843 rev 1
audio0 at mavb0
boot device: sd0.
root on sd0a
ahc0: target 2 using 16bit transfers
ahc0: target 2 synchronous at 10.0MHz, offset = 0x8
rootdev=0x0 rrootdev=0x900 rawdev=0x902




Tags: ,

(Leave a comment)

April 26th, 2007


10:12 pm - Cybertech #23





(Leave a comment)

April 10th, 2007


12:08 am - OSUNY RETURNS (again)


ssh bbs@osuny.co.uk

 +---------------------------------------------------+
 |  Intellectual Property Policy for OSUNY U.K. BBS  |
 +---------------------------------------------------+

In accordance with Title 17 U.S.C. Section 107, the material within is
distributed without profit to those who have expressed a prior interest
in receiving the included information for research and educational
purposes.  Use of this system constitutes the expression of prior
interest.


.+===============================================+.
|                                                 |     
|     _  ,^.  _                                   |
|   ,'/ -' '- \`.                                 |
|  / |   \ /   | \                                |
| |  |   | |   |  |                               |
| |   \_,' `._/   |  __   __ __  __  __  _  _     |    
| |               | (( \  || ||  ||\ ||  \\//     |
|  \             /   \\   || ||  ||\\||   )/      |
|   `.         .'   \_))  \\_//  || \||  //       |
|     `--._.--'                                   |
|                                  u.k.           |
|                                                 |     
|                                                 |
`+===============================================+' 


---------------------------------------------------------------------------
            Someday they won't let you, so now you must agree
        The times they are a-telling, and the changing isn't free
        You've read it in the tea leaves, and the tracks are on TV
                          Beware the savage jaw
                                 Of 1984
---------------------------------------------------------------------------
===========================================================================
  SSH1 RSA fingerprint: 33:b8:83:ec:3c:c2:85:38:d6:8b:f9:af:14:27:45:c8
  SSH2 RSA fingerprint: a4:94:b5:00:83:68:9c:ef:8b:b6:3a:9f:df:af:89:31
===========================================================================

           bbs100 3.0 by Walter de Jong <walter@heiho.net> (C) 2006

Enter your name:





Tags: ,

(12 comments | Leave a comment)

December 17th, 2006


12:47 am - New GnuPG key
https://osuny.co.uk/~azure/txt/azure.gpg.asc

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.2.2 (OpenBSD)

mQGiBEV2IqcRBADROM5tT9yUMuCihvHR9mNYwvNCyULnNp5LO4P6hGn7hH9ed3Ti
MhJrVNRNM+aSOAkO0MolCtyrztJs4gXMcwGq/P02kCkY6pcU+1e5IyJacG1lGLrA
LM7PD/Z2nSjkisYzgjCEpxN57EVaG+HZB4sy0J6FxZ1MMI9W0n89rcv0jwCgpZUW
rlUkA77CGDwZJbWf//Km0G8EALUMSr45REDbWXCTcKLh8YMRo6fEMbXM70iO2x7B
oC2ITulxmC2hgz6F25L1Nih53c+nsdtVFgLkHt0DYFWnUMJHR5zWbQXw9Cxz2jTu
1D7BJ6YYY5jnBmYTq3Q9+ULXfwotbMaAEpKyHC9YE4jWdUtQCg/p4klDO6X7bxVn
hiTpA/9xnQvsiTSHlgzRL10AzmXYc8iaX3c5UB+dNTfbC5rHVH6VEwrKXbPuS4SO
xvx0J0NYF2OrMnrE29gSZ7abNAQPCK1xNxf38faIPf98PWbxmTojJnGTWxRZyI7m
sFJBkxcQaV1CGVwz5hHw4H4iYuPgbh5EGpUr2YqhzrulYfsC6bQaX2F6dXJlIDxh
enVyZUBvc3VueS5jby51az6IYAQTEQIAIAUCRXYipwIbAwYLCQgHAwIEFQIIAwQW
AgMBAh4BAheAAAoJELv26PccOV7mXVwAniivRsBSa9M17MbwcgmRb6t52gF5AKCe
HoTupG3lvvxDn6RZRTjXJ1SH1rkEDQRFdiLLEBAAi4z1ihbnZ2otfF0XPeJN6F5h
S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V3gUJ
BFZgFAAKCRDex27C4/P1p8KSAJ9WFQbd+0Ox9yhjUOeRQFgdH0GKDQCfW6Atwnad
GANDrV0C00ovRiNL0YSIXwQTEQIAHwUCPc7YSgUJAeEzgAQLBwMCAxUCAwMWAgEC
HgECF4AACgkQ3sduwuPz9aexowCbBwdbMcWE3YZkYkRoO6Mem47yJHAAnjXd1Yol
T75kiCS2/b/m1cbQ0ecFiGQEExECACQCGwMGCwkIBwMCAxUCAwMWAgECHgECF4AF
AkA21d4FCQRWYBQACgkQ3sduwuPz9af16ACghmq1+tHGcBReMGMNpP8A7UZbWBQA
njBF+xe8YzcXI4lF7NAyq9iAauAUiGQEExECACQFAj+xvu0CGwMFCQN0/gUGCwkI
BwMCAxUCAwMWAgECHgECF4AACgkQ3sduwuPz9acECQCeIepnmiw/EmI4hYOQvxU0
nrgzBvMAn3pZ3OtAEiV2Til67g3QVi7bCEonuQENBD3O2EsQBADXC+Q81HRcuKoa
EB77ZykPxmT+9IkI03gIYP8DMI8DRHKR0KqllqUQUlM75M2kroyXa1N+2oSX3N5f
r7xq7XU5BYl9Wy6xFTvQ4RvF5knX9QvoeyueFSjfXngo6Guc0LhDgsYqoGCCBfBy
i2rbcxNEsPiXHju5al9A/3f422/zxwADBQP/VOz36mmpzdD73pt58odf8owvU8+P
3CouLj8XcsK7wWdfDs2+HMuBollPFZa+qdVwFELEAFl/Kbas3rHpc8TgTBRYH3kj
ANEDSanXTbR1Seyv41yyordkqIuVQWBgv2pRQY0u5jm/dfYdY6jX/+bPo9ORkXIq
WT3GTx8W9XwsgaSIRgQYEQIABgUCQcYiPAAKCRDex27C4/P1p2IKAJ9OkRJgQs5l
awwP80nMFWPuHwzdUgCaAi8eTzbi7g69ap1PhHLSklFTRRU=
=ndA/
-----END PGP PUBLIC KEY BLOCK-----



Tags: ,

(Leave a comment)

September 29th, 2006


09:47 pm
Hack: Home Repair / Renovations

Previous

From: _azure 21:40
To: ALL 4 of 4
936.4


The appraisal was going great until the guy turns to me and says:

"This is a bit of a personal question. What's your conception of God?"

I should have seen it coming. He'd already told me I seemed like a smart fellow (a dead give away that someone is about to pitch a religion to you). I was in the middle of elaborating on "gray goo" and the implications of ubiquitious nanotechnology when he posed this philosophical conundrum to me. Of course, there were a myriad of possible ways to address his query. I paused briefly and then simply explained that round about my late teens/early twenties it occurred to me that perfectly acceptable explanations of natural processes existed which did not require the presence of a guiding intelligence. I also related to him that, after navigating my childhood in a profoundly religious mode, I had perhaps pursued scholarship of the supporting documentation (of the Abrahamic religions) much farther than could comfortably accomodate any reasonable faith in their conceits. I told him that the Bible at my mother's church is different than the Bible at my friend's church, and then asked him what his source of information about God was. After all, a child isn't born with built-in knowledge of God or his Commandments; hence the need to write it all down in something called Scripture. Naturally, instead of addressing my points he answered my question with a question: "Really?"

He offered that some scientists have begun to research the book of Genesis and are finding scientific proof that it is an accurate account of the origins of the universe. Apparently, there are new scientific theories stating that the world is 6,000 years old.

I countered this by suggesting that it was perfectly concievable that God, if he exists, could have created the world yesterday, complete with fossils, rock strata, etc -- all the history we know and love. There is no reason to ignore entire fields of legitimate scientific study simply in order to maintain the sanctity of dubiously translated tribal texts from pre- Magna Carta civilization. His face just stayed blank, and that's when I realized he wasn't really thinking about this stuff, just repeating it from some unnamed source. (I know, how obvious, right?)

He said I needed to clean the leaves out of my gutter.


_azure




(6 comments | Leave a comment)

> previous 10 entries
> Go to Top
LiveJournal.com