yashsingh1/xdaforums huggingface dataset:
[JASJAR, XDA Exec, MDA Pro General] pasztorl:
Re: BT and USB host update.

Szia! Köszönöm kérdésed, kicsit fáradtan! És Te?

No, I am unable to access it some days ago. :(
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
cr2:

Since the CVS at sourceforge is down, couldn't you jsut upload your newest build kernel and a gzipped file of the kernel modules to XDA.

We can't test anything of your builds since we just have dont have access to the latest ones.

Thx. in advance.

Pastorlz: I have no idea what the last Hungarian sentence ment. I just know a few words, like Sör :-) and baszmeg :-) .. I have been in Hungary on vacation 5 times ..
[JASJAR, XDA Exec, MDA Pro General] cr2:
Why is it down ? I could download the CVS version of

roadmap without any problems.
[JASJAR, XDA Exec, MDA Pro General] cr2:
Re: power and charging

I have ported the blueangel asic3 LED code, have

added the BT/wifi leds and corrected the earphone detection. Now i need to test it myself :)
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
Well, this is the respond i get

:~$ cvs -d:pserver:anoncvs@cvs.sourceforge.net:2401/cvsroot/xanadux/ login

Logging in to :pserver:anoncvs@cvs.sourceforge.net:2401/cvsroot/xanadux

CVS password:

cvs [login aborted]: unrecognized auth response from cvs.sourceforge.net: M -!- Client or Server timeout occurred!

I am also trying with the username 'anonymous', and aint using any passwords.

Update

Forget it, i got connected, it tok me allmost a week :-) .....
[JASJAR, XDA Exec, MDA Pro General] cr2:
Works for me...
[JASJAR, XDA Exec, MDA Pro General] cr2:
BT and LEDs.

Bluetooth works now at 115200. It was my stupidity in

action :)

Simple LEDs (vibra,flashlight,keyboard,phone buttons) work too.

The bluetooth can be tested with the 921600, but then it is

necessary to load the TI script.

root@blueangel:~# hciconfig -a
hci0: Type: UART
BD Address: 08:00:37:44:1F:AA ACL MTU: 339:6 SCO MTU: 180:4
UP RUNNING PSCAN ISCAN AUTH ENCRYPT
RX bytes:1000 acl:5 sco:0 events:42 errors:0
TX bytes:525 acl:5 sco:0 commands:25 errors:0
Features: 0xff 0xff 0x2d 0xf8 0x1b 0x18 0x00 0x80
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'No name'
Class: 0x120112
Service Classes: Networking
Device Class: Computer, Handheld
HCI Ver: 1.2 (0x2) HCI Rev: 0x0 LMP Ver: 1.2 (0x2) LMP Subver: 0xdb0
Manufacturer: Texas Instruments Inc. (13)
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
Yes, at last for me 2. But now i have som problem with the compiling. I guess you haven't updatedet the CVS. I'm i right?

I have choosen to compile with HTC_Bluetooth as a module (tried to compile it in ti the kernel but it failed). The HTC_Universal sound support i also compiled as a module.

But the error comes when it comes to /drivers/video/. Looks like somethings going wrong. Here is messages i get:

make[2]: *** No rule to make target `drivers/video/fbcvt.s', needed by `drivers/video/fbcvt.o'. Stop.

make[1]: *** [drivers/video] Error 2

make: *** [drivers] Error 2

I have tried with and without the HTC_UNiversal framebuffer, but it's stops allways here. Could you update the 'htcuniversal_defconfig' file ( is that the .Kconfig ?)so i can try the new performance?

thx.
[JASJAR, XDA Exec, MDA Pro General] cr2:
Updated right now, but there is a 3-6hours lag for the anonymous CVS.

It is ok.

assembler files ???

Use pxafb, and not this htcuniversalfb hack.

The most bleeding edge stuff is in the CVS now, with the

