Re: Arg! My backup doesn't work!!!

2007-08-06 Thread Tim


Hi, Eero,
 - Original Message -
 [snip]
 1. Which ITOS release did you have?
 2. Was the card so full that backup didn't fit to it or was it
 write-protected?
 3. If you check the card for filesystem errors, are there errors?
 4. What is your card type, model and size?
 5. "ls -l" of the backup directory?
 6. What data you had selected to be backed up (all?)?
*3.2007.10-7*No. It was an empty 4GB card. It was
freshly formatted and was not write-protected (the backup was made --
all Zip archives, etc. -- just a corrupt -- blank -- backup.metadata
file).  *Too late. Sorry, Ive since removed the corrupt backup
file (I sent this question a long time ago now).*Transcend 4GB
SD. *Again, too late. :(*I selected all data. As I said,
it was all backed-up. Just the backup.,metadata was blank (no
content).  

I wish I could help more, but I have since reflashed reset all of my
settings manually, etc. 

Tim 
---
 Weblog ~ http://tim.samoff.com
 Baby Blog ~ http://kc.samoff.com
 Photography ~ http://www.flickr.com/photos/timsamoff
 Music ~ http://www.adkoc.com

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: a2dp not working, any help appreciated

2007-08-06 Thread Simon Pickering

>> alsa-lib: pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM a2dpd2
>> alsa-init: playback open error: No such file or directory
>> Could not open/initialize audio device -> no sound.
>> Audio: no sound
>> Video: no video
>>
> You'll get this error when a2dpd isn't running.
>
>> Nokia-N800-26:/root$ a2dpd
>> A2DPD[09:53:11.715]: avrcp_new: Listening for AVRCP on socket 9
>> A2DPD[09:53:11.717]: avrcp_new: 0x6c428
>>
>> Is this expected behaviour?
>
> Looks OK.
>
> So, all you need to do is start a2dpd then, in a second seperate 
> xterm session start mplayer and audio should stream to your headset. 
> If you want to use only a sigle xterm session, start a2dpd as "a2dpd 
> &" then start mplayer.
>

Ah, that's the problem though, a2dpd was running when I tried mplayer 
(I tested over ssh with two separate terminals).

Any other ideas?


Simon
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Arg! My backup doesn't work!!!

2007-08-06 Thread Eero Tamminen
Hi,

ext Tim wrote:
> Ok, so, I made my bsckup before flashing the new firmware... I checked the
> backup directory on the MMC -- everything appeared ok (although, I didn't
> look any "deeper"). Now, after upgrading, the Backup/Restore app doesn't see
> the backup. So, I checked the contents of my backup.metadata file and, guess
> what... It's completely blank (no XML data, nothing).
> 
> Now, my question is... What can I do?

Unfortunately I don't think there's nothing that can be done, flashing
removes all information. I'm sorry about this.


However, I'd like to determine how it's possible that there was a failed
backup without an error message.  Hopefully you still have the same
card, could you check a few things:

1. Which ITOS release did you have?
2. Was the card so full that backup didn't fit to it or was it
   write-protected?
3. If you check the card for filesystem errors, are there errors?
4. What is your card type, model and size?
5. "ls -l" of the backup directory?
6. What data you had selected to be backed up (all?)?


- Eero
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: a2dp not working, any help appreciated

2007-08-06 Thread Neil MacLeod
Simon Pickering wrote:
> alsa-lib: pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM a2dpd2
> alsa-init: playback open error: No such file or directory
> Could not open/initialize audio device -> no sound.
> Audio: no sound
> Video: no video
> 
You'll get this error when a2dpd isn't running.

> 
> Nokia-N800-26:/root$ a2dpd
> A2DPD[09:53:11.715]: avrcp_new: Listening for AVRCP on socket 9
> A2DPD[09:53:11.717]: avrcp_new: 0x6c428
> 
> 
> Is this expected behaviour?

Looks OK.

So, all you need to do is start a2dpd then, in a second seperate xterm session 
start mplayer and audio should stream to your headset. If you want to use only 
a sigle xterm session, start a2dpd as "a2dpd &" then start mplayer.

> 
> 
> Simon
> 
> 

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Wipe files

2007-08-06 Thread Zoran Kolic
> >> I would like to know if somebody knows about an application to
> >> permanently delete files for Nokia N800.
> 
> > How about reflashing the device...  Should make it quite fresh -- like  
> > out of the box.

I think that original poster has something different on minds.
As bsd version of rm has -P flag and vms delete/erase.He pro-
bably knows that regular rm just removes inode from the list.
It should be a little app that writes zeros or random to the
"deleted" place, where removed file lives.

  Zoran

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Wipe files

2007-08-06 Thread Dongi
On 6 August 2007, Peter Robinson <[EMAIL PROTECTED]> wrote:
> The easiest way is to use the shred command. It will write out the
> file a specified number of times with random data, and optionally at
> the end remove the file.

Doesn't work like that. The shred program only sees the logical sectors
of the flash. Every time you try to "overwrite" the file it will just
mark the old blocks as unused and write to new fresh ones. The original
flash sectors will NOT be overwritten.

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Wipe files

2007-08-06 Thread Peter Robinson
The easiest way is to use the shred command. It will write out the
file a specified number of times with random data, and optionally at
the end remove the file.

Peter


On 06/08/07, Eero Tamminen <[EMAIL PROTECTED]> wrote:
> Hi,
>
> > On Aug 5, 2007, at 1:39 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > wrote:
> >> I would like to know if somebody knows about an application to
> >> permanently delete files for Nokia N800.
>
> Because flash wears out (eventually), getting things physically
> overwritten can take a lot of time, or it might never happen because
> JFFS2 does wear-leveling and just garbage collects overwritten blocks
> and writes the new content elsewhere.
>
>
> ext Jonathan Greene wrote:
> > How about reflashing the device...  Should make it quite fresh -- like
> > out of the box.
>
> I think that's the best way.
>
>
>   - Eero
> ___
> maemo-users mailing list
> maemo-users@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-users
>
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Wipe files

2007-08-06 Thread Dongi
On 6 August 2007, Eero Tamminen <[EMAIL PROTECTED]> wrote:
> > On Aug 5, 2007, at 1:39 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > wrote:
> >> I would like to know if somebody knows about an application to
> >> permanently delete files for Nokia N800.
> 
> Because flash wears out (eventually), getting things physically
> overwritten can take a lot of time, or it might never happen because
> JFFS2 does wear-leveling and just garbage collects overwritten blocks
> and writes the new content elsewhere.

All flash based file systems employ some kind of wear leveling scheme.
This means you have no control of the physical address of your writes.
If you just delete a file without overwriting the same flash pages
afterwards one can always desolder the flash chip and read it in a
programmer to dump the whole space and reconstruct the file. There 
are companies who make a living from recovering digital photos for
people this way.

The easiest way to wipe your data is to do a 'cat /dev/zero > file'
after you've rm the sensitive files and wait until the filesystem 
is full. If it's and ext2 filesystem make sure you do this as root
since some blocks are reserved only for the superuser.

By filling the whole space with zero's you make sure that every free
block is wiped out. For flash memories you don't have the same problem
as for hard-drives where the information can still be recovered after 
up to 5 times of overwriting. In a flash memory the difference between
a 1 and a 0 consists in roughly 200 electrons for today's densities.
Add to this the fact that lots of flash memories have now multi level
cells (MLC) which means more bits are stored on the same cell using 4 or
more different voltages. So it is virtually impossible to scan the
charge from the floating gates as analog values to build the 'previous'
pattern. The noise level from scanning (using a proximity scanning
capacitance microscope after delayering the flash chip) will be 
above the natural variation in charge.

If your level of paranoia is above average ;-) contact me by email and
I'll send you a little program (for Nokia N800) which fills the flash
space with pseudo-random data at high speeds.
It will still take some 15 minutes to fill a 2G partition with pseudo
random data.
dd if=/dev/urandom of=file is much to slow for this purpose.

