Help - Search - Members - Calendar
Full Version: Htc Universal
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > Debian
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
Sam Liddicott
QUOTE(ShiroiKuma @ May 7 2008, 05:27 PM) *
QUOTE(datathief @ May 7 2008, 04:48 PM) *
Announcement
I've built the following packages and uploaded them to my Debian repository:[list]

Man... now you tell me, after I've spent the night building the rootfs and now it's not up-to-date with your packages rolleyes.gif


Hey ShiroiKuma, I'm awayyyyy!!

Thanks!!!

Have you added any phone software, or am I still using whiptail and stuff... I rang my phone and it went straight on to voicemail...

Sam
Sam Liddicott
QUOTE(Sam Liddicott @ May 7 2008, 10:27 PM) *
QUOTE(ShiroiKuma @ May 7 2008, 05:27 PM) *
QUOTE(datathief @ May 7 2008, 04:48 PM) *
Announcement
I've built the following packages and uploaded them to my Debian repository:[list]

Man... now you tell me, after I've spent the night building the rootfs and now it's not up-to-date with your packages rolleyes.gif


Hey ShiroiKuma, I'm awayyyyy!!

Thanks!!!

Have you added any phone software, or am I still using whiptail and stuff... I rang my phone and it went straight on to voicemail...

Sam


Ignore that, I was probably over-eager, it worked later.

ShiroiKuma, do you use wlan or bluetooth?

And finally, datathief and ShiroiKuma; how did you setup your build system to cross-compile debs?
I'm running ubuntu with some from-source debian packages; I'll generally just get a deb-src, but please could you tell me your spell for cross-building debs?

Thanks

Sam
Sam Liddicott
Would it be a good idea to COW the ext2 root filesystem and store the COW file in a separate JFFS2 partition?

When the COW gets full it can be comitted to the ext2 root.

comments?

Sam
Sam Liddicott
I'm loving this, thanks guys; some questions though:

Can I specify a different timeout for htcuni-autosuspend when running on USB?

The nearest documentation I find is:
http://wiki.neilandtheresa.co.uk/Titchy_Mo...osuspend-daemon

which merely suggests it may be possible.

My current conf file: /etc/default/htcuni-autosuspend

CODE
# Configuration file for htcuni-autosuspend

# Suspend after 4 30-second periods (2 minutes) of inactivity
TIMEOUT=4


And.... I wonder if I can get swap-over-nfs working...

When it comes out of suspend, usb networking is broken and I have to pull and re-insert the cable and re-setup the PC side to get it to work.

Also.... when terminating a call, the device doesn't always switch back to the previous vt
Sam Liddicott
I've a few scripts at home using "dialog" (which I prefer to whiptail) but I'm now doing a wrapper around gtkdialog so those scripts will work nicely in GUI sessions.

I guess that will be valuable here, too....
Sam Liddicott
Charging time:
I may be posting all my excitement to the wrong place - if so, sorry:

When running of usb, /proc/apm gives screwy values, these were about 1 second apart

CODE
htcuni:~# cat /proc/apm
1.13 1.2 0x02 0x01 0x03 0x03 77% -1044 min
htcuni:~# cat /proc/apm
1.13 1.2 0x02 0x01 0x03 0x03 77% -498 min
htcuni:~# cat /proc/apm
1.13 1.2 0x02 0x01 0x03 0x03 77% -588 min
htcuni:~# cat /proc/apm
1.13 1.2 0x02 0x01 0x03 0x03 77% -10792 min
htcuni:~# cat /proc/apm
1.13 1.2 0x02 0x01 0x03 0x03 77% -490 min
htcuni:~# cat /proc/apm
1.13 1.2 0x02 0x01 0x03 0x03 77% -2023 min
Sam Liddicott
I also have to restart /etc/rcS.d/S99htcuni-keypress after suspend, or backlight button doesn't work.

And a tip for others, to set the timezone:
dpkg-reconfigure tzdata

Sam
datathief
QUOTE(Sam Liddicott @ May 8 2008, 08:39 AM) *
I also have to restart /etc/rcS.d/S99htcuni-keypress after suspend, or backlight button doesn't work.

Already fixed. Add my repository to /etc/apt/sources:
CODE
deb http://debian.neilandtheresa.co.uk/ titchy/

and install titchy-button-daemon (note the name change). Install titchy-base to get all the updated packages.
datathief
QUOTE(Sam Liddicott @ May 8 2008, 08:29 AM) *
I'm loving this, thanks guys; some questions though:

Can I specify a different timeout for htcuni-autosuspend when running on USB?

Yep. Install titchy-autosuspend-daemon (note the name change) from my repository.
datathief
QUOTE(Sam Liddicott @ May 8 2008, 06:45 AM) *
I rang my phone and it went straight on to voicemail...

Maybe the phone hadn't finished registering with the network.
CODE
htcunid network


QUOTE
And finally, datathief and ShiroiKuma; how did you setup your build system to cross-compile debs?
I'm running ubuntu with some from-source debian packages; I'll generally just get a deb-src, but please could you tell me your spell for cross-building debs?

I haven't cross-compiled any debs. All my work is in the form of shell scripts and python...
Sam Liddicott
QUOTE(datathief @ May 8 2008, 10:06 AM) *
QUOTE(Sam Liddicott @ May 8 2008, 08:39 AM) *
I also have to restart /etc/rcS.d/S99htcuni-keypress after suspend, or backlight button doesn't work.

Already fixed. Add my repository to /etc/apt/sources:
CODE
deb http://debian.neilandtheresa.co.uk/ titchy/

and install titchy-button-daemon (note the name change). Install titchy-base to get all the updated packages.


Do they appropriately obsolete the older htc* packages or will I have to first remove those manually, do you think?

