Re: How USB LAN works ??

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

 



On Tue, Jan 03, 2012 at 06:33:37PM +0530, Prabhu Chawandi wrote:
> Hi Michal,
> 
>     Thanks for the reply.
> 
>  Say I have one embedded device to which I have to enable a feature. Like
> The device I am talking, If  connected to a docking station creating a
> LAN between two devices. One application is there If I dial a number
> it will go through the dock station.
You mean your application at embedded device, and you want send
message to a dock through ethernet?
If it is, you need one usb device and one usb host at two sides, both usb
drivers need to support CDC (Communication Device Class), once the link
is connected between the host and device, you can use your net application
> 
> How to realize this ?? what drivers do I need to look for , what
> modification do I need to make ?
Current kernel support usb CDC at both device and host side, you do not
need to change anything, just build them in or as modules.

> 
> Please share if you have any idea.
> 
> thanks,
> prabhu
> 
> 
> 2012/1/3 Michal Nazarewicz <mina86@xxxxxxxxxx>:
> > On Tue, 03 Jan 2012 13:35:59 +0100, Prabhu Chawandi
> > <prabhu.chavandi@xxxxxxxxx> wrote:
> >>
> >>   May be this is the basic Question, But please help me clear my
> >> doubt. How USB LAN works ?
> >
> >
> > This is not very clear question, especially since there is no such thing as
> > "USB LAN".
> >
> > What you're most likely referring to is Ethernet over USB as implemented by
> > by g_ether (there are actually a few flavours of that).  All it does is
> > provide a way to send Ethernet packets between USB host and USB device.
> >
> > Once you have that, you can assign both sides an IP address and use the
> > USB connection the samy way you'd use Ethernet connection between two
> > network interfaces.
> >
> > --
> > Best regards,                                         _     _
> > .o. | Liege of Serenely Enlightened Majesty of      o' \,=./ `o
> > ..o | Computer Science,  Michał "mina86" Nazarewicz    (o o)
> > ooo +----<email/xmpp: mpn@xxxxxxxxxx>--------------ooO--(_)--Ooo--
> --
> 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
> 

-- 

Best Regards,
Peter Chen

--
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