Greg KH wrote:
> On Thu, Feb 01, 2007 at 10:48:02PM -0800, Phil Dibowitz wrote:
>> What's odd is when I plug it in, it declares itself a HID device:
>>
>>       bInterfaceClass         3 Human Interface Devices
>>       bInterfaceSubClass      0 No Subclass
>>       bInterfaceProtocol      0 None
> 
> The reason this is, is because it used to be the only way you could
> write a userspace USB "driver" on Windows.  I know lots of manufacturers
> made devices that "lie" that they are a HID device, and then use the
> userspace HID interface to control the device.  Just look at the large
> HID blacklist in the hid core for examples of these devices.
> 
> Oh, and it's "easier" to write userspace drivers for USB on Windows now,
> but the interface is looney and complex, and you still have to "sign"
> the driver in order to have it load properly.
> 
> I don't know why they didn't just "borrow" our libusb interface, it
> would have made the userspace code so much easier, but oh well...

I hadn't expected you to have so much Windows driver-coding experience. Wow.

Anyway - in doing some research it looks like USBSnoppy and SnoopyPro are
the standard USB Sniffers for trying to reverse-engineer a USB device from
windows... but I don't see a Mac OS X equivalent. I have the remote working
fine in OS X, but I don't have, nor do I plan to ever have, a winblows box
lying around.

Are there no free Mac USB sniffers? Is there any other way of doing this
other than finding a windows box?

-- 
Phil Dibowitz                             [EMAIL PROTECTED]
Open Source software and tech docs        Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"Never write it in C if you can do it in 'awk';
 Never do it in 'awk' if 'sed' can handle it; Never use 'sed' when 'tr'
 can do the job; Never invoke 'tr' when 'cat' is sufficient; Avoid
 using 'cat' whenever possible" -- Taylor's Laws of Programming


Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
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-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to