You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(5) |
Nov
(27) |
Dec
(9) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(2) |
Feb
(19) |
Mar
(13) |
Apr
(15) |
May
(11) |
Jun
(17) |
Jul
(31) |
Aug
(45) |
Sep
(10) |
Oct
(40) |
Nov
(39) |
Dec
(45) |
| 2005 |
Jan
(113) |
Feb
(45) |
Mar
(38) |
Apr
(53) |
May
(11) |
Jun
(42) |
Jul
(56) |
Aug
(50) |
Sep
(32) |
Oct
(32) |
Nov
(47) |
Dec
(22) |
| 2006 |
Jan
(19) |
Feb
(32) |
Mar
(40) |
Apr
(40) |
May
(41) |
Jun
(44) |
Jul
(37) |
Aug
(51) |
Sep
(30) |
Oct
(30) |
Nov
(51) |
Dec
(20) |
| 2007 |
Jan
(7) |
Feb
(20) |
Mar
(17) |
Apr
(67) |
May
(13) |
Jun
(73) |
Jul
(16) |
Aug
(58) |
Sep
(29) |
Oct
(5) |
Nov
(74) |
Dec
(9) |
| 2008 |
Jan
(17) |
Feb
(12) |
Mar
(65) |
Apr
(22) |
May
(40) |
Jun
(32) |
Jul
(11) |
Aug
(8) |
Sep
(3) |
Oct
(41) |
Nov
(34) |
Dec
(12) |
| 2009 |
Jan
(44) |
Feb
(33) |
Mar
(16) |
Apr
(109) |
May
(11) |
Jun
(22) |
Jul
(21) |
Aug
(37) |
Sep
(5) |
Oct
(23) |
Nov
(7) |
Dec
(7) |
| 2010 |
Jan
(36) |
Feb
(40) |
Mar
(35) |
Apr
(45) |
May
(42) |
Jun
(104) |
Jul
(135) |
Aug
(50) |
Sep
(65) |
Oct
(110) |
Nov
(129) |
Dec
(75) |
| 2011 |
Jan
(105) |
Feb
(48) |
Mar
(93) |
Apr
(166) |
May
(169) |
Jun
(188) |
Jul
(106) |
Aug
(33) |
Sep
(85) |
Oct
(46) |
Nov
(102) |
Dec
(105) |
| 2012 |
Jan
(81) |
Feb
(115) |
Mar
(56) |
Apr
(93) |
May
(56) |
Jun
(77) |
Jul
(88) |
Aug
(52) |
Sep
(72) |
Oct
(16) |
Nov
(70) |
Dec
(70) |
| 2013 |
Jan
(23) |
Feb
(85) |
Mar
(38) |
Apr
(48) |
May
(40) |
Jun
(49) |
Jul
(33) |
Aug
(28) |
Sep
(66) |
Oct
(28) |
Nov
(28) |
Dec
(16) |
| 2014 |
Jan
(33) |
Feb
(58) |
Mar
(17) |
Apr
(50) |
May
(16) |
Jun
(24) |
Jul
(19) |
Aug
(32) |
Sep
(10) |
Oct
(10) |
Nov
(4) |
Dec
(10) |
| 2015 |
Jan
(11) |
Feb
(2) |
Mar
(4) |
Apr
(14) |
May
(1) |
Jun
(6) |
Jul
(16) |
Aug
(29) |
Sep
(6) |
Oct
(26) |
Nov
(10) |
Dec
|
| 2016 |
Jan
|
Feb
(20) |
Mar
(6) |
Apr
|
May
(3) |
Jun
(3) |
Jul
|
Aug
(16) |
Sep
(6) |
Oct
|
Nov
(15) |
Dec
|
| 2017 |
Jan
(1) |
Feb
(2) |
Mar
(4) |
Apr
|
May
(1) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
(1) |
| 2018 |
Jan
|
Feb
(8) |
Mar
(10) |
Apr
(16) |
May
|
Jun
(15) |
Jul
|
Aug
(3) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
|
Mar
(1) |
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(3) |
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
(5) |
May
|
Jun
|
Jul
(7) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2021 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(5) |
Jul
(3) |
Aug
|
Sep
(6) |
Oct
(2) |
Nov
(4) |
Dec
|
| 2022 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
(1) |
May
|
Jun
(5) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2023 |
Jan
(5) |
Feb
(1) |
Mar
|
Apr
(3) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2024 |
Jan
|
Feb
(3) |
Mar
(1) |
Apr
(1) |
May
(11) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
(3) |
Dec
|
|
From: SinaVIP <da...@vi...> - 2006-11-14 12:50:11
|
Dear Sir
I wanna use LibUSB access USB camera and grab the video data. But
usb_set_configuration function alwayes said "CRC Error" ,Why?
Does LibUSB not support USB Camera device ?
Thanks
Danny
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.5/533 - Release Date: 2006-11-13
|
|
From: Thai Ha D. <duo...@gm...> - 2006-11-13 19:10:59
|
Hi i have downdload the libusb-win32-filter-bin-0.1.10.1.exe<http://prdownloads.sourceforge.net/libusb-win32/libusb-win32-filter-bin-0.1.10.1.exe?download>file and run that It going fine however when i restart my computer then i come back to me there is no driver for WAN, Audio, USB contorller. The driver for other thing work fine I try to reinstall the driver again but i doesn't work. Do you have this problem before ? If you do can you please tell me how to fix this! Thank you very much for your help. I do appreciate that Best regard Maverick |
|
From: Adam K. <akr...@ro...> - 2006-11-11 14:23:59
|
dekngoo wrote: > i want to connect report descriptor in HID descriptor. If you want to read the report descriptor, it can be done fairly easily. See src/drivers/usb/generic/hidutils.c in the apcupsd package for an example. --Adam |
|
From: dekngoo <ein...@gm...> - 2006-11-10 08:26:25
|
Hi all
i want to connect report descriptor in HID descriptor.
--
View this message in context: http://www.nabble.com/report-descriptpr-tf2606411.html#a7273052
Sent from the LibUSB Dev - Win32 mailing list archive at Nabble.com.
|
|
From: Stephan M. <ste...@we...> - 2006-11-09 19:35:05
|
Sorry, but tutorials do not exist. Just google for 'libusb-win32' and have a look at the source code of some projects that use the library. The API reference is available here: http://libusb.sourceforge.net/doc/ There's also a .NET/C# wrapper: http://icsharpcode.net/OpenSource/SharpUSBLib/default.aspx Stephan > Hi my name is Maverick. I am trying to make a control for the Microsoft Finger Print Reader. I am quite new in > software development. Can you please tell me where can find a tutorial about using libusb-win32 please. I am > planning using C# and Visual Studio 2005 for my development. > > > Thank you very much > > I do appreciate your help > > Best regard > > Maverick > > ----------------------------------------------------------------- > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > ----------------------------------------------------------------- > _______________________________________________ > Libusb-win32-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel > _____________________________________________________________________ Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! http://smartsurfer.web.de/?mc=100071&distributionid=000000000066 |
|
From: Thai Ha D. <duo...@gm...> - 2006-11-09 11:30:17
|
Hi my name is Maverick. I am trying to make a control for the Microsoft Finger Print Reader. I am quite new in software development. Can you please tell me where can find a tutorial about using libusb-win32 please. I am planning using C# and Visual Studio 2005 for my development. Thank you very much I do appreciate your help Best regard Maverick |
|
From: SinaVIP <da...@vi...> - 2006-11-07 13:59:42
|
Dear Sir, I wanna write a windows(win2k/winXP) program that grab video data from USB Camera when the camera is used by another program, like MSN. LibUSB maybe is a good solution. I use it to access USB Camera in USB Filter mode (not driver). It's all well to get the USB Bus/Device information, but when I call usb_set_configuration, it does not work, return said "CRC Error", Please tell me why? Does it support isochronous transfer ? How i can the data from USB Camera, any example ? Thanks Danny -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.13.29/520 - Release Date: 2006-11-6 |
|
From: dekngoo <ein...@gm...> - 2006-11-07 08:23:20
|
hi all
i want to know how i use libusb for control my device?
my device (led)
http://www.nabble.com/file/4006/u_board2.gif
http://www.nabble.com/file/4007/ex01.gif
i'm download libusb-win32-filter-bin-0.1.10.1.exe and installed on my
computer.
i can find my device but i don't control led, because i'm not sure process
for control
ex. function , parameter etc.
--
View this message in context: http://www.nabble.com/how-to-use-libusb-for-control-device-tf2587347.html#a7214304
Sent from the LibUSB Dev - Win32 mailing list archive at Nabble.com.
|
|
From: Stephan M. <ste...@we...> - 2006-11-06 19:10:45
|
I think this bug can be fixed by adding WaitForSingleObject() after _usb_cancel_io()
So, usb_cancel_async() would look like this:
int usb_cancel_async(void *context)
{
...
_usb_cancel_io(c);
WaitForSingleObject(c->ol.hEvent, 0);
return 0;
}
Or, WaitForSingleObject() could be added to _usb_cancel_io() directly:
static int _usb_cancel_io(usb_context_t *context)
{
int ret;
ret = _usb_abort_ep(context->dev, context->req.endpoint.endpoint);
WaitForSingleObject(context->ol.hEvent, 0);
return ret;
}
Please let me know if this helps,
Stephan
> We've seen some problems when stress testing doing plug/unplug. Mysterious memory corruption was occuring and it turned out ot be in the aynchronous context blocks.
>
>
>
> Part of the problem seems to be that the result of the _usb_cancel_io function isn't used, so usb_cancel_async can return apparently successfully before the io has completed. This can result in memory corruption because Windows writes to the overlapped structure even though the Event handle has been closed in usb_free_async.
>
>
>
> I'm not sure what the correct solution is, but it would help if usb_cancel_async returned the error from usb_cancel_io so that we didn't then try and free the transfer, but you'd then have to not call usb_free_async if an error occured (or try it again until it succeeded).
>
>
>
> At the moment we've implemented a horrible solution of adding a delay after the usb_cancel_io before trying to free it. By adding in checking code, we can see that the memory gets altered sometimes even after the call to usb_free_async, and the delay seems to sort it out.
>
>
>
>
> --
> Dan Ellis
> DisplayLink (UK) Limited (Formerly Newnham Research)
>
>
> -----------------------------------------------------------------
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> -----------------------------------------------------------------
> _______________________________________________
> Libusb-win32-devel mailing list
> Lib...@li...
> https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
>
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066
|
|
From: Dan E. <Dan...@di...> - 2006-11-06 16:24:32
|
We've seen some problems when stress testing doing plug/unplug. Mysterious memory corruption was occuring and it turned out ot be in the aynchronous context blocks. =20 Part of the problem seems to be that the result of the _usb_cancel_io function isn't used, so usb_cancel_async can return apparently successfully before the io has completed. This can result in memory corruption because Windows writes to the overlapped structure even though the Event handle has been closed in usb_free_async. =20 I'm not sure what the correct solution is, but it would help if usb_cancel_async returned the error from usb_cancel_io so that we didn't then try and free the transfer, but you'd then have to not call usb_free_async if an error occured (or try it again until it succeeded). =20 At the moment we've implemented a horrible solution of adding a delay after the usb_cancel_io before trying to free it. By adding in checking code, we can see that the memory gets altered sometimes even after the call to usb_free_async, and the delay seems to sort it out. =20 -- Dan Ellis DisplayLink (UK) Limited (Formerly Newnham Research) |
|
From: Stephan M. <ste...@we...> - 2006-11-05 12:24:32
|
This check has been added for the filter driver functionality. It should p=
revent
the filter driver from attaching itself to the child device nodes that Win=
dows
creates for each interface, it should only attach itself to the parent dev=
ice node.
If this check wouldn't be present a device with multiple interfaces would =
show=20
up multiple times in libusb's DLL.
I'll try to change this in future releases.
BTW, is anyone actually using libusb's filter driver functionality for any=
real
project=3F I have plans to remove this feature in the near future because it=
just
doesn't work properly and it won't probably work on Vista anyway.
Stephan
> There has been mention in the past of support for multiple interfaces in=
the releasee notes, and that it should work. However there is a line in l=
ibusb=5Fdriver.c which explicitly prevents multiple interfaces from working:=
>=20
> =20
>=20
> /* only attach the (filter) driver to USB devices, skip hubs */
> /* and interfaces of composite devices */
> if(!strstr(id, "usb\\") || strstr(id, "hub" || strstr(id, "&mi=5F"))
> {
> return STATUS=5FSUCCESS;
> }
>=20
> However, commenting out the test for &mi seems to work fine and I can us=
e libusb on multiple interfaces.
>=20
> =20
>=20
> Is there a reason why multiple interfaces have been disabled in this man=
ner, as I'd like my device to present a standard class interface (e.g. mou=
se) as well as my specialiased one=3F
>=20
> =20
>=20
> --=20
>=20
> Dan Ellis
>=20
> Newnham Research
>=20
> =20
>=20
> -----------------------------------------------------------------
> ------------------------------------------------------------------------=
-
> Using Tomcat but need to do more=3F Need to support web services, security=
=3F
> Get stuff done quickly with pre-integrated technology to make your job e=
asier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geroni=
mo
> http://sel.as-us.falkag.net/sel=3Fcmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642=
>=20
> -----------------------------------------------------------------
> =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
> Libusb-win32-devel mailing list
> Lib...@li...
> https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
>=20
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
Mit der Gruppen-SMS von WEB.DE FreeMail k=F6nnen Sie eine SMS an alle=20
Freunde gleichzeitig schicken: http://freemail.web.de/features/=3Fmc=3D021179
|
|
From: Dan E. <Dan...@ne...> - 2006-11-02 17:32:35
|
There has been mention in the past of support for multiple interfaces in
the releasee notes, and that it should work. However there is a line in
libusb_driver.c which explicitly prevents multiple interfaces from
working:
=20
/* only attach the (filter) driver to USB devices, skip hubs */
/* and interfaces of composite devices */
if(!strstr(id, "usb\\") || strstr(id, "hub" || strstr(id, "&mi_"))
{
return STATUS_SUCCESS;
}
However, commenting out the test for &mi seems to work fine and I can
use libusb on multiple interfaces.
=20
Is there a reason why multiple interfaces have been disabled in this
manner, as I'd like my device to present a standard class interface
(e.g. mouse) as well as my specialiased one?
=20
--=20
Dan Ellis
Newnham Research
=20
|
|
From: Ha T. D. <duo...@gm...> - 2006-10-26 23:55:20
|
Hi I am a new bee I apologize if the question is not appropriate I just download 3 files from the project and run libusb-win32-filter-bin-0.1.10.1.exe However, it come back to me a console screen and do nothing. I am using WinXP SP2 Did i do something wrong here? Do i have to do some more step before that? Second question, I am trying to do make a control program for Microsoft Fingerprint Reader using Visual Studio 2005 C#. What sort of step that i need to do if i want to embed the project with my program? What kind of reference that i need to add into my project? Thank you very much for your help. I do appreciate that. Best regard Maverick |
|
From: Mauricio H. <mhe...@te...> - 2006-10-26 01:58:40
|
Thanks Stephan I think that your suggestion is the right way. Stephan Meyer wrote: > Basically it should be possible to control these LPT-USB adapters > with libusb(-win32). All you need is a datasheet of the chip that's > used by the adapter and a specification of its high level protocol. > > The problem is that all of these devices use different kind of controll= er > chips which are most likely not compatible. Supporting all of them by=20 > your application will be hard if not impossible. > > If I where you I would design a custum USB-to-DIO converter. This > will save you (and your customers) a lot of pain. > > Have a look at the FTDI web site (http://ftdichip.com/), especially=20 > at their FT245 product. This might be what you need. > > Stephan > > > =20 >> Hi to all: >> >> My name is Mauricio and I new on the list, I write you from Chili. >> >> I have a very basic question so be patience with me please. >> >> I develop a domotic system for people with mobility problems=20 >> (wheelchair, etc) (you can see more about the system in=20 >> http://www.domosoft.cl in the "Galeria Multimedios" section). This=20 >> system use some circuit conected to the PC in the LPT port, so to=20 >> control the circuit my software use the "inpout32.dll" librarie, with=20 >> this librarie I can write and read directly to the memory position of=20 >> the LPT (data, status and control bytes)...and now this is my problem.= =20 >> Modern computer don't have LPT anymore and a quick way to conect my=20 >> circuit is with a USB to LPT adapter, but with this kind of adapter th= e=20 >> system have a "virtual lpt port", and I can't write directly in any=20 >> memory position (this is correct right??). So, I want to build some ki= nd=20 >> of "driver/library" to write in some kind of "usb memory" or access to= =20 >> the "virtual LPT port" usb adapter and write the numbers for the LPT. = If=20 >> this posible with libusb-win32??, and also my adapter is recognized on= =20 >> linux and work with my printer, so is this posible for the linux versi= on=20 >> of libusb?? >> >> Thanks and sorry for the long explanation... :-) >> >> >> >> Mauricio >> >> >> ----------------------------------------------------------------------= --- >> Using Tomcat but need to do more? Need to support web services, securi= ty? >> Get stuff done quickly with pre-integrated technology to make your job= easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Gero= nimo >> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&da= t=3D121642 >> _______________________________________________ >> Libusb-win32-devel mailing list >> Lib...@li... >> https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel >> =20 > > > _______________________________________________________________________ > Viren-Scan f=FCr Ihren PC! Jetzt f=FCr jeden. Sofort, online und kosten= los. > Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=3D022222 > > > -----------------------------------------------------------------------= -- > Using Tomcat but need to do more? Need to support web services, securit= y? > Get stuff done quickly with pre-integrated technology to make your job = easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geron= imo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > Libusb-win32-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel > > =20 |
|
From: Stephan M. <ste...@we...> - 2006-10-25 18:49:55
|
Basically it should be possible to control these LPT-USB adapters with libusb(-win32). All you need is a datasheet of the chip that's used by the adapter and a specification of its high level protocol. The problem is that all of these devices use different kind of controller chips which are most likely not compatible. Supporting all of them by=20 your application will be hard if not impossible. If I where you I would design a custum USB-to-DIO converter. This will save you (and your customers) a lot of pain. Have a look at the FTDI web site (http://ftdichip.com/), especially=20 at their FT245 product. This might be what you need. Stephan > Hi to all: >=20 > My name is Mauricio and I new on the list, I write you from Chili. >=20 > I have a very basic question so be patience with me please. >=20 > I develop a domotic system for people with mobility problems=20 > (wheelchair, etc) (you can see more about the system in=20 > http://www.domosoft.cl in the "Galeria Multimedios" section). This=20 > system use some circuit conected to the PC in the LPT port, so to=20 > control the circuit my software use the "inpout32.dll" librarie, with=20 > this librarie I can write and read directly to the memory position of=20 > the LPT (data, status and control bytes)...and now this is my problem.=20 > Modern computer don't have LPT anymore and a quick way to conect my=20 > circuit is with a USB to LPT adapter, but with this kind of adapter the=20 > system have a "virtual lpt port", and I can't write directly in any=20 > memory position (this is correct right=3F=3F). So, I want to build some kind= =20 > of "driver/library" to write in some kind of "usb memory" or access to=20 > the "virtual LPT port" usb adapter and write the numbers for the LPT. If= =20 > this posible with libusb-win32=3F=3F, and also my adapter is recognized on=20 > linux and work with my printer, so is this posible for the linux version= =20 > of libusb=3F=3F >=20 > Thanks and sorry for the long explanation... :-) >=20 >=20 >=20 > Mauricio >=20 >=20 > ------------------------------------------------------------------------= - > Using Tomcat but need to do more=3F Need to support web services, security= =3F > Get stuff done quickly with pre-integrated technology to make your job e= asier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geroni= mo > http://sel.as-us.falkag.net/sel=3Fcmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642= > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > Libusb-win32-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F Viren-Scan f=FCr Ihren PC! Jetzt f=FCr jeden. Sofort, online und kostenlos. Gleich testen! http://www.pc-sicherheit.web.de/freescan/=3Fmc=3D022222 |
|
From: Sheng Xu <xus...@ya...> - 2006-10-25 02:30:16
|
> 7. Re: control msg (Stephan Meyer)
Sorry,
in \LibUSB-Win32-0.1.10.1\src\src\windows.c
function usb_control_msg()
line 786
case USB_TYPE_VENDOR:
case USB_TYPE_CLASS:
verdor type and class type are taken as then same, and
are force to be vendor type with following functions.
if(!DeviceIoControl(dev->impl_info,
LIBUSB_IOCTL_VENDOR_READ,
&req,
sizeof(libusb_request),
bytes, size, &ret,
NULL))
if(!DeviceIoControl(dev->impl_info,
LIBUSB_IOCTL_VENDOR_WRITE,
tmp,
sizeof(libusb_request) + size,
NULL, 0, &ret, NULL))
So, how about make them different, and send what user
want?
Best Regards,
Xu Sheng
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|
|
From: Mauricio H. <mhe...@te...> - 2006-10-25 01:07:23
|
Hi to all: My name is Mauricio and I new on the list, I write you from Chili. I have a very basic question so be patience with me please. I develop a domotic system for people with mobility problems (wheelchair, etc) (you can see more about the system in http://www.domosoft.cl in the "Galeria Multimedios" section). This system use some circuit conected to the PC in the LPT port, so to control the circuit my software use the "inpout32.dll" librarie, with this librarie I can write and read directly to the memory position of the LPT (data, status and control bytes)...and now this is my problem. Modern computer don't have LPT anymore and a quick way to conect my circuit is with a USB to LPT adapter, but with this kind of adapter the system have a "virtual lpt port", and I can't write directly in any memory position (this is correct right??). So, I want to build some kind of "driver/library" to write in some kind of "usb memory" or access to the "virtual LPT port" usb adapter and write the numbers for the LPT. If this posible with libusb-win32??, and also my adapter is recognized on linux and work with my printer, so is this posible for the linux version of libusb?? Thanks and sorry for the long explanation... :-) Mauricio |
|
From: Stephan M. <ste...@we...> - 2006-10-24 16:52:52
|
You can send any control message to your device by using=20 usb=5Fcontrol=5Fmsg(), with two exceptions:=20 SET=5FCONFIGURATION and SET=5FINTERFACE requests MUST be=20 send with usb=5Fset=5Fconfiguration() and usb=5Fset=5Faltinterface(). Stephan > Hi,=20 >=20 > As I am doing a project of our lab, which require a PC > USB simulator that can send all types of control > message. But current libusb make all the control > messages as Vendor type, so could I request to add > features to make the control message be sent as user > want, especially the RequestType and Request. >=20 > Best Regards, >=20 > Xu Sheng >=20 > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > Do You Yahoo!=3F > Tired of spam=3F Yahoo! Mail has the best spam protection around=20 > http://mail.yahoo.com=20 >=20 > ------------------------------------------------------------------------= - > Using Tomcat but need to do more=3F Need to support web services, security= =3F > Get stuff done quickly with pre-integrated technology to make your job e= asier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geroni= mo > http://sel.as-us.falkag.net/sel=3Fcmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642= > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > Libusb-win32-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F Viren-Scan f=FCr Ihren PC! Jetzt f=FCr jeden. Sofort, online und kostenlos. Gleich testen! http://www.pc-sicherheit.web.de/freescan/=3Fmc=3D022222 |
|
From: Stephan M. <ste...@we...> - 2006-10-24 16:48:28
|
>=20 > Is this possible to achieve by using libusb-win32=3F I'm not that tough to= C/C++ that's why I'm a bit in doubt=20 > regarding if it's possible to use the libusb in a C++ application since = the only examples I've seen has been C=20 > applications. >=20 You can use libusb in a C++ application without any problems. There's also= a C++ wrapper available. See: http://svn.sourceforge.net/viewvc/libusb/trunk/libusb/ (files usbpp.*= ) >=20 > Also, I've been reading the documentation on the sites linked to at libu= sb-win32's home, but I would like to=20 > know if there's somewhere there exists some more, detailed examples of h= ow to use libusb-win32 in order to=20 > get inspired. Just google for it. You'll find lots of examples. Most of the code is writ= ten for Linux but it will work on Windows as well. >=20 > =20 >=20 > Thanks in advance >=20 > Christian Rasmussen, Denmark. >=20 > ----------------------------------------------------------------- > ------------------------------------------------------------------------= - > Using Tomcat but need to do more=3F Need to support web services, security= =3F > Get stuff done quickly with pre-integrated technology to make your job e= asier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geroni= mo > http://sel.as-us.falkag.net/sel=3Fcmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642= >=20 > ----------------------------------------------------------------- > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > Libusb-win32-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel >=20 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= Erweitern Sie FreeMail zu einem noch leistungsst=E4rkeren E-Mail-Postfach! =09 Mehr Infos unter http://freemail.web.de/home/landingpad/=3Fmc=3D021131 |
|
From: Paul A. <pau...@gm...> - 2006-10-24 13:42:13
|
Adam, That is one of the most helpful posts I've ever seen! Thank you. Paul Alfille On 10/24/06, Adam Kropelin <akr...@ro...> wrote: > > On Mon, Oct 23, 2006 at 06:43:03PM -0400, Paul Alfille wrote: > > I'm porting an application (OWFS http://www.owfs.org) that uses libusb > under > > Linux, FreeBSD and MacOSX successfully. > > > > With a bit of fiddling, it runs under cygwin with libusb-win32. Quite a > nice > > testament to your work! > > That does rock, doesn't it? I had the same experience with Apcupsd where > I wrote a libusb-based driver for Solaris and Darwin and decided "just > for the hack of it" to try it on Windows...and it very nearly just > worked. A couple minor patches to libusb-win32 and it worked 100%. > > > Now I'd like to package everything. I've gotten an opensource windows > > installer (NSIS from Nullsoft) and have put in links to cygwin and > > libusb-win32 to satisfy the GPL requirements. I'd like to make a binary > > installation option that guide people though setup rather than send them > to > > multiple places to install multiple packages. > > > > What do I need for the binary install? libusb0.dll? A .sys file? My .inf > > file? Are there any configuration routines I should start? > > We do this in the Apcupsd NSIS installer for Windows. Take a look at > winapcupsd.nsi > (< > http://apcupsd.cvs.sourceforge.net/apcupsd/apcupsd/src/win32/winapcupsd.nsi?revision=1.12&view=markup>) > for an example. Basically you install the > *.inf, *.dll, and *.sys files and then run an entrypoint in the DLL to > actually register the driver. > > --Adam > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Libusb-win32-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel > |
|
From: Adam K. <akr...@ro...> - 2006-10-24 11:57:10
|
On Mon, Oct 23, 2006 at 06:43:03PM -0400, Paul Alfille wrote: > I'm porting an application (OWFS http://www.owfs.org) that uses libusb under > Linux, FreeBSD and MacOSX successfully. > > With a bit of fiddling, it runs under cygwin with libusb-win32. Quite a nice > testament to your work! That does rock, doesn't it? I had the same experience with Apcupsd where I wrote a libusb-based driver for Solaris and Darwin and decided "just for the hack of it" to try it on Windows...and it very nearly just worked. A couple minor patches to libusb-win32 and it worked 100%. > Now I'd like to package everything. I've gotten an opensource windows > installer (NSIS from Nullsoft) and have put in links to cygwin and > libusb-win32 to satisfy the GPL requirements. I'd like to make a binary > installation option that guide people though setup rather than send them to > multiple places to install multiple packages. > > What do I need for the binary install? libusb0.dll? A .sys file? My .inf > file? Are there any configuration routines I should start? We do this in the Apcupsd NSIS installer for Windows. Take a look at winapcupsd.nsi (<http://apcupsd.cvs.sourceforge.net/apcupsd/apcupsd/src/win32/winapcupsd.nsi?revision=1.12&view=markup>) for an example. Basically you install the *.inf, *.dll, and *.sys files and then run an entrypoint in the DLL to actually register the driver. --Adam |
|
From: Sheng Xu <xus...@ya...> - 2006-10-24 01:05:19
|
Hi, As I am doing a project of our lab, which require a PC USB simulator that can send all types of control message. But current libusb make all the control messages as Vendor type, so could I request to add features to make the control message be sent as user want, especially the RequestType and Request. Best Regards, Xu Sheng __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
|
From: Paul A. <pau...@gm...> - 2006-10-23 22:43:07
|
I'm porting an application (OWFS http://www.owfs.org) that uses libusb under Linux, FreeBSD and MacOSX successfully. With a bit of fiddling, it runs under cygwin with libusb-win32. Quite a nice testament to your work! Now I'd like to package everything. I've gotten an opensource windows installer (NSIS from Nullsoft) and have put in links to cygwin and libusb-win32 to satisfy the GPL requirements. I'd like to make a binary installation option that guide people though setup rather than send them to multiple places to install multiple packages. What do I need for the binary install? libusb0.dll? A .sys file? My .inf file? Are there any configuration routines I should start? Thanks, Paul Alfille |
|
From: Christian R. <chr...@gm...> - 2006-10-23 21:44:25
|
Hi there. I would like to borrow a few minutes of your precious time, to ask a few questions regarding the development of a piece of software that is to communicate with a "homemade" usb device. I'm relatively new to this kind of programming so please bear with me - I'll appreciate it. As mentioned, the software is meant to communicate very basically with a piece of hardware - if the specific chipset type, id, etc. is needed I can provide it, but it's some Texas Instrument thingy. The hardware records various type of information when it runs, temperature, time and atmospheric pressure which the program is meant to pick up and throw into a text file. The communication between the program and hardware is supposed to be very basic, something similar to the program sending a command to the device telling it to start and stop - nothing more complicated than that. Is this possible to achieve by using libusb-win32? I'm not that tough to C/C++ that's why I'm a bit in doubt regarding if it's possible to use the libusb in a C++ application since the only examples I've seen has been C applications. Also, I've been reading the documentation on the sites linked to at libusb-win32's home, but I would like to know if there's somewhere there exists some more, detailed examples of how to use libusb-win32 in order to get inspired. Thanks in advance Christian Rasmussen, Denmark. |
|
From: Graeme G. <gr...@ar...> - 2006-10-19 08:13:16
|
Stephan Meyer wrote: >> URB Header (length: 80) >> SequenceNumber: 4 >> Function: 0019 (VENDOR_ENDPOINT) > > > This is the URB function used by Microsoft's USB stack. Just ignore it, you don't > need it. >>From ddk/usbdi.h: #define URB_FUNCTION_VENDOR_ENDPOINT 0x0019 > > The packet you see is a CLEAR_FEATURE request (see USB spec, chapter 9). Thanks, I tried that, but it didn't quite work that way. (Sorry, I didn't show that the above was followed by another control transfer that turns out to be related.) It appears that the way SnoopyPro reports things, this is the first part of two transaction that make up a single control message. The control message was actually 0xC2 with wLength of 8, (Hence "vendor" and "endpoint"), but the first thing reported is the above, with a bmRequestType value of 0x00 and wLength of 0, which is what confused me. Subsequently it reports a control transfer with bmRequestType 0xC2 and wLength 8. Doing a control message call with libusb results in the same reported sequence, so it seems I can go ahead an emulate the windows driver behaviour, which is what I was after :-) I guess it's just reporting the way that USB works, something that isn't that easy to figure out from the spec itself... cheers, Graeme Gill. |