pr2-debs / pr2-udev

1 stars 4 forks source link

PS3Joy isn't spawning into /etc/ros/sensors/ps3joy on indigo #1

Open TheDash opened 8 years ago

TheDash commented 8 years ago

/etc/ros/sensors/ps3joy should come up either when the joystick is turned on wirelessly (button pressed on controller but not plugged in via usb) and when it is plugged in via usb.

this ticket will be complete when these are checked:

TheDash commented 8 years ago

Notes on debugging udev: https://wiki.ubuntu.com/DebuggingUdev

TheDash commented 8 years ago

Can be debugged using "udevadm monitor -e"

TheDash commented 8 years ago

At the moment it is getting spawned at DEVPATH=/devices/pci0000:00/0000:00:1c.4/0000:09:00.0/usb3/3-1/3-1:1.0/0003:054C:0268.0001/input/input12/js1

TheDash commented 8 years ago

Looks like the name has changed to NAME="Sony PLAYSTATION(R)3 Controller". udev rules are looking for: Sony Playstation SixAxis/DS3

TheDash commented 8 years ago

At the moment spawning as device : /dev/input/js1

TheDash commented 8 years ago

Kernel is looking for js[0-9] in the udev rule, but name appeared wrong. changd it to ATTR{NAME} and no success.