site_archiver@lists.apple.com Delivered-To: bluetooth-dev@lists.apple.com -Tico On Feb 8, 2006, at 10:49 AM, Tico Ballagas wrote: Thanks -Tico On Jan 25, 2006, at 11:22 AM, Tico Ballagas wrote: Thanks -Tico This email sent to ballagas@cs.rwth-aachen.de _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.a... I solved the problem. I used the open source utility tripwire to determine which files were changing when I used a bluetooth serial port. It turns out that there is a property list that had some stale values. Specifically in /private/var/root/Library/Preferences/ blued.plist I booted my machine from a seperate harddrive, to examine this file. The serial port that could not be removed had two extra fields compared to the other BT serial ports: "BTPortInUse" set to 1 and "WaitingForMatch" also set to 1. After removing these two fields, I was able to successfully delete the serial port on reboot. I've been doing a little more investigation on this problem. I ran "lsof" as root to list the open file handles since the bluetooth serial port is implemented through the /dev/tty.* file descriptor. "/dev/tty.<my bluetooth serial port>" is not listed indicating that the device is not currently in use by a process (in contradiction to the error message). I think the problem is that there is a filesystem lock left over that I need to delete. However, I've been looking around in the /var/ directory and can't seem to identify which file it might be. Could anyone help me with this? I'm having a strange issue where I am unable to remove a Bluetooth Serial Port. I get the following error: "The service cannot be modified. You are attempting to remove a port which is in use. Quit the application using this port and try again." However, this happens even after a fresh boot with a fresh user (no login items). How do I check which process is using a particular serial port. Is there an alternative way to remove a port? _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/bluetooth-dev/ballagas% 40cs.rwth-aachen.de This email sent to site_archiver@lists.apple.com