Commit Graph

22 Commits

Author SHA1 Message Date
mycroft
898602e6b1 Or the config_deactivate() return values. 2003-10-28 23:33:46 +00:00
nathanw
9cf81bef79 Bunch of changes to make the Palm Tungsten T work:
* Mark the actual Handspring Visor as type "VISOR" and all others
  "PALM4" (notably, the Sony Clie 41 changes from Visor-type to
  Palm4-type).

* For Palm4-type devices, use the GET_PALM_CONNECTION_INFORMATION
  query instead of the GET_CONNECTION_INFORMATION query, and interpret
  the returned data structure appropriately. This permits attaching a
  ucom device to newer devices such as the Tungsten T that do not
  support the Visor-style query (data structure definition gleaned
  from the Linux 2.4.21 visor.c).

* Crank down UVISORBUFSIZE from 1024 to 64 to avoid a problem where
  the Palm device and the USB host controller deadlock. The USB host
  controller is expecting an early-end-of-transmission packet with 0
  data, and the Palm doesn't send one because it's already
  communicated the amount of data it's going to send in a header
  (which ucom/uvisor are oblivious to). This is the problem that has
  been known on the pilot-link lists as the "[Free]BSD USB problem",
  but not understood.

  XXX It would be better for the Palm protocol to be handled entirely
  in userland via ugen, since the serial protocol abstraction isn't
  really adequate for the amount of structure that's here, and the
  64-byte limit is just a workaround. The pilot-link tools aren't up
  to the task yet, though.
2003-08-03 21:59:26 +00:00
simonb
e200992e30 Use Tungsten T instead of m550. 2003-04-11 01:30:10 +00:00
augustss
529cc7ff54 Add more PDAs (untested). 2003-02-07 18:12:37 +00:00
augustss
16bb013530 Add Palm Zire. From kern/20206, Michael van Elst. 2003-02-05 00:50:14 +00:00
augustss
8e1e1415f8 Add Palm m515. From FreeBSD. 2002-08-13 11:38:15 +00:00
augustss
86650920c9 Get rid of trailing white space. 2002-07-11 21:14:24 +00:00
augustss
0c3e1ecc44 Match Sony Clie 4.1. 2002-06-16 15:01:31 +00:00
augustss
f2afa010b1 Add some more stuff that might make Palm and Sony devices work.
(Gleaned from Linux.)
2002-02-27 23:00:03 +00:00
augustss
319f13f6ef Give usbd_do_request_flags() an extra argument for the timeout. 2002-02-11 15:11:49 +00:00
lukem
667807e40c add RCSIDs 2001-11-13 06:24:53 +00:00
augustss
4b0119383e Ad support for an extra message in the ucom attach code. 2001-01-23 21:56:17 +00:00
augustss
af1fabe1bc There are more ports than meet the eye on the Visor. Connect a ucom
to each of them.
2001-01-23 21:19:44 +00:00
augustss
cbda952879 Make sure driver attach/detach events are generated in a consistent manner. 2001-01-23 14:04:13 +00:00
augustss
5cf4edb506 Handle output packet headers in a cleaner way. From IWAMOTO Toshihiro
<iwamoto@sat.t.u-tokyo.ac.jp>, fixes kern/10573.
2000-09-03 19:15:45 +00:00
augustss
ed9486e158 Bring the coding style into the 80s, i.e., get rid of __P and use
ANSI prototypes and declarations.
2000-06-01 14:28:57 +00:00
augustss
30c20f930f Change my email address. 2000-04-27 15:26:44 +00:00
augustss
1767c08cba Add a capability for pre/post processing on write/read. 2000-04-14 14:21:55 +00:00
augustss
a302716de4 Let the parent device of a ucom decide what size the read and write
buffers should be since it knows about the speed.
Increase the buffer size of uvisor.
XXX The uvisor is still pitifully slow.  There must be a problem somewhere.
2000-04-06 13:32:28 +00:00
augustss
1b535c32fc Make this driver actually work.
(Noone did any testing for me, so I had to buy a Handspring Visor myself.)
2000-04-05 11:12:48 +00:00
hubertf
ca4c16d936 Note that the Handspring Visor is a Palmpilot compatible PDA. 2000-03-31 13:08:01 +00:00
augustss
e8f6613abe Add driver for the Handspring Visor.
This code probably doesn't work, because it has not been tested.
Despite several pleas for testing there doesn't seem to be any Visor owners
out there.  Perhaps it will get tested if it's in -current?

Anyway, the code can at least serve as a template for how to make a USB driver
that shows up as a tty.
2000-03-30 16:56:19 +00:00