weird battery monitor, not really working asic3 and wifi/bt LEDs and wrong earphone logic.
[JASJAR, XDA Exec, MDA Pro General] vve:
Please upload your latest kernel to some place for us to test it - say, to http://jornada820.sourceforge.net/files/uni/current/ .
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
This morning i did an update of CVS. And tried to just compile with the default one (htcuniversqal_defconfig) but i am still getting the same error about the framebuffer.

Also tried to compile Blutooth (universal) in to the kernel but i got this error messages:

But when i am making it as a module i dont get the Bluetooth error messages.

What do you mean by assembler files? Do you mean the gcc i'm compiling with? In that case i am using arm-linux-gcc-3.4.1. If not, where can i get those assembler files?

Where in the CVS folder can i see if the files is updated or not?
[JASJAR, XDA Exec, MDA Pro General] milanvot:
It's my fault. I forgot to add fbcvt.c file into CVS. It should be ok by now...
[JASJAR, XDA Exec, MDA Pro General] milanvot:
Re: BT and LEDs.

There are some missing EGPIO related macros in CVS. I can't compile htcuniversal_bt (EGPIO5_BT_LED_ON missing) and htcuniversal_core.c (HTCUNIVERSAL_EGPIO_BASE missing). Can you please update CVS?
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
OK, thx, Guess it will be available tomorrow or late night for anonymous users.

But now i have problems to acces CVS again, have only access true web. Man i'm tired of that ****.

Milanvot: Can you send me the framebuffer file on e-mail. I'll PM you my email address. Or if manage to compile a new kernel release it at your website (also the modules)..

Thx in advance
[JASJAR, XDA Exec, MDA Pro General] cr2:
Try to do "make clean". I don't have this problem here.
[JASJAR, XDA Exec, MDA Pro General] cr2:
First I need to find out what's wrong with the remaining LEDs.

I am also unhappy with the "htcuniversal_power" module. The battery temperature looks reasonable, but the voltage and the accumulated charge amount are wrong.
[JASJAR, XDA Exec, MDA Pro General] cr2:
Re: BT and LEDs.

I have updated CVS, but the LEDs still do not work.

BTW, can you add the button for the light sensor on

ASIC3 GPIOB11 ?
[JASJAR, XDA Exec, MDA Pro General] milanvot:
Re: offtopic: usb

Do you think I'm going to see something other than guys in the following thread?

http://xdaforums.com/viewtopic.php?t=26375
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
see next
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
I allways take a 'make clean' doesent help here. I allways do a 'make clean', dont know why, but i have allways done that when compiling a kernel.

I got the framebuffer file from Milanvot ( thx Milanvot ) and the kernel compiled succesfully. But when i did a 'make modules' it failed when making the bluetooth modules. Here is the message i got :

[qoute]

CC [M] arch/arm/mach-pxa/htcuniversal/htcuniversal_bt.o

arch/arm/mach-pxa/htcuniversal/htcuniversal_bt.c: In function `htcuniversal_bt_configure':

arch/arm/mach-pxa/htcuniversal/htcuniversal_bt.c:28: error: `EGPIO5_BT_LED_ON' undeclared (first use in this function)

arch/arm/mach-pxa/htcuniversal/htcuniversal_bt.c:28: error: (Each undeclared identifier is reported only once

arch/arm/mach-pxa/htcuniversal/htcuniversal_bt.c:28: error: for each function it appears in.)

arch/arm/mach-pxa/htcuniversal/htcuniversal_bt.c:31: error: `GPIOC_BT_PWR_ON' undeclared (first use in this function)

arch/arm/mach-pxa/htcuniversal/htcuniversal_bt.c:33: error: `GPIOC_BT_RESET' undeclared (first use in this function)

make[2]: *** [arch/arm/mach-pxa/htcuniversal/htcuniversal_bt.o] Error 1

make[1]: *** [arch/arm/mach-pxa/htcuniversal] Error 2

make: *** [arch/arm/mach-pxa] Error 2

[/qoute]

Any idea?

I haven't had access to the CVS since this morning, and after the download was finished i check'd out if there where any files i was missing ( because i can now only access the CVS true Opera). I found out that i missed three files from the 'htcuniversal' directory. Following files where missing:

