Author Topic: Htc Universal  (Read 699007 times)

Sam Liddicott

  • Newbie
  • *
  • Posts: 44
    • View Profile
Htc Universal
« Reply #330 on: May 15, 2008, 11:37:33 am »
Quote from: datathief
Edit: It looks like the bluetooth module is powered up by default.  I've updated titchy-hardware-support to turn it off.  I've no idea whether it will make much difference, though.

Thanks for that; I'll test tonight.

Sam

Sam Liddicott

  • Newbie
  • *
  • Posts: 44
    • View Profile
Htc Universal
« Reply #331 on: May 15, 2008, 05:23:19 pm »
Quote from: Sam Liddicott
Quote from: datathief
Edit: It looks like the bluetooth module is powered up by default.  I've updated titchy-hardware-support to turn it off.  I've no idea whether it will make much difference, though.

Thanks for that; I'll test tonight.

Sam

It seems to have done the trick, I've only lost 5% in the last 5 hours

Sam

webdork

  • Newbie
  • *
  • Posts: 16
    • View Profile
Htc Universal
« Reply #332 on: May 15, 2008, 07:05:18 pm »
Quote from: Sam Liddicott
And I finally got a kernel compile, not sure what I was doing wrong, but now I can start on the wlan stuff.

YES!!! I and many others hope you have success with this! Please keep us updated  
« Last Edit: May 15, 2008, 07:05:54 pm by webdork »

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #333 on: May 16, 2008, 04:30:33 am »
Quote from: webdork
Quote from: Sam Liddicott
And I finally got a kernel compile, not sure what I was doing wrong, but now I can start on the wlan stuff.

YES!!! I and many others hope you have success with this! Please keep us updated  
Don't get your hopes up too high. Not diminishing the above efforts, but many people have "successfully" compiled kernels for the Uni recently, but all the time there were some side issues. The last kernel I've compiled had all the crypto modules etc. but then had severe issues with suspend and coming out of suspend.

