OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

44 Pages V  « < 3 4 5 6 7 > »   
Reply to this topicStart new topic
> Htc Universal, ... running Debian EABI
ZDevil
post Apr 18 2008, 02:43 AM
Post #61





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



@ShiroiKuma

Try this: http://www.oesf.org/forum/index.php?act=fi...&pid=170701

And this tool: http://www.oesf.org/forum/index.php?showforum=155
Go to the top of the page
 
+Quote Post
ShiroiKuma
post Apr 18 2008, 02:45 AM
Post #62





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



OK, I seem to have a clearer understanding from reading the web. It seems if you don't use xdm or an alternative manager, you cannot start an X session as non-root. If so, then running icewm as non-root is not a possibility.

I am understanding it correctly?
Go to the top of the page
 
+Quote Post
ShiroiKuma
post Apr 18 2008, 03:25 AM
Post #63





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



OK, this is clear, I'll get on with install an gdm or xdm and will see.

On another note, what I've noticed so far, datathief, how is the keyboard backlighting - do you have it working? As mine isn't backlit when in debian...
Go to the top of the page
 
+Quote Post
datathief
post Apr 18 2008, 05:30 AM
Post #64





Group: Members
Posts: 206
Joined: 21-January 08
Member No.: 21,231



QUOTE(ShiroiKuma @ Apr 18 2008, 11:25 AM) *
OK, this is clear, I'll get on with install an gdm or xdm and will see.

On another note, what I've noticed so far, datathief, how is the keyboard backlighting - do you have it working? As mine isn't backlit when in debian...

Check /sys/class/leds. The following turns the keyboard backlight on:
CODE
echo 1 >"/sys/class/leds/htcuniversal:kbdbac/brightness"


I've bound a script to the backlight button to cycle through different keyboard and screen backlight settings. I'll upload it to my wiki later.
Go to the top of the page
 
+Quote Post
ShiroiKuma
post Apr 18 2008, 06:03 AM
Post #65





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



QUOTE(datathief @ Apr 18 2008, 02:30 PM) *
I've bound a script to the backlight button to cycle through different keyboard and screen backlight settings. I'll upload it to my wiki later.

Thanks.

I see you're uploading a rootfs now. Since you mentioned you don't use X, what is in it? Does it include X? Returning to my question earlier on, it's of interest to me why you don't use X, out of performance reasons? And do you just work with screen and console or what?
Go to the top of the page
 
+Quote Post
datathief
post Apr 18 2008, 06:26 AM
Post #66





Group: Members
Posts: 206
Joined: 21-January 08
Member No.: 21,231



QUOTE(ShiroiKuma @ Apr 18 2008, 02:03 PM) *
I see you're uploading a rootfs now. Since you mentioned you don't use X, what is in it? Does it include X? Returning to my question earlier on, it's of interest to me why you don't use X, out of performance reasons? And do you just work with screen and console or what?

There's no X in the rootfs - I wanted to keep it as small as possible. I'll put a page on my wiki for installing X.

I use screen, mutt (e-mail), finch (instant messaging) and links (web browsing). I've built a basic phone UI with whiptail (I'll upload that to the wiki too), and my ringtone is music from "Project X" played using mikmod.
Go to the top of the page
 
+Quote Post
ShiroiKuma
post Apr 18 2008, 06:53 AM
Post #67





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



QUOTE(datathief @ Apr 18 2008, 03:26 PM) *
I use screen, mutt (e-mail), finch (instant messaging) and links (web browsing). I've built a basic phone UI with whiptail (I'll upload that to the wiki too), and my ringtone is music from "Project X" played using mikmod.

I've started testing your phone daemon just now. Just started inspecting /etc/htcunid/event.d/example

How do you set a ringtone? You've mentioned before there's no caller ID, but is it possible to elicit some visual feedback when a call is incoming.

I've confirmed it works, I've made a call and received one when I knew I was being called, however no feedback, no vibrate...

Do I have to rename the example file something and then edit it, haven't had a deep look at the structure of your deb so far. But just to get me started, so that I can pop the SIM in and do testing being sure in the meantime not to miss incoming calls and SMS.

Your help is much appreciated. Thanks a lot.

EDIT: OK, just saw your uploads on your site. Will go check these out. smile.gif
EDIT 2: Oops, too fast, uploads still not there.
EDIT 3: And there smile.gif
Go to the top of the page
 
+Quote Post
datathief
post Apr 18 2008, 07:01 AM
Post #68





Group: Members
Posts: 206
Joined: 21-January 08
Member No.: 21,231



QUOTE(ShiroiKuma @ Apr 18 2008, 02:53 PM) *
QUOTE(datathief @ Apr 18 2008, 03:26 PM) *
I use screen, mutt (e-mail), finch (instant messaging) and links (web browsing). I've built a basic phone UI with whiptail (I'll upload that to the wiki too), and my ringtone is music from "Project X" played using mikmod.

