User avatar
jwilker2
Posts: 44
Joined: Wed Nov 30, 2011 6:55 am
Location: Birmingham, Alabama

Re: Mimo 720-S Touchscreen [Solved]

Wed Jun 05, 2013 2:48 pm

For anyone who wants to incorporate a mouse and keyboard with their touchscreen you can try these modifications to '/etc/X11/xorg.conf' these updates should 'pull' in the default keyboard and mouse when 'X' starts. It works nicely with my wireless Logitech K400 keyboard and touchpad, however, your mileage may vary. These modifications are optional and not a requirement for the correct operation of the '720-S Touchscreen'. You should have simultaneous access to keyboard, mouse and touchscreen when finished. (These are additions to Dane Gardner & Phil Harlow's 'stock' xorg.conf for the Mimo 720-S)

Section "Device"
Identifier "uga"
driver "fbdev"
Option "fbdev" "/dev/fb1"
Option "ShadowFB" "off"
EndSection
Section "Monitor"
Identifier "monitor"
EndSection

Section "Screen"
Identifier "screen"
Device "uga"
Monitor "monitor"
EndSection

Section "ServerLayout"
Identifier "default"
Screen 0 "screen" 0 0
InputDevice "touchscreen" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"

Option "Xinerama" "Off"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection


Section "InputDevice"
Identifier "touchscreen"
Driver "evdev"
Option "Device" "/dev/input/by-id/usb-e2i_Technology__Inc._USB_Touchpanel_L000000000-event-if00"
Option "DeviceName" "touchscreen"
Option "ReportingMode" "Raw"
Option "SendCoreEvents" "On"
Option "Calibrate" "1"
Option "Calibration" "630 32000 1100 31800"
Option "InvertY" "true"
Option "InvertX" "true"
Option "SwapAxes" "false"
EndSection

Geeviz
Posts: 56
Joined: Tue May 28, 2013 7:40 pm

Re: Mimo 720-S Touchscreen [Solved]

Wed Jun 05, 2013 4:16 pm

Thanks. I will try that.

But it is still a strange thing that there are not any USB problems on the original Raspberry Wheezy image, both terminal and Graphical.

The USB problems start until the moment when the 3.2.27mimo2.img are in use..

So there must be any solution for each type of keyboard and mouse.

User avatar
jwilker2
Posts: 44
Joined: Wed Nov 30, 2011 6:55 am
Location: Birmingham, Alabama

Re: Mimo 720-S Touchscreen [Solved]

Wed Jun 05, 2013 4:48 pm

Geeviz wrote:Thanks. I will try that.

But it is still a strange thing that there are not any USB problems on the original Raspberry Wheezy image, both terminal and Graphical.

The USB problems start until the moment when the 3.2.27mimo2.img are in use..

So there must be any solution for each type of keyboard and mouse.
Hmmm, I'm unclear what you mean by this. I actually use the standard issue Raspbian Image i.e. --- Linux 3.6.11-cutdown+ #1 PREEMPT Wed Jun 5 07:30:52 CDT 2013 armv6l GNU/Linux --- as you can see I compiled it from source this morning at 07:30.

The others out there are using an older version 3.2.27 or 3.6.5 or whatever but I believe the results are the same. Issues can arise when the 'fix' to cmdline.txt is implemented i.e. dwg_otg.speed=1 can cause some headaches with a few peripherals. If you are seeing something else then let me know I'm always curious.

Geeviz
Posts: 56
Joined: Tue May 28, 2013 7:40 pm

Re: Mimo 720-S Touchscreen [Solved]

Wed Jun 05, 2013 7:04 pm

OK.. added the lines to the xorg.conf and deleted the dwc speed=1 line from cmdline

But.. Strangely still no response at mouse/keyboard on the graphical part with the 3.2.27mimo2 kernel..

any suggestions which I can try for mouse/keyboard?

Really like this to work together instead of the original raspberry wheezy OS since I would take the Mimo screen together with the Pi and mouse/keyb on vacation as stand-in for my normal laptop.

User avatar
jwilker2
Posts: 44
Joined: Wed Nov 30, 2011 6:55 am
Location: Birmingham, Alabama

Re: Mimo 720-S Touchscreen [Solved]

Wed Jun 05, 2013 7:54 pm

Geeviz wrote:OK.. added the lines to the xorg.conf and deleted the dwc speed=1 line from cmdline

But.. Strangely still no response at mouse/keyboard on the graphical part with the 3.2.27mimo2 kernel..

any suggestions which I can try for mouse/keyboard?

Really like this to work together instead of the original raspberry wheezy OS since I would take the Mimo screen together with the Pi and mouse/keyb on vacation as stand-in for my normal laptop.
OK so you're abandoning the touchscreen in favor of a keyboard and mouse... Can you list the contents of /dev/input? $ ls /dev/input and tell me what you see?

Geeviz
Posts: 56
Joined: Tue May 28, 2013 7:40 pm

Re: Mimo 720-S Touchscreen [Solved]

Wed Jun 05, 2013 8:01 pm

I'll give it a try. The results are as follows:

in darkblue there is written:

By-ID By Path

and in yellow is written:

Mice mouse0

for the rest nothin' there..

User avatar
jwilker2
Posts: 44
Joined: Wed Nov 30, 2011 6:55 am
Location: Birmingham, Alabama

Re: Mimo 720-S Touchscreen [Solved]

Wed Jun 05, 2013 8:12 pm

Geeviz wrote:I'll give it a try. The results are as follows:

in darkblue there is written:

By-ID By Path

and in yellow is written:

Mice mouse0

for the rest nothin' there..
Edit /etc/X11/xorg.conf again and make the section that reads:

Section "ServerLayout"
Identifier "default"
Screen 0 "screen" 0 0
InputDevice "touchscreen" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "Off"
EndSection

LOOK JUST LIKE THIS:

Section "ServerLayout"
Identifier "default"
Screen 0 "screen" 0 0
#InputDevice "touchscreen" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "Off"
EndSection

Reboot the Pi and see if either the mouse or the keyboard work on the desktop.

Geeviz
Posts: 56
Joined: Tue May 28, 2013 7:40 pm

Re: Mimo 720-S Touchscreen [Solved]

Wed Jun 05, 2013 8:32 pm

Okay, changed the line but no result yet..

cheers Geeviz

Geeviz
Posts: 56
Joined: Tue May 28, 2013 7:40 pm

Re: Mimo 720-S Touchscreen [Solved]

Wed Jun 05, 2013 8:35 pm

Now another strange thing. My television boots up the terminal part.. (boot part) whilst the screen (Usb Mimo) already put in graphics. now the tv says " No Screen Found" the USB screen is started graphical yet but even no mouse/keyb.. lol

but is there by the way.. any importantness for the orders of execution in the xorg.conf? Mines is as follows now:

Section "ServerFlags"
Option "AutoAddDevices" "True"
# Option "AllowEmptyInput" "False"
EndSection

Section "ServerLayout"
Identifier "Server Layout"
Screen 0 "DisplayLinkScreen" 0 0
InputDevice "touchscreen" "CorePointer"
Option "Xinerama" "Off"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Device"
Identifier "DisplayLinkDevice"
Driver "fbdev"
Option "fbdev" "/dev/fb1"
Option "ShadowFB" "false"
EndSection

Section "Monitor"
Identifier "DisplayLinkMonitor"
EndSection

Section "Screen"
Identifier "DisplayLinkScreen"
Device "DisplayLinkDevice"
Monitor "DisplayLinkMonitor"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "800x480"
EndSubSection
EndSection

Section "InputDevice"
Identifier "touchscreen"
Driver "evdev"
Option "Device" "/dev/input/by-id/usb-e2i_Technology__Inc._USB_Touchpanel_L000000000-event-if00"
Option "DeviceName" "touchscreen"
Option "ReportingMode" "Raw"
Option "SendCoreEvents" "On"
Option "Calibrate" "1"
Option "Calibration" "630 32000 1100 31800"
Option "InvertY" "true"
Option "InvertX" "false"
Option "SwapAxes" "false"
EndSection

and how about " /dev/input? $ ls /dev/input" ? Is it cool to see only a mouse there?

Cheers, Michiel. (Geeviz)

User avatar
jwilker2
Posts: 44
Joined: Wed Nov 30, 2011 6:55 am
Location: Birmingham, Alabama

Re: Mimo 720-S Touchscreen [Solved]

Wed Jun 05, 2013 9:11 pm

Your file /etc/X11/xorg.conf is not correct...
Copy and paste this into your /etc/X11/xorg.conf exactly as it appears and you might be all done:

Code: Select all

Section "Device"
Identifier "uga"
driver "fbdev"
Option "fbdev" "/dev/fb1"
Option "ShadowFB" "off"
EndSection
Section "Monitor"
Identifier "monitor"
EndSection

Section "Screen"
Identifier "screen"
Device "uga"
Monitor "monitor"
EndSection

Section "ServerLayout"
Identifier "default"
Screen 0 "screen" 0 0
#InputDevice "touchscreen" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "Off"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option	 "Protocol" "auto"
Option	 "Device" "/dev/input/mice"
Option	 "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
Identifier "touchscreen"
Driver "evdev"
Option "Device" "/dev/input/by-id/usb-e2i_Technology__Inc._USB_Touchpanel_L000000000-event-if00"
Option "DeviceName" "touchscreen"
Option "ReportingMode" "Raw"
Option "SendCoreEvents" "On"
Option "Calibrate" "1"
Option "Calibration" "630 32000 1100 31800"
Option "InvertY" "true"
Option "InvertX" "true"
Option "SwapAxes" "false"
EndSection
Make sure this is all that's in the file when you are done.

Geeviz
Posts: 56
Joined: Tue May 28, 2013 7:40 pm

Re: Mimo 720-S Touchscreen [Solved]

Thu Jun 06, 2013 9:32 am

no luck yet.. copied exact the code as you say and replaced the xorg.conf.. but still not a working mouse keyboard. Only just a screen..

Cheers, Michiel.

Mike Trethowan
Posts: 26
Joined: Fri Jun 07, 2013 2:26 pm
Location: San Diego County

Re: Mimo 720-S Touchscreen [Solved]

Fri Jun 07, 2013 3:43 pm

I have a Mimo 720. It took a while but I got mine working fine using just the advice from Phil's Blog and the JakeWisniewski download package. If it hasn't been mentioned already, I found that editing the cmdline.txt file on the SD card to include the configuration “dwc_otg.speed=1″ actually prevented my Mimo from working properly.

Geeviz
Posts: 56
Joined: Tue May 28, 2013 7:40 pm

Re: Mimo 720-S Touchscreen [Solved]

Fri Jun 07, 2013 3:48 pm

which package? ( JakeWisniewski download package )

But my screen works well only not a mouse en keyboard.. I do not use the DWC speed 1 tag either

I do search a way to get my keyboard/mouse working with the mimo graphical.

Geeviz
Posts: 56
Joined: Tue May 28, 2013 7:40 pm

Re: Mimo 720-S Touchscreen [Solved]

Fri Jun 07, 2013 6:50 pm

Hi again all,

Could the screen Mimo UM740 UM cause the USB error? It needs 2 usb wires to connect (it has 2) and when I put them on the hub it has a read error.. maybe that can cause the usb mouse and keyboard conflict?

Are there any solutions for puttin' up the both usb-wires of the screen without errors, maybe a solution for taking the sub ports to 1 speed (E.g. 1.1)?

device descriptor read/64, error -71

Cheers Michiel.

Mike Trethowan
Posts: 26
Joined: Fri Jun 07, 2013 2:26 pm
Location: San Diego County

Re: Mimo 720-S Touchscreen [Solved]

Mon Jun 10, 2013 6:31 pm

Geeviz wrote:which package? ( JakeWisniewski download package )

But my screen works well only not a mouse en keyboard.. I do not use the DWC speed 1 tag either

I do search a way to get my keyboard/mouse working with the mimo graphical.
Yes. My mouse and keyboard work fine and the touchscreen axis is fine. When you create the "xorg.conf" file in the /etc/X11/ folder using the example, set "InvertX" to false. I used his kernel "3.6.11-mimo.img" replacing mine and renaming his to kernel.img. Copy all the files in his "lib" folder their respective folders on your SD card. !!!Warning!!! Copy the contents, don't over write your folders.

Geeviz
Posts: 56
Joined: Tue May 28, 2013 7:40 pm

Re: Mimo 720-S Touchscreen [Solved]

Mon Jun 10, 2013 8:01 pm

i'll try! :)

Geeviz
Posts: 56
Joined: Tue May 28, 2013 7:40 pm

Re: Mimo 720-S Touchscreen [Solved]

Mon Jun 10, 2013 8:27 pm

Hi Mike,

Can you arrange me please a disc (Sd-card) image of yours with a working touchscreen and mouse/keyboard so I can test that? my pi is really totally nuts and after I tried all options, ways and manners.. I really tired now of not working :(

(My sd is 4 GB)

Cheers, Michiel

Mike Trethowan
Posts: 26
Joined: Fri Jun 07, 2013 2:26 pm
Location: San Diego County

Re: Mimo 720-S Touchscreen [Solved]

Mon Jun 10, 2013 9:26 pm

I am sorry I can not. My SD is 32Gb and full of propitiatory company software.

Mike Trethowan
Posts: 26
Joined: Fri Jun 07, 2013 2:26 pm
Location: San Diego County

Re: Mimo 720-S Touchscreen [Solved]

Mon Jun 10, 2013 9:29 pm

I am surprised that no one has made a 2Gb image available for this reason, but I guess it allows people to learn by trial. What model Mimo do you have?

gvoice2600
Posts: 1
Joined: Tue Jun 11, 2013 5:28 am

Re: Mimo 720-S Touchscreen [Solved]

Tue Jun 11, 2013 6:09 am

@JakeWisniewski
=Can't PM because I'm new to the forum :(

=I'm new to all the ARM nano-computer stuff, but not new to Linux or ARM in general. I was looking into the elo in question for an in-car media center, and came across your troubles. This display is perfect for the application and I love the single USB connection. Even if you've tried this fix please get back to me so we can network on our configurations. I haven't purchased the display yet but if we can get yours working I will go with this display for sure.

=Your issues specifically could be related to CONFIG_USB_SUSPEND in the USB kernel module. Take a look at this thread http://ubuntuforums.org/archive/index.php/t-797789.html and tell me if it fixes your problem. First try (backup first, please don't brick your unit on my behalf) , (as root, no quotes of course) "echo -1 >/sys/module/usbcore/parameters/autosuspend", then reboot, or you should be able to create the file at "/etc/modprobe.d/" one of these or something in the thread (Specific fix depends on distro and what-not, but try the "echo" fix i mentioned first as it is the simplest) should disable USB suspend, and fix your -71 errors ;)

=Please let me know how it goes either way, as I am very interested in this display :D Thank you in advance! -- James

Geeviz
Posts: 56
Joined: Tue May 28, 2013 7:40 pm

Re: Mimo 720-S Touchscreen [Solved]

Tue Jun 11, 2013 4:59 pm

I am having a UM 740 (*Mimo) .. but i am pretty new to Linux.. do not have much knowledge about it.. yet..
but happily with some common logical sence and help from here I came just pretty far..

(to the point of working screen but no keyb/mouse)

Geeviz
Posts: 56
Joined: Tue May 28, 2013 7:40 pm

Re: Mimo 720-S Touchscreen [Solved]

Tue Jun 11, 2013 6:07 pm

By the way about the 'Do Not Overwrite Folder' warning..

what is the difference in working with the PI and screen between that overwriting.. and putting the files into their correct folders/subfolders without overwriting folders?

--//-- Geevz (Michiel)

Mike Trethowan
Posts: 26
Joined: Fri Jun 07, 2013 2:26 pm
Location: San Diego County

Re: Mimo 720-S Touchscreen [Solved]

Tue Jun 11, 2013 6:10 pm

I just wanted to make sure yours was in fact a 740. These configurations here are for a 720. I searched and only found one discussion on a different site regarding the 740, but it was for a different product running Linux BSP, not the Raspberry Pi, so I don't know if these directions will apply.

Good practice is to reboot each time you make a major change, then make backup images of your SD if it boots.

If your screen is working but no mouse, then I would try to make sure that you have copied the files and folders to their correct locations. When you expanded the archive you ended up with a folder called 3.6.11-mimo. In that folder you would have found two more folders, "boot" and "lib".

Since your screen is working you did copy the kernel to your SD, so I will only discuss the folder named "lib"

The folder "lib" contains files and folders that are in the same order as the folder named "lib" on the "file system" (the second partition) on your SD card. Open the "lib" folders under 3.6.11-mimo and on your SD card side by side and examine the contents. As you go through both and compare them carefully. I am convinced that you will see that folders and files are missing from the SD card.

You understand that you have to be root or use "sudo" to copy files from one to the other when you are working in the file system?

Geeviz
Posts: 56
Joined: Tue May 28, 2013 7:40 pm

Re: Mimo 720-S Touchscreen [Solved]

Tue Jun 11, 2013 6:14 pm

Yeah I know.. :-)

But overwriting folders does not work correct?

But I give all above a try, tonight I install a fresh wheezy on the SD and follow al the steps again to this last point..
and how about the dwc speed 1.. it gives still errors..

my steps:

1) Install the Wheezy image.
2) Setup raspi-config
3) login as root
4) upgrading and updating
5) placing the needed files in lib/firmware and so (not overwriting only placing) and kernel (3.6.11 mimo)
6) place the updated xorg.conf to /ETC/X11.

Mike Trethowan
Posts: 26
Joined: Fri Jun 07, 2013 2:26 pm
Location: San Diego County

Re: Mimo 720-S Touchscreen [Solved]

Tue Jun 11, 2013 7:43 pm

I wrote several posts back:

"!!!Warning!!! Copy the contents, don't overwrite your folders."

So make sure you simply copy contents and non-existing folders.

Then you should have success.

Return to “Other projects”

Who is online

Users browsing this forum: No registered users and 7 guests