Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 2004 23:09:59 -0500 (EST)
From:      Thomas Moyer <tom@psu.edu>
To:        freebsd-questions@freebsd.org
Subject:   Problems with USB Detach
Message-ID:  <20040927230412.W736@tmm324.rh.psu.edu>

next in thread | raw e-mail | index | archive | help
I have a USB Sony Clie PEG-SJ20 which I have gotten to Sync with jpilot.
However the processes that are run when the Clie is attached continue to
run even after the Clie is detached.  The processes are spawned from
usbd.conf with the attach option and should be killed by the detach
options.  None of the processes are killed though.  I'm running FreeBSD
5.2.1 Any thoughts?
Following is the usbd.conf and other pertinent files.

# 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"

pi-detach is a shell script containing:

#!/bin/sh
/usr/bin/killall ppp
/usr/bin/killall pi-csd

Thomas Moyer
tmm324@psu.edu
DracoYung



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040927230412.W736>