Hi,
At Fri, 04 Jul 2003 22:17:50 +0900 (JST),
M. Warner Losh wrote:
> Hello akiyama-san. It is Warner. Long time since I've spoken with
> you. :-)
:-)
> In message: <[EMAIL PROTECTED]>
> Shunsuke Akiyama <[EMAIL PROTECTED]> writes:
> : + s = spltty();
> : +
> ...
> : -
> : - s
Hello akiyama-san. It is Warner. Long time since I've spoken with
you. :-)
In message: <[EMAIL PROTECTED]>
Shunsuke Akiyama <[EMAIL PROTECTED]> writes:
: + s = spltty();
: +
...
: -
: - s = spltty();
This is a no-op in current. Have you tested it in 4.x? I think it is
righ
At Wed, 02 Jul 2003 10:29:51 +0300,
Danny Braniss wrote:
>
> for the record:
> I can now confirm that select/poll/FIONREAD do work with the
> usb/ucom/uplcom!
>
> what seems to be broken is the call to 'tcflush(fd, TCIFLUSH)'
> this works fine with /dev/cuaa0 but not with /dev/ucom0
Humm..
for the record:
I can now confirm that select/poll/FIONREAD do work with the
usb/ucom/uplcom!
what seems to be broken is the call to 'tcflush(fd, TCIFLUSH)'
this works fine with /dev/cuaa0 but not with /dev/ucom0
thanks all,
danny
__
On Sat, Jun 28, 2003 at 12:37:10PM +0300, Danny Braniss wrote:
> [...]
> > have fun. the mindshare book is good. however, it took me a long
> > time to get a usb 'aha' moment and understand its twisty maze was
> > really a workable design obscured by standardese... I suspect it is a
> > problem
[...]
> have fun. the mindshare book is good. however, it took me a long
> time to get a usb 'aha' moment and understand its twisty maze was
> really a workable design obscured by standardese... I suspect it is a
> problem in the usb chipset driver for the com part. ttypoll just says
> 'you hav
> I thought that ucom does do that. It uses ttypoll as its polling
> function, and seems to insert data into the tty structure on an
> interrupt basis. That is hidden a little bit by the usb driver
> structure. In the middle of ucomopen we call ucomstartread which
> posts a read onto the bulk i
On Wed, Jun 25, 2003 at 02:58:28PM -0400, Louis A. Mamakos wrote:
> I think the problem is that the USB hardware doesn't try to read data
> from the peripheral until the user-mode code does a read(2) system
> call. I had this problem with the ugen device. I would guess that
> the ucom/umodem devi
In message: <[EMAIL PROTECTED]>
"Louis A. Mamakos" <[EMAIL PROTECTED]> writes:
: I think the problem is that the USB hardware doesn't try to read data
: from the peripheral until the user-mode code does a read(2) system
: call. I had this problem with the ugen device. I would guess th
> In message: <[EMAIL PROTECTED]>
> Danny Braniss <[EMAIL PROTECTED]> writes:
> :
> : > I'm able to use ppp with umodem/ucom. My brother uses ulpcom/ucom for
> : > his ppp needs. I'm pretty sure that select is involved. :-)
> : >
> : > >From what I can see in the code, I'd expect th
In message: <[EMAIL PROTECTED]>
Danny Braniss <[EMAIL PROTECTED]> writes:
:
: > I'm able to use ppp with umodem/ucom. My brother uses ulpcom/ucom for
: > his ppp needs. I'm pretty sure that select is involved. :-)
: >
: > >From what I can see in the code, I'd expect that it would wo
> I'm able to use ppp with umodem/ucom. My brother uses ulpcom/ucom for
> his ppp needs. I'm pretty sure that select is involved. :-)
>
> >From what I can see in the code, I'd expect that it would work because
> the ttypoll routine is specified for the poll routine. Why do you
> think it would
: while trying to port an application that works with tty to uplcom/ucom,
: (and it doesn't work :-), and looking at the kernel sources and
: trying to figure out USB, i think that select(2)/poll(2) will not work,
: correct?
I'm able to use ppp with umodem/ucom. My brother uses ulpcom/ucom
[...]
> > i turned debug on and i could not see any calls to ucomread,
> > the program calls select(...) - but select does not initiate anything,
> > it justs waits to be woken when something is received (in the case of reading),
> > now, unless im wrong - which well could be :-), the read in this
On Wed, Jun 25, 2003 at 03:27:30PM +0300, Danny Braniss wrote:
> > On Wed, Jun 25, 2003 at 01:13:56PM +0300, Danny Braniss wrote:
> > > hi,
> > > while trying to port an application that works with tty to uplcom/ucom,
> > > (and it doesn't work :-), and looking at the kernel sources and
> > > try
> On Wed, Jun 25, 2003 at 01:13:56PM +0300, Danny Braniss wrote:
> > hi,
> > while trying to port an application that works with tty to uplcom/ucom,
> > (and it doesn't work :-), and looking at the kernel sources and
> > trying to figure out USB, i think that select(2)/poll(2) will not work,
>
On Wed, Jun 25, 2003 at 01:13:56PM +0300, Danny Braniss wrote:
> hi,
> while trying to port an application that works with tty to uplcom/ucom,
> (and it doesn't work :-), and looking at the kernel sources and
> trying to figure out USB, i think that select(2)/poll(2) will not work,
> correct?
hi,
while trying to port an application that works with tty to uplcom/ucom,
(and it doesn't work :-), and looking at the kernel sources and
trying to figure out USB, i think that select(2)/poll(2) will not work,
correct?
danny
___
[EMAIL PROTE
18 matches
Mail list logo