[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldsync-hackers] ColdSync, OpenBSD and USB
On Wed, Jul 17, 2002 at 04:41:50PM -0400, Billy D'Augustine wrote:
> Andrew said that /dev/usb0 won't exist until I press the HotSync button,
> and then the device is inserted.
Well, the _file_ /dev/usb0 exists at all times, it's just that
unless the PDA is syncing, it doesn't exist. It's similar to the way
that you can create /dev/sd5a, but unless you actually install a SCSI
disk with ID 5, you'll get "Device not configured" if you try to read
from /dev/sd5a.
> Now this is what I get after I press the HotSync button:
>
> $ dmesg | tail
[...]
> ugen0 at uhub0 port 1
> ugen0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 2
> $ ls -C /dev/ugen*
> /dev/ugen0.00 /dev/ugen0.07 /dev/ugen0.14 /dev/ugen1.05
> /dev/ugen1.12
> /dev/ugen0.01 /dev/ugen0.08 /dev/ugen0.15 /dev/ugen1.06
> /dev/ugen1.13
> /dev/ugen0.02 /dev/ugen0.09 /dev/ugen1.00 /dev/ugen1.07
> /dev/ugen1.14
> /dev/ugen0.03 /dev/ugen0.10 /dev/ugen1.01 /dev/ugen1.08
> /dev/ugen1.15
> /dev/ugen0.04 /dev/ugen0.11 /dev/ugen1.02 /dev/ugen1.09
> /dev/ugen0.05 /dev/ugen0.12 /dev/ugen1.03 /dev/ugen1.10
> /dev/ugen0.06 /dev/ugen0.13 /dev/ugen1.04 /dev/ugen1.11
>
> I can see the device being inserted as /dev/ugen0, but that device
> doesn't exist?
The output from 'dmesg' says "ugen0", but this is a kernel
message, and need not correspond exactly to anything in /dev. My guess
is that you'll want to use /dev/ugen0.00 or /dev/ugen0.02, but that's
just a guess.
--
Andrew Arensburger This message *does* represent the
arensb@ooblick.com views of ooblick.com
Built for comfort, not for speed.
--
This message was sent through the coldsync-hackers mailing list. To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body. For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.