2003-03-26 02:07:39

by iain d broadfoot

[permalink] [raw]
Subject: addition to visor.c

First off, hi all and thanks for all the kernels. :D

I have fiddled together the following info for a sony clie nz90, which i
believe should go in drivers/usb/serial/visor.{h,c}.

in visor.h:

#define SONY_CLIE_NZ90_ID 0x00E9

and in visor.c:

{ USB_DEVICE(SONY_VENDOR_ID, SONY_CLIE_NZ90_ID) },

in two places, both after the line

{ USB_DEVICE(SONY_VENDOR_ID, SONY_CLIE_4_1_ID) },

this is almost definitely an awful way of submitting these, but this is
my first ever attempt at kernel hacking (and it barely counts as such
(and it barely counts as something that barely counts...)) so please
don't flame me too hard.

it just compiled, and assuming it boots && recognizes the device, i'll
send this.

ok, it recognizes, but none of the apps i have seem to like the clie - i
get 'please press hotsync button now' messages, despite the fact that
the /dev/ttyUSB1 device is only there after the button has been
pressed... :(

my sister's clie cries out for breakout, and an internet...

cheers,

iain
(scared and tired and wanting to PLAY WITH MY SISTER'S NEW CLIE DAMMIT
:p)

PS: please CC: me on replies, i'm subscribed but have a tendency to not
spot list replies. thanks.

--
wh33, y1p33 3tc.


2003-03-26 03:55:57

by Greg KH

[permalink] [raw]
Subject: Re: addition to visor.c

On Wed, Mar 26, 2003 at 02:18:47AM +0000, iain d broadfoot wrote:
>
> PS: please CC: me on replies, i'm subscribed but have a tendency to not
> spot list replies. thanks.

Then don't set the Reply-To: field to only point to the list, as it's a
bit tougher for responses to get to you :)

greg k-h

2003-03-26 03:54:40

by Greg KH

[permalink] [raw]
Subject: Re: addition to visor.c

On Wed, Mar 26, 2003 at 02:18:47AM +0000, iain d broadfoot wrote:
> First off, hi all and thanks for all the kernels. :D
>
> I have fiddled together the following info for a sony clie nz90, which i
> believe should go in drivers/usb/serial/visor.{h,c}.

Thanks, but this device is already supported in the latest 2.5 kernel :)

And it's in my queue of patches to send to Marcelo for 2.4, so it will
show up there too eventually.

> ok, it recognizes, but none of the apps i have seem to like the clie - i
> get 'please press hotsync button now' messages, despite the fact that
> the /dev/ttyUSB1 device is only there after the button has been
> pressed... :(

Try the latest version of pilot-link, from pilot-link.org. You need
that. If that doesn't work, try ttyUSB0, that might be the correct port
for this device.

Thanks,

greg k-h

2003-03-26 13:47:16

by iain d broadfoot

[permalink] [raw]
Subject: Re: addition to visor.c

* Greg KH ([email protected]) wrote:
> On Wed, Mar 26, 2003 at 02:18:47AM +0000, iain d broadfoot wrote:
> > First off, hi all and thanks for all the kernels. :D
> >
> > I have fiddled together the following info for a sony clie nz90, which i
> > believe should go in drivers/usb/serial/visor.{h,c}.
>
> Thanks, but this device is already supported in the latest 2.5 kernel :)

ah. ok-dok. :(

i felt so proud and manly and super-cool as well...

>
> And it's in my queue of patches to send to Marcelo for 2.4, so it will
> show up there too eventually.

sweet.

i just need to remember not to bunzip the kernel source over my version
now...

>
> > ok, it recognizes, but none of the apps i have seem to like the clie - i
> > get 'please press hotsync button now' messages, despite the fact that
> > the /dev/ttyUSB1 device is only there after the button has been
> > pressed... :(
>
> Try the latest version of pilot-link, from pilot-link.org. You need
> that. If that doesn't work, try ttyUSB0, that might be the correct port
> for this device.

hmm, i've got the latest pilot-link, and i've tried both 0 and 1 (0 gets
logged as the Generic, while 1 is logged as HotSync) so i think it's
time to find a new list to harass. :D

cheers,

iain

--
wh33, y1p33 3tc.