Author Topic: Htc Universal  (Read 699773 times)

wolfy

  • Newbie
  • *
  • Posts: 34
    • View Profile
Htc Universal
« Reply #135 on: April 26, 2008, 02:05:32 pm »
Hallo
Please help me  
I formated one sdcard 2Gb whith ext2 Lin partition for Debian
I download rootfs.tar.gz and i unpacked in my SD card:
I copy:   haret.exe, zImage and default.txt in storage from mz htc universal
After I run haret.exe. Linux should boot but stoped in console mode and showme only:

htcuni:/#

Where  I login whit root

Haw to start Debian Linux in my HTC Uni? This Debian not have a grafics interface? Please some help

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #136 on: April 26, 2008, 02:33:01 pm »
Quote from: ShiroiKuma
If 640x480 is not possible, how to encode 320x240? And more importantly how to play them then, so that they are maximized and don't play as a small box in a maximized black frame?
So I'm experimenting with it, it seems sound is the biggest problem. I can play 640x480 movies without sound smooth with no glitches. So have been trying different settings for mencoder to decrease the sound taxation of the processor, so far they don't seem to be making a difference. I've tried with the three sampling rates, also have decreased the CBR to 64, but can't play the 640x480 movie. Also haven't found a fullscreen option for 320x240 so far.
« Last Edit: April 28, 2008, 12:42:19 am by ShiroiKuma »
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #137 on: April 26, 2008, 02:36:05 pm »
Also a problem with suspend. Unfortunatelly, all the outside keys, i.e. the camera, light, volume and mic are still active when suspended, therefore my Uni is almost always on anyway. When I suspend it, put it in the coat's pocket, one of these keys gets pressed and it comes on.

The internal keyboard however is not active while suspended, only the external keys and the direction pad under the display. How can I turn the outside keys off when suspended, with the exception of the power buton?
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Htc Universal
« Reply #138 on: April 26, 2008, 08:45:01 pm »
Quote from: wolfy
Hallo
Please help me  
I formated one sdcard 2Gb whith ext2 Lin partition for Debian
I download rootfs.tar.gz and i unpacked in my SD card:
I copy:   haret.exe, zImage and default.txt in storage from mz htc universal
After I run haret.exe. Linux should boot but stoped in console mode and showme only:

htcuni:/#

Where  I login whit root

Haw to start Debian Linux in my HTC Uni? This Debian not have a grafics interface? Please some help


Wolfy,

You should boot to a line where it has a login prompt. I type in 'root' to login....no password neede.

With this install, there is no graphics interface, just console.

On titchy mobile website, there is now a titchy xserver file you can download and install. Then you can install a window manager of your choice such as IceWM, XFCE4, etc....to have the graphic interface you are looking for.

HTH,

Mark
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

wolfy

  • Newbie
  • *
  • Posts: 34
    • View Profile
Htc Universal
« Reply #139 on: April 27, 2008, 01:11:34 am »
OK, I understand, I installed xserver.deb from titchy
pkgt -i xserver.deb
now haw to start x?
is need to install ICEWM or KDE or someting? window manager?
haw to do this?
please explain me some details

webdork

  • Newbie
  • *
  • Posts: 16
    • View Profile
Htc Universal
« Reply #140 on: April 27, 2008, 02:59:18 am »
Quote from: datathief
If you're using xserver-titchy, deleting /etc/ts.conf triggers recalibration when you next start X.  Otherwise, try
Code: [Select]
TSLIB_TSDEVICE=/dev/input/event0 ts_calibrate
Excellent... I just returned home from a trip this evening (and left my charger @ home while I was out of town). I'll give it a go as soon as I get my battery powered back up and report back. Once again @ Datathief - thanx!!!
« Last Edit: April 27, 2008, 05:38:27 pm by webdork »

datathief

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Htc Universal
« Reply #141 on: April 27, 2008, 04:34:32 am »
Quote from: ShiroiKuma
Also a problem with suspend. Unfortunatelly, all the outside keys, i.e. the camera, light, volume and mic are still active when suspended, therefore my Uni is almost always on anyway. When I suspend it, put it in the coat's pocket, one of these keys gets pressed and it comes on.