But i thougt that maybe i just could copy those three files and paste them in to the directory, but as you can see it diden't help.

What's wrong? How can i fix this?
[JASJAR, XDA Exec, MDA Pro General] milanvot:
Check your mailbox again :-) or wait untl the anonymous CVS is up to date...
[JASJAR, XDA Exec, MDA Pro General] cr2:
These are constants defined in

include/asm/arch-pxa/htcuniversal-gpio.h

include/asm/arch-pxa/htcuniversal-asic.h

EGPIO5_BT_LED_ON=0x20

GPIOC_BT_PWR_ON=14

GPIOC_BT_RESET=7

http://wiki.xda-developers.com/index.php?pagename=UniversalASIC3
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
Thx milanvot, but i still got the Bluetooth error on making modules. I also tried to compile it in to the kernel, but same error message.

*UPDATE* Not exactly, i have one error message less. I got rid of this one: `EGPIO5_BT_LED_ON'

How to get rid of the rest so i also can compile Bluetooth in to the kernel, or make modules of it.
[JASJAR, XDA Exec, MDA Pro General] milanvot:
Check again you mailbox :-) Warning: you may have problems next time when you update your tree from CVS...
[JASJAR, XDA Exec, MDA Pro General] milanvot:
Re: BT and LEDs.

Check the CVS. I've added a new input switch SW_2 reflecting the state of the night sensor. There is of course a new input event (EV_SW) when the sensor changes its value...

My JasJar is running out of juice (after my last attempt to fix the usb connector) thats's why I didn't test the patch as I would normally do :-)
[JASJAR, XDA Exec, MDA Pro General] cr2:
phone.

I have tried to talk to the GSM command port, but got no answer so far.

Probably it is necessary to reset it somehow.

stty 115200 -echoe -echo raw < /dev/ttyS0 > /dev/ttyS0
chat -v -s -S -f phone.chat > /dev/ttyS0 < /dev/ttyS0

phone.chat:

'' \002\026ATE1;V1\r\n\026\002
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
Cr2 and Milanvot.

I found som technical iformation about the LooX720. It's som electrical diagrams, and it seems like Loox720 and Universal have alot i comment.

I found this on the Loox720 linux port forum. Maybe you can use some of this, i dont now. BTW here's the link anyway:

http://www.firstloox.org/forums/showthread.php?s=90f777244875dec86ca93021b5f834ad&t=3998&page=24
[JASJAR, XDA Exec, MDA Pro General] cr2:
They are obviously far behind us, and the hardware looks less friendly.

The wifi chip diagram is very interesting, i did not know that it has I2C and USB support.

On the universal I don't quite understand the purpose

of BT irq and who sends it.

Maybe it has something

to do with the BT PCM audio, and is send by the MSM.

The whole interaction with the MSM is quite a mystery.
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
@cr2 ¥ Milanvot

I have now tried to play a mp3 file, and it works, thow i have a problem with the volume, how do i adjust the volume? I also tried a wav file, but it was playing real slow, like a horror voice :-) ...

I also tried the Power module and it work also when i plugged the cable in to the Universal (showd charging) .

I did also modprobed the leds, and i guess they are working , because the green one stopped, and the blue one stills blinks.

All this three things i compiled as a module.

But i also compiled Bluetooth, but i compiled it in to the kernel, but when i do a 'hciconfig -a' it just don't show anything. I also tried 'hcitool scan' but i get the message ' no device' . How do i make Bluetooth working, do i also have to compile it as a module and not in to the kernel?

With this new kernel i have compiled i hav not longer any support for display rotation in Opie, how do i get this back?
[JASJAR, XDA Exec, MDA Pro General] cr2:
What program were you using to play an mp3 file ?

It shows charging because it can detect the AC in, AC out. The more detailed information does not look right,

so you should better not test this module :)

The non-blinking LEDs are working, but the blinking ones

are using more complex multiplexing logic than is implemented

in the driver.

I have compiled it as a module.

Then you need to do

hciattach /dev/ttyS1 texas 115200

if the /etc/init.d/* scripts are missing it.

The screen rotation in opie can be changed with an environment variable, as Milan has already written.

I don't know if it works with the fbrotate patch.
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
I was using the default one i Opie. Opie media player or something. The OSD did also work. But not adjust volume.

*Update*

Got bluetooth working, it found my laptop. Tried to use Hidd --connect to my BT Mouse, but it failed.

Another thing about bluetooth. How can i get BT support in Opie. With IRDA the irda-icon is red when the IRDA is on, but when i disable it with the menu from the icon the icon goes inactive. How can i make this also for Bluetooth? So i can use bluetooth manager?

The framebuffer rotate works now, just i recompiled the kernel again.

Milanvot

Is there a way to assigne in example the "windows" button on the keyboard to manage the Opie button (like K button in KDE or Start button in WinXP). Because it's so hard to get the Opie button to react.

And another thing, i have problem with the Opie Console, when i type down 'exit' it just hangs, the window doesen't close, and the escpape button doesnt close the window either. Is there a way to fix this to?
[JASJAR, XDA Exec, MDA Pro General] cr2:
goxboxlive, please write down the known bugs into

wiki. then we can check and mark the issues as resolved.

I'm more concerned about the basic functionality right now, and suspend/resume actions.
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
Ok, i'll do that.
[JASJAR, XDA Exec, MDA Pro General] die-hard:
hi all, there are news for sd driver mem 4GB ?
[JASJAR, XDA Exec, MDA Pro General] milanvot:
Re: BT and USB host update.

I'm having problem with haret wasic3gpio command. Each time I run the command my Universal stops responding and the screen goes blank. I'm using gnuharet-200603042123 connected though usb with my pc. Is there a new version of Haret or am I doing something wrong?
[JASJAR, XDA Exec, MDA Pro General] cr2:
Re: Linux on Universal

Then it must be a general kernel bug. Did the compiled kernel boot ?

Once we will get the framebuffer running (it should not be very difficult),

then the non-phone PDA part will be quite functional.

GPE is on its way 8)

The phone part will reqire some specialized USB host setup

to run serial over USB. And the audio driver, but the existing code

from HP hx4700 can be reused.
[JASJAR, XDA Exec, MDA Pro General] pasztorl:
Re: Linux on Universal

Good news! :)

Sorry, I not try it already. Maybe today...

You said the framebruffer is not working. What will I see on the display when starting haret bootlinux call?

When the kernel can handle the framebuffer and the internal storage or the storage card I can start test familiar, intimitate and debian arm port on it.

I think at now it is not important to minimize the storage usage, because the storage cards has enough capacity for the operating system and user data.

So I prefer to install/make a debian (based) distribution to/for the device, which has the largest package base.

What do you think about it?
[JASJAR, XDA Exec, MDA Pro General] cr2:
Re: Linux on Universal

Nothing. you need an IR console to see the boot messages.

It is not a problem. Just use an SD card.

That's how Linux is used on Blueangel and Himalaya.

The internal storage comes later some time.

PS. I have severely damaged wince some hours ago. Since i have a warranty, i don 't want

trying to reflash the device with non T-mob image. Resolving the issue will slow down the development for some time...
[JASJAR, XDA Exec, MDA Pro General] pasztorl:
Re: Linux on Universal

:( Could you solved the problem?

My IR port on my notebook can't see the pda, I don't know why. :( So, I must wait for working framebuffer and usb net.
[JASJAR, XDA Exec, MDA Pro General] cr2:
Re: Linux on Universal

I have tried to reflash the phone with other firmware

versions, but wince still does not boot. microsoft

is a really true evil. There are no debug messages.

My only hope now is to reflash the phone with the

working linux kernel and find out which device

is broken ;)

USB may be working, but nobody can test it.
[JASJAR, XDA Exec, MDA Pro General] pasztorl:
Re: Linux on Universal

You said you have a warranty. Why aren't you trying to solve the problem with the T-mobile service? You affraid about lose the warranty?

USB may be working, but nobody can test it.

OK. I can test it with the initrd from the blueangel page?

I'm not sure about my compiled kernel boots, because it does not do any IR communication (not shown anything by irdadump). Can you post yours?
[JASJAR, XDA Exec, MDA Pro General] pasztorl:
Mykernel

I attached my compiled kernel. Can you boot it?
[JASJAR, XDA Exec, MDA Pro General] cr2:
Re: Mykernel

the wince on my universal is not working.
[JASJAR, XDA Exec, MDA Pro General] pasztorl:
Re: Mykernel

Is there any good news about your hardware?

Which rom images you used when you flash the universal?

The flashing process was finish without error message?

The T-mobile service can't do anything?

I have some time so I trying to boot the kernel. I want to see the

boot messages on irda before I trying to check usb-net gadget.

I have Asus M2400N notebook with integrated irda (The nsc-ircc module handle the irda hardware).

You said don't use any irda tool or module just use raw serial port.

Serio see 4 AUX port so I have /dev/ttyS{1,2,3,4} device, but

I can not open the ports (I used minicom).

How can I configure my system? How can I test the irda communication

on the raw serial port?
[JASJAR, XDA Exec, MDA Pro General] cr2:
Re: Mykernel

After t-mob made a german update available,

i have flashed it on the universal and sent the phone to the repair

center. Their homepage says they need up to 5 days,

so i expect my phone to come back next week.

I did not have any problems either with the bootloader

or flashing. wince was stuck during the boot.

Get the latest CVS update, because i have found

out that there is a bug in the htc IR driver.

I got the bootlog using a notebook with the smc

IR chipset. IRDA is actually a misleading name,

because there are 2 modulation techniques behind:

SIR for 115k2 and FIR for 4Mbit. The IR port of

universal broadcasts the 115k2 _and_ 4Mbit, while

in reality the IR data goes through the PXA STUART

with SIR modulation bit switched on, which can't

handle 4Mbit.

You should look into the BIOS of your notebook

for the serial port that is used for IR.

A good debug tool is 'irdadump' on linux.

It is possible to see the ' raw' broadcast from universal with

'irdadump -p -x'
[JASJAR, XDA Exec, MDA Pro General] pasztorl:
Re: Mykernel

I don't find anyting in the bios about the irda.

I tested the irda with a nokia phone. It works well, I can send

AT commands and receive answers from it.

If I try with universal I see the raw broadcasts with irdadump,

but when I start haret I don't see anyting.

my startup.txt:

set KERNEL "zImage"

set MYTPE 855

set CMDLINE "console=ttyS2,115200"

bootlinux
[JASJAR, XDA Exec, MDA Pro General] cr2:
Re: Mykernel

Run the 'ps ax', and look for the 'irattach' process.

It should look like 'irattach /dev/ttyS1 -s'.

When the linux kernel takes over the system, it

transmits SIR-encoded data over STUART.

You don' t have an initrd setting, but it is not important

at this stage.

My universal is still being repaired...
[JASJAR, XDA Exec, MDA Pro General] pasztorl:
Re: Mykernel

Is there any result about your universal?
[JASJAR, XDA Exec, MDA Pro General] cr2:
Re: Mykernel

Yes. i got the replacement motherboard and it works.

Current status:

- there is a haret version that should be compiled with gcc

- this haret version can boot the CVS kernel

- the CVS modules should be copied to the Blueangel ramdisk

- then it is possible to login with ssh over ethernet/rndis-over-usb

- the SD card can be mounted/read/written.

The major showstopper is the LCD framebuffer.

For some reason the pxafb driver is not called.

If this problem will be solved, then the basic gpe/opie

stuff will work.

The UMTS modem can be probably tested right now (maybe SMS).

Voice needs an adapted driver from ipaq hx4700.

The same (probably) applies to the touchscreen.

UMTS data channel will be tough.

The camera driver should be taken from Motorola A780.

The keyboard is attached to the PXA270, so

it is easy.
[JASJAR, XDA Exec, MDA Pro General] EyeOfTheStorm:
Nice to see, things are going forward :`)
[JASJAR, XDA Exec, MDA Pro General] cr2:
Well, i can run X on the upper half of the screen (480x320)

