RE: Testing phonet

2013-05-07 Thread Andrzej Pietrasiewicz
On Wednesday, May 01, 2013 1:53 PM Daniele Forsi wrote: 2013/4/30 Andrzej Pietrasiewicz: As I already wrote I am now stuck with sending correct data, so that when I sendto() from host I can recvfrom() on device (or vice versa). payload data doesn't matter so you don't need my dumps,

Re: Testing phonet

2013-05-01 Thread Daniele Forsi
2013/4/30 Andrzej Pietrasiewicz: As I already wrote I am now stuck with sending correct data, so that when I sendto() from host I can recvfrom() on device (or vice versa). payload data doesn't matter so you don't need my dumps, maybe you are using the same address on both sides of the link or

Re: Testing phonet

2013-04-30 Thread Daniele Forsi
Hello Andrzej, I removed people from CC On Monday, April 29, 2013 6:30 PM Daniele Forsi wrote: I can provide the OP with frames captured from a real phone when talking with gnokii You mean some kind of dump? What can it be useful for? Comparing the messages sequence to that of

RE: Testing phonet

2013-04-30 Thread Andrzej Pietrasiewicz
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

RE: Testing phonet

2013-04-30 Thread Andrzej Pietrasiewicz
On Tuesday, April 30, 2013 11:30 AM Daniele Forsi wrote: Hello Andrzej, I removed people from CC On Monday, April 29, 2013 6:30 PM Daniele Forsi wrote: I can provide the OP with frames captured from a real phone when talking with gnokii You mean some kind of dump? What can it be

Testing phonet

2013-04-29 Thread Andrzej Pietrasiewicz
Hello, I have a question @all in general and @Felipe and Rémi Denis-Courmont in particular Can you please give me a hint on how to test the phonet function, preferably without Nokia hardware? Andrzej -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a

Re: Testing phonet

2013-04-29 Thread Felipe Balbi
Hi, On Mon, Apr 29, 2013 at 01:38:08PM +0200, Andrzej Pietrasiewicz wrote: I have a question @all in general and @Felipe and Rémi Denis-Courmont in particular Can you please give me a hint on how to test the phonet function, preferably without Nokia hardware? I'll leave that to Rémi

Re: Testing phonet

2013-04-29 Thread Sebastian Andrzej Siewior
On 04/29/2013 01:38 PM, Andrzej Pietrasiewicz wrote: Hello, Hi, I have a question @all in general and @Felipe and Rémi Denis-Courmont in particular Can you please give me a hint on how to test the phonet function, preferably without Nokia hardware? In

Re: Testing phonet

2013-04-29 Thread Rémi Denis-Courmont
Hello, On Mon, 29 Apr 2013 13:38:08 +0200, Andrzej Pietrasiewicz andrze...@samsung.com wrote: Can you please give me a hint on how to test the phonet function, preferably without Nokia hardware? You should be able to test EP0 and EP OUT by connecting to a Linux USB host. Host-side

Re: Testing phonet

2013-04-29 Thread Rémi Denis-Courmont
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

Re: Testing phonet

2013-04-29 Thread Daniele Forsi
2013/4/29 Rémi Denis-Courmont: Host-side at least oFono used to support Phonet (not tried in a year); maybe ModemManager or Gnokii would work too (not tried ever). yes, gnokii supports Phonet with and without kernel the modules phonet and cdc_phonet; the kernel modules only support USB, but

RE: Testing phonet

2013-04-29 Thread Andrzej Pietrasiewicz
On Monday, April 29, 2013 6:30 PM Daniele Forsi wrote: 2013/4/29 Rémi Denis-Courmont: Host-side at least oFono used to support Phonet (not tried in a year); maybe ModemManager or Gnokii would work too (not tried ever). yes, gnokii supports Phonet with and without kernel the modules