Author Topic: Htc Universal  (Read 698968 times)

datathief

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Htc Universal
« Reply #345 on: May 18, 2008, 05:32:02 pm »
Quote from: ShiroiKuma
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.
I'm not sure that I understand (it works fine for me).  Any chance of a screenshot?  (I don't exactly know how one would go about getting a screenshot  )

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #346 on: May 18, 2008, 05:46:50 pm »
Quote from: datathief
Quote from: ShiroiKuma
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.
I'm not sure that I understand (it works fine for me).  Any chance of a screenshot?  (I don't exactly know how one would go about getting a screenshot  )
I just edited above, it works fine if the message is not in UTF-8, then it's formatted. If there's UTF-8, then there is just one line, which runs all the way to the box border, the border on the right side of this line is messed up - shifted a character to the left, and that's all that's shown. It doesn't break the line.
[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 #347 on: May 18, 2008, 06:29:35 pm »
Quote from: ShiroiKuma
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
This should power it up again:
Code: [Select]
devmem2 0x10000104 halfword 0xC6A0... and down with:
Code: [Select]
devmem2 0x10000104 halfword 0x86A0
Edit: There's a bug in devmem2 when writing single bytes.  Changed to write halfwords.
« Last Edit: May 18, 2008, 07:17:28 pm by datathief »

datathief

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Htc Universal
« Reply #348 on: May 18, 2008, 06:30:53 pm »
Quote from: ShiroiKuma
Quote from: datathief
Quote from: ShiroiKuma
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.
I'm not sure that I understand (it works fine for me).  Any chance of a screenshot?  (I don't exactly know how one would go about getting a screenshot  )
I just edited above, it works fine if the message is not in UTF-8, then it's formatted. If there's UTF-8, then there is just one line, which runs all the way to the box border, the border on the right side of this line is messed up - shifted a character to the left, and that's all that's shown. It doesn't break the line.
I can't find much documentation on getting whiptail to work properly with UTF8...

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #349 on: May 18, 2008, 06:36:31 pm »
Quote from: datathief
I can't find much documentation on getting whiptail to work properly with UTF8...
Well, it's no big deal. I'm fine with just being notified the SMS is there and then I tail it...
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Htc Universal
« Reply #350 on: May 18, 2008, 11:54:09 pm »
Knock on wood, things are working pretty well for me right now with Titchy/HTC Uni....

However, just a couple minor things I've noticed....

During boot-up, I see in console the following:
Code: [Select]
activating swap [20.550000] unable to find swap-space signature
[color="#FF0000"]failed.[/color]
fsck.....

then  Uni rebooted on its own...when it restarts it come back up in WM of course, but I find that it gets 'stuck' on the 'Owner Info' screen, such that it doesn't respond to screen taps and thus I need to do a reset..the next time it comes back up, I can get to the haret file and start up Titchy...

Hmm...maybe I spoke too soon....

Meanwhile, a few minutes ago, I was in the middle of doing an 'apt-get install...' and all of a sudden screen went dark and Uni went into suspend...clicked power button to wake it up and I saw console for a few seconds then the ts_calibration screen came on by itself....after a short time, it disappeared by itself  (before I could get to it and calibrate display) and then I saw the 'X' startup window and now I'm back at the xdm login screen....

I logged in and then I saw the those 'ts_calibrate' registration marks faintly in the X background.... I clicked on one and then the iceWM window disappeared and now I'm back in the login console....although I can see a bit of the IceWm taskbar on the right where the time is shown...very odd....

Now, I just clicked somewhere else on the taskbar and the terminal window popped back on the display...but there's just a black background behind it...

So, decided to reboot, now I see some strange sights on the display, first a yellowish/white coloration on the display which now gone and now there's a sort of random series of horizontal dark grey and white bands of varying widths on the display....

OK, just did a reset again....and restarted haret and now back to xdm login again.....

 
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

datathief

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Htc Universal
« Reply #351 on: May 19, 2008, 03:46:39 am »
Quote from: ArchiMark
Knock on wood, things are working pretty well for me right now with Titchy/HTC Uni....

However, just a couple minor things I've noticed....

During boot-up, I see in console the following:
Code: [Select]
activating swap [20.550000] unable to find swap-space signature
[color="#FF0000"]failed.[/color]
fsck.....
This, along with the other symptoms, makes it sound like corrupted swap space.  Are you using a swap partition on the SD card?  (What is the "swap" line in /etc/fstab?)

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Htc Universal
« Reply #352 on: May 19, 2008, 09:36:17 am »
Quote from: ArchiMark
Knock on wood, things are working pretty well for me right now with Titchy/HTC Uni....

However, just a couple minor things I've noticed....

During boot-up, I see in console the following:
Code: [Select]
activating swap [20.550000] unable to find swap-space signature
[color="#FF0000"]failed.[/color]
fsck.....

Quote from: datathief
This, along with the other symptoms, makes it sound like corrupted swap space.  Are you using a swap partition on the SD card?  (What is the "swap" line in /etc/fstab?)

Here's that line:
Code: [Select]
/dev/mmcblk0p3    swap       swap     pri=1       0    0

UPDATE:
Other weirdness now.....

Having the 'wild cursor' and 'non-responsive cursor' problems in IceWM....

Have tried to do 'ts_calibrate' but terminal says 'command not found'....

Got out of IceWM and back into console...

Now notice other strangeness....

I have 2 'ts.conf' files....one in '/etc/ and the other in '/opt/kdrive/', which one do I want to use?

Meanwhile, checked both files and then did 'ts_calibrate' and get message 'segmentation fault'

Any suggestions as to how to clean up this mess?


