Hello,

I try to create a usb-serial driver for my device.
So far I can send and receive data (cat, minicom)
set the speed, get the control lines (DCD etc) and
set them. I have a terminal attached to the serial
port and run getty on it.

I get a login prompt and can log in. I get the /etc/
motd printed on the terminal, but then it stops. I
don't get a prompt from bash. Bash is running though
(I see it with ps). When I type something on the terminal
I see the debug output of my read_bulk_callback, but
the urb->context->tty is suddenly NULL. Any ideas
what could be wrong here?

I looked at the other usb serial drivers, they check
if tty is NULL, but I don't see a reason or a way to
recover from it.

Another thing: The device has three interfaces. I
managed to have only one get ttyUSB? assigned by
returning -ENODEV in the attach function if the
interface number is not 0. Can I have other (usb-char)
drivers manage the other interfaces? Or must all the
handling be in one driver?

Thanks and regards
  Alexander


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to