Author Topic: Htc Universal  (Read 711239 times)

datathief

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Htc Universal
« Reply #180 on: April 30, 2008, 12:42:46 pm »
Quote from: ShiroiKuma
Quote from: datathief
I've also uploaded new whiptail, calllog and smsmbox scripts that can use a caller-ID "helper" script to look up names.  A "beta" version of htcunid should be available in a couple of days, and then I'm going to work on a whiptail UI for dialling and SMS.  The console-based UI will be finished then, I think.
I'm wondering, is it really a good idea to save the caller ID in the SMS mbox file? I.e. shouldn't just the plain ID data be saved, thus only the number, and then let other interface scripts, which presumably will be developed to handle the caller ID when displaying the data. For instance I'm developing the history SMS display update to the keitai package for emacs, which should in my thinking just interface to plain vanilla SMS log, and then do the fancy stuff of displaying the callers name, his organization, the date in a fancy format etc. But it seems that these details shouldn't be saved to the file.

Is there any good reason to incorporate it into the mbox file saved?
I'm saving it as "Formatted Name <number>", like an e-mail address, so it's displayed nicely by default in a mail client.  The original number is still available.

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #181 on: April 30, 2008, 02:22:36 pm »
Quote from: datathief
I'm saving it as "Formatted Name <number>", like an e-mail address, so it's displayed nicely by default in a mail client.  The original number is still available.
I know, I've seen you basically follow an "email address" convention in this sense. I was gonna do it too, originally, even save a well formatted datetime in the smsbox, but then, as a mental-nitpicking, if you wish, it ocurred to me that it's a sort of a redundant data, and thus not necessary, since in the beginning you might just tail smslog but eventually a full frontend program will display the file well formatted for most users, be it in emacs, or a whiptail frontend etc.
Quote
so it's displayed nicely by default in a mail client
Do you anticipate viewing SMSes in an email client? Or do you already? Which one?
« Last Edit: April 30, 2008, 02:24:29 pm by ShiroiKuma »
[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 #182 on: April 30, 2008, 03:37:29 pm »
Quote from: ShiroiKuma
Do you anticipate viewing SMSes in an email client? Or do you already? Which one?
I would like to be able to handle SMS alongside my e-mail, although it doesn't quite fit (SMS messages don't have subjects, for example).

I'm not sure how to manage sending SMS from my e-mail client yet (I'm using mutt).  I need a "fake" MTA that will use either htcunid or the real MTA to send messages.

Obviously, if this doesn't fit your vision, you can use your own event.d script.  

Cagnulein

  • Newbie
  • *
  • Posts: 9
    • View Profile
Htc Universal
« Reply #183 on: April 30, 2008, 06:27:27 pm »
First of all sorry for my bad english and for my noob question.
I've just installed "Titchy" on my universal and it runs perfectly  (thanks :*)
I've only a question: here you talk about "iptables" but when i try to execute
Code: [Select]
iptables -A FORWARD -j ACCEPT it tells me that iptables doesn't exist
Do i miss something?

P.S. same for iwconfig

Thanks in advance
Roberto
« Last Edit: April 30, 2008, 06:32:07 pm by Cagnulein »

datathief

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Htc Universal
« Reply #184 on: May 01, 2008, 04:30:57 am »
Quote from: Cagnulein
here you talk about "iptables" but when i try to execute
Code: [Select]
iptables -A FORWARD -j ACCEPT it tells me that iptables doesn't exist
You don't need iptables on the phone, but on the PC at the other end of the USB cable.  Run the first set of commands on the PC, and the second set on the phone.

If the PC is running Windows, I can't help you, but another poster here has had success.

Quote
P.S. same for iwconfig
Yes...  I forgot to include this in the rootfs.  You will need to install the "wireless-tools" package yourself.

Cagnulein

  • Newbie
  • *
  • Posts: 9
    • View Profile
Htc Universal
« Reply #185 on: May 01, 2008, 04:33:14 am »
Quote
You don't need iptables on the phone, but on the PC at the other end of the USB cable. Run the first set of commands on the PC, and the second set on the phone.
I feel so stupid
Thanks

wolfy

  • Newbie
  • *
  • Posts: 34
    • View Profile
Htc Universal
« Reply #186 on: May 01, 2008, 06:57:44 am »
Quote from: Cagnulein
First of all sorry for my bad english and for my noob question.
I've just installed "Titchy" on my universal and it runs perfectly  (thanks :*)
I've only a question: here you talk about "iptables" but when i try to execute
Code: [Select]
iptables -A FORWARD -j ACCEPT it tells me that iptables doesn't exist

I understand and i see the debian upgrates and install depends on the internet conection
Can`t be realised directly whith your HTC Uni if you have posibility, or from network whith one PC
Because i can`t make my WiFi secure to work in Linux PC i tried to make configuration to work whith Windows
I follow the datathief posted link and after installation Linux.inf drivers in Windows and in my HTC Uni i put this comand:

[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']ifconfig usb0 192.168.3.3
route add default gw 192.168.3.1
echo "nameserver 208.67.222.222" >/etc/resolv.conf[/div] But not work in 1 st
I make my WiFi conection shared whith my linux network and i found the IP adresses is diferent like 192.168.3.3
Whose 192.168.1.3 and not work: Limited conectivity

Only after i repaired code my conections work

[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']ifconfig usb0 192.168.1.3
route add default gw 192.168.3.1
echo "nameserver 208.67.222.222" >/etc/resolv.conf[/div] Now if you want to make one similar conection whith Windows PC not Linux is verry easy
All you want to do (if you want) is to pay atention on your IP linux showing in Windows to correct this in HTC Uni line comand
Right click in Network Conections to Linux Network (icon)/Status/Details and there you can see IP adress that while read from HTC Uni
After that i make Internet Conections Sharing with Home Network Conections
In my PC whose Local Area Conection 2 because I already have one network whith other PC in my home
If you not have another network you will see only Local Area Conection and that is
And Windows Firewall make disable to full working

Cagnulein

  • Newbie
  • *
  • Posts: 9
    • View Profile
Htc Universal
« Reply #187 on: May 01, 2008, 07:07:25 am »
only a fast report: all works fine! keyboard, lcd, X, usb, wifi...i've just close my ssh session on my desktop pc XD
I'm so excited

wolfy

  • Newbie
  • *
  • Posts: 34
    • View Profile
Htc Universal
« Reply #188 on: May 01, 2008, 10:54:59 am »
I` m verry Excited me to......
Finaly i instaled xinit gpe and all is work fine, touchscreen, keyboard, etc....  
Now i`m interesting whith conection to internet via wap from my provider Orange
but....
Some Aplications is missing like one Web Browser   Aplication like gpe-filemanager, gpe-bluethooth etc i find them an i already instaled.....
1. Haw and from where to install one web browser to work in GPE ???? AND.....
2. Some sugestion to configure my wap conections in GPE
    - APN wap
    - Proxy:Port 62.217.247.252:8799
    - no user and pass
3. Exist some setings or aplications to make desktop in GPE?

Sorry for my insistence  

datathief

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Htc Universal
« Reply #189 on: May 01, 2008, 11:27:02 am »
Quote from: wolfy
1. Haw and from where to install one web browser to work in GPE ????
My web browser icehamster should work.  I don't know how to add it to the GPE menus (maybe it will happen automatically).

Quote
2. Some sugestion to configure my wap conections in GPE
    - APN wap
    - Proxy:Port 62.217.247.252:8799
    - no user and pass
Edit /etc/htcunid/htcunid.conf and set your APN.  Restart htcunid to pick up the new setting:
Code: [Select]
/etc/init.d/htcunid restartThen, try connecting using pppd:
Code: [Select]
pppd pty 'socat - tcp:127.0.0.1:1702' noauth defaultroute usepeerdns debug nodetach
Quote
3. Exist some setings or aplications to make desktop in GPE?
I don't know.

wolfy

  • Newbie
  • *
  • Posts: 34
    • View Profile
Htc Universal
« Reply #190 on: May 01, 2008, 12:45:02 pm »
Thx man
Icehamster is verry cool, i understand icehamster use minimo engine and all setings and luck verry nice
Work verry good whith network conection

Now i try to make conections to wap from my phone
 

wolfy

  • Newbie
  • *
  • Posts: 34
    • View Profile
Htc Universal
« Reply #191 on: May 01, 2008, 12:56:07 pm »
Quote from: datathief
Code: [Select]
pppd pty 'socat - tcp:127.0.0.1:1702' noauth defaultroute usepeerdns debug nodetach

Couldn`t get channel number: Imput/Output error
Script socat - tcp:127.0.0.1:1702 finished (pid 1450), status = 0x7f


 

Is missing my dial GPRS number??? I know is *99# Haw to put this number?? or what  

datathief

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Htc Universal
« Reply #192 on: May 01, 2008, 02:37:06 pm »
Quote from: wolfy
Quote from: datathief
Code: [Select]
pppd pty 'socat - tcp:127.0.0.1:1702' noauth defaultroute usepeerdns debug nodetach

Couldn`t get channel number: Imput/Output error
Script socat - tcp:127.0.0.1:1702 finished (pid 1450), status = 0x7f


 

Is missing my dial GPRS number??? I know is *99# Haw to put this number?? or what  
Is there any other error before this?

Is "socat" installed?  If not, you will need to install it:
Code: [Select]
apt-get install socat

wolfy

  • Newbie
  • *
  • Posts: 34
    • View Profile
Htc Universal
« Reply #193 on: May 01, 2008, 02:55:17 pm »
Quote from: datathief
Is there any other error before this?

No other errors before...
Just i write this: pppd pty 'socat - tcp:127.0.0.1:1702' noauth defaultroute usepeerdns debug nodetach

And after Enter is displayed this:
Couldn`t get channel number: Imput/Output error
Script socat - tcp:127.0.0.1:1702 finished (pid 1450), status = 0x7f


Quote
Is "socat" installed?  If not, you will need to install it:
Code: [Select]
apt-get install socat

Now i go to try to install socat  

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #194 on: May 02, 2008, 04:50:45 am »
Datathief, question regarding time. Are you able to preserve system time between linux reboots?

I have to set the time via date and hwclock -w every reboot.
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze