Author Topic: Htc Universal  (Read 698740 times)

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #540 on: August 07, 2008, 02:14:46 am »
There is a problem with installing bluez-utils. If you start with the titchy rootfs, or mine, affects both, and install bluez-utils, the Universal fails right after initiating bluetooth services, scrolls by too fast, so don't know exactly the error, however ends with: correcting recursive error, but a reboot is needed.

Upon reboot, after initializing bluetooth, the same happens.

I have a backup rootfs where I've already installed an older version of bluez-utils, where there is no such problem.

It affects both testing and unstable distributions...
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

wolfy

  • Newbie
  • *
  • Posts: 34
    • View Profile
Htc Universal
« Reply #541 on: August 07, 2008, 04:26:59 am »
Hallo
I like Debian Linux in my Uni verry much
WiFi, PPP, USB, X and phone functions work weel
But...  
Is some little problems
______________________________________________________
How to edit manual /etc/titchy-phone-daemon/phonebook.vcf ???
I want to insert my contacts inside to see who call me
I try more options to insert in phonebook.vcf
NICKNAME and <NUMBER>
<NICKNAME, NUMBER> .... etc etc
I instaled Contacts but i can find *.vcf file to edit
_______________________________________________________
After install titchy-phoneui-glossy, every time after restart my Uni, or after installs some packages
The terminal gime me some errors like
MPD canot lock up for localhost, port bla bla......
Maybe MPD is running.......
Something like this
This erors apears and after I install something  
_______________________________________________________
And, After X Desktop is loaded, the first error is.
BATTERY EMPTY
How possibile fix exist, to not appear this message window???
Or to work correct???
-------
Thanks in advance
« Last Edit: August 07, 2008, 08:05:08 am by wolfy »

datathief

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Htc Universal
« Reply #542 on: August 07, 2008, 10:44:16 am »
Quote from: wolfy
How to edit manual /etc/titchy-phone-daemon/phonebook.vcf ???
vCard file (.vcf) editors are not as common as I thought.  I use "rolo", which is text-based.

"Contacts", and a few other programs, use the Evolution Data Server.  It may be possible to make the titchy-phoneui phonebook use this.

Edit: If you're familiar with Python, you can use it to convert the Evolution Data Server data, e.g.:
Code: [Select]
import bsddb
fin = bsddb.hashopen('('.evolution/addressbook/local/system/addressbook.db')
fout = open('/etc/titchy-phone-daemon/phonebook.vcf', 'w')
for s in fin.values():
  fout.write(s.replace('\r', '').replace('\x00', '') + '\n\n')
fout.close()
fin.close()

Quote
After install titchy-phoneui-glossy, every time after restart my Uni, or after installs some packages
The terminal gime me some errors like
MPD canot lock up for localhost, port bla bla......
You need to add the following line to /etc/hosts:
Code: [Select]
127.0.0.1 localhost
Quote
And, After X Desktop is loaded, the first error is.
BATTERY EMPTY
How possibile fix exist, to not appear this message window???
Or to work correct???
I don't know  -  I don't use X.
« Last Edit: August 07, 2008, 11:22:26 am by datathief »

wolfy

  • Newbie
  • *
  • Posts: 34
    • View Profile
Htc Universal
« Reply #543 on: August 07, 2008, 11:30:23 am »
Thank You

Just 1 more question a have
Before I installed the rootfs I make whith gparted in my linux machine 3 partitions in my SDHC card
Part1: ext2, Part2 Linux Swap and part3 FAT for my Win OS
Now when I`m in Linux every time is need to mount Fat partition to work: #mount /dev/mmcblk0p3 /Myfat
Haw to made to mount this FAT partition automatic when Debian started?
« Last Edit: August 07, 2008, 11:44:59 am by wolfy »

datathief

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Htc Universal
« Reply #544 on: August 07, 2008, 12:02:54 pm »
Quote from: wolfy
Thank You

Just 1 more question a have
Before I installed the rootfs I make whith gparted in my linux machine 3 partitions in my SDHC card
Part1: ext2, Part2 Linux Swap and part3 FAT for my Win OS
Now when I`m in Linux every time is need to mount Fat partition to work: #mount /dev/mmcblk0p3 /Myfat
Haw to made to mount this FAT partition automatic when Debian started?
Add the following line to /etc/fstab
Code: [Select]
/dev/mmcblk0p3 /Myfat auto defaults,noatime 0 0

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #545 on: August 08, 2008, 03:30:14 am »
Quote from: ShiroiKuma
There is a problem with installing bluez-utils. If you start with the titchy rootfs, or mine, affects both, and install bluez-utils, the Universal fails right after initiating bluetooth services, scrolls by too fast, so don't know exactly the error, however ends with: correcting recursive error, but a reboot is needed.
Hmmm... could this issue be related to some hardware damage on the Uni? It seems the SD circuitry or whatever on my Uni has gone bad, i.e. I keep getting I/O read/write errors on the card in Debian now all the time.

Originally, I thought the card has gone bad. I got two new ones, similar problem.

Fsck bad sectors check doesn't reveal anything revealing... Is there a good tool to really check and report bad sectors / SD card damage?

This just to really come to terms if there has been some hardware malfunction in the Uni, which could be linked to this bluez problems? If that's the case, I'll probably have to get a new Uni or the board, but don't wanna do it, if it is in case just SD card issues...
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

wolfy

  • Newbie
  • *
  • Posts: 34
    • View Profile
Htc Universal
« Reply #546 on: August 08, 2008, 03:50:49 am »
Quote from: ShiroiKuma
There is a problem with installing bluez-utils. If you start with the titchy rootfs, or mine, affects both, and install bluez-utils, the Universal fails right after initiating bluetooth services, scrolls by too fast, so don't know exactly the error, however ends with: correcting recursive error, but a reboot is needed.

Mee to, I try to install bluez-utils, but in finally Setting up bluez-utils, crash my uni
I make Soft Reset, and work fine now, but whithout bluez-utils instaled, not whose setup up
I try to install GPE-BLUETOOTH
Install work, but hardware in Uni is not detected
« Last Edit: August 08, 2008, 03:51:59 am by wolfy »

datathief

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Htc Universal
« Reply #547 on: August 08, 2008, 05:46:19 am »
Quote from: ShiroiKuma
There is a problem with installing bluez-utils. If you start with the titchy rootfs, or mine, affects both, and install bluez-utils, the Universal fails right after initiating bluetooth services, scrolls by too fast, so don't know exactly the error, however ends with: correcting recursive error, but a reboot is needed.

Upon reboot, after initializing bluetooth, the same happens.

I have a backup rootfs where I've already installed an older version of bluez-utils, where there is no such problem.

It affects both testing and unstable distributions...
Do you have a copy of the working bluez-utils deb?  I could change its version number so it gets installed instead of the broken one, and host it in my repository, while we figure out what's wrong.

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #548 on: August 08, 2008, 06:32:17 am »
Quote from: datathief
Do you have a copy of the working bluez-utils deb?  I could change its version number so it gets installed instead of the broken one, and host it in my repository, while we figure out what's wrong.
Well, this was my first line of thinking. However, maybe it's induced by other factors, like other packages, because:

From a working rootfs backup where I have bluez-utils installed, I tried to manually install them in your clean rootfs - don't have the package, but first installed all the dependencies, then copied all the bluez-utils files in their place, ran the preinst script, then ran the postinst script, and it fails in the same way...

Like I said, can't catch the errors, but right after hcid initialization I think, a slew or rfcomm or what have you associated errors fly by and that's it, the machine is stuck.

So, since another user has the same issues, it's not motherboard failure related I assume.

Do you have an idea what could be behind this SD I/O read/write problems of mine? It's driving me nuts, I can't use Linux on the Universal now...

Thought it was machine hardware generated, since even the Windows Mobile couldn't access the card, which has the first partition as fat32, which they could before, though the card was readable fine on a PC both under GNU/Linux and under XP. I used some tool though under XP that is supposed to format the card exactly to SD guideline specifications and now the Windows Mobile reads the card.

So should I maybe try just to keep it fat32 formatted and put the Debian into a file and run it off of it, instead of creating an ext2 partition? Would this be beneficial? I'm just curious why this now when for a couple of months didn't have these issues at all...
[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 #549 on: August 08, 2008, 09:35:56 am »
Quote from: ShiroiKuma
Quote from: datathief
Do you have a copy of the working bluez-utils deb?  I could change its version number so it gets installed instead of the broken one, and host it in my repository, while we figure out what's wrong.
Well, this was my first line of thinking. However, maybe it's induced by other factors, like other packages, because:

From a working rootfs backup where I have bluez-utils installed, I tried to manually install them in your clean rootfs - don't have the package, but first installed all the dependencies, then copied all the bluez-utils files in their place, ran the preinst script, then ran the postinst script, and it fails in the same way...

Like I said, can't catch the errors, but right after hcid initialization I think, a slew or rfcomm or what have you associated errors fly by and that's it, the machine is stuck.

So, since another user has the same issues, it's not motherboard failure related I assume.
I'll try installing the newest bluez-utils on mine, see if it happens to me.

Quote
Do you have an idea what could be behind this SD I/O read/write problems of mine? It's driving me nuts, I can't use Linux on the Universal now...

Thought it was machine hardware generated, since even the Windows Mobile couldn't access the card, which has the first partition as fat32, which they could before, though the card was readable fine on a PC both under GNU/Linux and under XP. I used some tool though under XP that is supposed to format the card exactly to SD guideline specifications and now the Windows Mobile reads the card.

So should I maybe try just to keep it fat32 formatted and put the Debian into a file and run it off of it, instead of creating an ext2 partition? Would this be beneficial? I'm just curious why this now when for a couple of months didn't have these issues at all...
Because of the wear-levelling, SD cards can be a bit tricky.  You can write the same data to the same place twice, and it will get put in a different physical location on the card each time.  That makes it very difficult to track down problems.

For the same reason, an error on one partition can affect other partitions on the same card.

Do you have the ramdisk image installed?  Have you tried formatting the card for Linux using the phone itself?

datathief

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Htc Universal
« Reply #550 on: August 08, 2008, 01:22:54 pm »
Bluetooth seems to work fine if you use the Silicon Wave driver instead of the Texas Instruments one.  Change 'texas' to 'swave' in /etc/bluetooth/uart.

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #551 on: August 12, 2008, 04:28:37 am »
I seem to have an issue with general audio loudness, i.e. when playing audio or video, it seems to be significantly less loud than when playing the same files under WM. I seem to remember having a similar issue earlier on, then tweaking something, and it disappearing, though am not sure about it.

The incoming call ring is also not very loud, albeit having RINGTONEVOLUME set at 100 in /etc/default/titchy-phoneui-base

Any ideas?
[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 #552 on: August 12, 2008, 11:32:37 am »
Quote from: ShiroiKuma
I seem to have an issue with general audio loudness, i.e. when playing audio or video, it seems to be significantly less loud than when playing the same files under WM. I seem to remember having a similar issue earlier on, then tweaking something, and it disappearing, though am not sure about it.

The incoming call ring is also not very loud, albeit having RINGTONEVOLUME set at 100 in /etc/default/titchy-phoneui-base

Any ideas?

I don't know of anything that would affect the volume.  Run alsamixer at the console and check all the controls.

linuxFreq

  • Newbie
  • *
  • Posts: 13
    • View Profile
Htc Universal
« Reply #553 on: August 13, 2008, 01:02:08 pm »
Hey,

What is hibernate or suspend like?
In the project that i am doing i'd like to be able to hibernate the htc so that it could sit for a couple of days without a power supply and wake up in the same state as it was before....

Is this possible?

Also, when you hold the power button and the display appears with the clock and the date, how is this graphic produced? I was under the impression to get a gui like that you needed X...

Thanks.

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #554 on: August 13, 2008, 01:42:43 pm »
Quote from: datathief
I don't know of anything that would affect the volume.  Run alsamixer at the console and check all the controls.
Doh...

Of course, the volume was set to 80 there...  
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze