yashsingh1/xdaforums huggingface dataset:
[JASJAR, XDA Exec, MDA Pro General] cr2:
The touchscreen driver for TI tsc2046 is ported from ipaq hx4700

and is quite a hack ;) There is another driver,

touchscreen/corgi, that can

be adapted for the universal. Finally, the kernel 2.6.16

will have a standalone ads7846 driver, so we will

have a better option soon.

You should keep in mind, that i have no idea what chip

is actually used in the universal :?

The same applies to the bluetooth. It is TI-something,

very likely 610x or 6150, but we need to know exactly.
[JASJAR, XDA Exec, MDA Pro General] cr2:
I have looked into the tslib source, and we can easily improve the "nonlinearity" problem by adding two

quadratic terms into the calibration equation (module quadratic).

If it will not help, we can split the screen into 4 logical parts (tiles)

and apply the quadratic calibration to each of them separately,

preserving the continuity on the edges. It may be an overkill, but i wanted to say

that the nonlinearity can be resolved with some

relatively minor effort.
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
Ok, nice. Thx
[JASJAR, XDA Exec, MDA Pro General] milanvot:
The problem with the opie root you posted for download fs is the included qte doesn't read the proper keyboard event queue (/dev/input/event1). If you modify /etc/init.d/opie in the following way:

...

echo Starting Opie....

export QWS_KEYBOARD=USB:/dev/input/event1

export QWS_DISPLAY=Transformed:Rot270:0

$SSHAGENT $OPIEDIR/bin/qpe -terminal 2

fi

....

opie/qte starts to see the universal keyboard as a USB keyboard (which is good because the keyboard presents itself as a USB HID keyboard through the input layer). But unfortunately all except directional buttons (up/down/left/right) are somehow filtered out. After I rebuilt qte from the fresh source all keys are working fine.

Also I recommend you to look at the other QWS env variable, it rotates the screen in the proper direction :-)
[JASJAR, XDA Exec, MDA Pro General] milanvot:
The mapping between raw Universal keyboard scancodes and keycodes expected by input subsystem is far from being complete. The keyboard driver deals with physical keys/buttons - scancodes only (64 keys to be exact), the scancodes are processed (modifier keys like shift, ctrl, alt) completely in the input subsystem. What the FN key does is to simulate additional physical keys, the key is completely hidden from the input layer.That's why the keyboard works differently under WM5 and Linux: if you want to type %, in WM5 you have to press down FN+5, under Linux SHIFT+5. The reason is there is no physical % key on the AT keyboard, there is a key 5 and a key SHIFT and a rule saying when the you press 5 and SHIFT toether you get % ;-)
[JASJAR, XDA Exec, MDA Pro General] cr2:
Is it because of BUS_HOST ? But i don't see any other good choice :)

Yes. I 'm so lazy to watch out such minor things :lol:
[JASJAR, XDA Exec, MDA Pro General] cr2:
I don't really get it. There is

#define KEY_FN 0x1d0

in <linux/input.h>. Is it possible just to translate the raw scancode to KEY_FN ?
[JASJAR, XDA Exec, MDA Pro General] milanvot:
Once more again. If you look at the PC AT 101 keyboard, you can see 101 (or any other number of) physical keys. If you press a key, a scancode is generated and sent to a pc. Some keys have more than one meaning (a character assigned), but this kind of processing is done in the keyboard driver not by the keyboard itself. The universal keyboard driver emulates such a keyboard, it has 64 physical keys < 101 keys on PC AT keyboard, so the driver needs to emulate the missing ones. That's why we got the FN key. When you press the FN and ',' the driver simulate the physical key ';' which you can find on an english PC AT keyboard as a separate key. The driver never sends the information about FN key being pressed to the layer one level up. If you check <linux/inpuit.h> again, you can see there is not enough KEY_? constants defined to cover all the characters you can type using the PC AT keyboard. There are only abstract names of physical keys/scancodes coming from the keyboard=Universal keyboard driver, and the input layer driver translates these abstract scancodes to a defined characters based on the state of modifier keys (SHIFT, ALT) and an active keymap (german, english,...) to produce a character on your display. Ok, it was an attempt nr 2 :-)
[JASJAR, XDA Exec, MDA Pro General] milanvot:
When you speak about the tslib, do you have an arm based libts_dev or something like this? I simply need libts.a and libts.so-0.1.1 etc. I can't find the package on the web and when I try to crosscompile it from the source I'm getting libts.la instead of libts.a.... some problem with autoconf or ?
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
I tried this one, pasted it in to /etc/init.d/opie and the 4 arrows worked. Tested it with Tetris (Tetrix) and it worked great.

Looking forward to the full keyboard functionality in Opie.
[JASJAR, XDA Exec, MDA Pro General] cr2:
Ok. i'm not a keyboard expert like you :) I only want

my keyboard to work "as it is expected", and it is too often not the case :(
[JASJAR, XDA Exec, MDA Pro General] fusse:
can somebody upload : titchy-network-settings ? thanks you!
[JASJAR, XDA Exec, MDA Pro General] KindofBlue:
Where can I find this patch ?

Any experience with this patch ?

KindofBlue
[JASJAR, XDA Exec, MDA Pro General] scholbert:
Hi,

i got PM from cr2 ;)

The patch may be found in the latest openembedded repositories.

I just pulled it out.

scholbert
[JASJAR, XDA Exec, MDA Pro General] wendenerp:
Can someone assist me?

I can't find kernel 2.6.26 rc-4,

when patching 2.6.26 i get

FAILED at 368.
1 out of 3 hunks FAILED -- saving rejects to file arch/arm/mach-pxa/Kconfig.rej

i can't find an existing configuration file in /arch/arm/configs

when just using "make ARCH=arm menuconfig i can't configure architecture to pxa270.
[JASJAR, XDA Exec, MDA Pro General] romanrm:
IIZIIm

The -rc4 kernel is here:

http://www.kernel.org/pub/linux/kernel/v2.6/testing/v2.6.26/linux-2.6.26-rc4.tar.bz2

A configuration file (for 2.6.24-rc8, but supposed(?) to work):

http://svn.o-hand.com/repos/poky/trunk/meta/packages/linux/linux-rp-2.6.26/defconfig-htcuniversal

Patches:

http://svn.o-hand.com/repos/poky/trunk/meta/packages/linux/linux-rp-2.6.26/htcuni.patch

http://svn.o-hand.com/repos/poky/trunk/meta/packages/linux/linux-rp-2.6.26/htcuni-acx.patch

However I was not able to compile a 2.6.26 kernel yet, it failed with error messages about the absense of some pxa-keyboard-related header files.
[JASJAR, XDA Exec, MDA Pro General] l2tp:
dear linux users, does anybody have any ideas about getting run android on our belove uni?
[JASJAR, XDA Exec, MDA Pro General] yuvraj:
Can Someone Help

CAN'T ABLE 2 INSTALL LINUX

CAN SOMEONE HELP ME.
[JASJAR, XDA Exec, MDA Pro General] domi007:
Same question.
[JASJAR, XDA Exec, MDA Pro General] domi007:
What exactly happens? What are the error messages (if there are any)?

Please inform us, and than we can help you.

DOMy
[JASJAR, XDA Exec, MDA Pro General] fusse:
hello

can somebody upload linux with install some aplication and with install wifi driver? and with a desktop in icewm?
[JASJAR, XDA Exec, MDA Pro General] denisg.net:
Hi all

I'm a linux user from long ago, and I'd really like to put it on my universal (in fact i-mate jasjar, but it's the same, no?)

Files from http://www.linuxtogo.org/~htcpxa/htcuniversal are quite old, is there something more recent?

I'm a little bit confused: some of these files are clickable CAB that do everything (like OpenMoko), others need to create a file system on SD card before, In this thread, the link to OPIE II / Qtopia (that seems more recent) doesn't work.

Here's what I want: put linux on my phone and use it every day (phone and SMS of course, agenda, contacts, notes typing, some games, MP3 listening...), what do you advise me to do? I know linux and console commands, it's not a problem for me, but which install method do I have to use?

Is it really useable every day or do I have to wait a little?

Thank you very much for any advise.
[JASJAR, XDA Exec, MDA Pro General] romanrm:
http://wiki.neilandtheresa.co.uk/Titchy_Linux
[JASJAR, XDA Exec, MDA Pro General] icreative:
I install openmoko.CAB, but more just black screen and cursor didn't load O_o. Why Pinguin doesn't load??? Sorry< my bad english!
[JASJAR, XDA Exec, MDA Pro General] icreative:
All work, but it don't load radio)= suck's
[JASJAR, XDA Exec, MDA Pro General] robneymcplum:
Have tried so many ways of getting this working to no avail, could someone be really kind a do a proper noob instruction post? with all links, correct orders, etc? I have linux and xp but would prefer xp instructions, Pretty please.
[JASJAR, XDA Exec, MDA Pro General] denisg.net:
Thank you romanrm for the link. I tried it but it's still a little bit too "command line" for every day use, even if it's nice that Debian arrives on HTC.

I'm back to Opie/GPE. I can launch Linux with Titchy_Linux method and images from http://www.linuxtogo.org/~htcpxa/htcuniversal, but impossible to use phone functions. If I launch it with phone ON from Windows, phone LED keeps flashing, but what do I have to do to activateit and use it under linux?

Where can I find recent GPE/Opie/Openmoko/Qtopia images?

Did somebody try with a Google Android image?

I imagine some answers are in the thread, but I don't have the time to read 220 pages!

Thanks a lot for any help
[JASJAR, XDA Exec, MDA Pro General] denisg.net:
Hi again

Reading some pages from this thread, I finally manage to make Qtopia work, GREAT! I made my first linux call! I had to switch on GSM under windows before launching linux and remove PIN code. Qtopia is really nice, congrats to the creator.

How do you turn GSM off?

Qtopia image I used is from jan 2008, nothing more recent? What happened after this date?

Qtopia is nice for phone side, but PDA size is less rich than Opie, for example. Is there a way to combine both two?

Thanks a lot for any help
[JASJAR, XDA Exec, MDA Pro General] robneymcplum:
How did you do it? please explain for thickos like me. Please!!
[JASJAR, XDA Exec, MDA Pro General] denisg.net:
How I did

Qtopia :

I downloaded

http://www.linuxtogo.org/~htcpxa/htcuniversal/images/Qtopia/Qtopia-htcuniversal.exe

and

http://www.linuxtogo.org/~htcpxa/htcuniversal/images/Qtopia/qtopia.linux.rootfs.tar.bz2

and copied them on a FAT32 SD card. I inserted the SD card in the Universal ans taped on Qtopia-htcuniversal.exe with Windows Mobile file explorer. The first boot was veeery long, it's normal, and then Linux booted. You have to unlock SIM card (no PIN code) and turn GSM ON before launching Linux.

+ : Phone works, nice

- : PDA size is quite poor, but perfect for a "simple" phone

Opie / GPE

To create root file system on SD card, I followed Titchy Linux instructions

http://wiki.neilandtheresa.co.uk/Titchy_Linux/Installing_Debian

except I used file system images (tar.bz2 files) from

http://www.linuxtogo.org/~htcpxa/htcuniversal/index.html

instead of dowload titchy-rootfs.tar (jigdo file).

I put haret.exe, zImage and startup.txt in My Documents on the Universal.

Then, I inserted card and taped haret.exe. These 3 files work with almost every root file system you create on SD card, so you just have to change SD card to try an other Linux distro!

+ : Complete PDA suite (agenda, office work...)

- : no working phone application (or I didn't find it...)

If it can help...
[JASJAR, XDA Exec, MDA Pro General] the_fish:
hello,

i recently got my universal too, finally. after playing around with the features, i wanted to try out linux. i have prepared everything for a titchy install. i got the rootfs using jigdo-lite on a mandriva 2009.0 install. i created a 384mb partition with mke2fs onto a SDHC class 1 with 4gb. (also tried on a 2gb, standard one) after the first bootstages it says:

Unpacking base distribution. This may take a while, but only needs to be done once.

so somewhere i read, this takes up to 20minutes.

although it kept giving me this at the prompt:

booting Debian/GNU Linux
Unpacking base distribution. [...]

in a loop, i left it for 45 minutes, but it kept doing that.

has anyone experienced the same, or is that normal?

thanks in advance
[JASJAR, XDA Exec, MDA Pro General] the_fish:
hello again,

as titchy didnt work, i installed openmoko. it worked pretty fine, calls were working also. but as the 2007 distro is pretty old, i got a rootfs from the gta02 which was newer. it installed and worked pretty fine with the old modules, but even by copying the /etc/rc* over from the working version, i couldnt get the phone to be enabled. could anyone tell me what commands are being ran at bootup to start the phone, so i can get it to work? thanks.
[JASJAR, XDA Exec, MDA Pro General] b4rtek:
Hi,

It's my first post on this forum so "hi all" ;-)

Well, me and my workers are happy htc uni users. We are using titchy. Working very well. Im gonna build debian repository for armel and htv universal because official repositories doesnt support such packages like ekg2 which i had to compile my self.

So if someone will need any support with new debian package then just tell me and ill try to make it for you :-)

Im trying to build a kernel but patches dont work. Ill try to patch it manually but have to find some time :-)
[JASJAR, XDA Exec, MDA Pro General] the_fish:
hello and welcome to the forum :)

