{"id":186,"date":"2009-11-02T10:09:15","date_gmt":"2009-11-02T16:09:15","guid":{"rendered":"http:\/\/www.goodjobsucking.com\/?p=186"},"modified":"2009-11-02T10:38:45","modified_gmt":"2009-11-02T16:38:45","slug":"the-fujitsu-stylistic-3500-tablet-linux-and-xubuntu","status":"publish","type":"post","link":"http:\/\/www.goodjobsucking.com\/?p=186","title":{"rendered":"The Fujitsu Stylistic 3500 Tablet, Linux and Xubuntu"},"content":{"rendered":"<p>I have an old Fujistu Stylistic 3500 Tablet that I picked up cheap as hospital surplus, which usually sits in its cradle in the kitchen, handy for looking up recipes and playing music.\u00a0 It came with Windows 2000 preloaded (and as surplus, ravaged by viruses) which it ran until last week, when I finally decided I have had enough of the venerable operating system, and decided to switch to something both more modern (unsurprisingly, a growing number of applications and updates refuse to run under Windows 2000 at all) and better able to make use of its aging hardware: a 500 Mhz Celeron with 256M of RAM.<\/p>\n<div id=\"attachment_193\" style=\"width: 310px\" class=\"wp-caption alignright\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-193\" class=\"size-medium wp-image-193\" title=\"Fujitsu-Stylistic-3500\" src=\"http:\/\/www.goodjobsucking.com\/wp-content\/uploads\/2009\/11\/Fujitsu-Stylistic-3500-300x254.jpg\" alt=\"Fujitsu Stylistic 3500\" width=\"300\" height=\"254\" srcset=\"http:\/\/www.goodjobsucking.com\/wp-content\/uploads\/2009\/11\/Fujitsu-Stylistic-3500-300x254.jpg 300w, http:\/\/www.goodjobsucking.com\/wp-content\/uploads\/2009\/11\/Fujitsu-Stylistic-3500.jpg 510w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><p id=\"caption-attachment-193\" class=\"wp-caption-text\">Fujitsu Stylistic 3500<\/p><\/div>\n<p>In addition to upgrading the operating system, I decided to replace the hard drive with an IDE-SSD drive that I found on special.\u00a0 This made an intuitive kind of sense, since if anything went wrong, I could just put the old hard drive back in.\u00a0 On the minus side, this meant I had to install an operating system from scratch.<\/p>\n<p><strong>Hurdle #1:\u00a0 Booting<\/strong><\/p>\n<p>The tablet is capable of booting from a grand total of two things:\u00a0 the internal hard drive, and an external floppy drive on a proprietary port.\u00a0 That&#8217;s it.\u00a0 I do happen to have the Fujitsu floppy drive, so I figured all I have to do is boot a Linux installer from a floppy drive, and I&#8217;m all set.<\/p>\n<p>Easier said than done, I guess.\u00a0 The tablet has one USB port, and the tablet itself needs software to drive the pen interface, so a USB hub and keyboard are necessary, plus a mouse for virtually any operating system&#8217;s installer these days.\u00a0 After some trial-and-error, I burned Xubuntu&#8217;s installer to a physical CD, and attached a CD-ROM drive to a USB-&gt;IDE interface on the same hub.<\/p>\n<p>It looked like a DOS boot disk was the way to go, since the tablet couldn&#8217;t directly boot from the CD-ROM drive, and Xubuntu doesn&#8217;t seem to have a ready-made boot floppy.\u00a0 Naturally, this would require keyboard, mouse, and CD-ROM to first be available to DOS.<\/p>\n<p>However, certain USB drivers would disable the mouse and keyboard when they loaded &#8212; which put a damper on being able to actually do anything once they located the CD-ROM drive.\u00a0 I finally located a combination of drivers that allowed my mouse and keyboard to keep working while mounting the CD-ROM drive (rather oddly, as C:, since there were no recognizable partitions on the IDE-SSD drive, it didn&#8217;t show up at all.\u00a0 No problem, though, the Linux kernel will sort it out.)<\/p>\n<p>Once DOS booted and I could see the CD-ROM, I used lnload97.com to actually boot the kernel from the CD-ROM.<\/p>\n<p>For those wishing to follow a similar path, I present the Fujitsu Stylistic 3500 boot diskette:\u00a0 [<a title=\"Stylistic-3500.zip\" href=\"http:\/\/www.houseofqueued.com\/Fujitsu\/Stylistic-3500.zip\" target=\"_blank\">Stylistic-3500.zip<\/a>]<\/p>\n<p>This is based on a USB driver diskette I located and updated; if your CD-ROM doesn&#8217;t show up as C:, or you&#8217;re installing a Linux distribution other than Xubuntu 9.10, you&#8217;ll need to edit &#8220;bootl.bat&#8221; before you run it &#8212; it should be pretty straightforward.<\/p>\n<p>And the first hurdle is cleared as the Xubuntu installer is able to install Xubuntu on the tablet&#8217;s new SSD hard drive.\u00a0 However, I&#8217;m not out of the woods yet.<\/p>\n<p><strong>Hurdle #2:\u00a0 Networking<\/strong><\/p>\n<p>I decided to get the network working first, because experience has shown that everything is simpler when a computer can connect to the network.\u00a0 I have a PCMCIA card for connecting to the wireless network, a Netgear WN511B, that frankly was a little flaky under Windows.\u00a0 Xubuntu recognizes it, sort of, but can&#8217;t communicate to it.<\/p>\n<p>First, I tried ndiswrapper to load the Windows drivers, which worked in the sense that it looked like I had a wireless card, but wpa_supplicant proved unable to connect to my WPA2-encypted network.\u00a0 I also tried bcm43xx-fwcutter, which failed even more dismally.<\/p>\n<p>The output of my lspci led me to seek a new path:<\/p>\n<pre>01:00.0 Network controller: Broadcom Corporation BCM43XG (rev 01)<\/pre>\n<p>As it turns out, Broadcom released a proprietary driver for BCM43?? chipsets, and although the BCM43XG isn&#8217;t specifically listed on the driver&#8217;s page, it works beautifully, at full n- speeds.<\/p>\n<p>The driver&#8217;s page is here:\u00a0 [<a title=\"802.11 Linux STA driver\" href=\"http:\/\/www.broadcom.com\/support\/802.11\/linux_sta.php\" target=\"_blank\">802.11 Linux STA driver<\/a>]<\/p>\n<p>Aside from everything in the README.txt listed on that page, I added &#8220;lib80211&#8221; and &#8220;wl&#8221; to \/etc\/modules in order to have the driver loaded on boot.\u00a0 Upon booting, the card was recognized, the wireless lan came up, and &#8230; it asked for my keyring password.<\/p>\n<p>On a side note, I got the driver onto the Xubuntu tablet in the first place by loading it onto a USB flash drive; Xubuntu recognized the drive right away, and it was a simple matter of copying over the file.<\/p>\n<p><strong>Hurdle #3:\u00a0 Keyring Password<\/strong><\/p>\n<p>With a keyboard, typing a keyring password isn&#8217;t really a big deal, as I did the first time I connected to my wireless network.\u00a0 Without a keyboard, this is a considerable chore, if not outright impossible.<\/p>\n<p>This is pretty easy to fix &#8212; go to ~user\/.gnome2\/keyrings and delete the keyring, then reboot, and next time, <em>don&#8217;t enter a keyring password at all<\/em>.\u00a0 While this is less secure (the keys are stored in plaintext) it does have the advantage of not having to enter the password each time.<\/p>\n<p>At this point, I installed sshd, so I could log in to it remotely, and make my life a little easier.<\/p>\n<pre>sudo aptitude update<\/pre>\n<pre>sudo aptitude install openssh-server<\/pre>\n<p><strong>Hurdle #4:\u00a0 The Touchscreen<\/strong><\/p>\n<p>The touchscreen on a Stylistic 3500 shows up as a serial device, and some kind soul has already written a driver for X.<\/p>\n<pre>sudo aptitude install xserver-xorg-input-fpit setserial<\/pre>\n<p>The serial device needs to be set up, too, which can be done by creating a file called &#8220;\/etc\/serial.conf&#8221; and adding:<\/p>\n<pre>\/dev\/ttyS1 uart 16450 port 0xfd68 irq 5 low_latency baud_base 115200 spd_normal skip_test<\/pre>\n<p>The next step is to add the driver to xorg.conf &#8230; except that Xubuntu, like a lot of modern Linux distributions, doesn&#8217;t actually provide or ship with xorg.conf at all, instead relying on autodetection.\u00a0 So in order to get the stylus to work, one must first create an xorg.conf.\u00a0 This is most easily accomplished by killing X &#8212; Xubuntu helpfully tries to respawn X, so I took the hack-ish but expedient route of putting a junk file into \/etc\/X11\/xorg.conf (I simply wrote the word &#8220;sampo&#8221; in it, which is not a valid configuration, which keeps X from respawning) then issued a kill command to the pid running X.\u00a0 Then:<\/p>\n<pre>X -configure<\/pre>\n<p>Generated an xorg.conf that I could edit to add in the touchscreen bits.\u00a0 (Parts already there are in red, my additions are in black.)<\/p>\n<pre><span style=\"color: #000000;\"><span style=\"color: #ff0000;\">Section \"ServerLayout\"\r\n Identifier\u00a0\u00a0\u00a0\u00a0 \"X.org Configured\"\r\n Screen\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0 \"Screen0\" 0 0<\/span>\r\n InputDevice\u00a0\u00a0\u00a0 \"Touchscreen\"\r\n<span style=\"color: #ff0000;\"> InputDevice\u00a0\u00a0\u00a0 \"Mouse0\" \"CorePointer\"\r\n InputDevice\u00a0\u00a0\u00a0 \"Keyboard0\" \"CoreKeyboard\"\r\nEndSection<\/span>\r\n\r\nSection \"InputDevice\"\r\n Identifier \"Touchscreen\"\r\n Driver \"fpit\"\r\n Option \"Device\" \"\/dev\/ttyS1\"\r\n Option \"BaudRate\" \"9600\"\r\n Option \"Passive\"\r\n Option \"CorePointer\"\r\n Option \"SendCoreEvents\"\r\n Option \"MinimumXPosition\" \"0\"\r\n Option \"MinimumYPosition\" \"0\"\r\n Option \"TrackRandR\"\u00a0\u00a0\u00a0\u00a0\u00a0 \"on\"\r\nEndSection<\/span><\/pre>\n<p>And I now have a working stylus.\u00a0 I spent a surprising amount of time fooling around before I discovered the &#8220;TrackRandR&#8221; configuration parameter &#8212; during which my stylus worked on a postage-stamp sized corner of the tablet while the pointer shot everywhere.<\/p>\n<p><strong>Hurdle #5: remote Administration<\/strong><\/p>\n<p>I can administer the tablet via sshd already, but it&#8217;s handy to have remote console access, since a lot of settings are much easier to set via a GUI than by poking around the command line.\u00a0 So, to provide VNC-capability for the console:<\/p>\n<pre>sudo aptitude install xinetd x11vnc<\/pre>\n<p>I considered it a good idea to set a password:<\/p>\n<pre>x11vnc -storepasswd<\/pre>\n<p>Then created a file called \/etc\/xinetd.d\/x11vnc to launch it on demand:<\/p>\n<pre>service x11vnc\r\n{\r\n port\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 = 5900\r\n type\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 = UNLISTED\r\n socket_type\u00a0\u00a0\u00a0\u00a0 = stream\r\n protocol\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 = tcp\r\n wait\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 = no\r\n user\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 = root\r\n server\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 = \/usr\/bin\/x11vnc\r\n server_args\u00a0\u00a0\u00a0\u00a0 = -inetd -o \/var\/log\/x11vnc.log -display :0 -auth \/var\/lib\/gdm\/:0.Xauth -many -bg -rfbauth \/root\/.vnc\/passwd\r\n disable\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 = no\r\n}<\/pre>\n<p><strong>Hurdle #6:\u00a0 gksudo and an on-screen keyboard<br \/>\n<\/strong><\/p>\n<p>I used Applications-&gt;Add\/Remove to add Matchbox, an on-screen keyboard, and immediately gksu popped up to request administrative rights&#8230;\u00a0 which greyed out the rest of the screen, making it impossible to actually use an on-screen keyboard to enter a password.\u00a0 Luckily, this is just a setting in gksudo called &#8220;Disable-grab.&#8221;\u00a0 Since I could already VNC into the tablet, this actually wasn&#8217;t much of a hurdle.<\/p>\n<p><strong>Verdict<\/strong><\/p>\n<p>Between the IDE-SSD drive and Xubuntu, the tablet is dramatically faster than it ever was under Windows 2000.\u00a0 A lot of the tablet&#8217;s use is surfing the net via Firefox, which launches and renders faster than it ever did.<\/p>\n<p>Surprisingly, wireless networking is also much improved: Windows 2000 would often have trouble reconnecting to the network after rebooting, and despite being an &#8220;n&#8221; wireless card, seemed slow.\u00a0 Now it&#8217;s quite stable, and runs at a full 130mbps.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have an old Fujistu Stylistic 3500 Tablet that I picked up cheap as hospital surplus, which usually sits in its cradle in the kitchen, handy for looking up recipes and playing music.\u00a0 It came with Windows 2000 preloaded (and as surplus, ravaged by viruses) which it ran until last \u2026 <a class=\"continue-reading-link\" href=\"http:\/\/www.goodjobsucking.com\/?p=186\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[98,102,96,100,97,101,99],"_links":{"self":[{"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/posts\/186"}],"collection":[{"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=186"}],"version-history":[{"count":8,"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/posts\/186\/revisions"}],"predecessor-version":[{"id":194,"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/posts\/186\/revisions\/194"}],"wp:attachment":[{"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=186"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}