Thanks!
« Last Edit: May 19, 2008, 11:35:47 am by ArchiMark »
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #353 on: May 19, 2008, 01:05:31 pm »
Quote from: ArchiMark
Having the 'wild cursor' and 'non-responsive cursor' problems in IceWM....

Have tried to do 'ts_calibrate' but terminal says 'command not found'....

Got out of IceWM and back into console...

Now notice other strangeness....

I have 2 'ts.conf' files....one in '/etc/ and the other in '/opt/kdrive/', which one do I want to use?

Meanwhile, checked both files and then did 'ts_calibrate' and get message 'segmentation fault'

Any suggestions as to how to clean up this mess?

Thanks!
Your card is failing man. Forget about "cleaning up this mess". Mount it on a PC, backup your documents, and user settings if you still can.

Then throw it in the garbage, buy a new one, and reinstall debian.

That's the reason why with swap on SD you need to do the installed rootfs backups. I do them now twice a week with rdiff-backup, so in case of failure it's easy to reinstall, without starting from scratch.
[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 #354 on: May 19, 2008, 03:27:29 pm »
Quote from: ShiroiKuma
Your card is failing man. Forget about "cleaning up this mess". Mount it on a PC, backup your documents, and user settings if you still can.

Then throw it in the garbage, buy a new one, and reinstall debian.
This seems like a serious problem.  I don't use swap  -  partly because of the "swap will kill flash drives" rumours.  Could this perhaps be helped by setting /proc/sys/vm/swappiness to 0?

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Htc Universal
« Reply #355 on: May 19, 2008, 03:54:58 pm »
Quote from: ArchiMark
Having the 'wild cursor' and 'non-responsive cursor' problems in IceWM....

Have tried to do 'ts_calibrate' but terminal says 'command not found'....

Got out of IceWM and back into console...

Now notice other strangeness....

I have 2 'ts.conf' files....one in '/etc/ and the other in '/opt/kdrive/', which one do I want to use?

Meanwhile, checked both files and then did 'ts_calibrate' and get message 'segmentation fault'

Any suggestions as to how to clean up this mess?

Thanks!

Quote from: ShiroiKuma
Your card is failing man. Forget about "cleaning up this mess". Mount it on a PC, backup your documents, and user settings if you still can.

Then throw it in the garbage, buy a new one, and reinstall debian.

That's the reason why with swap on SD you need to do the installed rootfs backups. I do them now twice a week with rdiff-backup, so in case of failure it's easy to reinstall, without starting from scratch.


Thanks for the 'good news', ShiroiKuma.....  

The card you're suggesting I throw away is the 16GB A-DATA SD card that I bought about a month ago.....  

Think I should reformat card back to one vfat partition and return it to store I got it from????

 
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #356 on: May 19, 2008, 04:27:49 pm »
Quote from: ArchiMark
The card you're suggesting I throw away is the 16GB A-DATA SD card that I bought about a month ago.....  

Think I should reformat card back to one vfat partition and return it to store I got it from????

 
Hahahah... You should've said so. The 16GB A-Data cards are trash. I've gone through four in the past two weeks, all of them failed after one or two days. And that was not because of swap, it was just when copying massive amount of data to them. They are trash...

I've had no other card fail.

Now I've had a Kingston 16GB card for more than a couple of weeks, no probs...

BTW, I think, based on my experiences so far, that really, if you have a swap partition, it'll not kill the whole card and your data ain't gonna get corrupted. If you use just a swap file, it's gonna cause problems.

But a swap partition on a good SD seems to be no prob at all. But still, backups are in order.

Nevertheless, go throw it in the garbage and get a good one...  
[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 #357 on: May 19, 2008, 05:45:24 pm »
Quote from: datathief
Quote from: ShiroiKuma
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
This should power it up again:
Code: [Select]
devmem2 0x10000104 halfword 0xC6A0
Doesn't seem to work. hciconfig still gives me nothing.
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Htc Universal
« Reply #358 on: May 19, 2008, 05:58:22 pm »
Quote from: ShiroiKuma
Quote from: ArchiMark
The card you're suggesting I throw away is the 16GB A-DATA SD card that I bought about a month ago.....  

Think I should reformat card back to one vfat partition and return it to store I got it from????

 
Hahahah... You should've said so. The 16GB A-Data cards are trash. I've gone through four in the past two weeks, all of them failed after one or two days. And that was not because of swap, it was just when copying massive amount of data to them. They are trash...

I've had no other card fail.

Now I've had a Kingston 16GB card for more than a couple of weeks, no probs...

BTW, I think, based on my experiences so far, that really, if you have a swap partition, it'll not kill the whole card and your data ain't gonna get corrupted. If you use just a swap file, it's gonna cause problems.

But a swap partition on a good SD seems to be no prob at all. But still, backups are in order.

Nevertheless, go throw it in the garbage and get a good one...  


Thanks again for the input....

Meanwhile, for fun, I deleted partitions on A-DATA SD card and created one new FAT partition and made a vfat filesystem on it, then mounted it on my Zaurus, appears to be OK....

So, wonder if card has really failed or not???

Thanks.
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #359 on: May 19, 2008, 06:20:45 pm »
Quote from: ArchiMark
Meanwhile, for fun, I deleted partitions on A-DATA SD card and created one new FAT partition and made a vfat filesystem on it, then mounted it on my Zaurus, appears to be OK....

So, wonder if card has really failed or not???

Thanks.
Well, I couldn't believe it that it'd develop problems just copying data etc. consistently, thought it was a bad specimen, but have since then determined, that these cards are really very bad. Low price - low quality.
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze