On Monday, April 29, 2013 3:48 PM Rémi Denis-Courmont wrote: > Le lundi 29 avril 2013 15:06:17, Sebastian Andrzej Siewior a écrit : > > In Documentation/networking/phonet.txt are few snippets how to open > > SOCK_DGRAM and PN_PROTO_PIPE. With this and read()/write() should work. > > Using datagram socket is possible to test IN and OUT. But you would first > need to configure the network interface - on both the host and the gadget. > For that you could use the old Phonet utilities: > http://gitorious.org/meego-cellular/phonet-utils/trees/master > Thanks! This was very helpful. The tools compile and seem to work both on the host and on the device. But I am now stuck with sending the right data over the link. On a USB analyzer I can see one OUT transaction if I sendto() from host to device, or one IN transaction if I sendto() from device to host. The data packet in the transaction does contain some data I can recognize, so I assume that the USB connectivity itself works. But I don't know what to send in order for recvfrom() to receive something. Andrzej -- 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