Sam
datathief
QUOTE(Sam Liddicott @ May 8 2008, 09:50 AM) *
Do they appropriately obsolete the older htc* packages or will I have to first remove those manually, do you think?

They do correctly specify the "Replaces:" tag, so the old packages will be uninstalled. They'll also migrate your configuration files from the old packages. It's probably worth checking that everything works before you rely on it as your primary phone, but I haven't had any problems so far.

I have found some new bugs unrelated to the repackaging, though: alarms don't work until the phone has been suspended and resumed at least once, and there's no error message if you try to send SMS with no credit... I need to build a bug tracker.
Sam Liddicott
QUOTE(datathief @ May 8 2008, 12:21 PM) *
QUOTE(Sam Liddicott @ May 8 2008, 09:50 AM) *
Do they appropriately obsolete the older htc* packages or will I have to first remove those manually, do you think?

They do correctly specify the "Replaces:" tag, so the old packages will be uninstalled. They'll also migrate your configuration files from the old packages. It's probably worth checking that everything works before you rely on it as your primary phone, but I haven't had any problems so far.

I have found some new bugs unrelated to the repackaging, though: alarms don't work until the phone has been suspended and resumed at least once, and there's no error message if you try to send SMS with no credit... I need to build a bug tracker.


Aye...

apm (as has been noted) gives bogus values and it's hard to tell if the battery charges via usb. Something screwy is going on because just now it wouldn't even charge via usb when running WM6.1 with my laptop running winXP, until I did a hard-reset-forget-everything on the universal.

Both devices are back to linux and I'll watch and see if the battery is charging or discharging; apm says:

CODE
mojo:~# for g in 1 2 3 4 5; do printf "`date` "; apm; sleep 1; done
Thu May  8 12:37:09 BST 2008 On-line, battery status high: 96% (6d+22:29:00)
Thu May  8 12:37:10 BST 2008 On-line, battery status high: 96% (20:26:00)
Thu May  8 12:37:11 BST 2008 On-line, battery status high: 96% (2d+0:33:00)
Thu May  8 12:37:12 BST 2008 On-line, battery status high: 96% (4d+1:07:00)
Thu May  8 12:37:13 BST 2008 On-line, battery status high: 96% (1d+12:59:00)


However:

CODE
mojo:/# cat /sys/class/power_supply/ds2760-battery.0/status
Charging


While I had time over christmas I was improving lazarus packaging in anticipation of this, so I think my first compile will be the complete lazarus IDE...

Sam
Sam Liddicott
QUOTE(datathief @ May 8 2008, 10:06 AM) *
QUOTE(Sam Liddicott @ May 8 2008, 08:39 AM) *
I also have to restart /etc/rcS.d/S99htcuni-keypress after suspend, or backlight button doesn't work.

Already fixed. Add my repository to /etc/apt/sources:
CODE
deb http://debian.neilandtheresa.co.uk/ titchy/

and install titchy-button-daemon (note the name change). Install titchy-base to get all the updated packages.


titchy-base did not install titchy-phone-daemon

also; dmesg output relating to charging:

CODE
[  328.720000] generic ttyUSB0: generic converter now disconnected from ttyUSB0
[  328.730000] usbserial_generic 1-1:1.0: device disconnected
[  328.740000] generic ttyUSB1: generic converter now disconnected from ttyUSB1
[  328.740000] usbserial_generic 1-1:1.1: device disconnected
[  328.810000] done.
[  329.050000] usb 1-1: new full speed USB device using pxa27x-ohci and address 4
[  329.230000] usb 1-1: configuration #1 chosen from 1 choice
[  329.230000] usbserial_generic 1-1:1.0: generic converter detected
[  329.230000] usb 1-1: generic converter now attached to ttyUSB0
[  329.230000] usbserial_generic 1-1:1.1: generic converter detected
[  329.230000] usb 1-1: generic converter now attached to ttyUSB1
[  330.260000] phone mic enable called. on=1
[  368.120000] udc: USB reset
[  368.360000] udc: USB reset
[  368.470000] udc: USB reset
[  368.670000] usb0: full speed config #1: 100 mA, Ethernet Gadget, using CDC Ethernet Subset
[  369.100000] ds2760-battery ds2760-battery.0: not enough power to charge
[  566.860000] htcuniversal configure phone: 2
[  566.860000] tried to call phone_off, stack will follow:
[  566.860000] htcuniversal configure phone: 3
[  616.110000] htcuniversal powerdown_lcd: called
[  728.670000] htcuniversal powerup_lcd: called
[  729.190000] ds2760-battery ds2760-battery.0: not enough power to charge
[ 1336.860000] htcuniversal powerdown_lcd: called
[ 1936.970000] htcuniversal powerdown_lcd: called
[ 2285.050000] htcuniversal configure phone: 0
[ 2285.050000] htcuniversal configure phone: 1
[ 2314.870000] htcuniversal powerup_lcd: called
[ 2349.480000] ds2760-battery ds2760-battery.0: not enough power to charge


"not enough power to charge" is strange cos charge has gone from 96% to 99%

I sent an sms to myself from an ssh login, and after acknowledging receipt via whiptail the screen went blank;
chvt 7
does nothing and chvt 1, hangs, eventually my X session died and restarted.

I don't mean these to sound like whining, I'm just reporting what happens.
datathief
QUOTE(Sam Liddicott @ May 8 2008, 12:18 PM) *
titchy-base did not install titchy-phone-daemon

True. Titchy will eventually run on both Zaurus and Universal - the phone stuff doesn't make much sense on the Zaurus, so I left it out...

QUOTE
"not enough power to charge" is strange cos charge has gone from 96% to 99%

I think it's safe to ignore this if it does actually charge.

QUOTE
I sent an sms to myself from an ssh login, and after acknowledging receipt via whiptail the screen went blank;
chvt 7
does nothing and chvt 1, hangs, eventually my X session died and restarted.

