Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Nov 2004 18:40:06 -0600
From:      Vladimir Egorin <vladimir@math.uic.edu>
To:        Alexandre Sunny Kovalenko <Alex.Kovalenko@verizon.net>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Palm or equalient supported by FreeBSD
Message-ID:  <20041105004006.GA51801@math.uic.edu>
In-Reply-To: <1099598350.903.3.camel@RabbitsDen>
References:  <20041104110413.GA13307@totem.fix.no> <20041104112634.GA14296@laverenz.de> <20041104114156.GB43303@warning.this.domain.does.not-exist.de> <20041104125320.GA16749@totem.fix.no> <1099598350.903.3.camel@RabbitsDen>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 04, 2004 at 02:59:10PM -0500, Alexandre Sunny Kovalenko wrote:
	> On Thu, 2004-11-04 at 11:49, Eric Anderson wrote:
	> > Alexandre "Sunny" Kovalenko wrote:
	> > [..snip..]
	> > > And while we are on the subject -- anyone out there figured out what to
	> > > do with 5.3/6.0 -- ttyUn/cuaUn devices are being created when you hit
	> > > "HotSync" and demolished promptly after sync is done, IMHO making
	> > > impossible to have daemon process looking out for the device.
	> > 
	> > I think /etc/devfs.conf can help with that.
	> > 
	> > Eric
	> > 
	> Can you by any chance elaborate? I have read all appropriate man pages
	> and could not come up with an idea of faking the node in /dev/ before it
	> actually is created and that's what (IMHO) needed to have daemon
	> listening on the dynamic device.

If you only need to sync the device when the hotsync button is pressed,
there is an example for Visor in usbd.conf; mine has


device "Handspring Visor"
        devname "ucom0"
        vendor  0x082d
        product 0x0100
        release 0x0100
        attach "/bin/sh -c '/usr/sbin/chown vladimir /dev/ttyU0; /usr/bin/su - vladimir -c /usr/X11R6/bin/jpilot-sync'"


Vladimir



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