So maybe getting a fully working kernel, which will accomodate wifi stability and not have any negative side effects is still not gonna be that easy.
[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 #334 on: May 16, 2008, 06:01:49 am »
Quote from: ShiroiKuma
Quote from: webdork
Quote from: Sam Liddicott
And I finally got a kernel compile, not sure what I was doing wrong, but now I can start on the wlan stuff.

YES!!! I and many others hope you have success with this! Please keep us updated  
Don't get your hopes up too high. Not diminishing the above efforts, but many people have "successfully" compiled kernels for the Uni recently, but all the time there were some side issues. The last kernel I've compiled had all the crypto modules etc. but then had severe issues with suspend and coming out of suspend.

So maybe getting a fully working kernel, which will accomodate wifi stability and not have any negative side effects is still not gonna be that easy.
By the same token, you did manage to build new modules and run them with the known-working kernel, didn't you?  I think there's still hope.  

webdork

  • Newbie
  • *
  • Posts: 16
    • View Profile
Htc Universal
« Reply #335 on: May 16, 2008, 07:10:58 am »
Quote from: datathief
I think there's still hope.  

Where there is a will there is a way  

Also, there are two files that are the primary reason the wlan i crap for the Uni: mem.c and cs.c. I've been told that once these files are cleaned up that the slave memory driver should be good, so it's not impossible (a new kernel wouldn't be bad either!!!!)

datathief

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Htc Universal
« Reply #336 on: May 16, 2008, 02:54:44 pm »
Quote from: Sam Liddicott
Quote from: Sam Liddicott
Quote from: datathief
Edit: It looks like the bluetooth module is powered up by default.  I've updated titchy-hardware-support to turn it off.  I've no idea whether it will make much difference, though.

Thanks for that; I'll test tonight.

Sam

It seems to have done the trick, I've only lost 5% in the last 5 hours

Sam
I've accidentally removed snd-htcuniversal-audio from /etc/modules, which will cause you problems when you reboot.  I've fixed this in another new version of titchy-hardware-support.

For anyone using the whiptail UI, I've uploaded a new version of titchy-phoneui-console.  Fixes some small issues, like turning the ringtone off before answering the call.

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #337 on: May 17, 2008, 04:26:04 pm »
datathief, do you have ppp on demand setup to survive suspends? the ppp package installs a kill script to /etc/apm/event.d

Did you remove it, or configure /etc/ppp/apm.conf? Right now I have to redial demand ppp after each resume. How do you do it?
[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 #338 on: May 17, 2008, 09:08:12 pm »
Quote from: ShiroiKuma
datathief, do you have ppp on demand setup to survive suspends? the ppp package installs a kill script to /etc/apm/event.d

Did you remove it, or configure /etc/ppp/apm.conf? Right now I have to redial demand ppp after each resume. How do you do it?
I've just set /etc/ppp/apm.conf to
Code: [Select]
exit 0
... which is obviously not the "right way" to do it...

Elleo

  • Newbie
  • *
  • Posts: 1
    • View Profile
Htc Universal
« Reply #339 on: May 18, 2008, 01:21:46 pm »
Hi, just installed titchy and really like it. One small bug I noticed however is that the sms mailbox (/var/mail/sms) is incorrectly formatted (resulting in SMS messages not being displayed terribly well in mutt). In /etc/titchy-phone-daemon/event.d/titchy-phoneui-base for the receivesms case you need to be using echo -e rather than just echo, otherwise you'll just get literal '\n's in the output instead of line breaks.

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #340 on: May 18, 2008, 02:09:46 pm »
Quote from: Elleo
Hi, just installed titchy and really like it. One small bug I noticed however is that the sms mailbox (/var/mail/sms) is incorrectly formatted (resulting in SMS messages not being displayed terribly well in mutt). In /etc/titchy-phone-daemon/event.d/titchy-phoneui-base for the receivesms case you need to be using echo -e rather than just echo, otherwise you'll just get literal '\n's in the output instead of line breaks.
Not associated with this, but in the whiptail popup box when you get an SMS, it doesn't line break either. I have to view all of the long SMSes by tailing the SMS log file.
[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 #341 on: May 18, 2008, 05:22:14 pm »
Quote from: Elleo
Hi, just installed titchy and really like it. One small bug I noticed however is that the sms mailbox (/var/mail/sms) is incorrectly formatted (resulting in SMS messages not being displayed terribly well in mutt). In /etc/titchy-phone-daemon/event.d/titchy-phoneui-base for the receivesms case you need to be using echo -e rather than just echo, otherwise you'll just get literal '\n's in the output instead of line breaks.
It seems bash and dash handle this differently  -  I presume your /bin/sh is bash.  I'll see what I can do.

Edit: Fixed  -  titchy-phoneui-base now depends specifically on dash.
« Last Edit: May 18, 2008, 06:03:39 pm by datathief »

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #342 on: May 18, 2008, 05:23:28 pm »
Quote from: datathief
Edit: It looks like the bluetooth module is powered up by default.  I've updated titchy-hardware-support to turn it off.  I've no idea whether it will make much difference, though.
So how do I bring bluetooth up now?

hciconfig gives me nothing, no change when insmoding the two bluetooth module files in /lib/modules
[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 #343 on: May 18, 2008, 05:24:06 pm »
Quote from: datathief
It seems bash and dash handle this differently  -  I presume your /bin/sh is bash.  I'll see what I can do.
I thought I've set the default to dash, let me check...

No, I've got it set to dash.

EDIT 1: Something ocurred to me, and I checked, and yes, it's connected with UTF-8. It only doesn't line break with UTF-8 characters in the message. Also, some of them are still garbled, but some not, so will try to determine if it's only with some, will do some more tests.

EDIT 2: No, it seems to be doing it with all extended characters, i.e. once UTF-8 is used, it doesn't linebreak.
« Last Edit: May 18, 2008, 05:34:30 pm 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 #344 on: May 18, 2008, 05:24:44 pm »
Quote from: datathief
I've just set /etc/ppp/apm.conf to
Code: [Select]
exit 0
... which is obviously not the "right way" to do it...
But it seems to be working... Thanks a lot for that.
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze