On Friday 24 July 2015 10:40:58 Pali Rohár wrote:
> On Friday 24 July 2015 16:18:09 Dave Young wrote:
> > On 07/11/15 at 02:05pm, Pali Rohár wrote:
> > > Hello,
> > > 
> > > now I tested 4.2-rc1 release on Nokia N900 and couple of drivers
> > > are broken and cause kernel oops...
> > > 
> > > Basically wifi, touchscreen and rtc drivers not working...
> > 
> > Pali, could you tell how do you test mainline kernel on n900?
> > 
> > I used to use n900 as a usb dbgp gadget with a backport patch to
> > 2.6.28 so that I can get early debug kernel message from my laptop.
> > 
> > I tried mainline previously with Fedora arm, text mode works but
> > no graphics. Is there a way to use maemo UI with mainline kernel?
> > 
> > Thanks
> > Dave
> 
> Hi! Starting Maemo with mainline kernel is not possible. But you can
> patch Maemo (userspace) and apply some kernel patches and you could
> boot Maemo system with Hildon UI.
> 
> You need:
> 
> Patched kernel:
> https://github.com/pali/linux-n900
> 
> CSSU-devel:
> https://wiki.maemo.org/CSSU
> http://talk.maemo.org/showthread.php?t=84292
> 
> Open source battery management:
> http://talk.maemo.org/showthread.php?t=93183
> 
> Fixup for Dialer application (rtcom-call-ui):
> Fixing HAL path
> /org/freedesktop/Hal/devices/platform_soc_audio_logicaldev_input
> 

Create new file /etc/event.d/userspace-fixes with content:

start on started hildon-desktop
service
console none
script
        if ! hal-device 
/org/freedesktop/Hal/devices/platform_soc_audio_logicaldev_input 2> /dev/null; 
then
                hal-device --add 
/org/freedesktop/Hal/devices/platform_soc_audio_logicaldev_input < /dev/null
                hal-set-property --udi 
/org/freedesktop/Hal/devices/platform_soc_audio_logicaldev_input --key 
input.jack.type --
strlist-pre "a"
                hal-set-property --udi 
/org/freedesktop/Hal/devices/platform_soc_audio_logicaldev_input --key 
input.jack.type --
strlist-rem "a"
        fi
end script


> Fixup for SGX video driver:
> Fixing script /etc/event.d/sgx
> 

Change if condition to:

if [ -n "$(grep RX-51 /proc/component_version)" ] && uname -r | grep -q '^2.'; 
then

-- 
Pali Rohár
pali.ro...@gmail.com

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to