This returns "true" ?
dev.is_kernel_driver_active()
Date: Fri, 8 Apr 2016 10:42:07 +1000
From: mrsh...@gmail.com
To: pyusb-users@lists.sourceforge.net
Subject: [pyusb-users] "Resource Busy" error message.
Hi All,
First time poster here from Brisbane Australia :)I have only just started with
usin
Hi again,
I found the problem. Ubuntu 10.04 has libusb 1-0.0 package version:
2:1.0.6-1.The self.lib object has this properties:
['_FuncPtr', '__class__', '__delattr__', '__dict__', '__doc__', '__format__',
'__getattr__', '__getattribute__', '__getitem__', '__hash__', '__init__',
'__module__', '
Hi,
I now that Ubuntu 10.04 (Lucid) has end their support, but I have to mantaina
program for it.The problem I don't know where is, but is a recent change.The
tag "1.0.0b2" works fine but the latest commit of master git not works.
This is the error:
>>> d = usb.core.find()Traceback (most recent c
Some time ago I have problems with one device.I was reading 5 bytes and the
device sends 6, and I was getting the "time out".
Try ever read 64 bytes (the max lenght of the endpoint).There are not problems
read more that the device sends; but if you try read 16 andthe device sends 17
it gives a t
Hi,
I'm was seeing some parts of the code and I found that in every "write"is
called the _interop.as_array function changing a list or similar toa byte
array. But if I pass a byte array, it change in a new! Seems that isnot
efficient (but maybe array.array knows that and returns the same).
Would
Hi,
Seems that your card is a "serial" device and not usb?
Try with pyserial: http://pyserial.sourceforge.net/
Regards!
Alan
From: sebastien.duv...@bbox.fr
To: pyusb-users@lists.sourceforge.net
Date: Sat, 25 May 2013 01:26:59 +0200
Subject: [pyusb-users] (no subject)
Bouygues Telecom
Hell
Hi,
I'm trying to improve the times in a code. In the 99% of the times, when
youdoes the "discover" process (to check if your device is connected) you make:
list = []for bus in usb.busses():for dev in bus.devices:if
dev.idVendor == SOME_VENDOR and dev.idProduct == SOME_PRODUCT:
).
This makes only difference for fast transfers and large data packages.
For me it makes a difference when transfer rate is >5MB/s.
Best Regards,
Tomek
On Sun, Apr 14, 2013 at 12:18 AM, Alan Jhonn Aguiar Schwyn
wrote:
> From: wander.lair...@gmail.com
> Date: Sat, 13 Apr 2013
> From: wander.lair...@gmail.com
> Date: Sat, 13 Apr 2013 11:50:08 -0300
> To: pyusb-users@lists.sourceforge.net
> Subject: Re: [pyusb-users] Read speed improvement.
>
> 2013/4/2 Tomasz Hemperek :
> >
> > Dear All,
> >
> > I am not sure if i should open a ticket so I am writing here.
> > Remark: I
> I get -bash: lsusb: command not found. But I think that's because I am on
> a Mac, right?
Yes, "lsusb" is a linux command.. --
Precog is a next-generation analytics platform capa
>usb.core.USB Error: [Errno 13] Access denied (insufficient permissions)
Classic problems of permissions. Check your UDEV rule.Do in a console:
lsusb
You see the device? And with:
sudo lsusb
Date: Wed, 10 Apr 2013 14:49:02 -0400
From: jra...@gmail.com
To: pyusb-users@lists.sourceforge.net
Subject
Hi,
The package python-usb of wheezy must be 0.4...I recommend download the 1.0
version of PyUSB:
http://sourceforge.net/projects/pyusb/files/PyUSB%201.0/1.0.0-alpha-3/
Unzip the file.Open a terminal go to the folder "pyusb-1.0.0a3"open python:
alan@alan-pc:~$ pythonPython 2.7.3 (default, Mar 8 2
> From: wander.lair...@gmail.com
> Date: Sat, 26 Jan 2013 16:56:13 -0200
> To: pyusb-users@lists.sourceforge.net
> Subject: Re: [pyusb-users] Issue 10 feedback
>
> 2013/1/26 Alan Jhonn Aguiar Schwyn :
> > I not like that change. If someone want to use both version
I not like that change. If someone want to use both versions, renameit and use..
I think that PyUSB 1.0 must be called "stable" (I use and not have problemsof
the library).
Another problem: only PyUSB 0.4 is packaged. Who is the packager?
> From: wander.lair...@gmail.com
> Date: Sat, 26 Jan 2013
> > Ever read 3 bytes? And check if there are 3 or only 2?
> >
>
> Every endpoint has a bMaxPacketSize field, which is the size of one
> packet. Try to read bMaxPacketSize bytes.
device.maxPacketSize is 8
Try to read more bytes no increaces the time of the read function?I'm trying to
get "good t
> From: wander.lair...@gmail.com
> Date: Mon, 14 Jan 2013 21:37:02 -0200
> To: pyusb-users@lists.sourceforge.net
> Subject: Re: [pyusb-users] Overflow in bulkRead
>
> 2013/1/14 Alan Jhonn Aguiar Schwyn :
> >
> > I found the problem: I try to read 2 bytes
> From: wander.lair...@gmail.com
> Date: Mon, 14 Jan 2013 19:59:59 -0200
> To: pyusb-users@lists.sourceforge.net
> Subject: Re: [pyusb-users] Overflow in bulkRead
>
> 2013/1/14 Alan Jhonn Aguiar Schwyn :
>
> [snip]
>
> >> >
> >>
> >>
> From: wander.lair...@gmail.com
> Date: Mon, 14 Jan 2013 19:12:37 -0200
> To: pyusb-users@lists.sourceforge.net
> Subject: Re: [pyusb-users] Overflow in bulkRead
>
> 2013/1/14 Alan Jhonn Aguiar Schwyn :
> > Hi,
> >
> > I'm searching and not found noth
Hi,
I'm searching and not found nothing about this problem.When I try to read 5
bytes of one device and it can't, returns an overflow that Ican't restore the
comunication. Any ideas?
The pyusb it's the latest in the master branch of GIT.
File "com_usb.py", line 56, in readreturn
self.handl
19 matches
Mail list logo