The internal keyboard however is not active while suspended, only the external keys and the direction pad under the display. How can I turn the outside keys off when suspended, with the exception of the power buton?
I've been trying to find a solution for this.  I've used devmem2 to change the CPU registers that control what can wake it, but it seems the kernel resets them on suspend.  We may need to patch the kernel.

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #142 on: April 27, 2008, 09:17:51 am »
Quote from: datathief
I've been trying to find a solution for this.  I've used devmem2 to change the CPU registers that control what can wake it, but it seems the kernel resets them on suspend.  We may need to patch the kernel.
Well the kernel should be rebuilt anyhow, it's on my next-steps list anyway, but likely I'm gonna get to that only in a matter of months, if I set-up the cross-dev etc. If you're planning to do it, please consider to include support for dm/cryptsetup into the kernel, so it supports LUKS encrypted volumes, especially on a mobile device this is somewhat important.
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Htc Universal
« Reply #143 on: April 27, 2008, 10:04:04 am »
Quote from: wolfy
OK, I understand, I installed xserver.deb from titchy
pkgt -i xserver.deb
now haw to start x?

usually at prompt do:

Code: [Select]
#startx

Quote
is need to install ICEWM or KDE or someting? window manager?

Yes....

Quote
haw to do this?
please explain me some details

at prompt do:
Code: [Select]
#apt-get install icewm
 

You might want to check out basic Debian info on the OESF forums Debian section and the OESF wiki and on other Debian sites.... you are doing basic setup stuff that you would do for setting up Debian on any other computer more or less....
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

wolfy

  • Newbie
  • *
  • Posts: 34
    • View Profile
Htc Universal
« Reply #144 on: April 27, 2008, 11:57:34 am »
OK thanks for your reply

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #145 on: April 27, 2008, 12:36:36 pm »
Datathief, can you specify how you got pppd on demand setup.

I've never setup on-demand ppp, so am not sure of all that is necessary.

You've added demand to /etc/ppp/options? What else? Do you do:
[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']  route del default
  route add default ppp0

  echo 1 > /proc/sys/net/ipv4/ip_dynaddr[/div]

How do you start pppd, with the command line in your wiki, or with pppd :127.0.0.1
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

datathief

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Htc Universal
« Reply #146 on: April 27, 2008, 07:23:26 pm »
Quote from: ShiroiKuma
Quote from: datathief
I've been trying to find a solution for this.  I've used devmem2 to change the CPU registers that control what can wake it, but it seems the kernel resets them on suspend.  We may need to patch the kernel.
I've added an apmd script to the wiki (under 'Resume on Close').  It's a hack, like all the other uses of devmem2, but it works for me.

Quote
Well the kernel should be rebuilt anyhow, it's on my next-steps list anyway,
There are instructions at http://handhelds.org/moin/moin.cgi/UniversalKernel

datathief

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Htc Universal
« Reply #147 on: April 27, 2008, 07:31:24 pm »
Quote from: ShiroiKuma
Datathief, can you specify how you got pppd on demand setup.

I've never setup on-demand ppp, so am not sure of all that is necessary.

You've added demand to /etc/ppp/options? What else? Do you do:
[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']  route del default
  route add default ppp0

  echo 1 > /proc/sys/net/ipv4/ip_dynaddr[/div]

How do you start pppd, with the command line in your wiki, or with pppd :127.0.0.1
I use:
Code: [Select]
pppd pty 'socat - tcp:127.0.0.1:1702' noauth demand connect /bin/true defaultroute idle 60 holdoff 3Adding "demand" doesn't work without "connect", so I use "connect /bin/true" which doesn't actually do anything.  I used "idle 60" to close the connection after a minute; "holdoff 3" probably isn't needed.

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #148 on: April 28, 2008, 12:03:41 am »
Quote from: ShiroiKuma
So I'm experimenting with it, it seems sound is the biggest problem. I can play 640x480 movies without sound smooth with no glitches. So have been trying different settings for mencoder to decrease the sound taxation of the processor, so far they don't seem to be making a difference. I've tried with the three sampling rates, also have decreased the CBR to 64, but can't play the 640x480 movie. Also haven't found a fullscreen option for 320x240 so far.
I've achieved high quality high performance video playback at 640x480. Script details at http://sumoudou.org/index.php?cmd=%E7%9B%B...the%20Universal
« Last Edit: April 28, 2008, 12:41:46 am by ShiroiKuma »
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #149 on: April 28, 2008, 01:00:53 am »
Quote from: datathief
(Are there any important features still missing from htcunid?  What's standing in the way of a 1.0 release now?)
I think one more thing is missing still currently.

There should be a query command to inquire about the status of the connetion, i.e. if connected to the network, how strong etc. You know like sometimes you're in buildings where there is no signal etc., and if the phone is disconnected, you should see if it's because of a lack of network availability or something else.
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze