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.


Messages - woodbri

Pages: [1]
1
General Discussion / How to prevent Suspend?
« on: August 01, 2004, 04:46:33 pm »
Hi all,

I'm running the 3.13rom on SL-5500 and I need to prevent the system screen saver and suspend from kicking in when the Z is under power.

I am running gpsd and zRoadmap connected to a Bluetooth GPS via /dev/rfcomm0 and the Z will be under power. This setup will be used on a motorcycle for navagating and works fine except that every time the screensaver kicks in it kills the Bluetooth connection to gpsd which requires running a bunch of commands that I could add to the suspend-resume system that tumnus developed to kill and restart everything. BUT the bottom line is I don't want it to suspend when this is running.

Anyone have any ideas?

I tried qpe-suspendapplet_1.5.0-3_arm.ipk but that does not seem to do anything on my system with 3.13 roms.

It would be nice to be able to check if my setup is running and abort a suspend event.

I will be writing a script to lauch this application setup, because I have to start up the bluetooth stuff, then start gpsd and finally start zRoadmap. I could easily touch a file and then see if the file exists to abort the suspend. and have a kill script to clean everything up, but this seems messy. I also thought about hacking zRoadmap source to set whatever needs to be set to prevent suspends and restore it on exit if I knew what needed to be set.

Anyone have any ideas?

2
Security and Networking / Bluetooth PAN networking problems
« on: July 28, 2004, 08:41:29 pm »
I finally got this working. Most of the problem was having too many blusez ipks loaded. Check on this THREAD for more information.

Once I got the ipks straighten out, things ran much smoother just following the Bluetooth FAQ.

Thanks everyone - you guys are awsome!

3
General Discussion / Help: Z will NOT suspend!
« on: July 28, 2004, 11:50:01 am »
Thanks - You guys are awsome!
replaced the symlink and all is good again!

4
General Discussion / Help: Z will NOT suspend!
« on: July 28, 2004, 11:11:40 am »
I did a cold reset of the system and suspend run ok
I restored my last backup that I thought was good, but no suspend

looked at /usr/local/bin and there is no apm.rom file or symlink there.
what should this link to so I can restore the symlink

5
General Discussion / Help: Z will NOT suspend!
« on: July 28, 2004, 09:41:59 am »
Quote
In the meantime you could always use 'apm --suspend'

hrmmm

sudo arm --suspend
sudo: arm: command not found

where is this command supposed to reside? this could be a problem.
if it was a symlink to the command in rom and the ipk removed the symlink that might account for this.

How do I pull the ipk apart? I have been wondering about that.

6
General Discussion / Help: Z will NOT suspend!
« on: July 28, 2004, 09:24:02 am »
Ack! I can NOT get my Z to suspend!

My Z was sitting in the docking station overnight, when I picked it up it was on but mostly frozen, ie: I could change tabs but applications would not start, it would not reboot, etc.

I set the switch to replace battery and hit the reset button.
Restored my last backup which was working fine.

In installed qpe-suspendapplet_1.5.0-3_arm.ipk to be able to suppress suspending in an attempt to prevent the screen saver from running and cause problems with long running apps under power.

I tried to put it to sleep and it would not!
I uninstalled qpe-suspendapplet_1.5.0-3_arm.ipk
Still no sleep
restored last backup ( without doing a cold boot to wipe the system )
Still no sleep

when I press the [Cancel] quickly I get a audible click, but holding it down does not make it sleep, the [start]->suspend doesn't do anything

Any ideas! Now I'm loosing sleep over this!

7
Security and Networking / Bluetooth PAN networking problems
« on: July 27, 2004, 08:14:08 am »
I got this working finally  it turned out to be a couple of things.

1) I had too many bluez packages installed, see this thread.
2) a networking problem that turned out to be that I had not turned on the "Internet Sharing for Connection" on the win2k box

Once I got these straightened out just using the Network widget brought up the connection, but only if the Z is NOT in the docking station. When it is in the docking station, it thinks that there is USB network connection and complains.

I'm thinking that this should be fixable, ie: have it automatically switch from USB to bluetooth and back depending on if it detects when it is pluged into or out of the USB. Does anyone know know what controls this?

8
Security and Networking / AmbiCom BT2000E problems
« on: July 27, 2004, 08:01:35 am »
OK, bluetooth is working much better for me now that I have my bluez packages straighten out. Thanks for the advice.

9
Security and Networking / AmbiCom BT2000E problems
« on: July 25, 2004, 12:34:52 am »
tumnus,

Thank you for your reply.

When you say "all those packages"  I assume you are refering to:

bluez-bt950-cs-high-speed v1.0.0
bluez-csr-serial v0.1
bluez-zarus v2.3-2.4.18e

Should I also remove the qtopia packages?

qtopia-bluetoothnetworkapplet v1.0.1
qtopia-pannetworkapplet v1.0.1

OK, reinstalled as you suggested (except not the qtopia ipks) and I have had some sucess getting the Z to connect to my bluetooth GPS using gpsd and rfcomm0. It seems that now I can run

Code: [Select]
gpsd -S 2947 -s 4800 -p /dev/rfcomm0
and then start zRoadmap and it works. After I exit from zRoadmap the only way I can reconnect to the GPS is to eject the BT2000E card and re-insert it.  In the morning when my brain is working better I will go back and read more of the Howtos.

Thank you for your help, it is really appreciated.

10
Security and Networking / AmbiCom BT2000E problems
« on: July 24, 2004, 10:56:53 am »
Hi all,

I have been struggling with getting my card working and PAN working. I saw the following THREAD about having the results of
Code: [Select]
$ cardctl ident
Socket 0:
  product info: "AmbiCom,Inc", "BT2000E", "Bluetooth PC/CF Card"
  manfid: 0x022d, 0x2000
  function: 2 (serial)
Socket 1:
no product info available

coordinated with both /etc/pcmcia/bluetooth.conf

Code: [Select]
card "AmbiCom BT2000E Bluetooth PC/CF Card"
  version "AmbiCom,Inc", "BT2000E"
  bind "bt950_cs"

and in /etc/bluetooth/uart

Code: [Select]
"AmbiCom,Inc", "BT2000E":/dev/ttyS3 bcsp
Then run the following commands:

 
Code: [Select]
$ sudo /etc/rc.d/init.d/pcmcia restart
$ sudo /etc/rc.d/init.d/bluetooth restart
Shutting down Bluetooth... Done.
Starting Bluetooth... Can't get port settings: Input/output error
Can't initialize device: Input/output error
Done.

What is causing this error and how do I fix it?

I also removed (commented out) the card info from from the /etc/pcmcia/bluetooth.conf file as suggested in the reference post by tumnus but got the same results.

My setup is:
Z5500
ROM 3.13
2.4.18-rmk-pxa3-embedix from Sharp
bluez-bt950-cs-high-speed v1.0.0
bluez-csr-serial v0.1
bluez-zarus v2.3-2.4.18e
qtopia-bluetoothnetworkapplet v1.0.1
qtopia-pannetworkapplet v1.0.1
sudo
susp-resume
susp-resume-bluez

11
General Discussion / Howto connect to bluetooth gps
« on: July 22, 2004, 03:24:06 pm »
Hi all,

So now I have a working and supported Ambicom BT2000E Bluetooth card and
Z5500
ROM 3.13
2.4.18-rmk-pxa3-embedix from Sharp
bluez-bt950-cs-high-speed v1.0.0
bluez-csr-serial v0.1
bluez-zarus v2.3-2.4.18e
qtopia-bluetoothnetworkapplet v1.0.1
qtopia-pannetworkapplet v1.0.1
sudo
susp-resume
susp-resume-bluez

And it seems to be working, ie basic bluetooth device discovery show other devices in the area.

I have read the Bluetooth FAQ, but I seem to be missing something basic. How to a connect to my bluetooth GPS and have it look like a virtual serial port?

12
Security and Networking / Bluetooth PAN networking problems
« on: July 21, 2004, 11:44:51 pm »
Hi all,

So now I have a working and supported Ambicom BT2000E Bluetooth card and
Z5500
ROM 3.13
2.4.18-rmk-pxa3-embedix from Sharp
bluez-bt950-cs-high-speed  v1.0.0
bluez-csr-serial  v0.1
bluez-zarus  v2.3-2.4.18e
qtopia-bluetoothnetworkapplet  v1.0.1
qtopia-pannetworkapplet  v1.0.1
sudo
susp-resume
susp-resume-bluez

the host is a win2k box with a widdcom bluetooth usb dongle which I can connect to my bluetooth GPS. I followed the Bluetooth FAQ (hopefully) and on my win2k box the Bluetooth "My Network Access" is configure as:

Allow other devices to access the Internet/LAN via this computer.
The [Configure Network Adapter] properties for TCP/IP are:
IP: 192.168.129.1/255.255.255.0
Default gateway: 10.1.1.5

The win2k's ethernet is configured as:
IP: 10.1.1.7/255.255.255.0
Default gateway: 10.1.1.5  <- wireless/wired router with DHCP, firewall, NAT and connected to DSL
DNS: 10.1.1.50

So that is the setup; I have had some successes and some failures and need help:

following the bluetooth PAN setup FAQ

hciconfig reports the MAC addess
hcitool scan reports the MAC address of my win2k box and my bluetooth GPS

pand ... failed with error:  "Failed to open control socket: ..."
I googled around and was able to install bnep.o by:

sudo /sbin/depmod -a
sudo insmod bnep

sudo pand --role PANU --service NAP --connect xx:xx:xx:xx:xx:xx --nodetach

worked using the win2k MAC address. I got a bunch of dialog boxes about the Z connecting and ok'd everything.

sudo ifconfig bnep0 192.168.129.201

Problem 1:
If the Z is in the docking station, then I get dialog boxes warning me:
Network conflict detected. Two connections (USB, serial, wireless) are using the same network. "192.168.129.0/24"

If I remove the Z from the docking station I can continue with:

ping 192.168.129.1    # works

sudo route add default gw 192.168.129.1   # excutes without errors

ping 64.233.161.99  # www.google.com
ping: sento: Network is unreachable

ping 192.168.129.1    # still works

and that is as far as I can get

Questions:

1) What do I need to do to have BT PAN working while I'm pluged into docking station?
2) What seems to be the problem with the network config or routing?
3) How do I attach the GPS to the Z with BT and have it look like a serial device?
4) Is there something "magical" about 192.168.129.201 address or can I use any private network IP? Like the 10.1.1.xx or 10.1.2.xx series that I am already using on the rest of my private net. Better yet what would you recommend given the above details.

You guys are really great and I appreciate the help.

13
Security and Networking / Ambicon Bluetooth, Z55, 3.13 ROM problems
« on: July 21, 2004, 10:45:55 pm »
Just for completeness and the hope that this will help others, if you do:

$ sudo cardctl ident

on the two Ambicom Bluetooth cards you get the following reports:

For the one that works:

Socket: 0
  product info: "AmbiCom,Inc", "BT2000E", "Bluetooth PC/CF Card"
  nanfid: 0x022d, 0x2000
  function: 2 (serial)

For the one that does NOT work:

Socket: 0
  product info: "AmbiCom BT2000C", "Bluetooth PC/CF Card" "" ""
  nanfid: 0x022d, 0x2000
  function: 2 (serial)

14
Security and Networking / Ambicon Bluetooth, Z55, 3.13 ROM problems
« on: July 18, 2004, 08:55:44 pm »
Arrgh! I don't think I can return it  
It is a shame there is no support for this card or most of the cheaper cards that are available today.  What does it take to write a driver for this card?

15
Security and Networking / Ambicon Bluetooth, Z55, 3.13 ROM problems
« on: July 18, 2004, 02:09:59 pm »
Hi all,
I'm Zaurus newbie and having trouble getting bluetooth running. I would like to establish a network with my Win2k box and/or pair with my Royaltek BlueGPS.

Installation details:
Rom 3.13
bluez-zaurus_2.3_2.4.18e_arm.ipk
bluez-csr-serial_0.1_arm.ipk
qtopia-bluetoothnetworkapplet_1.0.1+arm.ipk
qtopia-pannetworkapplet_1.0.1_arm.ipk
sudo_0.1_arm.ipk
susp-resume-bluez_0.9.1_arm.ipk

I have the Ambicom BT2000-CF card that has the purple top and the light is blinking on it when it is installed.

$ sudo hciconfig
hci0:  Type: PCCARD
  BD Address: 00:00:00:00:00:00 ACL MTU: 0:0  SCO MTU 0:0
  DOWN
  RX bytes:0 acl:0 sco:0 events: errors:0
  TX bytes:4 acl:0 sco:0 commands:1 errors:0

It does not seem to be reading the MAC address of the card.

I have also tried installing

bluez-bt950-cs-high-speed_1.0.0_arm.ipk with the same results.

I have read through this forum and most of the other documents I have found regarding bluetooth and Z. I also tried installing all the BlueZ kernel, libs, utils, sdp, rfcommd, rfcomm instead of the above but that did not even get to the point of recognizing and reseting the CF card.

Any ideas what I should do now, that will get this working?

Pages: [1]