The touchscreen driver is needed now.
[JASJAR, XDA Exec, MDA Pro General] milanvot:
Great!

On the other side I'm the one who cab't even boot my own kernel (taken from your CVS branch :-)). I don't wan't to bother you but can you tell me what haret version you use on your Universal? On xda-developers I found some 3.4 for pxa27x (515KB). This is the only Haret which seems to be (somehow) working. The Pinguin's thermometer gets red but the eyes don't change :-). Is this correct Haret version?
[JASJAR, XDA Exec, MDA Pro General] pasztorl:
In my jasjar the pinguin's eyes changed, but the screen is not changing, it

does not send any boot message on irda (watched with irdadump) and I can not communicate with USB.

What I do:

- checked out the TK2-6-12-hh2-xda0-un0 from :pserver:anonymous@cvs.sourceforge.net:/cvsroot/xanadux

- got arm-linux-gcc-3.4.1

- compiled the kernel using htcuniversal default config

- got blueangel initrd

- changed the modules in initrd

- copied the kernel, the initrd and the haret to my universal's SD card

- added startup.txt:

set KERNEL "zImage"

set INITRD "initrd-2.6.12-hh2.gz"

set CMDLINE "console=ttyS2,115200 root=/dev/ram0 init=/linuxrc ramdisk_size=14336 keepinitrd"