This could be a problem with X. Can you try (with X running):
CODE
openvt -w -s -- sleep 2

X should come back after 2 seconds.
Sam Liddicott
QUOTE(datathief @ May 8 2008, 01:44 PM) *
QUOTE(Sam Liddicott @ May 8 2008, 12:18 PM) *
titchy-base did not install titchy-phone-daemon

True. Titchy will eventually run on both Zaurus and Universal - the phone stuff doesn't make much sense on the Zaurus, so I left it out...

QUOTE
"not enough power to charge" is strange cos charge has gone from 96% to 99%

I think it's safe to ignore this if it does actually charge.


Aye, although I had to do the hard-reset in order to make it actually charge...

QUOTE(datathief @ May 8 2008, 01:44 PM) *
QUOTE
I sent an sms to myself from an ssh login, and after acknowledging receipt via whiptail the screen went blank;
chvt 7
does nothing and chvt 1, hangs, eventually my X session died and restarted.

This could be a problem with X. Can you try (with X running):
CODE
openvt -w -s -- sleep 2

X should come back after 2 seconds.


It works repeatedly, although it often doesn't switch back from whiptail...

I also note they key-repeat has stopped working.

Am I daft to think I need to install wpasupplicant?

Sam
datathief
QUOTE(Sam Liddicott @ May 8 2008, 01:43 PM) *
It works repeatedly, although it often doesn't switch back from whiptail...

Are there any other scripts in /etc/titchy-phone-daemon/event.d that could be doing something to affect it? Does X come back after:
CODE
openvt -w -s -- whiptail --msgbox "test" 20 50


QUOTE
I also note they key-repeat has stopped working.

Are KEYBOARD_RATE and KEYBOARD_DELAY set properly in /etc/console-tools/config? You can use this command to set the key repeat rate and delay back to the defaults:
CODE
kbdrate -r 30 -d 250


QUOTE
Am I daft to think I need to install wpasupplicant?

I've no idea whether WPA works with this wifi driver.
Sam Liddicott
QUOTE(datathief @ May 8 2008, 04:06 PM) *
QUOTE(Sam Liddicott @ May 8 2008, 01:43 PM) *
It works repeatedly, although it often doesn't switch back from whiptail...

Are there any other scripts in /etc/titchy-phone-daemon/event.d that could be doing something to affect it? Does X come back after:
CODE
openvt -w -s -- whiptail --msgbox "test" 20 50



That killed the x session again the first time I did it, but worked afterwards.

I noticed that "ps -fade" showed a couple of whiptail notifications that were still running, which I also killed.
I'll see what data I can gather if it goes wrong again.

QUOTE(datathief @ May 8 2008, 04:06 PM) *
QUOTE
I also note they key-repeat has stopped working.

Are KEYBOARD_RATE and KEYBOARD_DELAY set properly in /etc/console-tools/config? You can use this command to set the key repeat rate and delay back to the defaults:
CODE
kbdrate -r 30 -d 250




CODE
# kbdrate -r 30 -d 250
Cannot open /dev/port: No such file or directory


I don't have a /dev/port; the times were commented out in the config file, I have un-commented and we will see what happens -
however, I think unrelated to that config, the keyboard repeat has come back when the X session died. Weird.

QUOTE(datathief @ May 8 2008, 04:06 PM) *
QUOTE
Am I daft to think I need to install wpasupplicant?

I've no idea whether WPA works with this wifi driver.


Thanks for your help on this.
p3t3r
wpa_supplicant does not work with 2.6.21-hh20s' acx driver - i tried it, but as it isn't supported officially, it does not work. There is a mac80211 acx driver, which supports WPA, but it isn't available in a kernel for HTC Universal, yet.


QUOTE(Sam Liddicott @ May 8 2008, 02:43 PM) *
Am I daft to think I need to install wpasupplicant?

Sam

Sam Liddicott
QUOTE(datathief @ May 8 2008, 04:06 PM) *
QUOTE(Sam Liddicott @ May 8 2008, 01:43 PM) *
It works repeatedly, although it often doesn't switch back from whiptail...


QUOTE
Am I daft to think I need to install wpasupplicant?

I've no idea whether WPA works with this wifi driver.


I will try the max80211 + acx as explained here:
http://acx100.sourceforge.net/wiki/WPA

building my kernel according to:
http://handhelds.org/moin/moin.cgi/UniversalKernel

using the config of my current sumuo supplied kernel
Sam Liddicott
QUOTE(datathief @ May 8 2008, 10:06 AM) *
QUOTE(Sam Liddicott @ May 8 2008, 08:39 AM) *
I also have to restart /etc/rcS.d/S99htcuni-keypress after suspend, or backlight button doesn't work.

Already fixed. Add my repository to /etc/apt/sources:
CODE
deb http://debian.neilandtheresa.co.uk/ titchy/

and install titchy-button-daemon (note the name change). Install titchy-base to get all the updated packages.


it seems like every now and then i come out of suspend, the backlight button doesnt work.

If I suspend and unsuspend then it works.

interestingly my fn key seems to do nothing in ice hamster right now but works in xterm

are these kinds of reports appropriate (no question mark, sorry)

webdork
QUOTE(Sam Liddicott @ May 8 2008, 09:07 AM) *
I will try the max80211 + acx as explained here:
http://acx100.sourceforge.net/wiki/WPA

building my kernel according to:
http://handhelds.org/moin/moin.cgi/UniversalKernel

using the config of my current sumuo supplied kernel


Please post your results!
ArchiMark
QUOTE(ShiroiKuma @ May 7 2008, 02:09 AM) *
Full X with phone utilities installed working image available

I've generated a full working image of the Debian GNU/Linux for the Universal, that contains X with xdm and icewm installed as the WM. And it includes full working datathief's phone scripts, and also additional generated kernel modules to enable mounting LUKS/DM encrypted volumes.

The image is easily installed in three steps and gives you a full working X phone distribution without additional modifications right after install.

It's huge though, 245 Megs bzipped, expanded takes around 600 Megs.

You can get it with the instructions on install at: http://sumoudou.org/index.php?cmd=%E7%9B%B...the%20Universal

BTW, it is Debian Sid, i.e. unstable, not Lenny, i.e. Testing.


Thanks for sharing your image file with everyone, ShiroiKuma!

I've tried several times today, both at work and at home to download the image file.

Each time I get a file that is less than the 245MB's that you've listed, largest download I've gotten is about 233MB and sometimes much less....

Anyone got any ideas why this is happening and any suggestions to get full download file???

Would really like to try this image....

Thanks!

smile.gif
ShiroiKuma
QUOTE(ArchiMark @ May 9 2008, 04:11 AM) *
Each time I get a file that is less than the 245MB's that you've listed, largest download I've gotten is about 233MB and sometimes much less....

Anyone got any ideas why this is happening and any suggestions to get full download file???

You're downloading it from a browser, the line gets dropped in trasmission. Get it by:
CODE
Sam Liddicott
Dead in the morning:

Last night at around 10:10 I turned off (suspended) my universal. This morning, the battery was flat;
Syslog shows that it woke up at 1:00am, reason unknown

here is syslog.

It claims to have suspended 30 seconds later, and maybe it did but by morning the battery was totally gone.

CODE
Syslog:

