Hi,
I tried usb communication in Ubuntu but am getting an error and the
shell is restarting.i am posting the code.
>>> import usb.core
>>> import usb.util
>>> dev = usb.core.find(idVendor=0x04d8)
>>> dev.bLength
18
>>> dev.set_configuration
<bound method Device.set_configuration of <usb.core.Device object at
0xb634486c>>
>>> dev.write(129 , 'w')
>>> ================================ RESTART
================================
--
BY:
S.R.V.Vishwanath,
Student,
B.Tech(Electrical),
IITM.
09444357552.
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users