Re: Thoughts on a new driver

Phil Dibowitz <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
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

-------------------------------------------------------------------------
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

_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
signature.asc (application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF16jNN5XoxaHnMrsRAv6nAJ4wsjlUUTj9lmRqLFj5H6h3sc7BrgCdEw1D
3UbTgOdZjFTsuBQ/xKv9C6U=
=yN+8
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.