Subject: Sony Clie and USB (uvisor, umass)
To: NetBSD/i386 List <port-i386@netbsd.org>
From: Kevin Sullivan <ksulliva@psc.edu>
List: port-i386
Date: 07/26/2001 12:19:11
I recently bought a Sony Clie PEG-N710C.  It's a color PalmOS PDA; very
nice little box.  Like the Visors, it hotsyncs over USB.  I'm assuming
that the uvisor driver should be close to correct for the Clie, though I'm
realy not sure. 

There's two ways to use the Clie over USB.  First, when I try to hotsync
with the PDA plugged into my (NetBSD/i386 1.5.1) laptop, I get:

usbd_new_device bus=0xc0824000 port=1 depth=1 lowspeed=0
usbd_new_device: adding unit addr=2, rev=110, class=255, subclass=0,
protocol=0, maxpacket=16, len=18, ls=0
usbd_new_device: new dev (addr 2), dev=0xc0833180, parent=0xc07fdb40
usbd_probe_and_attach: trying device specific drivers
usbd_probe_and_attach: no device specific driver found
usbd_probe_and_attach: looping over 1 configurations
usbd_set_config_index: status=0x0001, error=NORMAL_COMPLETION
usbd_set_config_index: (addr 2) attr=0xc0, selfpowered=1, power=0
usbd_set_config_index: set config 1
usbd_probe_and_attach: no interface drivers found
ugen0 at uhub0 port 1
ugen0: Sony Sony PEG COM, rev 1.10/1.00, addr 2
usbd_set_config_index: free old config
usbd_set_config_index: status=0x0001, error=NORMAL_COMPLETION
usbd_set_config_index: (addr 2) attr=0xc0, selfpowered=1, power=0
usbd_set_config_index: set config 1

I can't figure out how the USB vendor and device IDs work.  Does this look
like the uvisor driver might work, and how might I convince the uvisor
driver to match this device?

Also, the Clie can act as a memorystick adapter; under Windows the memory
stick shows up as another disk drive.  When I try this on NetBSD, I get:

usbd_new_device bus=0xc0824000 port=1 depth=1 lowspeed=0
usbd_new_device: adding unit addr=2, rev=110, class=0, subclass=0,
protocol=0, maxpacket=16, len=18, ls=0
usbd_new_device: new dev (addr 2), dev=0xc09be500, parent=0xc07fdb40
usbd_probe_and_attach: trying device specific drivers
usbd_probe_and_attach: no device specific driver found
usbd_probe_and_attach: looping over 1 configurations
usbd_set_config_index: status=0x0001, error=NORMAL_COMPLETION
usbd_set_config_index: (addr 2) attr=0xc0, selfpowered=1, power=6
usbd_set_config_index: set config 1
umass0 at uhub0 port 1 configuration 1 interface 0
umass0: Sony Sony PEG Mass Storage, rev 1.10/1.00, addr 2
umass0: using SFF8070i over CBI-I
atapibus0 at umass0 channel 0

So it finds the atapibus but not the memory stick.  Any suggestions?

        -Kevin