Page 1 of 3

No controller (again)

Posted: 07 Oct 2008 20:20
by jonluk
Hi all,
I'm trying to use an e-sky 4channel controller with a connection via usb.
My system (Arch linux) sees the controller fine at /dev/input/js0
HELI-X reports no controller found - no other useful information.

The controller works fine as a joystick in tuxracer so I can see no reason why it won't work with HELI-X.

Is HELI-X looking for the joystick interface in any specific location - I can only assume that it's not seeing /dev/input/js0

TIA,
Jon

Re: No controller (again)

Posted: 07 Oct 2008 21:56
by jonluk
Having found a post which links to an Analyzer program here's the analyzer output:
Controller: ? PPM▒▒▒▒▒▒▒▒▒▒▒
Type: Stick
Digital component found:Trigger
Digital component found:Thumb
Digital component found:Thumb 2
Analog component found:x
Analog component found:y
Analog component found:z
Analog component found:rx
Analog component found:ry

Seems to me like a controller should be being recognised or is everything getting messed up with the Controller name bit.

TIA,
Jon

Re: No controller (again)

Posted: 07 Oct 2008 22:16
by Michael
Hello Jon,
do you get the message that the controller is not found at the start of HELI-X? Are there any files in the directory files/conttroller?

Greets,

Michael

Re: No controller (again)

Posted: 08 Oct 2008 14:19
by jonluk
Hi Michael,
No, I don't get any pop up messages when the program starts and nothing in files/controllers. All I see is the 'controllers' bit greyed out in the menu.

The relevant bit from log.txt is :

Loading: net.java.games.input.LinuxEnvironmentPlugin
No Joystick found

Is there any way to increase the verbosity of the logs ?

Re: No controller (again)

Posted: 08 Oct 2008 16:23
by Michael
Is there really no popup window? Also not behind the splash screen? Strange ...

It might be, that the strange name of the controller causes the problems. Is there any possibility to change this name?

Michael

Re: No controller (again)

Posted: 08 Oct 2008 18:55
by jonluk
Not seen any pop up window - if it's behind the splash screen then it's small enough that I can't see it.
I'll see if I can move the splash screen out of the way.

Not sure if I can change the weird name - it should be possible I'll have a read up on it.

I've got a 6 channel receiver coming next week for another heli so I'll try that one as well.

Re: No controller (again)

Posted: 08 Oct 2008 18:59
by Michael
Hi,

when there is a pupup window behind the splashscreen, you can see this in the title bar. There you calnclick with the right mouse button and say "move".

Michael

Re: No controller (again)

Posted: 08 Oct 2008 20:18
by jonluk
There is indeed a pop up window behind the splash screen, I hadn't even noticed I was automatically hitting the space bar and ok'ing the error - as I have the task bar hidden most of the time I never noticed.
The popup window just says no controller found.

Re: No controller (again)

Posted: 08 Oct 2008 20:49
by Michael
Ok, this is good news. A normal behavior. Typically this is because the user has not enough rights.

Please try this before the start of HELI-X (as root):

chmod o+rw /dev/input/e*
chmod o+rw /dev/input/j*

Michael

Re: No controller (again)

Posted: 08 Oct 2008 20:59
by jonluk
Nope, no change.
FYI, my controller is seen on /dev/input/js0 & the event is /dev/input/event9

I'm having a look through the joydev driver to see how it picks up the name.

ADDED:
It's the USB driver that picks the product name. There used to be a device_id file back in the days of 2.4 kernel - I haven't dug that far into usb for ages (since 2.6 came out). Looks like it's time to refresh my memory.