From owner-freebsd-questions@FreeBSD.ORG Sat Sep 25 04:00:24 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3BF916A4CE for ; Sat, 25 Sep 2004 04:00:24 +0000 (GMT) Received: from f04n07.cac.psu.edu (f04s07.cac.psu.edu [128.118.141.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F95B43D3F for ; Sat, 25 Sep 2004 04:00:16 +0000 (GMT) (envelope-from tom@psu.edu) Received: from tmm324.rh.psu.edu (TMM324.rh.psu.edu [66.71.101.5]) by f04n07.cac.psu.edu (8.12.11/8.12.11) with ESMTP id i8P40EA2037312 for ; Sat, 25 Sep 2004 00:00:14 -0400 Date: Sat, 25 Sep 2004 00:00:16 -0500 (EST) From: Thomas Moyer X-X-Sender: tom@tmm324.rh.psu.edu To: freebsd-questions@freebsd.org Message-ID: <20040924235550.E3357@tmm324.rh.psu.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new Subject: USB Not Detaching Correctly X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Sep 2004 04:00:25 -0000 I have configured my computer and PDA so that I can HotSync correctly however after it completes the programs it runs should be stopped but they continue to run which prevents me from HotSyncing again without manually killing the processes in question. Following is my usbd.conf file. # Sony Clie (PDA) device "Sony Clie" devname "ucom0" vendor 0x054c product 0x0066 release 0x0100 # pilot-link attach "/usr/sbin/ppp -auto palm; /usr/local/bin/pi-csd -H tmm324 -a 66.71.101.5 -n 255.255.255.0&" detach "/usr/local/bin/pi-detach" The file pi-detach is: #!/bin/sh /usr/bin/killall ppp /usr/bin/killall pi-csd When the PDA is shown to be detached the file should run but it doesn't. I did most of the obvious things...Check for executable but it doesn't seem to work. Thomas Moyer tmm324@psu.edu DracoYung