happy to hear its working fine for you :) just a short question, how did you get it to install fine? mine just wont keep being in a loop, could you upload an image of your install or something like that? i'd really love to get it to work :(
[JASJAR, XDA Exec, MDA Pro General] b4rtek:
Well.... It was piece of cake. I hope i remember all:

1. i'v made filesystem on SDHC 8GB card with two partitions (7.5G for root and some about 400mb for swap) BTW: SWAP IS WORKING FINE !!!

2. unpacked default root titchy files tree

3. booted system (haret).

It's true that it's being in a loop if we want to run via image. So only one way to run (good working) linux on HTC is to make partitions and root filesystem on sd card. Besides using image makes that linux running very slow and laggy.

I could make an root-fs for you, but i'v modified titchy daemons and removed apm kernel support to fit mine and my workers requirements. We need that universal stay connected via gprs/umts 24hours/day. We are Linux Administrators and need to stay connected. So power button works like this:

- turns off lcd backlight

- scaling cpu to 100Mhz

- turns off LCD power

And that's all. Battery consumption of course is much bigger that with APM Suspend but im waiting now for 3200mAh battery so i'll check its uptime. Now on originall battery it works about 8 hours.

BTW: the problem with xbattbar showing -1% means that your battery doesnt support DS2670 chip. I have the same problem with my actuall battery (1750mAh). Of course i hope the 3200mAh will have support for DS2670, will see... For now, i have to guess how long my universal will live ;-)

I'v made bash script that blinks LED's like windows:

- short green blinks - GPRS on

- short red blinks - GPRS on and low battery (if battery support DS2670 ;) )

- ORANGE (green+red leds) ON - charging

- GREEN on - battery full + charger connected.

It's not perfect yet, but i hope that i'll finish my debian-gprs scripts ;-)

And of course sorry for my english, i know its poor :-)
[JASJAR, XDA Exec, MDA Pro General] the_fish:
omg you are a real genius! well ive tried using rootfs too, not an initrd (was typo :P ) just went in a loop while extracting... if it is okay for you, you could just dd the rootfs to a file and upload it or make a zip of it and upload.... would be really nice... i guess the only thing i would have to fix is the cpu daemon settings, but i guess its not too hard :)
[JASJAR, XDA Exec, MDA Pro General] b4rtek:
Well.... If i remember - i have somewhere backup of my first rootfs so there should be original kernel and original daemons.

I'll try to find it or ill made working rootfs for you, so you can download it from the serwer i'am making. Just interesting things for debian on htc universal.

And if someone have any suggestions, ideas, good own packages, scripts then just let me know. I want to make a good support for it (i doubt that i will manage this but have to try :D ).

BTW: i'v modified the button daemon too, so we can turn keyboard backlight on/off with buttons that wasn't associated, flash light on/off, volume, and dont remember any more for now :D
[JASJAR, XDA Exec, MDA Pro General] the_fish:
well so far i just wanted to get a working distro with phone/gprs working.... tried to customize a gta02-2008.12 openmoko, did work almost fine, but couldnt get phone driver to work and its NOT debian based...

of course i will tell you if i find something useful on the HUGE debian repos :P

about the button daemon: nice thing! i thought of simply writing a shell script for that XD im not too good at linux stuff :P
[JASJAR, XDA Exec, MDA Pro General] b4rtek:
Well it's very easy and good fun :-)

Ok i'll find and upload the working and updated rootfs with some usefull tools and additional buttons scripts but it will take some time, i have to prepare it on other sd card.

Well about debians big repos its true, even armel repos are really cool. Some software is missing but i hope we will fix that problem making own repository which is actually in testing phase ;-)
[JASJAR, XDA Exec, MDA Pro General] the_fish:
alright, its okay if it takes a while :) great to hear you are trying to make a repo :D
[JASJAR, XDA Exec, MDA Pro General] b4rtek:
Well, actually downloading files from other repos streight to new one ;-)

The problem is, that i'm making this repo on slackware so debian tools like dpkg, apt was needed hehehe
[JASJAR, XDA Exec, MDA Pro General] the_fish:
that wont be a problem if titchy would work :p
[JASJAR, XDA Exec, MDA Pro General] b4rtek:
It will... believe me ;-)

BTW: I was always curious how much debian repo takes of hard drive space :-)
[JASJAR, XDA Exec, MDA Pro General] the_fish:
hmmm dont know that never made something like that
[JASJAR, XDA Exec, MDA Pro General] b4rtek:
Well, look at this cookie:

7 days uptime, gprs session not freezed, swap works fine too :)

http://img152.imageshack.us/img152/6593/45784212yt0.png
[JASJAR, XDA Exec, MDA Pro General] the_fish:
ohh great its exactly like what i need :D so.... where to edit the ppp0 config login after you uploaded it? i want to use it on gprs too :p
[JASJAR, XDA Exec, MDA Pro General] b4rtek:
Hmmmmm.... if you want gprs session stay connected you do need my daemon scripts, i'll have to finish them. Wait little bit more ok ? I need to find some time to finish them.
[JASJAR, XDA Exec, MDA Pro General] the_fish:
yep thats ok :)
[JASJAR, XDA Exec, MDA Pro General] gloomyboy:
linux on blueangel

Is the project to run linux on the blueangel still alife?

Anybody working on a booloader to allow it to be in rom, rather than launch it with haret?
[JASJAR, XDA Exec, MDA Pro General] b4rtek:
Hmm i dont know anything about blueangel linux proect, i thought it's universal linux thread.
[JASJAR, XDA Exec, MDA Pro General] the_fish:
yep it is :P

why dont u go have a look in the blueangel thread?
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
htcuniversal status

Hi guys.

I curioues about something. It's been i while now since i have been apart of the linux@htcuniversal port. What is the status, has anyone else kept the work up? Is there any progress about the wifi driver, or is it still broken?

If someone tries to fix it i have a hint about the 2.6.16-hh3 kernel The wfif where working just fine with revision, but after a update in the acx driver the htcuniversal acx driver where broken.. What about the phone part, is it still working? I saw that someone has made debian distro for the universal, is it good? Does the phone/gprs work?

Has anyone tried to make the new openmoko image yet? Or what about the latest Qtopia source?

regards

