Findarato / pyalienfx

Automatically exported from code.google.com/p/pyalienfx
GNU General Public License v3.0
0 stars 0 forks source link

M14xR2 recognised as M14R1 #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run pyAlienFX in terminal on a M14xR2.

What is the expected output?
Initializing Driver  ...
Comnputer M14XR1 found ! Loading the parameters ...
Initializing Controller ...
....

What do you see instead?
Initializing Driver  ...
Comnputer M14XR2 found ! Loading the parameters ...
Initializing Controller ...
....

What version of the product are you using? On what operating system?
pyalienfx v1.0.2-1 on Archlinux from AUR repositories.

Please provide any additional information below (Python Error Message if
possible).

Full output when trying to change colors:
Initializing Driver  ...
Comnputer M14XR1 found ! Loading the parameters ...
Initializing Controller ...
the Deamon is disconnected ... 
Trying to load the driver manually
Loading : ./Profiles/Default.cfg
SPEED =  65280
Initializing Interface ...
/opt/pyAlienFX/pyAlienFX.py:123: GtkWarning: Can't pass in construct-only 
parameters to cancel_button
  self.gtk_AlienFX_Main.add_from_file('./glade/AlienFXMain.glade')
/opt/pyAlienFX/pyAlienFX.py:123: GtkWarning: Can't pass in construct-only 
parameters to ok_button
  self.gtk_AlienFX_Main.add_from_file('./glade/AlienFXMain.glade')
Sending : Get Status
Packet :  02 06 00 00 00 00 00 00 00
array('B', [16, 0, 0, 0, 0, 0, 0, 0])
Sending : Reset All Lights On
Packet :  02 07 04 00 00 00 00 00 00
Traceback (most recent call last):
  File "/opt/pyAlienFX/pyAlienFX.py", line 937, in on_Apply_pressed
    self.Set_Conf()
  File "/opt/pyAlienFX/pyAlienFX.py", line 710, in Set_Conf
    self.controller.Write_Conf()
  File "/opt/pyAlienFX/AlienFX/AlienFXEngine.py", line 161, in Write_Conf
    self.WaitForOk()
  File "/opt/pyAlienFX/AlienFX/AlienFXEngine.py", line 269, in WaitForOk
    while not self.Get_State():
  File "/opt/pyAlienFX/AlienFX/AlienFXEngine.py", line 277, in Get_State
    self.driver.Take_over()
  File "/opt/pyAlienFX/AlienFX/AlienFXEngine.py", line 109, in Take_over
    self.dev.detach_kernel_driver(0)
  File "/opt/pyAlienFX/usb/core.py", line 695, in detach_kernel_driver
    self._ctx.backend.detach_kernel_driver(self._ctx.handle, interface)
  File "/opt/pyAlienFX/usb/_debug.py", line 52, in do_trace
    return f(*args, **named_args)
  File "/opt/pyAlienFX/usb/backend/libusb10.py", line 565, in detach_kernel_driver
    _check(_lib.libusb_detach_kernel_driver(dev_handle, intf))
  File "/opt/pyAlienFX/usb/backend/libusb10.py", line 357, in _check
    raise USBError(_str_error[retval.value])
usb.core.USBError: Entity not found

If you need anything more just ask for it. I have medium knoweldge on debugging.

Original issue reported on code.google.com by antoniov...@gmail.com on 16 Feb 2013 at 9:58

GoogleCodeExporter commented 9 years ago
Hi Are you on Arch Linux ? 

Original comment by ledjfou125 on 17 Feb 2013 at 1:34

GoogleCodeExporter commented 9 years ago
As I said in the version section, yes.

Original comment by antoniov...@gmail.com on 17 Feb 2013 at 1:42

GoogleCodeExporter commented 9 years ago
Sorry I didn't saw that ;)

Then I refer you to issue 8

http://code.google.com/p/pyalienfx/issues/detail?id=8&can=1

Original comment by ledjfou125 on 17 Feb 2013 at 5:41

GoogleCodeExporter commented 9 years ago
Sorry for reporting duplicated.

Thanks for your time.

Original comment by antoniov...@gmail.com on 17 Feb 2013 at 6:06