AFULTab contest

Wiki page by khorben on 07/03/2012 00:26:17
--- /var/www/www.defora.org/wiki/AFULTab contest	2012/04/19 10:44:17	1.27
+++ /var/www/www.defora.org/wiki/AFULTab contest	2012/05/20 18:52:44	1.28
@@ -1,4 +1,4 @@
-<span style="font-style: italic;">This page summarizes the status of development with regard to the </span><a style="font-style: italic;" href="/os/news/3610/DeforaOS-selected-for-the-AFULTab-contest">AFULTab contest</a><span style="font-style: italic;">.</span><br><h2>Configuration</h2><h3>Input handling</h3><h4>Gtk+ configuration</h4><p>The DeforaOS applications and desktop environment should be compiled, installed and configured as embedded applications:</p><ul><li>no more menubars;</li><li>toolbars with icons only;</li><li>finger-friendly buttons, menu entries, scrollbars, spinners, check boxes...</li></ul><p>Generic finger-friendly scrolling should also be provided, if at all possible. Being able to get rid of scrollbars would be a plus.<br></p><h4>Right-click emulation</h4><p>Support for emulating right clicks should be provided, either via Xorg globally, or a Gtk+ plug-in (such as libgtkstylus).<br></p><h3>Multimedia support</h3><h4>Sound server</h4><p>Installing, supporting and pre-configuring a sound server such as pulseaudio(1) may be relevant.</p><h3>Networking</h3><h4>Network configuration</h4><p>The dhcpcd-gtk applet for the panel's notification area supports integration with wired interfaces, as well as wpa-supplicant for wireless. While not fully complete, it may be functional enough for the prototype delivered. It would notably:</p><ul><li>avoid conflicts with both wired and wireless interfaces configured;</li><li>remove the need for the ifwatchd(8) daemon.<br></li></ul><h3>Usability</h3><h4>Boot-time optimization</h4><h4>Installation procedure</h4><p>A simpler installation procedure than the standard NetBSD installer, "sysinst", should be available. It should ideally:</p><ul><li>default to a non-interactive, complete and functional installation;</li><li>support finger-based interaction (including a virtual keyboard)</li><li>optionally, allow for some settings to be specified during the configuration (hostname, username, packages and default environment, partitioning...)</li><li>then, allow for some settings to be easily specified beforehand (for installation batches).<br></li></ul><h4>Translation to other languages</h4><p>While development must entirely be performed in English, full support for French will be much appreciated. With frameworks such as gettext, this possibility will easily allow for more translations to be available afterwards.<br></p><h4>User manual</h4><p>The whole installation procedure, as well as the end-user experience should be documented as detailed as relevant and likely.<br></p><h2>Known issues<br></h2><h3>Bugs in DeforaOS</h3><ul><li>[Desktop] Choose (or implement) a window manager</li><li>[Desktop] Debug and polish the mail client (including the embedded mode)</li><li>[Desktop] Debug and polish the volume mixer: <a style="text-decoration: line-through;" href="https://www.defora.org/os/project/bug_display/3639?bug_id=43">#43</a>, <a style="text-decoration: line-through;" href="https://www.defora.org/os/project/bug_display/3640?bug_id=44">#44</a>, <a href="https://www.defora.org/os/project/bug_display/3641?bug_id=45">#45</a>, <a style="text-decoration: line-through;" href="https://www.defora.org/os/project/bug_display/3642?bug_id=46">#46</a><br></li><li>[Desktop] Enhance file management: <a href="os/project/bug_display/3638?bug_id=42">#42</a>, <a href="os/project/bug_display/3643?bug_id=47">#47</a></li><li>[Desktop] Improve the screen saver: <a style="text-decoration: line-through;" href="https://www.defora.org/os/project/bug_display/3648?bug_id=52">#52</a>, <a href="https://www.defora.org/os/project/bug_display/3649?bug_id=53">#53</a>, <a style="text-decoration: line-through;" href="https://www.defora.org/os/project/bug_display/3650/Prevent-screen-locking-while-watching-videos?bug_id=54">#54</a><br></li><li>[Desktop] Integrate the AppProtocol (and VFS in particular)</li><li>[Input] Improve finger-based interaction for the web browser</li><li>[Input] Improve the virtual keyboard: <a href="https://www.defora.org/os/project/bug_display/3647?bug_id=51">#51</a><br></li><li>[Network] Let the user configure networking graphically (eg wireless...)</li><li>[Telephony] Improve general support: <a href="https://www.defora.org/os/project/bug_display/3644/Support-concatenated-SMS-messages?bug_id=48">#48</a>, <a href="https://www.defora.org/os/project/bug_display/3646/Provide-known-settings-for-Internet-APNs?bug_id=50">#50</a><br></li></ul><h3>Bugs in NetBSD</h3><ul><li>[ACPI] The Lenovo IdeaPad S10-3t does not power off</li><li>[Boot] The system is unstable when booting with genfb</li><li>[Boot] The WeTab halts during boot if any USB device is already plugged<br></li><li>[Graphics] The graphics card on Atom N450 platforms is not accelerated</li><li>[Graphics] Software acceleration is buggy with modular-xorg-server<br></li><li style="text-decoration: line-through;">[Input] The wstablet framework must be updated (and merged)</li><li><span style="text-decoration: line-through;">[Input] The touchscreen on the Lenovo IdeaPad S10-3t is not supported</span></li><li><span style="text-decoration: line-through;">[Input] The touchscreen on the WeTab does not work properly</span><br></li><li>[Multimedia] The sound card on the Lenovo IdeaPad S10-3t does not work<br></li><li style="text-decoration: line-through;">[Multimedia] The webcam on the Lenovo IdeaPad S10-3t does not work</li><li>[Telephony] The UMTS device is not identified on the Lenovo IdeaPad S10-3t</li><li>[Telephony] The UMTS device is not supported on the WeTab<br></li><li>[Wireless] The wireless card on the Lenovo IdeaPad S10-3t is not supported</li></ul><h2>Solving issues in NetBSD</h2><h3>ACPI sub-system</h3><h4>The Lenovo IdeaPad S10-3t does not power off</h4><p>There seem to be issues with the ACPI sub-system, the most obvious one while attempting to turn off the computer:</p><p style="font-family: monospace;"># shutdown -p now</p><p>which simply doesn't work. The kernel mentions "acpi0: entering state 5" and then locks.</p><p>The issue is apparently broader, with "envstat -r" being, at best, extremely slow.<br></p><h3>Booting<br></h3><h4>The system is unstable when booting with genfb</h4><p>Up until 6.0_BETA booting with genfb (either with or without a splash screen) was very unreliable, and X not starting at all. Since shortly before the netbsd-6 branch it seems to work properly.</p><p>However:</p><ul><li>the colours and/or the logo are usually wrong or corrupted (see PR kern/46189)</li><li>not every colour depth seems to be supported on every graphics card;</li><li>the cursor is wrong in some situations (blinking on top left while the solid cursor is active, or containing one of "-\|/" after a progress indicator is over)<br></li><li>the kernel sometimes still outputs some text before enabling the splash screen.</li></ul><h4>The WeTab halts during boot if any USB device is already plugged</h4><p>It seems that NetBSD can't properly initialize the USB chipset if the firmware has already configured it (eg boot from USB, keyboard support).<br></p><h3>Graphics sub-system<br></h3><h4>The graphics card on Atom N450 platforms is not accelerated</h4><p>This problem is currently being addressed by Gregoire Sutre, on his netbsd-drmgem branch on github: <a href="https://github.com/gsutre/netbsd-drmgem">https://github.com/gsutre/netbsd-drmgem</a>. Both the Lenovo IdeaPad S10-3t and the WeTab are affected by this problem.</p><p>The vesa driver is functional on both devices, with a number of limitations though (see below).<br></p><h4>Software acceleration is buggy with modular-xorg-server</h4><p>Using modular-xorg-server with the "vesa" driver (while the accelerated Intel driver gets fixed) is barely usable:</p><ul><li>the screen resolution is not optimal<br></li><li>windows are not fully drawn correctly.</li></ul>The latter is easily reproduced when running xterm with anti-aliased fonts. It seems to be related to acceleration issues rather than a specific video driver, maybe when no DRI driver could be loaded. I have yet to determine if both EXA and XAA exhibit the issue.<p>Also noteworthy is the requirement for the Xorg executable to be linked with libpthread for the DRI modules to load correctly.<br></p><h3>Input handling<br></h3><h4>The wstablet framework must be updated (and merged)</h4><p>The wstablet framework was being worked on as part of a Google Summer of Code project in August 2008, see <a href="http://netbsd-soc.sourceforge.net/projects/wscons/">http://netbsd-soc.sourceforge.net/projects/wscons/</a>.</p><p>Unfortunately,
+<span style="font-style: italic;">This page summarizes the status of development with regard to the </span><a style="font-style: italic;" href="/os/news/3610/DeforaOS-selected-for-the-AFULTab-contest">AFULTab contest</a><span style="font-style: italic;">. The <a href="http://www.defora.org/os/news/3673/The-AFULTab-project-is-over">contest is now over</a>, and the </span><a style="font-style: italic;" href="http://www.duekin.com/downloads/papers/WeTab%20Freedom%20Report.pdf">submission for the DeforaOS Project</a><span style="font-style: italic;"> was sent accordingly.</span><br><h2>Configuration</h2><h3>Input handling</h3><h4>Gtk+ configuration</h4><p>The DeforaOS applications and desktop environment should be compiled, installed and configured as embedded applications:</p><ul><li>no more menubars;</li><li>toolbars with icons only;</li><li>finger-friendly buttons, menu entries, scrollbars, spinners, check boxes...</li></ul><p>Generic finger-friendly scrolling should also be provided, if at all possible. Being able to get rid of scrollbars would be a plus.<br></p><h4>Right-click emulation</h4><p>Support for emulating right clicks should be provided, either via Xorg globally, or a Gtk+ plug-in (such as libgtkstylus).<br></p><h3>Multimedia support</h3><h4>Sound server</h4><p>Installing, supporting and pre-configuring a sound server such as pulseaudio(1) may be relevant.</p><h3>Networking</h3><h4>Network configuration</h4><p>The dhcpcd-gtk applet for the panel's notification area supports integration with wired interfaces, as well as wpa-supplicant for wireless. While not fully complete, it may be functional enough for the prototype delivered. It would notably:</p><ul><li>avoid conflicts with both wired and wireless interfaces configured;</li><li>remove the need for the ifwatchd(8) daemon.<br></li></ul><h3>Usability</h3><h4>Boot-time optimization</h4><h4>Installation procedure</h4><p>A simpler installation procedure than the standard NetBSD installer, "sysinst", should be available. It should ideally:</p><ul><li>default to a non-interactive, complete and functional installation;</li><li>support finger-based interaction (including a virtual keyboard)</li><li>optionally, allow for some settings to be specified during the configuration (hostname, username, packages and default environment, partitioning...)</li><li>then, allow for some settings to be easily specified beforehand (for installation batches).<br></li></ul><h4>Translation to other languages</h4><p>While development must entirely be performed in English, full support for French will be much appreciated. With frameworks such as gettext, this possibility will easily allow for more translations to be available afterwards.<br></p><h4>User manual</h4><p>The whole installation procedure, as well as the end-user experience should be documented as detailed as relevant and likely.<br></p><h2>Known issues<br></h2><h3>Bugs in DeforaOS</h3><ul><li>[Desktop] Choose (or implement) a window manager</li><li>[Desktop] Debug and polish the mail client (including the embedded mode)</li><li>[Desktop] Debug and polish the volume mixer: <a style="text-decoration: line-through;" href="https://www.defora.org/os/project/bug_display/3639?bug_id=43">#43</a>, <a style="text-decoration: line-through;" href="https://www.defora.org/os/project/bug_display/3640?bug_id=44">#44</a>, <a href="https://www.defora.org/os/project/bug_display/3641?bug_id=45">#45</a>, <a style="text-decoration: line-through;" href="https://www.defora.org/os/project/bug_display/3642?bug_id=46">#46</a><br></li><li>[Desktop] Enhance file management: <a href="os/project/bug_display/3638?bug_id=42">#42</a>, <a href="os/project/bug_display/3643?bug_id=47">#47</a></li><li>[Desktop] Improve the screen saver: <a style="text-decoration: line-through;" href="https://www.defora.org/os/project/bug_display/3648?bug_id=52">#52</a>, <a href="https://www.defora.org/os/project/bug_display/3649?bug_id=53">#53</a>, <a style="text-decoration: line-through;" href="https://www.defora.org/os/project/bug_display/3650/Prevent-screen-locking-while-watching-videos?bug_id=54">#54</a><br></li><li>[Desktop] Integrate the AppProtocol (and VFS in particular)</li><li>[Input] Improve finger-based interaction for the web browser</li><li>[Input] Improve the virtual keyboard: <a href="https://www.defora.org/os/project/bug_display/3647?bug_id=51">#51</a><br></li><li>[Network] Let the user configure networking graphically (eg wireless...)</li><li>[Telephony] Improve general support: <a href="https://www.defora.org/os/project/bug_display/3644/Support-concatenated-SMS-messages?bug_id=48">#48</a>, <a href="https://www.defora.org/os/project/bug_display/3646/Provide-known-settings-for-Internet-APNs?bug_id=50">#50</a><br></li></ul><h3>Bugs in NetBSD</h3><ul><li>[ACPI] The Lenovo IdeaPad S10-3t does not power off</li><li>[Boot] The system is unstable when booting with genfb</li><li>[Boot] The WeTab halts during boot if any USB device is already plugged<br></li><li>[Graphics] The graphics card on Atom N450 platforms is not accelerated</li><li>[Graphics] Software acceleration is buggy with modular-xorg-server<br></li><li style="text-decoration: line-through;">[Input] The wstablet framework must be updated (and merged)</li><li><span style="text-decoration: line-through;">[Input] The touchscreen on the Lenovo IdeaPad S10-3t is not supported</span></li><li><span style="text-decoration: line-through;">[Input] The touchscreen on the WeTab does not work properly</span><br></li><li>[Multimedia] The sound card on the Lenovo IdeaPad S10-3t does not work<br></li><li style="text-decoration: line-through;">[Multimedia] The webcam on the Lenovo IdeaPad S10-3t does not work</li><li>[Telephony] The UMTS device is not identified on the Lenovo IdeaPad S10-3t</li><li>[Telephony] The UMTS device is not supported on the WeTab<br></li><li>[Wireless] The wireless card on the Lenovo IdeaPad S10-3t is not supported</li></ul><h2>Solving issues in NetBSD</h2><h3>ACPI sub-system</h3><h4>The Lenovo IdeaPad S10-3t does not power off</h4><p>There seem to be issues with the ACPI sub-system, the most obvious one while attempting to turn off the computer:</p><p style="font-family: monospace;"># shutdown -p now</p><p>which simply doesn't work. The kernel mentions "acpi0: entering state 5" and then locks.</p><p>The issue is apparently broader, with "envstat -r" being, at best, extremely slow.<br></p><h3>Booting<br></h3><h4>The system is unstable when booting with genfb</h4><p>Up until 6.0_BETA booting with genfb (either with or without a splash screen) was very unreliable, and X not starting at all. Since shortly before the netbsd-6 branch it seems to work properly.</p><p>However:</p><ul><li>the colours and/or the logo are usually wrong or corrupted (see PR kern/46189)</li><li>not every colour depth seems to be supported on every graphics card;</li><li>the cursor is wrong in some situations (blinking on top left while the solid cursor is active, or containing one of "-\|/" after a progress indicator is over)<br></li><li>the kernel sometimes still outputs some text before enabling the splash screen.</li></ul><h4>The WeTab halts during boot if any USB device is already plugged</h4><p>It seems that NetBSD can't properly initialize the USB chipset if the firmware has already configured it (eg boot from USB, keyboard support).<br></p><h3>Graphics sub-system<br></h3><h4>The graphics card on Atom N450 platforms is not accelerated</h4><p>This problem is currently being addressed by Gregoire Sutre, on his netbsd-drmgem branch on github: <a href="https://github.com/gsutre/netbsd-drmgem">https://github.com/gsutre/netbsd-drmgem</a>. Both the Lenovo IdeaPad S10-3t and the WeTab are affected by this problem.</p><p>The vesa driver is functional on both devices, with a number of limitations though (see below).<br></p><h4>Software acceleration is buggy with modular-xorg-server</h4><p>Using modular-xorg-server with the "vesa" driver (while the accelerated Intel driver gets fixed) is barely usable:</p><ul><li>the screen resolution is not optimal<br></li><li>windows are not fully drawn correctly.</li></ul>The latter is easily reproduced when running xterm with anti-aliased fonts. It seems to be related to acceleration issues rather than a specific video driver, maybe when no DRI driver could be loaded. I have yet to determine if both EXA and XAA exhibit the issue.<p>Also noteworthy is the requirement for the Xorg executable to be linked with libpthread for the DRI modules to load correctly.<br></p><h3>Input handling<br></h3><h4>The wstablet framework must be updated (and merged)</h4><p>The wstablet framework was being worked on as part of a Google Summer of Code project in August 2008, see <a href="http://netbsd-soc.sourceforge.net/projects/wscons/">http://netbsd-soc.sourceforge.net/projects/wscons/</a>.</p><p>Unfortunately,
  it seems that the results of this project have not been merged to
 NetBSD, nor significant enough to be useful for touchscreen integration
 here. This issue is therefore closed.<br></p><h4>The touchscreen on the Lenovo IdeaPad S10-3t is not supported</h4><p>This is no longer an issue, as:</p><ul><li> the uts(4) driver was written, submitted and integrated upstream (<span style="text-decoration: line-through;">PR/45850</span>)</li><li>the xf86-input-mouse driver was patched for supporting absolute coordinates (PR/45853)<br></li><li>the tpcalib and wscons framework was debugged and extended (PR/45872)</li></ul>Some additional improvements would be to:<br><ul><li>no longer require root privileges for calibrating the screen;<br></li><li>automate calibration when changing screen sizes.</li></ul><h4>The touchscreen on the WeTab does not work properly</h4><p>The WeTab contains a similar touchscreen controller as on the Lenovo S10-3t, but with a different firmware and default settings:</p><ul><li>three HID devices are reported instead of one</li><li>the first is a mouse emulation, which is not properly calibrated (typically wsmouse0, attached on ums0)<br></li><li>the second is a touchscreen, reporting up to 4096x4096 pixels (wsmouse1 on uts0)</li><li>the third is a touchscreen as well, corresponding to the main screen, reporting up to 32768x32768 pixels (wsmouse2 on uts1)</li></ul><p>Although opening explicitely /dev/wsmouse2 should just work, the device does not report any interrupt before being set to "multi-input" mode. This should be performed by the uts(4) driver, but in the meantime this command works as well:</p><pre>$ usbhidctl -f 0x000e.Finger.Input_Mode=2</pre><p>The uts(4) driver will be patched to perform this.<br></p><h3>Multimedia support<br></h3><h4>
Revisions
NameDateAuthorMessage
1.29 (diff)khorben
1.28 (diff)khorben
1.27 (diff)khorben
1.26 (diff)khorben
1.25 (diff)khorben
1.24 (diff)khorben
1.23 (diff)khorben
1.22 (diff)khorben
1.21 (diff)khorben
1.20 (diff)khorben
1.19 (diff)khorben
1.18 (diff)khorben
1.17 (diff)khorben
1.16 (diff)khorben
1.15 (diff)khorben
1.14 (diff)khorben
1.13 (diff)khorben
1.12 (diff)khorben
1.11 (diff)khorben
1.10 (diff)khorben
1.9 (diff)khorben
1.8 (diff)khorben
1.7 (diff)khorben
1.6 (diff)khorben
1.5 (diff)khorben
1.4 (diff)khorben
1.3 (diff)khorben
1.2 (diff)khorben
1.1khorben