|
|
So you don't like the restrictions on the module locations on the BUG in R1.1 and R1.2 of the rootfs. For whatever reason, you want to switch the channel/framebuffer that the BUGview module works on, and Xserver is running to, or you want to run dual x-servers. You can do this by modifying a few files on your BUG's rootfs. After getting to the CLI on your BUG: vi /etc/rc.d/rc.localLook for: To have your LCD module work in slots 0,2, change above to look like: To have dual LCD modules (which, again, is not supported otherwise we'd ship it with this configuration :wink:). Edit your rc.local file to look like the following: ...You'll need to reboot your BUG, and you should notice the change upon reboot. If you want immediate results you can do the same thing at the command line, but you'll need to add /usr/X11R6/bin to your path. export PATH=$PATH:/usr/X11R6/binYou will likely notice a reduction in performance with the responsiveness of the touch screens. However, it's pretty cool. Enjoy. -John |
|
|
phoneME Advanced is set up to render on either of the xserver displays. Since we're starting xserver on display 1, you'll want to let phoneME know about it. Do this by modifying /opt/concierge/start.sh specifically at the line below: That should do it. Now when you use an app on bugnet that requires a frame, your frame will render to the appropriate xserver display. |
|
|
An update on this: as of R1.3 (October 2008) X renders on both framebuffers. Java apps, however, still render on only display 0. |
|
|
Has anything changed in R1.4.1 w.r.t. supporting multiple BUGview modules in Java? Is this possible? |
|
|
BUG supports multiple LCDs on the same side, but not back to back. The data buses go through the connectors from one side to the other on the BUG. So you can attach two LCDs in a row, in slots 0 and 1, or slots 2 and 3. But not slots 0 and 2 or slots 1 and 3. |
|
|
Yes, I understand there are hardware limitations that restrict how two BUGviews can be placed. But the Java framework places additional restriction on how the BUGview modules can be used. Here are my test results: Single BUGview module with no app running Upshot: can’t do direct back-to-back, but either two modules on the same side or staggered on opposite sides work. Now, when running the basic Java GUI example from http://bugcommunity.com/wiki/index.php/Create_a_basic_GUI I get the following results:
Slot 0 – works fine Dual BUGview modules with basic Java GUI example: The only combinations that could work, if we believe that the above results generally hold are 0 and 1, 0 and 3, 1 and 2, 2 and 3: Testing 0+1 resulted in blinking white screen + blinking blue LEDs = unhappy BUG; I had to power cycle and cannot get the application to start up again. Still working on this… So my real question is: is there a way to use two BUGview modules with a Java application, and how do I address the two screens independently in the Java API?
|
|
|
Just to be clear, with a single module attached you should never see colored noise. The suggests a possible hardware problem.
With regard to using two screens within a single java app, there is a limitation of the phoneME=>QT bindings that only allows for one instance of xserver to be rendered to at a time. What this means practically is that one instance of the java process will render to one instance of the xserver process. There is no way to have a single java program render on both LCD screens. |
|
|
Thanks for the clarification – that was my impression, too, that’s it’s currently impossible to render to two screens from a Java app. My project doesn’t actually require graphics output on two screens – I’d love to show output on one, but sense touch input from the other, using it only as an input device. Any chance that may work from Java (my sense is no)? |
|
|
It’s definitely technically possible. You could run one java app on one process and use sockets to communicate between instances of the vms, but they wouldn’t both be bugapps in the usual sense. |
|
|
As a perfect combination of classic and modern fashion,Coach Outlet Online Julia Bags can show the customers'unique personality.Tiffany UK grabbed the globe, stands out as the celeb on their favorite stars luxury type, granted an innovative simple move the pavement luxury, complete with luxury.In terms of the quality and superior design that make more and more customers are satisfied to Coach Factory Online.Welcome!hat experts claim Coach Outlet Online shopping is in the changes they are available in.As long as you open our Coach Factory Outlet webpage, you will view various Coach New Arrivals which are the most popular also the most fashionable in this year.On the date when the Louis Vuitton UK on sale, all people will pour into the stores. At this time, it on the booths will be wiped out, and only one or two days the seller will declare that there is no stock anymore. |
|
|
Remember that the right accessories can enhance your alluring look with your Canada Goose Parkas Outlet.Baggy, ovoid shaped Canada Goose Jackets Outlet that are rounded around the shoulders look fabulous and can be a perfect match for you.This excellent conviction so that you class gets to amateur Canada Goose Outlet In a number of Parka, for example Young Canada Goose affordable Cardigan.Luxury has always been synonymous with fur and leather and this year a faux fur Canada Goose Jackets Outlet will surely be the key piece of your wardrobe. |
|
|
run on is 72 hours without a refuel,” said Dziedzicki, describing how how cheap designer |
|
|
coach outlet http://www.coachoutlettoronto.com/ |