Re: Sony Clie 770 hotsync support missing

From: Christoph Sold (newsreply _at_ cheasy * de) <"Christoph>
Date: Thu, 18 Mar 2004 21:08:32 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Thursday 18 March 2004 19:03, you wrote:
> yOn Thu, 18 Mar 2004, Christoph Sold (newsreply _at_ cheasy * de) wrote:
> > Hi All,
> >
> > my Sony Clie N770 is detected as ugen device. Any hints how to get
> > USB hotsync for this palmtop working?
>
> Add it to usbdevs & the palm driver and regenerate? :)
> Its probably just a new id.

I suspect as much. Anyhow, I do not know which field has to be added in 
which places, so a little bit more detail would be helpful.

Well, here's my first guess:

Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
VIA(0x0000), rev 1.00
  uhub0
 port 1 addr 2: full speed, self powered, config 1, Palm
Handheld(0x0066), Sony Corp.(0x054c), rev 1.00
   ugen0

should translate to:

$ egrep -i "0x054c|0x0066" /usr/src/sys/dev/usb/usbdevs.h
#define USB_VENDOR_SONY           0x054c    /* Sony */
#define USB_PRODUCT_SONY_CLIE_40  0x0066    /* Sony Clie v4.0 */
[whitespace cleaned up]

which was already in the header file.

Looking for USB_PRODUCT_SONY_CLIE_40 in  /usr/src/sys/dev/usb/*  yields
        {
            USB_VENDOR_SONY, USB_PRODUCT_SONY_CLIE_40_MS,
            0,
            "Sony",
            "Sony Clie v4.0 Memory Stick slot",
        },
        {
            USB_VENDOR_SONY, USB_PRODUCT_SONY_CLIE_S360,
            0,
            "Sony",
            "Sony Clie s360",
        },
in const struct usb_knowndev usb_knowndevs[] , which seems to suggest 
this device is already known. Still, the names do not match (mine is 
called "Sony Clie PEG-N770C/E", to be exact).

In uvisor.c, USB_PRODUCT_SONY_CLIE_40 gets another hit. I'm out of my 
depth interpreting what's in there.

So, anybody got a hint how to make the USB driver generate a ucom device 
upon sync request for me?

Thanks in advance
- -- 
Christoph Sold

Nota bene: Apologies for the mungled "From" header. Please use common
sense to unmungle. Reply-to set.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAWgHBjGVuYEZ1RPYRAiUfAKCo6NmY4m6uYoEs8AjM+IYY5dG6BgCdFreC
2FUuUfQfwV7YmoWeCavP5iA=
=d5Ms
-----END PGP SIGNATURE-----
Received on Thu Mar 18 2004 - 11:08:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:48 UTC