Re: USB Mass Storage + Ethernet Composite Gadget problems

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Xiaofan Chen <xiaofanc@...>
Cc: <linux-usb@...>, Marek Szyprowski <m.szyprowski@...>, Kyungmin Park <kyungmin.park@...>
Date: Friday, July 3, 2009 - 5:16 am

> 2009/7/3 Michał Nazarewicz <m.nazarewicz@samsung.com>:

On Fri, 03 Jul 2009 10:45:55 +0200, Xiaofan Chen <xiaofanc@gmail.com>  
wrote:

Actually, I have a RNDIS driver installed.  If I compile the device with  
Ethernet Gadget for instance, I can communicate with Windows via the RNDIS  
protocol.  Also, If I compile the mass storage I can treat the device as  
mass storage.  Problem is, I cannot seem to make Windows handle a  
composite with RNDIS and mass storage.

My guess is, neither mass storage nor RNDIS driver matches the device (as  
it has both the functions not one of it) and so Windows tries to look for  
the driver matching the vendor+product ID pair.  Linux however, identifies  
individual functions and assigns driver to them rather the whole device as  
such.  I'm not experienced with Windows so I'm not sure if that's the case  
but it seem to make sens...


Thanks for the link.  I'll look into them further.  Currently, I don't  
care about anything other then XP, so 98/ME/NT is not an issue (first I  
want to make it work under XP then I'll worry with other versions).   
Anyways, I'm somehow worried, that even if I understand the INF files I'll  
still have problems creating a custom one with both the functionalities  
(mass storage + RNDIS).

-- 
Best regards,                                            _     _
  .o. | Liege of Serenly Enlightened Majesty of         o' \,=./ `o
  ..o | Computer Science,  Michał "mina86" Nazarewicz      (o o)
  ooo +-<m.nazarewicz@samsung.com>-<mina86@jabber.org>-ooO--(_)--Ooo--

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
USB Mass Storage + Ethernet Composite Gadget problems, Michał Nazarewicz, (Fri Jul 3, 3:54 am)
Re: USB Mass Storage + Ethernet Composite Gadget problems, Michał Nazarewicz, (Fri Jul 3, 5:16 am)
Re: USB Mass Storage + Ethernet Composite Gadget problems, Michał Nazarewicz, (Fri Jul 3, 5:54 am)
Re: USB Mass Storage + Ethernet Composite Gadget problems, Michał Nazarewicz, (Fri Jul 3, 8:04 am)
RE: USB Mass Storage + Ethernet Composite Gadget problems, Marek Szyprowski, (Fri Jul 3, 9:26 am)
RE: USB Mass Storage + Ethernet Composite Gadget problems, Marek Szyprowski, (Fri Jul 3, 10:33 am)
Re: USB Mass Storage + Ethernet Composite Gadget problems, Michał Nazarewicz, (Mon Jul 6, 6:47 am)
Re: USB Mass Storage + Ethernet Composite Gadget problems, Michał Nazarewicz, (Fri Jul 3, 4:48 am)