May  8 22:11:25 mojo ntpd[3074]: sendto(208.75.88.4) (fd=20): Invalid argument
May  8 22:11:49 mojo ntpd[3074]: sendto(217.160.254.116) (fd=20): Invalid argument
May  8 22:12:09 mojo ntpd[3074]: sendto(155.101.3.115) (fd=20): Invalid argument
May  8 22:12:15 mojo kernel: [ 6771.340000] Unbalanced IRQ 31 wake disable
May  8 22:12:15 mojo kernel: [ 6771.340000] BUG: at kernel/irq/manage.c:207 set_irq_wake()
May  8 22:12:16 mojo kernel: [ 6771.890000] mono_out status 0x00000050 -> 0x00000040
May  8 22:12:19 mojo apmd[1254]: Suspending now
May  9 01:00:02 mojo kernel: [ 6776.950000] Stopping tasks ... done.
May  9 01:00:02 mojo kernel: [ 6776.990000] Suspending console(s)
May  9 01:00:02 mojo kernel: [ 6777.000000] usbserial_generic 1-1:1.0: no suspend for driver usbserial_generic?
May  9 01:00:02 mojo kernel: [ 6777.000000] usbserial_generic 1-1:1.1: no suspend for driver usbserial_generic?
May  9 01:00:02 mojo kernel: [ 6777.000000] acx: suspend handler is experimental!
May  9 01:00:02 mojo kernel: [ 6777.000000] sus: dev c06e8000
May  9 01:00:02 mojo kernel: [ 6777.000000] snd_htcuniversal_audio_set_codec_power: 0
May  9 01:00:02 mojo kernel: [ 6777.000000] htcuniversal_ts2_suspend: called.
May  9 01:00:02 mojo kernel: [ 6777.000000] htcuniversal powerdown_lcd: called
May  9 01:00:02 mojo kernel: [ 6777.130000] htcuniversal configure phone: 2
May  9 01:00:02 mojo kernel: [ 6777.130000] tried to call phone_off, stack will follow:
May  9 01:00:02 mojo kernel: [ 6777.130000] htcuniversal configure phone: 3
May  9 01:00:02 mojo kernel: [ 6777.330000] htcuniversal_suspend
May  9 01:00:02 mojo kernel: [ 6777.330000] htcuniversal_pxa_ll_pm_suspend called
May  9 01:00:02 mojo kernel: [ 6777.330000] htcuniversal_pxa_ll_pm_resume called
May  9 01:00:02 mojo kernel: [ 6777.330000] htcuniversal_resume
May  9 01:00:02 mojo kernel: [ 6777.330000] min dma period: 769224 ps, new clock 624000 kHz
May  9 01:00:02 mojo kernel: [ 6777.330000] min dma period: 769224 ps, new clock 624000 kHz
May  9 01:00:02 mojo kernel: [ 6777.440000] htcuniversal configure phone: 0
May  9 01:00:02 mojo kernel: [ 6777.440000] htcuniversal configure phone: 1
May  9 01:00:02 mojo kernel: [ 6777.460000] asic3_mmc: starting resume
May  9 01:00:02 mojo kernel: [ 6778.520000] asic3_mmc: finished resume
May  9 01:00:02 mojo kernel: [ 6778.520000] htcuniversal powerup_lcd: called
May  9 01:00:02 mojo kernel: [ 6778.650000] htcuniversal_ts2_resume: called.
May  9 01:00:02 mojo kernel: [ 6778.650000] usb usb1: root hub lost power or was reset
May  9 01:00:02 mojo kernel: [ 6778.730000] SACR0 = 0x7700, SADIV = 0x1a
May  9 01:00:02 mojo kernel: [ 6778.730000] snd_htcuniversal_audio_set_codec_reset: 1
May  9 01:00:02 mojo kernel: [ 6778.730000] snd_htcuniversal_audio_set_codec_power: 1
May  9 01:00:02 mojo kernel: [ 6778.750000] snd_htcuniversal_audio_set_codec_reset: 0
May  9 01:00:02 mojo kernel: [ 6778.750000] snd_htcuniversal_audio_set_headphone_detect: 0
May  9 01:00:02 mojo kernel: [ 6778.750000]  usbdev1.14_ep00: PM: resume from 0, parent 1-1 still 2
May  9 01:00:02 mojo kernel: [ 6778.750000] usbserial_generic 1-1:1.0: PM: resume from 2, parent 1-1 still 2
May  9 01:00:02 mojo kernel: [ 6778.750000] generic ttyUSB0: PM: resume from 0, parent 1-1:1.0 still 2
May  9 01:00:02 mojo kernel: [ 6778.750000]  usbdev1.14_ep81: PM: resume from 0, parent 1-1:1.0 still 2
May  9 01:00:02 mojo kernel: [ 6778.750000]  usbdev1.14_ep82: PM: resume from 0, parent 1-1:1.0 still 2
May  9 01:00:02 mojo kernel: [ 6778.750000]  usbdev1.14_ep02: PM: resume from 0, parent 1-1:1.0 still 2
May  9 01:00:02 mojo kernel: [ 6778.750000] usbserial_generic 1-1:1.1: PM: resume from 2, parent 1-1 still 2
May  9 01:00:02 mojo kernel: [ 6778.750000] generic ttyUSB1: PM: resume from 0, parent 1-1:1.1 still 2
May  9 01:00:02 mojo kernel: [ 6778.750000]  usbdev1.14_ep84: PM: resume from 0, parent 1-1:1.1 still 2
May  9 01:00:02 mojo kernel: [ 6778.750000]  usbdev1.14_ep04: PM: resume from 0, parent 1-1:1.1 still 2
May  9 01:00:02 mojo kernel: [ 6778.750000]  usbdev1.14: PM: resume from 0, parent 1-1 still 2
May  9 01:00:02 mojo kernel: [ 6779.010000] Restarting tasks ... acx: resume handler is experimental!
May  9 01:00:02 mojo kernel: [ 6779.020000] usb 1-1: USB disconnect, address 14
May  9 01:00:02 mojo kernel: [ 6779.030000] rsm: got dev c06e8000
May  9 01:00:02 mojo kernel: [ 6779.030000] generic ttyUSB0: generic converter now disconnected from ttyUSB0
May  9 01:00:02 mojo kernel: [ 6779.040000] usbserial_generic 1-1:1.0: device disconnected
May  9 01:00:02 mojo kernel: [ 6779.050000] generic ttyUSB1: generic converter now disconnected from ttyUSB1
May  9 01:00:02 mojo kernel: [ 6779.050000] usbserial_generic 1-1:1.1: device disconnected
May  9 01:00:02 mojo kernel: [ 6779.140000] done.
May  9 01:00:02 mojo kernel: [ 6779.360000] usb 1-1: new full speed USB device using pxa27x-ohci and address 15
May  9 01:00:02 mojo kernel: [ 6779.540000] usb 1-1: configuration #1 chosen from 1 choice
May  9 01:00:02 mojo kernel: [ 6779.540000] usbserial_generic 1-1:1.0: generic converter detected
May  9 01:00:02 mojo kernel: [ 6779.540000] usb 1-1: generic converter now attached to ttyUSB0
May  9 01:00:02 mojo kernel: [ 6779.540000] usbserial_generic 1-1:1.1: generic converter detected
May  9 01:00:02 mojo kernel: [ 6779.540000] usb 1-1: generic converter now attached to ttyUSB1
May  9 01:00:04 mojo kernel: [ 6781.440000] phone mic enable called. on=1
May  9 01:00:06 mojo apmd[1254]: Warning: BATTERY IS LOW
May  9 01:00:06 mojo ntpd[3074]: sendto(192.43.244.18) (fd=20): Invalid argument
May  9 01:00:07 mojo apmd[1254]: Warning: Battery: 33%, discharging (-42% over 2:47:48)
May  9 01:00:09 mojo ntpd[3074]: sendto(208.75.88.4) (fd=20): Invalid argument
May  9 01:00:15 mojo ntpd[3074]: Deleting interface #5 wlan1, 192.168.182.11#123, interface stats: received=0, sent=1, dropped=42, active_time=300 secs
May  9 01:02:30 mojo kernel: [ 6927.320000] Unbalanced IRQ 31 wake disable
May  9 01:02:30 mojo kernel: [ 6927.320000] BUG: at kernel/irq/manage.c:207 set_irq_wake()
May  9 01:02:30 mojo kernel: [ 6927.690000] mono_out status 0x00000050 -> 0x00000040
May  9 01:02:32 mojo apmd[1254]: Suspending now
Feb  1 19:37:56 mojo syslogd 1.5.0#2: restart.
datathief
QUOTE(Sam Liddicott @ May 9 2008, 08:30 AM) *
Dead in the morning:

Last night at around 10:10 I turned off (suspended) my universal. This morning, the battery was flat;

There are definitely still issues with wifi power consumption. Note the "acx: suspend handler is experimental!" messages in syslog. It's possible to power the wifi module down completely by hacking about in the processor's address space. I'll look up the commands.

QUOTE
Syslog shows that it woke up at 1:00am, reason unknown

I've just checked my syslog, and mine's waking at midnight. I'll see if I can find anything in the CPU manual...
Sam Liddicott
QUOTE(datathief @ May 9 2008, 11:39 AM) *
QUOTE(Sam Liddicott @ May 9 2008, 08:30 AM) *
Dead in the morning:

Last night at around 10:10 I turned off (suspended) my universal. This morning, the battery was flat;

There are definitely still issues with wifi power consumption. Note the "acx: suspend handler is experimental!" messages in syslog. It's possible to power the wifi module down completely by hacking about in the processor's address space. I'll look up the commands.

QUOTE
Syslog shows that it woke up at 1:00am, reason unknown

I've just checked my syslog, and mine's waking at midnight. I'll see if I can find anything in the CPU manual...


So the wakeup is not unusual and the battery drain is probably because I had modprobe'd acx.

I'm playing with glade and gtkdialog to knock up a rough phone ui

Sam
Sam Liddicott
(I'm running sumou's image with the titchy mobile updates)

# apt-get install titchy-desktop
...
The following extra packages will be installed:
a2ps desktop-base desktop-file-utils desktop-profiles exo-utils fortune-mod
fortunes-min gamin gtk2-engines-xfce hal libexif12 libexo-0.3-0 libgamin0
libgl1-mesa-dri libglu1-mesa libjpeg-progs libthunar-vfs-1-2 liburi-perl
libxfce4mcs-client3 libxfce4mcs-manager3 libxfce4util4 libxfcegui4-4
miscfiles orage psutils thunar thunar-data ttf-bitstream-vera wdiff xbitmaps
xfce4 xfce4-battery-plugin xfce4-icon-theme xfce4-mcs-manager
xfce4-mcs-plugins xfce4-mixer xfce4-mixer-alsa xfce4-panel xfce4-session
xfce4-terminal xfce4-utils xfdesktop4 xfdesktop4-data xfonts-75dpi xfprint4
xfwm4 xfwm4-themes xkb-data xli xorg xorg-docs xscreensaver
xscreensaver-data xserver-xorg xserver-xorg-core xserver-xorg-input-evdev
xserver-xorg-input-kbd xserver-xorg-input-mouse xserver-xorg-input-wacom
xserver-xorg-video-all xserver-xorg-video-apm xserver-xorg-video-ark
xserver-xorg-video-ati xserver-xorg-video-chips xserver-xorg-video-cirrus
xserver-xorg-video-cyrix xserver-xorg-video-dummy xserver-xorg-video-fbdev
xserver-xorg-video-glint xserver-xorg-video-i128 xserver-xorg-video-i740
xserver-xorg-video-imstt xserver-xorg-video-mga xserver-xorg-video-neomagic
xserver-xorg-video-newport xserver-xorg-video-nsc xserver-xorg-video-nv
xserver-xorg-video-rendition xserver-xorg-video-s3
xserver-xorg-video-s3virge xserver-xorg-video-savage
xserver-xorg-video-siliconmotion xserver-xorg-video-sis
xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-tga
xserver-xorg-video-trident xserver-xorg-video-tseng xserver-xorg-video-v4l
xserver-xorg-video-vesa xserver-xorg-video-vga xserver-xorg-video-via
xserver-xorg-video-voodoo xterm

Surely it doesn't need all those hardware specific xserver drivers?
p3t3r
Of course it doesn't need them, but there are lot of dependencies in Debian packages (at least that's what I experienced) we don't need at all. As an example: Abiword depends printing stuff and Gnome - I compiled it myself on Universal (insane, huh? was to lazy to set up a crosscompiling toolchain and to get all these dependencies) with embedded UI and without printing (we could print via bluetooth, btw... ^^).
There must be a reason for the existance of other distributions - probably someone should setup a repository for small packages, which have less dependencies as they are build for embedded devices, just to save memory. But somehow that might be close to a whole new distribution...

QUOTE(Sam Liddicott @ May 9 2008, 12:47 PM) *
(I'm running sumou's image with the titchy mobile updates)

# apt-get install titchy-desktop
...
The following extra packages will be installed:
a2ps desktop-base desktop-file-utils desktop-profiles exo-utils fortune-mod
fortunes-min gamin gtk2-engines-xfce hal libexif12 libexo-0.3-0 libgamin0
libgl1-mesa-dri libglu1-mesa libjpeg-progs libthunar-vfs-1-2 liburi-perl
libxfce4mcs-client3 libxfce4mcs-manager3 libxfce4util4 libxfcegui4-4
miscfiles orage psutils thunar thunar-data ttf-bitstream-vera wdiff xbitmaps
xfce4 xfce4-battery-plugin xfce4-icon-theme xfce4-mcs-manager
xfce4-mcs-plugins xfce4-mixer xfce4-mixer-alsa xfce4-panel xfce4-session
xfce4-terminal xfce4-utils xfdesktop4 xfdesktop4-data xfonts-75dpi xfprint4
xfwm4 xfwm4-themes xkb-data xli xorg xorg-docs xscreensaver
xscreensaver-data xserver-xorg xserver-xorg-core xserver-xorg-input-evdev
xserver-xorg-input-kbd xserver-xorg-input-mouse xserver-xorg-input-wacom
xserver-xorg-video-all xserver-xorg-video-apm xserver-xorg-video-ark
xserver-xorg-video-ati xserver-xorg-video-chips xserver-xorg-video-cirrus
xserver-xorg-video-cyrix xserver-xorg-video-dummy xserver-xorg-video-fbdev
xserver-xorg-video-glint xserver-xorg-video-i128 xserver-xorg-video-i740
xserver-xorg-video-imstt xserver-xorg-video-mga xserver-xorg-video-neomagic
xserver-xorg-video-newport xserver-xorg-video-nsc xserver-xorg-video-nv
xserver-xorg-video-rendition xserver-xorg-video-s3
xserver-xorg-video-s3virge xserver-xorg-video-savage
xserver-xorg-video-siliconmotion xserver-xorg-video-sis
xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-tga
xserver-xorg-video-trident xserver-xorg-video-tseng xserver-xorg-video-v4l
xserver-xorg-video-vesa xserver-xorg-video-vga xserver-xorg-video-via
xserver-xorg-video-voodoo xterm

Surely it doesn't need all those hardware specific xserver drivers?

datathief
QUOTE(Sam Liddicott @ May 9 2008, 11:43 AM) *
So the wakeup is not unusual

It looks like Windows Mobile sets the processor to wake at midnight so it can sort through the day's alarms, etc. If that's what's causing it, I haven't yet found how it does it, or how to unset it.