-- 
Regards,
Emil
--
Marx on sex: From each according to his virility, to each according to her need.
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


a2dp not working, any help appreciated

2007-08-06 Thread Simon Pickering
Hello all,

I just bought an A2DP headset (Jabra bt320s) and was trying to get it 
to play some music as per the instructions here (SBC DSPsink might be 
interesting...): 
http://www.guardiani.us/index.php/N800_custom_packages#Bluetooth_ALSA

I followed all of the instructions, but no music and the headphones 
flash (indicating that they are not connected according to the 
instruction manual). I'm afraid Bluetooth is a bit of a black art to me 
so any help would be appreciated.

The output of mplayer is:

Nokia-N800-26:~# mplayer -ac ffmp3 -ao alsa:device=a2dpd2 
/media/mmc2/Laura\ Gre
ene-Moonlight,\ Music\ And\ You.mp3
MPlayer 1.0rc1-maemo.17.n800 (C) 2000-2006 MPlayer Team
CPU: ARM
[MENU] Can't open menu config file: /root/.mplayer/menu.conf
Menu inited: /etc/mplayer/menu.conf

Playing /media/mmc2/Laura Greene-Moonlight, Music And You.mp3.

Audio file file format detected.
Clip info:
  Title: Moonlight, Music And You
  Artist: Laura Greene
  Album:
  Year:
  Comment:
  Genre: Other
==
Forced audio codec: ffmp3
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [ffmp3] afm: ffmpeg (FFmpeg MPEG layer-3 audio decoder)
==
alsa-lib: pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM a2dpd2
alsa-init: playback open error: No such file or directory
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video


