libusb
- NoahPhense
- Addict
- Posts: 1999
- Joined: Thu Oct 16, 2003 8:30 pm
- Location: North Florida
..
Interesting, this will come in handy when I build my connector to the
brain of my car. Does it mention anything about 2.0?
If not, the serial port has been mastered.
- np
Raven, thanks for the suggestion but eventually I want my code to work on Linux and also at the lowest level possible (ultimate target is a micro-controller). For bg: I'm experimenting with a usb camera and have sniffed the protocol but now need to figure out specific commands, hence libusb (if I can call it from PB). Several precompiled libs are supplied, none of which are suitable as-is for converting to a PB lib. I also picked up a dll but my first attempt calling from PB bombs out on usb_get_simple_string().
You think there's a hidden agenda?Question is what is this intended for really?

If it has any DOS drivers try going through them in ASM, checking what the calls are for it. Linux to a degree would also be relatively easy to see what calls are being made.
Alternatively, place an ASM listener to monitor the USB port as your doing the camera's daily chores so to speak.
I'll see if i can't dig up some basic USB asm calls post up some functions.
OS Devver.net should be helpful here ^_^
Alternatively, place an ASM listener to monitor the USB port as your doing the camera's daily chores so to speak.
I'll see if i can't dig up some basic USB asm calls post up some functions.

sniffusb provides all the info (http://benoit.papillault.free.fr/usbsnoop/). No DOS drivers and I don't even think it has a full featured windows driver. It has an SQ905 inf file but shows up as "TCG 501" in devices. I'll try libusb/PB again tomorrow (eh, later today) but anything you can contribute is appreciated.
- tinman
- PureBasic Expert
- Posts: 1102
- Joined: Sat Apr 26, 2003 4:56 pm
- Location: Level 5 of Robot Hell
- Contact:
You can get away with that at your work? Nice one!Kale wrote:Yeah, funnily enough i was just showing it to everybody at work
Oh, sorry, my mistake >)Kale wrote: to show them how annoying it was too! :roll:
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
(WinXPhSP3 PB5.20b14)