QUOTE
and the battery drain is probably because I had modprobe'd acx.

I think so. In lieu of a non-broken driver, maybe we need an apmd script to take care of bringing wlan0 down and unloading acx (note: don't unload htcuniversal-acx; bad things happen).
datathief
QUOTE(Sam Liddicott @ May 9 2008, 11:47 AM) *
Surely it doesn't need all those hardware specific xserver drivers?

I actually think this is a bug - XFCE4 depends specifically on the x.org X server. I've changed my xserver-titchy package so that it pretends to be the x.org package.

I've a feeling xserver-titchy conflicts somehow with the work ShiroiKuma did to get his own working X setup, though.
ShiroiKuma
QUOTE(datathief @ May 9 2008, 02:31 PM) *
I've a feeling xserver-titchy conflicts somehow with the work ShiroiKuma did to get his own working X setup, though.

Not in my roofts, this was before. However the rootfs is based on xserver-titchy, with none of the other hacks tried before to get working X. So there's no conflict there.
datathief
QUOTE(ShiroiKuma @ May 9 2008, 12:43 PM) *
QUOTE(datathief @ May 9 2008, 02:31 PM) *
I've a feeling xserver-titchy conflicts somehow with the work ShiroiKuma did to get his own working X setup, though.

Not in my roofts, this was before. However the rootfs is based on xserver-titchy, with none of the other hacks tried before to get working X. So there's no conflict there.

Alright, then upgrading xserver-titchy should work.
ShiroiKuma
QUOTE(datathief @ May 9 2008, 02:31 PM) *
I actually think this is a bug - XFCE4 depends specifically on the x.org X server. I've changed my xserver-titchy package so that it pretends to be the x.org package.

I know this is the legacy of Z Titchy, but I fail to see the advantage of the desktop package having a dependency on XFCE4 rather than icewm-experimental. The XFCE4 is so heavy now, that it's not really a "lightweight" wm alternative anymore.
ShiroiKuma
QUOTE(datathief @ May 9 2008, 02:55 PM) *
Alright, then upgrading xserver-titchy should work.

It works.
datathief
QUOTE(ShiroiKuma @ May 9 2008, 12:56 PM) *
QUOTE(datathief @ May 9 2008, 02:31 PM) *
I actually think this is a bug - XFCE4 depends specifically on the x.org X server. I've changed my xserver-titchy package so that it pretends to be the x.org package.

I know this is the legacy of Z Titchy, but I fail to see the advantage of the desktop package having a dependency on XFCE4 rather than icewm-experimental. The XFCE4 is so heavy now, that it's not really a "lightweight" wm alternative anymore.

I'm waiting to see what happens in this thread.
ArchiMark
QUOTE(ArchiMark @ May 9 2008, 04:11 AM) *
Each time I get a file that is less than the 245MB's that you've listed, largest download I've gotten is about 233MB and sometimes much less....

Anyone got any ideas why this is happening and any suggestions to get full download file???


QUOTE(ShiroiKuma @ May 9 2008, 12:19 AM) *
You're downloading it from a browser, the line gets dropped in trasmission.
Get it by:
CODE


Yup, that did it, ShiroiKuma!

Thanks!

smile.gif
webdork
Is it possible to compile apps on the universal with Debian installed? Has anyone been successful in doing so? I have two small apps that I would like to build for it
p3t3r
It's possible.
QUOTE(webdork @ May 9 2008, 05:37 PM) *
Is it possible to compile apps on the universal with Debian installed? Has anyone been successful in doing so? I have two small apps that I would like to build for it


You will need to install several packages (gcc, make...) but it works actually, though it is pretty slow to do so - depending on the applications size - I compiled a version of abiword with embedded gui
wolfy
datathief Please HELP ME unsure.gif

I instaled rootfs and titchy-desktop
Everiting works fine, starts whith calibrate, desktop is fine etc etc

But after restart X is starting automaticaly and now i`m bloked in
Welcome to titchy login box

I can`t login
Haw to login in ???
i make some combinations....
root and without pass and whith pass root not work sad.gif
Every time when i try to login Mesage is LOGIN INCORRECT
I not make one password for root and one regular user
ArchiMark
Hope someone can please advise....

Installed ShiroiKuma's rootfs yesterday and overall is working well.

Only thing is that I need to use WiFi to connect it to internet.

Realized that 'wireless-tools' package is not included in rootfs.... sad.gif

Have tried unsuccessfully several times to get HTC Uni connected to net via my laptop (debian) as I did in previous install...have re-read the previous posts on this thread about this issue and has not helped this time..

Can't figure out why, but this time I can't get connected nor can I even ping my laptop from my HTC or vice-versa. Always get 'host unreachable' error message.

The other error message I get periodically now on my laptop is:

CODE
usb0:  kevent0 may have been dropped
usb0:  kevent1 may have been dropped


So, wondering either

A) What to do get USB Networking working?

or

cool.gif Is there a simple way to download a 'wireless-tools' package with all the related files so that I can then copy it over to my SD card, put SD in HTC and install from there?

or

C) Can we get a rootfs with the wireless-tools in it so that we don't have to go through all this to get on internet??

or

??


Thanks for any and all help!

Cagnulein
QUOTE(wolfy @ May 10 2008, 03:15 PM) *
datathief Please HELP ME unsure.gif

I instaled rootfs and titchy-desktop
Everiting works fine, starts whith calibrate, desktop is fine etc etc

But after restart X is starting automaticaly and now i`m bloked in
Welcome to titchy login box

I can`t login
Haw to login in ???
i make some combinations....
root and without pass and whith pass root not work sad.gif
Every time when i try to login Mesage is LOGIN INCORRECT
I not make one password for root and one regular user


username: root
password:

so enter root and when it asks for password press enter smile.gif

