[JASJAR, XDA Exec, MDA Pro General] soyabean:
Hi everyone,

First of all thank you to all for making so much effort to make linux running on the Uni! So far I've been most satisfied with Debian (titchy), simply because it gives me the largest flexibility and resources (packages, sources, help, etc) and makes the Uni a powerful workhorse.

There are a few things which are not working in my case:

Audio out (the headphone jack) has no sound;

Sound mixer only has control over "Master", "Mic Boss", "Mic Capt" and "Phone mi". Then what about others like "Headphone" and "PCM" (there are pcm modules already..);

No charging LED & APM gives nothing, which is kinda annoying.

No keymapping for the function keys, including: L & R keys on the top row, Camera, Record, Vol Up & Down;

Wifi driver broken;

No Camera (but notice what http://handhelds.org/moin/moin.cgi/UniversalStatus says)

Like others I am also very eager to update the kernel to make the functions more complete.

After some searching I found a 2.6.24 source, two Uni patches and defconfig

in this post

.

Patching went well except a few places/hunks which were done manually . Also I added all the htcuniversal related files from the handhelds.org CVS source tree.

Also I was referring to

"the sumou patched kernel source (128MB)"

to set the configs.

I was using the emdebian toolchain via apt-get http://www.debian.org/debian lenny

The following is what I did to make:

make ARCH=arm menuconfig

make menuconfig

make CROSS_COMPILE=arm-linux-gnueabi-

Building went well until this:

CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
<stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
<stdin>:1265:2: warning: #warning syscall migrate_pages not implemented
<stdin>:1321:2: warning: #warning syscall pselect6 not implemented
<stdin>:1325:2: warning: #warning syscall ppoll not implemented
<stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented
CHK include/linux/compile.h
CC arch/arm/mach-pxa/htcuniversal/htcuniversal.o
arch/arm/mach-pxa/htcuniversal/htcuniversal.c:51: warning: data definition has no type or storage class
arch/arm/mach-pxa/htcuniversal/htcuniversal.c:51: warning: type defaults to ‘int’ in declaration of ‘DEFINE_LED_TRIGGER_SHARED_GLOBAL’
arch/arm/mach-pxa/htcuniversal/htcuniversal.c:51: warning: parameter names (without types) in function declaration
arch/arm/mach-pxa/htcuniversal/htcuniversal.c:52: warning: data definition has no type or storage class
arch/arm/mach-pxa/htcuniversal/htcuniversal.c:52: warning: type defaults to ‘int’ in declaration of ‘EXPORT_LED_TRIGGER_SHARED’
arch/arm/mach-pxa/htcuniversal/htcuniversal.c:52: warning: parameter names (without types) in function declaration
arch/arm/mach-pxa/htcuniversal/htcuniversal.c:183: error: ‘CKEN23_SSP1’ undeclared here (not in a function)
arch/arm/mach-pxa/htcuniversal/htcuniversal.c: In function ‘htcuniversal_init’:
arch/arm/mach-pxa/htcuniversal/htcuniversal.c:576: error: implicit declaration of function ‘led_trigger_register_shared’
arch/arm/mach-pxa/htcuniversal/htcuniversal.c:576: error: ‘htcuniversal_radio_trig’ undeclared (first use in this function)
arch/arm/mach-pxa/htcuniversal/htcuniversal.c:576: error: (Each undeclared identifier is reported only once
arch/arm/mach-pxa/htcuniversal/htcuniversal.c:576: error: for each function it appears in.)
arch/arm/mach-pxa/htcuniversal/htcuniversal.c: At top level:
arch/arm/mach-pxa/htcuniversal/htcuniversal.c:585: error: ‘pxa_init_irq’ undeclared here (not in a function)
make[2]: *** [arch/arm/mach-pxa/htcuniversal/htcuniversal.o] Error 1
make[1]: *** [arch/arm/mach-pxa/htcuniversal] Error 2
make: *** [arch/arm/mach-pxa] Error 2

Does this ring a bell? What's wrong with the recipe here?

SB