set MYTPE 855

bootlinux
[JASJAR, XDA Exec, MDA Pro General] milanvot:
Can you tell from where did you download the haret you use on your Universal? Extact URL please :-)
[JASJAR, XDA Exec, MDA Pro General] TheBlasphemer:
Err, something that's bugging me for a long time now:

Is this linux actually running on the device, or linux running on top of Windows Mobile ?

I couldn't help but notice the T-Mobile Pink keyboard thing in the bottom of your screen :/
[JASJAR, XDA Exec, MDA Pro General] cr2:
Re: BT and USB host update.

The latest version is at

http://jornada820.sf.net/files/haret

I have used it only over wifi, because synce does not

work over usb.
[JASJAR, XDA Exec, MDA Pro General] EyeOfTheStorm:
Hey cr2,

are you still working on the touchscreen?

Hey milanvot,

how are things going with the keyboard? Do we now have full function?

Sorry, for my lame questions, was very busy the last time. So i missed some goals :`)

Respect EyeOfTheStorm
[JASJAR, XDA Exec, MDA Pro General] cr2:
No. I'd like to reuse another driver.

The brightness control is working now (0<=brightness<=0xc8). If opie needs another scaling factor,

then the driver can be adjusted.

I have also added the LCD power on/off sequence, but

something is not perfect there.

apm --suspend

switches the LCD off, but some backlight still remains.

It is also not possible to resume yet.
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
Just for fun i tried to start BA GPE and it started.

And the best of all the keyboard works to, actually GPE seems more stable than OPIE, and more precise. But it took ages to start it up, allmost 5 minuttes i guess.

But i couldent play mp3 files with it, and i didn't either manage to get bluetooth to work, it claimed that it couldnt set the ttyS1 port. Have to lokk further in to it tomorrow.

To stop GPE from running i pressed the suspend button, and the screen got all grey with some small black stripes :-( . But i tok a soft reset and WM5 works as normal..
[JASJAR, XDA Exec, MDA Pro General] cr2:
It probably makes better data filtering, but the main problem with the first touchscreen point remains.

It is normal.

You need the ipk packages from the handhelds.org Blueangle page.

Well, the suspend behaviour is unpredictable right now.
[JASJAR, XDA Exec, MDA Pro General] EyeOfTheStorm:
Do you mean a part of the new 2.6.16 Kernel?

Is there a chance to jump to the newer kernel version?

Do we have a chance to solve the 4GB SD Card issue in this kernel release?

Nice, i love to see thinks moving forward.
[JASJAR, XDA Exec, MDA Pro General] cr2:
haret-gnu source.

The source code for haret-gnu is now in the xanadux CVS (haret/haret-gnu).

Corrections/improvements/flames are welcome 8)