QUOTE(ArchiMark @ May 10 2008, 03:42 PM) *
Hope someone can please advise....

Installed ShiroiKuma's rootfs yesterday and overall is working well.

Only thing is that I need to use WiFi to connect it to internet.

Realized that 'wireless-tools' package is not included in rootfs.... sad.gif

Have tried unsuccessfully several times to get HTC Uni connected to net via my laptop (debian) as I did in previous install...have re-read the previous posts on this thread about this issue and has not helped this time..

Can't figure out why, but this time I can't get connected nor can I even ping my laptop from my HTC or vice-versa. Always get 'host unreachable' error message.

The other error message I get periodically now on my laptop is:

CODE
usb0:  kevent0 may have been dropped
usb0:  kevent1 may have been dropped


So, wondering either

A) What to do get USB Networking working?

or

cool.gif Is there a simple way to download a 'wireless-tools' package with all the related files so that I can then copy it over to my SD card, put SD in HTC and install from there?

or

C) Can we get a rootfs with the wireless-tools in it so that we don't have to go through all this to get on internet??

or

??


Thanks for any and all help!


post me the results of the command ifconfig on your pc and on your universal
bye
wolfy
QUOTE(Cagnulein @ May 10 2008, 07:25 AM) *
QUOTE(wolfy @ May 10 2008, 03:15 PM) *
datathief Please HELP ME unsure.gif

I instaled rootfs and titchy-desktop
Everiting works fine, starts whith calibrate, desktop is fine etc etc

But after restart X is starting automaticaly and now i`m bloked in
Welcome to titchy login box

I can`t login
Haw to login in ???
i make some combinations....
root and without pass and whith pass root not work sad.gif
Every time when i try to login Mesage is LOGIN INCORRECT
I not make one password for root and one regular user


username: root
password:

so enter root and when it asks for password press enter smile.gif



I know..
I make this

username: root
password:

No password just enter
But every time Mesage is LOGIN INCORRECT

I cant enter in Desktop
Haw to disable Login Box or what can i do ??

ShiroiKuma
QUOTE(Cagnulein @ May 10 2008, 05:25 PM) *
username: root
password:

so enter root and when it asks for password press enter smile.gif

This is actually a problem with xdm, that I observed when setting my rootfs. If you have a username with an empty password, like in this instance, xdm will NOT login, i.e. you get the login incorrect.

That's why I set the root's password to root in my rootfs, specifically to overcome this. Anyhow if you logged in once, you should've changed root's password anyway, that should be automatic and not login as root with an empty pass.

To solve your problem:

Mount the SD card on a linux pc.
In /etc/rc2.d rc3. rc4.d and rc5.d rename S99xdm to K01xdm

Then you can boot on the Uni. X will not start. CHANGE THE ROOT'S PASSWORD. Then rename all the K01xdm files back to S99xdm.

Reboot. X will start. You will be able to login normally.
ShiroiKuma
QUOTE(ArchiMark @ May 10 2008, 04:42 PM) *
A) What to do get USB Networking working?

Don't know what the problem could be. I use USB according to the Wiki at Datathief's site with no prob. No changes in the rootfs necessary.
wolfy
QUOTE(ShiroiKuma @ May 10 2008, 07:43 AM) *
Mount the SD card on a linux pc.
In /etc/rc2.d rc3. rc4.d and rc5.d rename S99xdm to K01xdm
Then you can boot on the Uni. X will not start. CHANGE THE ROOT'S PASSWORD. Then rename all the K01xdm files back to S99xdm.
Reboot. X will start. You will be able to login normally.


Ok I see Your rootfs have default pass root, now i decided to try titchy desktop and this whose the first problem
Now i whill mount my SD in Linux Live CD to resolve this problem
Thx man wink.gif
ShiroiKuma
QUOTE(wolfy @ May 10 2008, 05:48 PM) *
Ok I see Your rootfs have default pass root, now i decided to try titchy desktop and this whose the first problem
Now i whill mount my SD in Linux Live CD to resolve this problem
Thx man wink.gif

Which rootfs are you using? If it's mine, you don't need to mount it and all the rest, just log into xdm with root user and root password. Then change it there.
wolfy
QUOTE(ShiroiKuma @ May 10 2008, 08:37 AM) *
QUOTE(wolfy @ May 10 2008, 05:48 PM) *
Ok I see Your rootfs have default pass root, now i decided to try titchy desktop and this whose the first problem
Now i whill mount my SD in Linux Live CD to resolve this problem
Thx man wink.gif

Which rootfs are you using? If it's mine, you don't need to mount it and all the rest, just log into xdm with root user and root password. Then change it there.


I have you roots And i see The pass for root is root

Because i have 2 SD cards i decided to put separate You roots whith ICEWM and titchy roots whith titchy-desktop

Now the problem whith login X on titchy-desktop is solved wink.gif Thx for informations
/////////////////////////////////////////////
And some sugestions for me
I luck for some aplications to install in titchy-desktop like Text editor (abiword or openoffice is not present)
Some images viewer
And apache web server if exist ... unsure.gif
datathief
QUOTE(ShiroiKuma @ May 10 2008, 03:43 PM) *
This is actually a problem with xdm, that I observed when setting my rootfs. If you have a username with an empty password, like in this instance, xdm will NOT login, i.e. you get the login incorrect.

I guess I'd better change my rootfs to have a default password...
datathief
QUOTE(wolfy @ May 10 2008, 05:52 PM) *
I luck for some aplications to install in titchy-desktop like Text editor (abiword or openoffice is not present)
Some images viewer
And apache web server if exist ... unsure.gif

Abiword should work well. Mousepad is a nice simple plain-text editor. Mirage is a good image viewer. You can install Apache if you wish.

Check out the APT HOWTO at http://www.debian.org/doc/manuals/apt-howto/ - especially section 5.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.