Bug 92542 - Geode cannot be used with GNOME because it requires root priviledges
Summary: Geode cannot be used with GNOME because it requires root priviledges
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/geode (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: X.org Geode Mailing List
QA Contact: X.org Geode Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-19 17:20 UTC by Martin-Éric Racine
Modified: 2018-08-10 20:42 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Geode LX KMS driver for Linux kernel (130.07 KB, application/octet-stream)
2015-11-24 13:04 UTC, Martin-Éric Racine
no flags Details

Description Martin-Éric Racine 2015-10-19 17:20:21 UTC
Recent GNOME releases have switched to launching X as a non-root user. 

This fails on Geode beause Geode tries to access the following devices, all typically owned by root:

$ ls -al /dev/dri/card0 /dev/fb0 /dev/cpu/0/msr
ls: cannot access /dev/dri/card0: No such file or directory
crw------- 1 root root  202, 0 Oct 19 23:06 /dev/cpu/0/msr
crw-rw---- 1 root video  29, 0 Oct 19 23:06 /dev/fb0

On Debian (and some other distributions) the Geode driver hereafter requires the xserver-xorg-legacy wrapper to successfully launch with GDM-3. Other display managers that launch X as root still work as expected.
Comment 1 Martin-Éric Racine 2015-10-28 07:16:44 UTC
Someone had started developing a KMS driver for the Geode LX:

https://gitorious.org/lx

This would at least cover the OLPC XO-1 and a fairly large number of recent thin client terminals, but it would obviously leave the GX1 and GX2 hardware in the dust.
Comment 2 Zoltán Böszörményi 2015-11-24 12:55:44 UTC
(In reply to Martin-Éric Racine from comment #1)
> Someone had started developing a KMS driver for the Geode LX:
> 
> https://gitorious.org/lx
> 
> This would at least cover the OLPC XO-1 and a fairly large number of recent
> thin client terminals, but it would obviously leave the GX1 and GX2 hardware
> in the dust.

This is not available anymore. Can you please attach the latest repo tarball to this ticket?

I have two still widely used US-made POS machines with this Geode LX chip.
At least one of them actually makes use of the multiplexed DDC/UART2 gpio line for the serial connected touchscreen. Can we have a way to use both DDC control and UART2? E.g. switching to DDC only momentarily while initializing the Geode video and allow the UART2 most of the time?
Comment 3 Martin-Éric Racine 2015-11-24 12:59:32 UTC
The DDC probing issue was filed as a separate bug. Please comment on it there, not here.
Comment 4 Martin-Éric Racine 2015-11-24 13:04:25 UTC
Created attachment 120083 [details]
Geode LX KMS driver for Linux kernel
Comment 5 GitLab Migration User 2018-08-10 20:42:32 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-geode/issues/6.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.