It appears that the audio device isn't present. Is this because the 
headphones have not been 'captured' and a dev entry created for them?

I started a2dpd before I switched the headphones on and expected it to 
have output something when I switched them on, but it just remains like 
this:


Nokia-N800-26:/root$ a2dpd
A2DPD[09:53:11.567]: init_ipc: Selected IPC: unix, addr=127.0.0.1, 
bcst=127.0.0.255, port=21453
A2DPD[09:53:11.568]: make_daemon_process: a2dpd [Jun  9 2007 00:16:35] 
starting ...
A2DPD[09:53:11.570]: main: (errno=9:Bad file descriptor)a2dpd 
addr=00:16:8F:06:95:3D timer=0 us [Jun  9 2007 00:16:41]
A2DPD[09:53:11.571]: a2dpd_signal_init: Getting on DBUS
A2DPD[09:53:11.599]: a2dpd_signal_init: Installing watch
A2DPD[09:53:11.603]: add_dbus_watch: Added watch 0 0x66978 disabled
A2DPD[09:53:11.605]: add_dbus_watch: Added watch 1 0x669a0 enabled
A2DPD[09:53:11.607]: a2dpd_signal_init: Registering object path: 
/com/access/a2dpd
A2DPD[09:53:11.611]: a2dpd_signal_init: Acquiring service: com.access.a2dpd
A2DPD[09:53:11.622]: a2dpd_signal_init: OK
A2DPD[09:53:11.624]: a2dpd_signal_init: OK
A2DPD[09:53:11.627]: a2dpd_register_sdp: Start
A2DPD[09:53:11.630]: add_avrtg:
A2DPD[09:53:11.636]: add_a2source:
A2DPD[09:53:11.639]: a2dpd_register_sdp: OK
A2DPD[09:53:11.641]: main_loop:
A2DPD[09:53:11.645]: make_server_socket:
A2DPD[09:53:11.648]: bta2dpdevicenew:
A2DPD[09:53:11.651]: a2dpd_signal_address_changed: 00:16:8F:06:95:3D
A2DPD[09:53:11.654]: a2dpd_signal_set_socket: Signal socket set to 7
A2DPD[09:53:11.667]: a2dpd_signal_state: Disconnected
A2DPD[09:53:11.671]: a2dp_alloc:
A2DPD[09:53:11.674]: a2dp_alloc: (a2dp = 0x6a180)
A2DPD[09:53:11.676]: a2dp_new: 00:16:8F:06:95:3D, 44100
A2DPD[09:53:11.679]: a2dp_new: State AVDTP_STATE_DISCONNECTED
A2DPD[09:53:11.681]: alsa_new:
A2DPD[09:53:11.684]: alsa_new: device=plughw:0,0, framerate=44100
A2DPD[09:53:11.687]: alsa_new: State ALSA_STATE_DISCONNECTED
A2DPD[09:53:11.690]: alsa_new: returning 0x6c318
A2DPD[09:53:11.692]: sco_new:
A2DPD[09:53:11.695]: sco_new: State SCO_STATE_DISCONNECTED
A2DPD[09:53:11.697]: sco_state_disconnect: Filtering state : already 
disconnected
A2DPD[09:53:11.700]: main_loop: Bluetooth Device Settings [44100 hz, 2 
channels, 16 bits]
A2DPD[09:53:11.715]: avrcp_new: Listening for AVRCP on socket 9
A2DPD[09:53:11.717]: avrcp_new: 0x6c428


Is this expected behaviour?

For completeness (and interest) here's the output of hcitool info on 
the address of the headphones:

Nokia-N800-26:~# hcitool info 00:16:8F:06:95:3D
Requesting information ...
 BD Address:  00:16:8F:06:95:3D
 LMP Version: 2.0 (0x3) LMP Subversion: 0xd55
 Manufacturer: Cambridge Silicon Radio (10)
 Features: 0xbf 0xfe 0x8b 0x78 0x18 0x18 0x00 0x80
 <3-slot packets> <5-slot packets>  



   
   
   
  


One last thing, I did (also) pair the headphones with the N800 using 
the Bluetooth applet on the control panel, not sure if this would cause 
a problem.

Thanks in advance,


Simon


___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Wipe files

2007-08-06 Thread Eero Tamminen
Hi,

> On Aug 5, 2007, at 1:39 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>> I would like to know if somebody knows about an application to
>> permanently delete files for Nokia N800.

Because flash wears out (eventually), getting things physically
overwritten can take a lot of time, or it might never happen because
JFFS2 does wear-leveling and just garbage collects overwritten blocks
and writes the new content elsewhere.


ext Jonathan Greene wrote:
> How about reflashing the device...  Should make it quite fresh -- like  
> out of the box.

I think that's the best way.


- Eero
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users