XOrg Keyboard and mouse issues; Overscan

This forum is for supported devices using an ARMv7 Samsung SoC.

XOrg Keyboard and mouse issues; Overscan

Postby zwerdlds » Mon Oct 20, 2014 6:00 am

Hello all,
Apologies for the multiple issues here I'm looking for some last-ditch help solving a couple of issues with my embedded platform. I have an Odroid U3 with ALARM. It is ultimately intended to run Chromium as a kiosk. I have the MALI drivers installed and can successfully launch into chromium fullscreen.

Here is my .xinitrc:
$this->bbcode_second_pass_code('', '
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi

exec chromium google.com --user-data-dir /chromium-user-data --kiosk
')

Problem 1: The screen on monitor is cropping the view. The chromium view is missing the left several columns of the page, and there is a few hundred columns of black pixels to the right. I started with an X -configure-based configuration. I have attempted to use a custom Modeline in my xorg.conf using http://www.mythtv.org/wiki/Working_with_Modelines as a guide. I started with the following and tried to modify the front/back porches with no effect:
$this->bbcode_second_pass_code('', 'Modeline "custommode" 95.75 1280 1440 1512 1696 720 723 728 755')

This is the monitor I am using, FWIW: http://www.lilliputuk.com/monitors/hdmi/869gl/.

Additionally I tried --pos from xrandr with also no effect. --transform lead to some somewhat different results but only in that the only transforms that did anything got the phase wrong and the display was distorted.

Experimentally, gnome-session does use the entire screen area though it seems there is some overscan there as well. My Mint-based workstation picks up the monitor correctly. Is there a way to pull the configuration it is using?


Problem 2: Keyboard and mouse in X11 is not working. I get response from $this->bbcode_second_pass_code('', 'cat /dev/input/mouse0') when the mouse is used. I have tried removing explicit references to the mouse (s is currently the case). I have commented out the InputDevice and the individual InputDevice Sections regarding the mouse and keyboard.

I apologize if this is off topic or I'm violating any rules. I've been pulling my hair out all weekend trying to get this working.

Thank you in advance for your help.



Currently xorg.conf looks like this:
$this->bbcode_second_pass_code('', 'Section "ServerFlags"
Option "AutoAddDevices" "false"
EndSection

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
Load "glx"
EndSection

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

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

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "Debug" # [<bool>]
#Option "NoFlip" # [<bool>]
#Option "DRICard" # <i>
#Option "BusID" # <str>
#Option "DriverName" # <str>
#Option "DRI2MaxBuffers" # <i>
#Option "InitFromFBDev" # <str>
Identifier "Card0"
Driver "armsoc"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
')
zwerdlds
 
Posts: 1
Joined: Mon Oct 20, 2014 5:33 am

Re: XOrg Keyboard and mouse issues; Overscan

Postby pepedog » Mon Oct 20, 2014 7:21 am

Keyboard and mouse, it's probably dbus
Don't know if it will work, add to bottom of ~/.xinitrc
$this->bbcode_second_pass_code('', 'exec dbus-launch chromium')
Start with startx
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK


Return to Samsung

Who is online

Users browsing this forum: No registered users and 22 guests