maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N9 / N950 (https://talk.maemo.org/forumdisplay.php?f=51)
-   -   The N9/N950 Kernel Upstreaming Force (https://talk.maemo.org/showthread.php?t=95966)

peterleinchen 2015-11-13 21:29

Re: The N9/N950 Kernel Upstreaming Force
 
filip.pz

I only get
Quote:

# ./mxt-app
sh: mxt-app: not found
downloaded, copied to /root, made executable, used your command ...

meemorph 2015-11-13 21:37

Re: The N9/N950 Kernel Upstreaming Force
 
same here
Code:

./mxt-app -d i2c-dev:2-004b --save RM-680_Himalaya_AUO_V1_1.xcfg
sh: ./mxt-app: not found

ls -al
-rwxr-xr-x    1 root    root        290144 Nov 13 22:31 mxt-app

uname -a
Linux RM680 2.6.32.54-dfl61-20121301 #1 PREEMPT Sat Mar 2 23:11:21 EET 2013 armv7l GNU/Linux


filip.pz 2015-11-14 05:42

Re: The N9/N950 Kernel Upstreaming Force
 
Quote:

Originally Posted by meemorph (Post 1488121)
same here
Code:

./mxt-app -d i2c-dev:2-004b --save RM-680_Himalaya_AUO_V1_1.xcfg
sh: ./mxt-app: not found

ls -al
-rwxr-xr-x    1 root    root        290144 Nov 13 22:31 mxt-app

uname -a
Linux RM680 2.6.32.54-dfl61-20121301 #1 PREEMPT Sat Mar 2 23:11:21 EET 2013 armv7l GNU/Linux


Sorry guys. I have built it with Mer SDK and tried it on Nemo. Seems that Harmattan has unmet dependencies. I'll check what's missing during the day and report back.

minimos 2015-11-14 08:50

Re: The N9/N950 Kernel Upstreaming Force
 
I tried to run under strace but it did not seem to help much:

Code:

/tmp # strace -F ./mxt-app
execve("./mxt-app", ["./mxt-app"], [/* 35 vars */]) = -1 ENOENT (No such file or directory)
dup(2)                                  = 3
fcntl64(3, F_GETFL)                    = 0x20002 (flags O_RDWR|O_LARGEFILE)
fstat64(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3aaab000
_llseek(3, 0, 0xaebef668, SEEK_CUR)    = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: No such file or di"..., 40strace: exec: No such file or directory
) = 40
close(3)                                = 0
munmap(0x3aaab000, 4096)                = 0
exit_group(1)                          = ?


filip.pz 2015-11-14 09:07

Re: The N9/N950 Kernel Upstreaming Force
 
Fixed by recompilation of mxt-app without libusb1 support (download from the same link: https://www.dropbox.com/s/tutr6hueizgn7w9/mxt-app?dl=0). Also, this is needed:
Code:

ln -s /lib/ld-linux.so.3 /lib/ld-linux-armhf.so.3
This will get you to interactive mode, if someone wants to play:
Code:

./mxt-app -d i2c-dev:2-004b

peterleinchen 2015-11-14 09:31

Re: The N9/N950 Kernel Upstreaming Force
 
Sadly, same thing happening.

--
Oops, sorry. Forgot the link. Stay tuned ...


Okay it is running. But with error message.
Quote:

~ # ./mxt-app -d i2c-dev:2-004b
Version:1.26-5-g5a0e692-mod
Registered i2c-dev adapter:2 address:0x4b
Error Operation not permitted (1) writing to i2c
Failed to read ID information
~ #
and no output written.

I am on stock kernel (PR1.3,
Quote:

~ # uname -r
2.6.32.54-dfl61-20121301
). As root , and in develsh.
So I guess open mode is needed?

meemorph 2015-11-14 10:47

Re: The N9/N950 Kernel Upstreaming Force
 
with open mode kernel as in comment above:
Code:

./mxt-app -d i2c-dev:2-004b --save RM-680_Himalaya_AUO_V1_1.xcfg
Version:1.26-5-g5a0e692-mod
Registered i2c-dev adapter:2 address:0x4b
REPORTALL command issued
Read config from device
Saved config to RM-680_Himalaya_AUO_V1_1.xcfg in .xcfg format

http://pastebin.com/mx4t5SsC

filip.pz 2015-11-16 16:34

Re: The N9/N950 Kernel Upstreaming Force
 
Quote:

Originally Posted by meemorph (Post 1488139)
with open mode kernel as in comment above:
Code:

./mxt-app -d i2c-dev:2-004b --save RM-680_Himalaya_AUO_V1_1.xcfg
Version:1.26-5-g5a0e692-mod
Registered i2c-dev adapter:2 address:0x4b
REPORTALL command issued
Read config from device
Saved config to RM-680_Himalaya_AUO_V1_1.xcfg in .xcfg format

http://pastebin.com/mx4t5SsC

Sorry to bother you again, but can you do:
Code:

./mxt-app -d i2c-dev:2-004b --save RM-680_Himalaya_AUO_V1_1.raw
Apparently driver needs OBP_RAW format and conversion from xcfg to raw doesn't produce valid OBP_RAW file.

meemorph 2015-11-16 18:47

Re: The N9/N950 Kernel Upstreaming Force
 
Quote:

Originally Posted by filip.pz (Post 1488298)
Sorry to bother you again, but can you do:
Code:

./mxt-app -d i2c-dev:2-004b --save RM-680_Himalaya_AUO_V1_1.raw
...

null problemo, nema problema, no problem :D

Code:

Version:1.26-5-g5a0e692-mod
Registered i2c-dev adapter:2 address:0x4b
REPORTALL command issued
Read config from device
Saved config to RM-680_Himalaya_AUO_V1_1.raw in OBP_RAW format

http://pastebin.com/0nqFVUYy

https://www.dropbox.com/s/jpwayi9gb9..._V1_1.raw?dl=0

marmistrz 2015-11-16 21:45

Re: The N9/N950 Kernel Upstreaming Force
 
Hi,

I'm still there, just really busy

Here's the dump for the N950.
http://en.file-upload.net/download-1...M-696.raw.html

Thanks


All times are GMT. The time now is 10:50.

vBulletin® Version 3.8.8