Re: Problem removing Serial Port Service
Re: Problem removing Serial Port Service
- Subject: Re: Problem removing Serial Port Service
- From: Tico Ballagas <email@hidden>
- Date: Fri, 17 Feb 2006 15:52:12 +0100
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.
-Tico
On Feb 8, 2006, at 10:49 AM, Tico Ballagas wrote:
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?
Thanks
-Tico
On Jan 25, 2006, at 11:22 AM, Tico Ballagas wrote:
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?
Thanks
-Tico
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40cs.rwth-aachen.de
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden