Google
  Web www.spinics.net

usbfs_snoop and output location, klogd question

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


I'm a newbie for USB, so please be gentle :)

I'm trying to examine the traffic between a usb device and the windows driver for the usb device using VMware and usbfs.

I've got usbcore.usbfs_snoop=1 working properly and running klogd -f <output> (so I dont muddy up my syslog) and I am seeing the traffic for the usb devices I am examining.

Now for the newbie questions.

1)  Is using klogd -f the best way for me to get a stream of data for the usb device?   The output is still in text format and if this is the correct way to get to the data, I'm considering writing a parser to convert all of the data: <hex> <hex> information into a binary stream that I can then examine.

2)  I've noticed in the klogd -f output, it appears that klogd puts in <6> for the majority of the usb traffic that I need, but sometimes I will see a small amount of data with <4>.   Is there a case where usb communication would be logged at the <6> and <4> level for the usb device?  Not sure why I would be seeing different levels of klog traffic.

Thanks in advance,

-- 
offset - ubersecurity org
--
Got Tor?  Support anonymous Internet communication.  http://tor.eff.org/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Linux-usb-users@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

[Linux USB]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [PDAs]     [Free Online Dating]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [16.7MP]

Powered by Linux