gxl
[JASJAR, XDA Exec, MDA Pro General] the_fish:
still "broken", disconnects and no WPA capability :(

edit: yep i tried to build a new openmoko image, with the e17 desktop environment, but i couldnt get the phone part to work (distro was 2009.01, something like that)
[JASJAR, XDA Exec, MDA Pro General] domi007:
The status of the Universal:

Latest kernel: 2.6.21-hh20

Best distro: TitchyMobile (based on Debian) with:

-GSM: works without any problems (you can make and receive calls, send and receive SMS)

-WLAN: working, but very buggy

not working: cameras.

DOMy
[JASJAR, XDA Exec, MDA Pro General] F_R_I_T_Z:
ITs a REAL PITY Universal /linux/android be stoped.

Universal still be a amazing device. The new WM are coming become more and more HUG in memory ( just wondering how much will be the final wm6.5 ).

Linux/Android today can be a GREAT add for our device.

But linux/Android in our uni still have 2 BIG LACK. one is the internal storage and other is the cameras.

Unfair i cant help at programatio side. but in what be possible i can help

Just wondering how crazy can be a distro of linux running inside our device using all memory and with android like face.

What be possible i can help

:-)
[JASJAR, XDA Exec, MDA Pro General] whit3boy:
hello, today I installed Qtopia on Uni. But when start each time the screen is locked. how can I unlock it for as long powerbutton if I can not select anything on the screen.

thanx and sorry for bad enlgish :)
[JASJAR, XDA Exec, MDA Pro General] whit3boy:
why don't work touchscreen on linux??:(
[JASJAR, XDA Exec, MDA Pro General] domi007:
it works like charm...:rolleyes:
[JASJAR, XDA Exec, MDA Pro General] ivorh:
Hi, what do you know about the status of the kernel patches?

I'm just looking at making a more recent patched kernel version (2.6.25) from the 2.6.21-hh source. (I'm actually pretty familiar with the old acx driver code too!)
[JASJAR, XDA Exec, MDA Pro General] whit3boy:
how to make it work?
[JASJAR, XDA Exec, MDA Pro General] aes512:
Might want to poke around here

http://folks.o-hand.com/sameo/patches/htc/

http://folks.o-hand.com/sameo/
[JASJAR, XDA Exec, MDA Pro General] F_R_I_T_Z:
Well, iam not with knowledge to program ( what i know is very basic). But wish really help .. just curious. there have "patch_asic3" did we have any progress about the internal memory access of our device?
[JASJAR, XDA Exec, MDA Pro General] reilord:
If i'll run the exe from sd card, i'll loose all data from the sd card or not?
[JASJAR, XDA Exec, MDA Pro General] whit3boy:
you know? how can i make?
[JASJAR, XDA Exec, MDA Pro General] domi007:
If you compile your own kernel, then you should add the touchscreen driver to it.

Personally I use TitchyMobile, and I can confirm, that touchscreen works well, without any problems.

What Linux-distribution do you use on you Uni?

DOMy
[JASJAR, XDA Exec, MDA Pro General] whit3boy:
so...how can I install the kernel? :|
[JASJAR, XDA Exec, MDA Pro General] the_fish:
1. its a zImage, just place it in the same folder as haret.exe and startup.txt

2. if u would read the thread, you would find out how to fix it without doing anything to the kernel, just deactivate wifi on wm and ts will work on linux
[JASJAR, XDA Exec, MDA Pro General] lameiro:
well, after all of this, can someone tell-me if is there a distro that works with universal, with phone and wireless? even wireless being not perfect, because, there is a lot of confusion in this thread. I tryied the distros from http://www.linuxtogo.org/~htcpxa/htcuniversal, and also the titchy. but titchy doesnt boot , keeps saying "umpacking base packages. this will take a while, but only needs to be done once.

Booting Debian GNU/Linux..." and repeats it over and over and over, stayed like that more than 2:30 hours.

any ideia please, I really like the idea of having linux also in my universal, not only my laptop :)
[JASJAR, XDA Exec, MDA Pro General] fasgiu:
I have the same error..

does anybody have an unpacked tichy version or a working one??

Thanks,

Giuseppe
[JASJAR, XDA Exec, MDA Pro General] samjam:
game over

Is it game over, then?
[JASJAR, XDA Exec, MDA Pro General] scholbert:
Nope......

Anyone tried this:

http://pokylinux.org

Don't know about the state of the distri most files are ~1 year old

Anyway looks very keen :D

Regards,

scholbert