kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* How to log USB modem data for a specific device?
@ 2019-11-11 16:11 Jeffrey Walton
  2019-11-11 16:31 ` Greg KH
  0 siblings, 1 reply; 8+ messages in thread
From: Jeffrey Walton @ 2019-11-11 16:11 UTC (permalink / raw)
  To: kernelnewbies

Hi Everyone,

I'm having trouble with a C application that opens a USB modem. The
application is not receiving some data from a USR modem. Conexant
modems are OK.

I'm working through
https://www.kernel.org/doc/Documentation/usb/usbmon.txt . I found the
modem at Bus=01 Dev=24:

T:  Bus=01 Lev=03 Prnt=07 Port=00 Cnt=01 Dev#= 24 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=02(comm.) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0baf ProdID=0303 Rev= 2.00
S:  Manufacturer=U.S.Robotics
S:  Product=USB Modem

This is where my confusion lies. It is not clear to me how to
determine which socket to use for step #3 in usbmon.txt. Step #3 says:

   # cat /sys/kernel/debug/usb/usbmon/3u > /tmp/1.mon.out

How do I determine which socket to use for Bus=01 Dev=24?

Thanks in advance.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-11-12 18:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-11 16:11 How to log USB modem data for a specific device? Jeffrey Walton
2019-11-11 16:31 ` Greg KH
2019-11-11 16:40   ` Jeffrey Walton
2019-11-11 17:24     ` Greg KH
2019-11-11 22:57       ` Jeffrey Walton
2019-11-12  5:37         ` Greg KH
2019-11-12  6:20           ` Jeffrey Walton
2019-11-12 18:15             ` Jeffrey Walton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).