https://redmine.graphics-muse.org/https://redmine.graphics-muse.org/favicon.ico?16278048512020-02-29T17:37:06ZGraphics Muse Issue Trackerpibox-network-config - Bug #632: wifi scanner not working in default modehttps://redmine.graphics-muse.org/issues/632?journal_id=26832020-02-29T17:37:06ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Priority</strong> changed from <i>High</i> to <i>Urgent</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>10</i></li></ul><p>Item #3 is fixed, as of RM <a class="issue tracker-2 status-5 priority-7 priority-highest closed" title="Feature: Split wifi scanner into separate tab or window (Closed)" href="https://redmine.graphics-muse.org/issues/686">#686</a>.</p>
<p>Item #1 won't be fixed. The problem is that the scanner won't display anything until you configure once so that it brings up the wlan0 interface. That's a minor bug that I won't worry about. If it bugs someone later, they can fix it with a startup function that recognizes that wlan0 (or wlan1, etc.) is available and enables it with ifconfig or ip.</p>
<p>That just leaves #2, which needs to be retested to see what it looks like in normal mode. With the scanner moved to it's own tab, the background can be drawn in Cairo to be black instead of using the system colors.</p> pibox-network-config - Bug #632: wifi scanner not working in default modehttps://redmine.graphics-muse.org/issues/632?journal_id=26962020-03-03T03:42:06ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Priority</strong> changed from <i>Urgent</i> to <i>Immediate</i></li><li><strong>Severity</strong> changed from <i>03 - Medium</i> to <i>02 - High</i></li></ul> pibox-network-config - Bug #632: wifi scanner not working in default modehttps://redmine.graphics-muse.org/issues/632?journal_id=27012020-03-06T17:04:14ZHammelmjhammel@graphics-muse.org
<ul></ul><p>Item #1 might be fixable by re-arranging main.c:updateScan() a bit. Let it try to get device information if any is available, but only if we find some devices, even if we're not realized yet. Having the info is useful as soon as the display is visible. I need to test if the device is visible if they have not been brought up yet, however. I suspect they are, but might need to enable them with ifconfig before accessing them with the scanner. Maybe the network init script should do that? Or maybe I can check it programmatically?</p>
<p>Also, gtk_wifiscan_update() should probably have a mutex around the changing of internal buffers since that happens async to updates. updateScan() might want to pass in the new buffers before clearing the old ones to avoid async access to them in the widget.</p> pibox-network-config - Bug #632: wifi scanner not working in default modehttps://redmine.graphics-muse.org/issues/632?journal_id=27042020-03-06T18:43:46ZHammelmjhammel@graphics-muse.org
<ul></ul><p>Verified: /proc/net/wireless has no data if the device is not configured. But scanning (iwlist scan) doesn't require the device to be configured. So I need to review updateScan() and friends to see if we really need /proc/net/wireless. We should be able to do this another way, I think.</p> pibox-network-config - Bug #632: wifi scanner not working in default modehttps://redmine.graphics-muse.org/issues/632?journal_id=27072020-03-07T00:22:50ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>10</i> to <i>100</i></li></ul><p>Okay, this is all fixed and the wifi-scanner is now working quite well. It starts faster when you select the tab, has much better color and easier to read text. It also scales well. And it works fine in both embedded mode (as with the Media System) and normal mode (as with the dev platform).</p>
<p>All changes committed and pushed.</p>
<p>Closing issue.</p>