Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - lardman

Pages: 1 2 [3] 4 5 ... 8
There's a thread in the 6000 part of the forum about OZ on the 6000. There's also a similar thread in the OZ part of the forum.

It'd be nice if we could merge the two together (with the goal of reducing possible duplication) and then link to the merged thread from both forums as it's relevant to both.

Is this possible?



Angstrom & OpenZaurus / Bluetooth With Oz3.5.2
« on: January 03, 2005, 01:33:20 pm »
Righty-ho, I bought a socket BT card off ebay (the first rev, E perhaps?).

It seems to work fine, but...

Why are most of the binaries from the bluez-utils-nodbus ipk (like hciconfig) placed in /bin? Surely they should go in /usr/bin, or /sbin, or just somewhere else...?

The local device class is wrong (in that it's not valid as far as I can work out). It comes as 0x120112 (in /etc/bluetooth/hcid.conf), but should be 0x120110 IMHO (as the first two bytes should be 00 I think).

Should there be an /etc/bluetooth/givepin script? There's not one in the packages available in the feed, so I created one myself (I ask because this always seems to be required on most of the instructions on the net).

The bluepin script which is installed from the bluez-utils-nodbus ipk looks like it requires python and GPE to operate. Not ideal, I'd assumed this package was non-GUI-dependent.

I tried to create a PAN connection as described here (, however it always fails with the following error after I issue the 'pand ...' command:

pand[4291]: Bluetooth PAN daemon version 2.11
pand[4291]: Connecting to 00:02:72:B3:0A:9D
pand[4291]: Connect to 00:02:72:B3:0A:9D failed. Invalid exchange(52)

Where 00:02:72:B3:0A:9D is my WinXP computer, via a BT USB dongle.

I've also tried to add my Z to the list of available devices using the WinXP GUI, however it always fails to exchange passkeys. If I tell it to not use a passkey (WinXP), I can look at the properties of my Z, but no services seem to be available.

All rather confusing :-) If anyone can shed some light that would be great.

For the most part, ignore my moaning above; once I get an SVN client running I'll grab the latest source and submit patches as required, however it may take a little time.



root@shepherd:/etc/bluetooth# more hcid.conf
# HCI daemon configuration file.
# $Id: hcid.conf,v 1.4 2004/04/29 20:14:21 holtmann Exp $

# HCId options
options {
   # Automatically initialize new devices
   autoinit yes;

   # Security Manager mode
   #   none - Security manager disabled
   #   auto - Use local PIN for incoming connections
   #   user - Always ask user for a PIN
   security auto;

   # Pairing mode
   #   none  - Pairing disabled
   #   multi - Allow pairing with already paired devices
   #   once  - Pair once and deny successive attempts
   pairing multi;

   # PIN helper
        pin_helper /opt/QtPalmtop/bin/bluepin;

   # D-Bus PIN helper
   # dbus_pin_helper;

# Default settings for HCI devices
device {
   # Local device name
   #   %d - device id
   #   %h - host name
        name "Bi-Valve";

   # Local device class
   #class 0x120112;
        class 0x120110;

   # Default packet type
   #pkt_type DH1,DM1,HV1;

   # Inquiry and Page scan
        iscan enable;pscan enable;

   # Default link mode
   #   none   - no specific policy
   #   accept - always accept incoming connections
   #   master - become master on incoming connections,
   #            deny role switch on outgoing connections
   #lm accept,master;
   lm accept;

   # Default link policy
   #   none    - no specific policy
   #   rswitch - allow role switch
   #   hold    - allow hold mode
   #   sniff   - allow sniff mode
   #   park    - allow park mode
   #lp hold,sniff;
   lp rswitch,hold,sniff,park;

   # Authentication and Encryption
   #auth enable;
        encrypt enable;

Off Topic forum / Gpe App Starting Off-screen
« on: December 30, 2004, 01:38:59 pm »
I've been trying to test driftnet before I submit the .oe file (or .bb I suppose it should be now).

The app runs without errors, but I can't see the window, so I assume it has started off-screen. How can I bring it/start it on-screen?



Angstrom & OpenZaurus / Aaaaaargghhhh: Openssh
« on: December 12, 2004, 01:21:02 pm »
I've been fiddling with my C750 (with GPE), trying to get it working so I can test driftnet and R once I get it compiling correctly.

I removed dropbear, and installed openssh and openssh-sftp.

Initially I got an error about libcrypto (is this in the dependencies list?), now I've got it (when I try running sshd on the Z) moaning about not being able to find host keys in /etc/ssh/ssh_host_rsa_key and /etc/ssh/ssh_host_dsa_key.

I ran ssh-keygen (which is a pain itself):

ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key

No luck, still complains about not being able to find host keys. Do I decided to try copying the output of the above to ~/.ssh/, still no luck.

How's about moving /etc/ssh/ssh_host_?sa_key /etc/ssh/ssh_host_?
and moving the public one into its place /etc/ssh/ssh_host_? /etc/ssh/ssh_host_?sa_key

Now I get an error about the permissions being too open. After going online (busybox's lack of docs has pissed me off in a big way this arvo, as well as the way the Fn key isn't working in rxvt on my C750 - aaaarrrggghhh!!!), I changed them to:

chmod 700 /etc/ssh
chmod og-rwx /etc/ssh/*

and it's gone back to complaining about not being able to find any host keys.

This has pissed me off in a big way (though I'm starting to laugh about it now). If someone can tell me what on earth I should do, I'll submit a patch to openssh in OE (which'll automatically do the keygen and change permissions) so no-one else need suffer my tribulations.

Time for beer I think.



Angstrom & OpenZaurus / Oz3.5.2 Gpe C750 Fn Key Functionality?
« on: December 06, 2004, 06:41:46 am »
I recently tried the GPE flavour of OZ3.5.2 on my C750 and it appeared that the fn key wasn't working (I then flashed to Opie in which it works fine). Now I've recently read that it might work if you press fn, then let go, then press the key you want (rather than holding Fn as you press the key which is what I was doing).

Is there anyone running GPE on their C750 atm? If so does your fn key work?



P.S. If it still doesn't work, how does one go about debugging this?

OpenZaurus/Opie/Qtopia / Use The Cow Patches With Oe!
« on: December 06, 2004, 06:38:20 am »
Just a quickie to say that if you're developing with OE with less than stratospheric amounts of RAM (I've only got 256MB), apply the cow patches to OE and Packages (

It considerably reduces memory usage and therefore makes OE run a hell of a lot faster (scanning the cache now only takes c.20 sec rather than 5min!).


Off Topic forum / Apache Permission Denied Question(s)
« on: December 02, 2004, 05:46:25 am »
Ignore the first paragraph unless you want to know why I'm doing this ;-)

While battling trying to get around my lack of internet connection (to grab CVS as part of the OE build process), I thought I'd run a local webserver to provide my CVS_TARBALL_STASH.

I started up the apache service/daemon on my Mandrake 10 box, and can use a web browser to look at without troubles. I can also click on the link it provides which points to the "additional modules" (or similar name) directory underneath /var/www/html/ (FYI this directory contains some kind of HowTo). I get a directory listing of this directory.

I also have a directory called /var/www/html/zaurus, which has the same permissions (according to ls -rtl) as the "additional modules" directory, but I can't get a directory listing; all I get is a permission denied error, any ideas why?

Second question: can I create a symlink in /var/www/html (pointing to my cvs stash which lives in my home directory) which will be accessible from a web browser. I tried this, and get the same permissions problem, not quite sure where I have to change the permissions of this one - is it the permissions of the symlink itself (which I'd assume) or the ones of the target directory?

This is annoying as I've previously been able to extract feed tarballs in /var/www/html and have been able to point ipkg at them and use them without troubles; I'm not sure what's changed.



Angstrom & OpenZaurus / Could someone provide a sources tarball
« on: November 05, 2004, 10:19:50 am »
I now only have a Windows machine on my fast network connection and I do OE development at home (slow, expensive dial-up). Would someone mind posting a relatively recent tarball of the sources required for an 'oemake world' or 'oemake opie-image'?

I realise this will be very big, but I have a quick connection at work/uni.



P.S. I notice that treke has a directory with sources in it, is this the whole lot? Equally, I feel a bit bad to just wget (or Windows equivalent) the whole lot.

Angstrom & OpenZaurus / OE do_install question
« on: October 14, 2004, 09:28:25 am »
I'm attempting to create an .oe file for Octave. It compiles fine, but when I get to the do_install bit it falls over.

Octave uses Makefiles which call a custom make script. Now is the done thing to patch this custom script, or the Makefiles, or to put in a custom do_install which just copies the relevant files to the correct locations? Or any of the above?

I would ask this on #oe, but I'm loath to have my head bitten off again (and to be told that I should trawl the x million example files; which is fair enough, I suppose, except that as I don't really know what I'm looking for it's going to be far more efficient to just ask).

I'm also working on R, which produces an error during the configure process which looks a bit like LD_LIBRARY_PATH is being changed.

My presumption, in this case, is that I should patch the configure script, or, or something, God only knows, but I'm sure I'll manage to work it out given a bit of time ;-)

Any tips would be most welcome (or even pointing me to a package which someone knows required similar tricks - I am happy to look through this stuff myself rather than have it spelt out, it's just where to start)


Off Topic forum / Web site going (
« on: October 13, 2004, 11:39:28 am »
I've just been told that my web site will be going soon.

I can't justify paying $90 for the year to host it plus the $15 for the name (which is really neither here nor there to tell the truth).

So if anyone wants anything from the site. Get it sooner rather than later. I'll probably take a look through all of the junk and stick some of it (like the HowTo, etc.) up on the ZUG if it's still vaguely in date.



Off Topic forum / Command to list permissions for a file
« on: October 02, 2004, 07:10:41 am »
Is there a command which just lists the permissions for a file? Or do I have to use ls -l and then awk to grab the first 10 chars of that output?


Off Topic forum / Linux boot from a PCI IDE card?
« on: September 29, 2004, 10:29:16 am »
Can Linux be made to boot from what I think is called a PCI RAID card (though it just acts as an extra 4 IDE slots)?

I've seen that there's a HowTo (for example here:

Does anyone have any experience of this?



Angstrom & OpenZaurus / Mass storage works on 3.5.1
« on: September 28, 2004, 01:25:41 pm »
Just a quicky now as I need to go out, if anyone needs more explantion I will do that tomorrow/later on.

C750 (and I presume all PXA machines): Just grab the storage_fd.o module from the (appropriate) ipk on my web page; place in proper location (you'll see when you extract the data.tar.gz file).
Use the scripts as installing the ipk does not work.

5500/5000D: Grab the storage_fd.o module *and* the sa1100_bi.o module from the (appropriate) ipk on my web page; place in proper location (you'll see when you extract the data.tar.gz file, you should backup your existing sa1100_bi.o just in case something terrible happens which I've not noticed ;-)).
Again use the scripts as installing the ipk does not work.


P.S. I was talking to coredump about this on #openzaurus irc, could someone tell him that I sorted it if he's still about (I don't have irc access here), otherwise I'll tell him tomorrow. Cheers.

Off Topic forum / Starting Linux without X
« on: September 23, 2004, 02:48:37 pm »
I foolishly installed a new graphics card in my home PC without altering the X11 setup.

Now I get a black screen after the boot messages have gone away. I have a couple of options for what to start (in Lilo) - Linux, and Linux-non-fb are the most recent ones, and although the non-fb one seems to be what I want (just uses the terminal), it also goes to a black screen after the boot process.

Is there a way of starting Linux on a console so I can get in and make the alterations I need to to get X11 back? BTW the graphics card works fine with Windows and even has drivers for Linux, it's just that I can't install them!.



P.S. Have just found a list of Linux keypresses (like Alt-SysRq, etc.) let's see what (damage) I can do...

General Discussion / Could someone post 'cat /proc/apm' when powered
« on: September 23, 2004, 10:27:57 am »
This is not really important, but I'd sometimes like to know what the current battery status is while charging is underway (and I'd also like the battery charging animation on the task bar to reflect this) without having to pull the power lead out and wait for the apm output to change.

Looking at the taskbar icon on OZ 3.5.1, I notice that when you plug the power in, it indicates that it's charging by running through a little animation (not sure how many steps) which makes it appear that the battery is being charged from 0% (so the animation starts at 0% and works its way up to 100% then starts again, etc.).

On my Sony-Ericsson T610 the charging icon starts the animation at the current battery level and then animates up to 100%; as the battery is charged the start point moves up.

Now I'm pretty sure this used to be done for OZ, but no longer.

I was just wondering whether this is due to the apm output changing (?), or a change in the battery icon code.

So, could someone post the output of 'cat /proc/apm' with external power applied, please (I don't have a charger with me)?

Also, if anyone with a different ROM actually gets the behaviour I'm wanting could they post too and let me know

My 'cat /proc/apm', with no external power, is showing:
1.14 1.2 0x02 0x00 0x00 0x01 98% -1 ?


Pages: 1 2 [3] 4 5 ... 8