Hi, all

I am trying to re-write the ACM CDC modem driver and stuck on a problem.
I have a custom ISDN USB modem that provides me with 3 channels (2B+D).
All channels are packed into single data stream and some framing is done to 
distinguish between channels.

I took ACm driver and heavily modified it. The idea was to register 3 minor numbers 
for same hardware and register 3 tty ports. 
I left control and read URB's as is and create write URB for each TTY.
Read and write data are pre-processed by a cutom code to deal with framing.

Can anyone see a design flaw in such approach? Is there a better idea? 

Driver installs and even works for mytty0 (first registered minor). If I try to use 
other minors, terminal program (I use microcom) causes segmentation fault opening the 
tty. I can not really see much, because my terminal scrolls too far showing kernel 
dump.

Thanks,

/*******************************************************/
Rudolf Ladyzhenskii
Senior Design Engineer
Open Networks Pty. Ltd.
Level 26, 35 Collins Street,
Melbourne VIC 3000
e-mail: [EMAIL PROTECTED]
phone: +61 3 9656 5107
fax:     +61 3 9656 5122
web: www.opennw.com
/*******************************************************/




-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg297
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to