Begoña Fuentes writes:
>
>
> Hi,
>
> I have successfully utilized pyusb to interconnect my pc with an USB device.
Now I am trying to use the same code to connect other device which has exactly
the the same USB communications specifications (it just the same but an advanced
model), but I alwa
Yes, I already tried that: I used the device in Windows and I sniffed all
USB packets that were sent. And everything was the same as I am trying with
my python code, and also the same that is written in the communication
specifications that the manufacturer gave me.
I have contacted the manufactur
I haven't seem anything wrong. What you can do is add an software
sniffer analyzer and compare the results using the two devices. Some
people in this list have done it already, please check mailing list
archives...
2010/11/3 Begoña Fuentes :
> Of course. I did that and as you can see there is an e
Of course. I did that and as you can see there is an error reading the
device status. Do you think that is important? Here it is the output of
lsusb -vv:
Bus 005 Device 008: ID 0590:0028 Omron Corp. HJ-720IT Pedometer
Device Descriptor:
bLength18
bDescriptorType 1
bcd
It feels ok, would mind sending the output of lsusb -vv? (but please,
cut off stuff not related to your device).
2010/11/2 Begoña Fuentes :
> Of course, sorry I didn't do that before. Here it is
> import usb.core
> import usb.util
> import usb
> # find our device
> dev = usb.core.find(idVendor=0x0
Of course, sorry I didn't do that before. Here it is
import usb.core
import usb.util
import usb
# find our device
dev = usb.core.find(idVendor=0x0590, idProduct=0x0028)
dev.baudrate=4800
#detach kernel (this was necessary sometimes with the other device)
try:
dev.detach_kernel_driver(0)
exc
> Do you think that it could be related with the fact that the cables from
> both devices are different?
I don't think so. Could you please post the source code in the list?
--
Best Regards,
Wander Lairson Costa
--
Noki
Yes, I thought about that already. But the specifications are exactly the
same. I mean, same endpoint address, same interfaces, etc.
Do you think that it could be related with the fact that the cables from
both devices are different? I mean, the two connectors from both devices are
not the same. I
Hi Begoña,
This may indicate something in device spec that, by mere coincidence,
does not affect one device but affect others.
Check if endpoint numbers are the same (maybe you have two out
endpoints), device configuration and so on...
2010/11/2 Begoña Fuentes :
> Hi,
> I have successfully utiliz