Author Topic: Htc Universal  (Read 698908 times)

datathief

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Htc Universal
« Reply #375 on: May 22, 2008, 03:47:38 pm »
Quote from: Sam Liddicott
I'll do more experiments tonight, and still losing 2% per hour.

Sam
I've rebooted and tested the battery for a few hours, and haven't found anything that makes any significant difference (except 'modprobe acx', which does terrible, terrible things to the battery life).

I'm currently losing almost exactly 0.5% per hour on standby, with the 3800mAh battery.  I guess that would equate to about 1.2% per hour with the standard 1620mAh battery.  I'll re-test after a day of use, and see if anything has changed.

webdork

  • Newbie
  • *
  • Posts: 16
    • View Profile
Htc Universal
« Reply #376 on: May 22, 2008, 10:17:23 pm »
Is it possible to run a usb wifi card via an externally powered USB hub with the Universal?

datathief

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Htc Universal
« Reply #377 on: May 23, 2008, 04:50:16 am »
Quote from: webdork
Is it possible to run a usb wifi card via an externally powered USB hub with the Universal?
I believe it's not supported by the hardware (an unconnected pin or something).  And even if it was supported, the g_ether driver (which does networking over a USB cable) can't be unloaded to load the USB host drivers, as it's not a module.  And no-one here has managed to build a fully working kernel from the source yet.

In other words, no.  

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #378 on: May 23, 2008, 06:44:22 am »
datathief, regarding APM. Does the Uni turn suspend when a critically low battery level is experienced? I can't check now, since I just ran out of battery juice, so plugged a PC cable in, and unwitfully didn't wait a couple of minutes to test if it'd come back on, just soft-reset it. So am leaving it in Windows Mobile for a while now to charge a little, as the PC cable gives low charge...

Or is the low-bat suspend not taken care of currently?
« Last Edit: May 23, 2008, 06:45:14 am 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 #379 on: May 23, 2008, 09:08:20 am »
Quote from: ShiroiKuma
datathief, regarding APM. Does the Uni turn suspend when a critically low battery level is experienced? I can't check now, since I just ran out of battery juice, so plugged a PC cable in, and unwitfully didn't wait a couple of minutes to test if it'd come back on, just soft-reset it. So am leaving it in Windows Mobile for a while now to charge a little, as the PC cable gives low charge...

Or is the low-bat suspend not taken care of currently?
I honestly don't know.  I haven't written anything to do that, but I don't know if the kernel handles it somehow (like the Zaurus kernel does, IIRC).

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #380 on: May 24, 2008, 04:18:49 pm »
Using bluetooth headpones via A2DP
Anyone using bluetooth to listen to songs or movies on the Uni? I've googled and tried various guides like http://gentoo-wiki.com/HOWTO_use_a_bluetooth_headset and http://wiki.debian.org/BluetoothAlsa etc. but I can't get it working.

Does anyone have a working setup?

Got it going using http://fosswire.com/2008/01/11/a2dp-stereo-linux/

However, the audio is really choppy and lags, I've noticed in syslog that hcid sets the bitpool at 32 which would be too low, so probably some tweaking needed. But at least a working start.

If anyone has it working, please share.
« Last Edit: May 24, 2008, 05:12:27 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 #381 on: May 24, 2008, 06:15:37 pm »
Quote from: ShiroiKuma
If anyone has it working, please share.
I don't know if this will make any difference...  I've found out that the bluetooth chipset is made by Texas Instruments, so the appropriate hciattach command is actually:
Code: [Select]
hciattach /dev/ttyS1 texas

datathief

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Htc Universal
« Reply #382 on: May 26, 2008, 12:51:04 pm »
I've uploaded a new UI package, titchy-phoneui-shiny.  It's still at the prototype stage  -  it can only do basic call and SMS notifications so far, and there's no touchscreen or portrait-mode support yet  -  but I think there's a lot of potential to develop it further.

It works nicely in console mode  -  I haven't tested it under X yet...

Edit: Seems to work fine under X.
« Last Edit: May 26, 2008, 01:37:59 pm by datathief »

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #383 on: May 26, 2008, 01:38:21 pm »
I'll check it out soon, prelim questions before I get to it, what's the relationship to your whiptail frontend, is it on top of that, does it supersede it or replace it, or work alongside?
[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 #384 on: May 26, 2008, 02:13:18 pm »
Quote from: ShiroiKuma
I'll check it out soon, prelim questions before I get to it, what's the relationship to your whiptail frontend, is it on top of that, does it supersede it or replace it, or work alongside?
They should coexist fine.  It's not anywhere near a finished product yet, so it won't replace the whiptail scripts.  Keep your expectations low.  

Screenshots are up on the wiki now.  Also, I've just uploaded a new version to fix a bug (new SMS would cause it to crash).

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #385 on: May 26, 2008, 04:34:00 pm »
It seems UTF-8 is not implemented in it. I've replaced the Vera.ttf link to an extended TTF font, containing Japanese characters, however they are not displayed properly, though the font contains them, so a coding issue maybe?
[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 #386 on: May 26, 2008, 07:42:34 pm »
Quote from: ShiroiKuma
It seems UTF-8 is not implemented in it. I've replaced the Vera.ttf link to an extended TTF font, containing Japanese characters, however they are not displayed properly, though the font contains them, so a coding issue maybe?
Should be fixed now (you'll still need to replace the font though).

webdork

  • Newbie
  • *
  • Posts: 16
    • View Profile
Htc Universal
« Reply #387 on: May 27, 2008, 03:41:20 am »
Where can I find the kernel headers for Shiro's Debian Sid FS? (hh20)  I'm trying to build the mac80211 subsystem for the Uni and need to find them!

Thanx in advance!
« Last Edit: May 27, 2008, 03:42:22 am by webdork »

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #388 on: May 27, 2008, 03:47:54 am »
Quote from: datathief
I don't know if this will make any difference...  I've found out that the bluetooth chipset is made by Texas Instruments, so the appropriate hciattach command is actually:
Code: [Select]
hciattach /dev/ttyS1 texas
Oh no, it's a nightmare...

The lag is not caused by swave vs texas, as I've tried on a desktop and once bluetooth audio was setup using the same python script, it had the same lag when playing from mplayer, while totem has none, apparently there is super high cpu usage using mplayer and a2dp, so some bug...

However, not keeping in line with the "if it's not messed up, don't fix it" golden rule, I aptiture removed bluetooth-alsa, as it shouldn't be needed and should be antiquated, rebooted. Now the bluetooth does start up, but the audio will not run.

Now, no matter which combo I try with having the bluetooth-alsa installed etc. it doesn't work, I've noticed:
Can't load plugin: /lib/bluetooth/plugins/libaudio.so in the syslog, the indicated solution to this on the web is recompile bluez-utils.

But it was working, before "I fixed it" so how can this be?

Ahhh....

EDIT 1: Hmmm, some progress, have replaced texas back with swave in /etc/bluetooth/uart, after restart, after stopping bluetooth-alsa, and starting bluetooth, this is fine and audio is initialized... Now just can't get passkey-agent to register the pin to the headphones, which went fine yesterday... Some further twiddlin' probably necessary.
« Last Edit: May 27, 2008, 05:20:04 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 #389 on: May 27, 2008, 03:53:03 am »
Quote from: webdork
Where can I find the kernel headers for Shiro's Debian Sid FS? (hh20)  I'm trying to build the mac80211 subsystem for the Uni and need to find them!
https://www.oesf.org/forum/index.php?showto...st&p=176793
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze