Re: Reusing CDC-ACM code on usbserial module?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 02, 2009 at 09:40:56PM -0200, Manuel Naranjo wrote:
> Hello guys,
>
> I'm the one who wrote drivers/usb/serial/aircable.c that was a long time
> ago all ready. A customer of us is trying to take control over some of
> the control lines of the usb serial converter, which I didn't
> implemented because it didn't make sense then.
>
> Thing is that this device has a cdc-acm interface (first interface)
> which allows to use cdc-acm commands to set this lines, I'm lazy and I
> don't want to rewrite code so here's my question. Is there any way my
> module can use any of the all ready written functions on cdc-acm as I
> all ready do with usbserial?

Sure, you could change the cdc-acm code to export those functions, and
then call them from your module.

Should be a pretty easy enough patch.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux