Il giorno sab, 07/01/2012 alle 09.25 +1100, Frank Tkalcevic ha scritto:
> > in my setup i use a joystick, and i load that using hidconfig/hidcomp.
> > if i run hidconfig it can see the joystick, so i think permissions are
> right. but
> > when i run my machine i have this error:
> > ..2012/01/06
> > 16:56:49.243,2011,1,hiddevice.cpp:172,Error,hidcomp,HIDDevice,Error
> > reading HID report descriptor 0. len != nReportLen (-7!=150) and it
> stops.
> > anyone san suggest me what does it mean?
>
> When hidcomp starts, it asks the joystick for its current state. That fails
> and reports the error. This happens on all devices (I think this a bug in
> hidcomp).
>
> That shouldn't be causing hidcomp and emc to stop. If it is hidcomp, you'll
> also get a message like...
>
> lathe-pendant.hal:3: /usr/bin/hidcomp exited without becoming ready
> Shutting down and cleaning up EMC2...
>
> What other messages are you getting?
Thanks for answering, is it you writing hidcomp, is it right?
thanks for that, i like it. and normally i don't have problems at all..
the complete error part is this (commented):
> (gladevcp:1481): libglade-WARNING **: Expected <glade-interface>. Got
> <interface>.
>
> (gladevcp:1481): libglade-WARNING **: did not finish in PARSER_FINISH state
> **** GLADE VCP INFO: Not a libglade project, trying to load as a GTK
> builder project
> /home/joshua/emc2-dev/bin/gladevcp:202: RuntimeWarning: missing handler
> 'on_hal_spinbutton1_realize'
> builder.connect_signals(handlers)
That's not important, is just 'cause of my testings..
> Xlib.protocol.request.QueryExtension
> Waiting for component 'tgvcp' to become
> ready.Xlib.protocol.request.QueryExtension
> ..2012/01/06
> 23:48:26.890,1486,1,hiddevice.cpp:432,Warning,hidcomp,HIDDevice,Failed to
> claim interface '0': '-6'
> ..2012/01/06
> 23:48:27.029,1486,2,hiddevicethread.cpp:273,Error,hidcomp,HIDDeviceThread,Failed
> to submit transfer packet -1
> ...tgvcp.hal:141: Pin 'hidcomp.0.Slider.fvalue' does not exist
The pin is not created but i don't know if it's .hal fault or hidcomp's.
> .Issuing EMC_TASK_SET_STATE -- (+505,+16,+100001, +3,)
> 'halcmd -f tgvcp.hal' exited with 1
> NML_INTERP_LIST::append(nml_msg_ptr{size=12,type=EMC_TASK_PLAN_SYNCH}) :
> list_size=1, line_number=0
> emcTaskPlanClose() called at emc/task/emctask.cc:176
> emcTaskPlanSynch() returned 0
> Issuing EMC_TASK_ABORT -- (+503,+12,+100002,)
> NML_INTERP_LIST::append(nml_msg_ptr{size=12,type=EMC_TASK_PLAN_SYNCH}) :
> list_size=1, line_number=0
> .Issuing EMC_TASK_PLAN_SYNCH -- (+516,+12, +0,)
> emcTaskPlanSynch() returned 0
> .
> <commandline>:0: gladevcp exited without becoming ready
> Embeded tab command "halcmd loadusr -Wn tgvcp gladevcp -x 62914714 -c tgvcp
> -U debug=2 -u tgvcp.py -H tgvcp.hal tgvcp.ui" exited with error: 1
> Shutting down and cleaning up EMC2...
Note that the same setup works on my machine. Here it is under Virtualbox, and
i want to know why it doesn't run.
Tried the same setup, but without gladevcp and hidcomp and it runs.
if i try to run my setup with hidcomp, but without gladevcp i have two cases:
-it's ok if it's the first thing i do after turning on the machine.
-it doesn't run if i try first the normal setup(complete) giving error, then i
try hidcomp, without gladevcp but it doesn't work....
Thanks, Davide.
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users