I've started testing your phone daemon just now. Just started inspecting /etc/htcunid/event.d/example

How do you set a ringtone? You've mentioned before there's no caller ID, but is it possible to elicit some visual feedback when a call is incoming.

I've confirmed it works, I've made a call and received one when I knew I was being called, however no feedback, no vibrate...

Do I have to rename the example file something and then edit it, haven't had a deep look at the structure of your deb so far. But just to get me started, so that I can pop the SIM in and do testing being sure in the meantime not to miss incoming calls and SMS.

Your help is much appreciated. Thanks a lot.

Check that the example script is executable. Then you should get vibration when there's a call or SMS.

(I have working caller ID now, btw - I'll be uploading that tonight).

I've just uploaded the scripts I'm using here. Install them to /etc/htcunid/event.d, edit them (you probably prefer an mp3 ringtone), and make them executable.
Go to the top of the page
 
+Quote Post
ShiroiKuma
post Apr 18 2008, 07:45 AM
Post #69





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



QUOTE(datathief @ Apr 18 2008, 04:01 PM) *
Check that the example script is executable. Then you should get vibration when there's a call or SMS.

(I have working caller ID now, btw - I'll be uploading that tonight).

I've just uploaded the scripts I'm using here. Install them to /etc/htcunid/event.d, edit them (you probably prefer an mp3 ringtone), and make them executable.

Yeah, that was the reason, I'll be testing it now.

BTW, do you login as root, or as a regular user. It seems if I login as a normal user, I can't start the htcunid service even through sudo.

Also, is there a special audio hack associated with sound. If I play a ringtone in mplayer and use the 0 and 9 keys to manipulate volume, it goes mute. Is volume even in other apps only to be managed by htcunid volume?
Go to the top of the page
 
+Quote Post
datathief
post Apr 18 2008, 07:59 AM
Post #70





Group: Members
Posts: 206
Joined: 21-January 08
Member No.: 21,231



QUOTE(ShiroiKuma @ Apr 18 2008, 03:45 PM) *
BTW, do you login as root, or as a regular user. It seems if I login as a normal user, I can't start the htcunid service even through sudo.

Recent versions of htcunid.deb install to /etc/rcS.d, so it starts up at boot time.

QUOTE
Also, is there a special audio hack associated with sound. If I play a ringtone in mplayer and use the 0 and 9 keys to manipulate volume, it goes mute. Is volume even in other apps only to be managed by htcunid volume?

You should be able to use alsamixer (or any ALSA volume control) for this. If you have problems, you could try using ALSA's OSS emulation (mplayer -ao oss).
Go to the top of the page
 
+Quote Post
ZDevil
post Apr 18 2008, 10:03 AM
Post #71





Group: Members
Posts: 2,003
Joined: 16-April 04
From: the Netherlands && /dev/null
Member No.: 2,882



Perhaps it's not such a bad idea to set up and get everything working as root before figuring out things for normal users?
Go to the top of the page
 
+Quote Post
ShiroiKuma
post Apr 18 2008, 12:05 PM
Post #72





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



QUOTE(datathief @ Apr 18 2008, 05:01 PM) *
(I have working caller ID now, btw - I'll be uploading that tonight).

Great, looking forward to that. I guess I'll wait before you put it up before checking how the ringtones can be personalized for different users based on caller ID.

Or have you already thought of that?
Go to the top of the page
 
+Quote Post
datathief
post Apr 18 2008, 01:09 PM
Post #73





Group: Members
Posts: 206
Joined: 21-January 08
Member No.: 21,231



QUOTE(ShiroiKuma @ Apr 18 2008, 08:05 PM) *
QUOTE(datathief @ Apr 18 2008, 05:01 PM) *
(I have working caller ID now, btw - I'll be uploading that tonight).

Great, looking forward to that.

This is now available

QUOTE
I guess I'll wait before you put it up before checking how the ringtones can be personalized for different users based on caller ID.

Or have you already thought of that?

The caller ID is passed to the event.d scripts as $2. You could do something like:
CODE
case "$2" in
0123456789)
  # play custom ringtone
;;
0987654321)
  # play custom ringtone
;;
*)
  # play default ringtone
;;
esac
Go to the top of the page
 
+Quote Post
ShiroiKuma
post Apr 18 2008, 03:36 PM
Post #74





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



OK, will try the above.

My comments so far:

SMS getting passed to whiptail doesn't work if extended character set (Unicode) is used. This is a big problem in languages that use them, i.e. Russian, Czech etc. If an SMS with Unicode characters is received, it is displayed as empty.

After making a call, touchtones are not possible. Thus when you dial into let's say a mailbox, or a bank automatized system, you cannot enter numbers or pounds etc.

I'm currently away from my Z, but perhaps the command to revigorate the keyboard after suspend should be executed as part of the restore after suspend sequence. Since I don't have the Z to inspect, don't remember where the shellscripts to be carried out after restore went...

Didn't check so far, but did you include the wifi powerdown to save energy into the init scripts to be run after boot?

EDIT: Installed htcunid-0.3 and the Unicode SMS missing is partially solved, I think. It comes as garbled text, but that's evidently because whiptail doesn't use a Unicode font. This is an improvement though. Anyhow, an archiving option needs to be built into the SMS receiption. I.e. not only display the SMS received and number it came from, but also echo it >> to a default SMS archive. If you're not working on it, I'll come up with a temporary hack.

The same goes for calls. There needs to be a call register. I'm just about to check the caller ID in htcunid-0.3, but again, a simple echo the number and time >> to a call-log file should do.

EDIT2: When I added a quick hack to whiptail shellscript to >> the SMS text to a log-sms.txt file, it seems it doesn't save the text in Unicode. Can't tell for sure, since I haven't installed a UTF-8 compliant terminal, but seems to be the case. Will report back later.

EDIT3: The htcunid-0.3 package gives me problems when accepting a call. The call ends in a couple of seconds and the phone freezes.

EDIT4: I'm thinking it's not associated with the package itself, rather a config of zdevil's rootfs I used originally. Maybe it might be better to install from datathiefs rootfs. I vaguely recall when installing X under debian on the Z the need to take packages from Aangstroem, like xserver-kdrive etc. Datathief, do you have a brief set of steps to take to install working X, since I can't consult with the Z.
Go to the top of the page
 
+Quote Post
datathief
post Apr 19 2008, 02:16 AM
Post #75





Group: Members
Posts: 206
Joined: 21-January 08
Member No.: 21,231



QUOTE(ShiroiKuma @ Apr 18 2008, 11:36 PM) *
SMS getting passed to whiptail doesn't work if extended character set (Unicode) is used. This is a big problem in languages that use them, i.e. Russian, Czech etc. If an SMS with Unicode characters is received, it is displayed as empty.

The function to decode an SMS doesn't handle anything more than 7-bit ASCII yet.

QUOTE
After making a call, touchtones are not possible. Thus when you dial into let's say a mailbox, or a bank automatized system, you cannot enter numbers or pounds etc.

True. I can add a function to htcunid to do this, but I don't have any ideas for a UI.

QUOTE
I'm currently away from my Z, but perhaps the command to revigorate the keyboard after suspend should be executed as part of the restore after suspend sequence. Since I don't have the Z to inspect, don't remember where the shellscripts to be carried out after restore went...

Do you have apmd installed? This works for me (see /etc/apm/event.d/htcuni-keyboard).

QUOTE
Didn't check so far, but did you include the wifi powerdown to save energy into the init scripts to be run after boot?

Yes - this is done by /etc/init.d/htcuni-wifipower.

QUOTE
EDIT: Installed htcunid-0.3 and the Unicode SMS missing is partially solved, I think. It comes as garbled text, but that's evidently because whiptail doesn't use a Unicode font. This is an improvement though.

See above.

QUOTE
Anyhow, an archiving option needs to be built into the SMS receiption. I.e. not only display the SMS received and number it came from, but also echo it >> to a default SMS archive. If you're not working on it, I'll come up with a temporary hack. The same goes for calls. There needs to be a call register. I'm just about to check the caller ID in htcunid-0.3, but again, a simple echo the number and time >> to a call-log file should do.

The default example script does this. A better solution would involve /var/spool and use mailbox format. Feel free to upload scripts to the wiki.

QUOTE
EDIT2: When I added a quick hack to whiptail shellscript to >> the SMS text to a log-sms.txt file, it seems it doesn't save the text in Unicode. Can't tell for sure, since I haven't installed a UTF-8 compliant terminal, but seems to be the case. Will report back later.

Again, see above.

QUOTE
EDIT3: The htcunid-0.3 package gives me problems when accepting a call. The call ends in a couple of seconds and the phone freezes.

I'll look into this. Could be a problem with the whiptail script.

QUOTE
EDIT4: I'm thinking it's not associated with the package itself, rather a config of zdevil's rootfs I used originally. Maybe it might be better to install from datathiefs rootfs. I vaguely recall when installing X under debian on the Z the need to take packages from Aangstroem, like xserver-kdrive etc. Datathief, do you have a brief set of steps to take to install working X, since I can't consult with the Z.

I used the packages from http://yonggun.tistory.com/54
Go to the top of the page
 
+Quote Post

44 Pages V  « < 3 4 5 6 7 > » 
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 14th July 2014 - 02:41 AM