Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jan 2001 06:19:03 -0600 (CST)
From:      Mike Meyer <mwm@mired.org>
To:        Stefan Molnar <stefan@csudsu.com>
Cc:        questions@freebsd.org, pcasidy@casidy.com
Subject:   Re: Visor/USB - success?
Message-ID:  <14935.3383.231292.498482@guru.mired.org>
In-Reply-To: <79667471@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Stefan Molnar <stefan@csudsu.com> types:
> If I remember correctly.  /dev/ugen0 is not for use like this.
> Basicly the the drivers sees something there, if supported it will
> give it a device like /dev/(umodem,ums,umass).  All other devices
> not known will fall under ugen.  It does not mean it is useable.

Actually, ugen is usable. It provides a "generic" usb interface, that
doesn't look like anything but a usb port. To use it, an application
*must* know that it is talking to some device plugged into a usb port,
and can't treat it as a parallel device (as lpd does in talking to
ulpt), a disk drive (which is what umass provides), etc.

Coldsync claims to be such an application; the documentation
specifically says to use /dev/ugen0. That it's failing in this way
indicates there's a bug in the device driver (actually, crashing the
system as a normal user is a bug, even if what you're trying shouldn't
work).

Fixing this problem probably requires kernel-level debugging. If
someone with a USB-capable Palm device wants to start on that,
instructions can be found at <URL:
http://www.freebsd.org/handbook/kerneldebug.html >. If someone wants
to give me a USB cradle for my Palm V, I'll look into it :-).

	<mike

> On Sat, 6 Jan 2001, Philippe CASIDY wrote:
> 
> > On Wed, 25 Oct 2000 17:38:03 +0100, Niall Smart wrote :
> > >
> > >Is anyone successfullying sync'ing their Visor using a USB
> > >cradle?  I get a kernel panic with -stable when using coldsync
> > >1.4.6
> >
> > I have just tried to sync my Visor/USB with 4.2 -stable and all I got
> > was a reboot of the machine!
> >
> > I did :
> > - chmod 666 /dev/ugen0 to be able to use it as a simple user
> > - exit from root user
> > - insertion of the Visor
> > - press the hotsync button (to configure /dev/ugen0 )
> > - call coldsync
> > - freeze
> > - automatic reboot with no shutdown
> >
> > Do you manage to make it worked since?
> >
> > Thanks
> >
> > Phil.
> >
> >
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> >
> >
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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