[Bug 1332444] Re: CH Pedals are not working in 14.04

2014-09-08 Thread Martin Pitt
The systemd side of this is fixed in utopic, closing. The kernel (and main) side keeps open. ** Changed in: systemd (Ubuntu) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1332444] Re: CH Pedals are not working in 14.04

2014-09-06 Thread michael
This morning my CH Pedals were dead (like so often) and: sudo lsusb -v didn't help but I remembered to use: echo '3-3' |sudo tee /sys/bus/usb/drivers/usb/unbind to unbind for Metro Last Light. Need that as MLL keeps spinning and thinks my joystick to be some sort of controller. So I did: echo

[Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-10 Thread michael
Even after fixing permissions most of the time the ch pedals don't work at all!- evtest hangs and needs to be killed. ** Changed in: linux (Ubuntu) Status: Incomplete = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

Re: [Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-07 Thread michael
Martin, bad news. Even after manually setfacl the pedals are dead today. I've interrupted after ~2 minutes. michael@michael-ubuntu:/dev/input$ pwd /dev/input michael@michael-ubuntu:/dev/input$ ls -la total 0 drwxr-xr-x   4 root root    540 Aug  7 10:53 . drwxr-xr-x  16 root root   4460 Aug  7

[Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-07 Thread Martin Pitt
So if even with sudo evtest you don't get any events from the pedals with evtest when you push the pedals or cause any kind of movement with them, that isn't a permission problem. That sounds either like a hardware problem (more likely if it only happens sporadically) or some bug in the kernel's

Re: [Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-07 Thread michael
] Re: CH Pedals are not working in 14.04 So if even with sudo evtest you don't get any events from the pedals with evtest when you push the pedals or cause any kind of movement with them, that isn't a permission problem. That sounds either like a hardware problem (more likely if it only happens

[Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-07 Thread Martin Pitt
Added kernel task for the lack of evdev events. ** Also affects: linux (Ubuntu) Importance: Undecided Status: New ** Description changed: + Summary: + - The joystick evdev device for the pedals doesn't get proper permissions (in udev/systemd) + - The pedal evdev device sometimes

[Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-07 Thread michael
apport information ** Tags added: apport-collected ** Description changed: Summary: - The joystick evdev device for the pedals doesn't get proper permissions (in udev/systemd) - The pedal evdev device sometimes doesn't generate evdev events (linux) -- I've created a rule

[Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-07 Thread michael
apport information ** Description changed: Summary: - The joystick evdev device for the pedals doesn't get proper permissions (in udev/systemd) - The pedal evdev device sometimes doesn't generate evdev events (linux) -- I've created a rule in lib/udev/rules.d as

[Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-06 Thread Martin Pitt
Do you see it in sudo evtest? Do you get events there? Looks like I need to change distro Feel free to play around, of course; but won't help that much as udev is pretty much the same in all distros.. -- You received this bug notification because you are a member of Ubuntu Bugs, which is

Re: [Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-06 Thread michael
: Wednesday, August 6, 2014 7:51 AM Subject: [Bug 1332444] Re: CH Pedals are not working in 14.04 Do you see it in sudo evtest? Do you get events there? Looks like I need to change distro Feel free to play around, of course; but won't help that much as udev is pretty much the same in all distros

Re: [Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-06 Thread michael
13, 32 Aug  6 12:24 mouse0 michael@michael-ubuntu:/dev/input$ From: Martin Pitt martin.p...@ubuntu.com To: scrat_h...@yahoo.com Sent: Wednesday, August 6, 2014 7:51 AM Subject: [Bug 1332444] Re: CH Pedals are not working in 14.04 Do you see it in sudo evtest

Re: [Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-05 Thread michael
...@ubuntu.com To: scrat_h...@yahoo.com Sent: Monday, August 4, 2014 5:45 PM Subject: [Bug 1332444] Re: CH Pedals are not working in 14.04 I did give you the terminal commands mostly. Perhaps just not that one: find the correct /dev/input/eventNN translates to ls -l /dev/input /by-id/ and looking

[Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-05 Thread Martin Pitt
drwxrw-rw-+ 2 root root140 Aug 5 08:02 by-id drwxrw-rw-+ 2 root root160 Aug 5 08:02 by-path Your setfacl damaged the permissions of these two directories, so I can't see what /dev/input/by-id/usb-CH_PRODUCTS_CH_FLIGHT_SIM_YOKE_USB- event-joystick point to. But anyway: crw-r--r--+ 1

[Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-05 Thread Martin Pitt
Sorry, the setfacl call is a gaping security hole, not your custom rule. But /lib/udev/rules.d/50-udev-default.rules already gives world-read permissions on joysticks, so neither is required in the first place. To find out more, it would also be good if you could install the evtest program, run

Re: [Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-05 Thread michael
From: Martin Pitt martin.p...@ubuntu.com To: scrat_h...@yahoo.com Sent: Tuesday, August 5, 2014 8:48 AM Subject: [Bug 1332444] Re: CH Pedals are not working in 14.04 drwxrw-rw-+ 2 root root    140 Aug  5 08:02 by-id drwxrw-rw-+ 2 root root    160 Aug  5 08:02 by-path Your setfacl

Re: [Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-05 Thread michael
martin.p...@ubuntu.com To: scrat_h...@yahoo.com Sent: Tuesday, August 5, 2014 8:51 AM Subject: [Bug 1332444] Re: CH Pedals are not working in 14.04 Sorry, the setfacl call is a gaping security hole, not your custom rule. But /lib/udev/rules.d/50-udev-default.rules already gives world-read permissions

[Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-05 Thread Martin Pitt
OK, so js1 gets proper permissions, but js0 doesn't. Can you please copypaste the output of udevadm test-builtin input_id /sys/class/input/js1 ? Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-05 Thread Martin Pitt
Ah, nevermind, this just rang a bell. This was fixed a while ago already, but hasn't found its way into Ubuntu yet: http://cgit.freedesktop.org/systemd/systemd/commit/?id=2658624399b ** Changed in: systemd (Ubuntu) Status: Incomplete = Fix Committed ** Bug watch added: freedesktop.org

[Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-05 Thread Bug Watch Updater
Launchpad has imported 5 comments from the remote bug at https://bugs.freedesktop.org/show_bug.cgi?id=70734. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at

Re: [Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-05 Thread michael
To: scrat_h...@yahoo.com Sent: Tuesday, August 5, 2014 10:48 AM Subject: [Bug 1332444] Re: CH Pedals are not working in 14.04 OK, so js1 gets proper permissions, but js0 doesn't. Can you please copypaste the output of   udevadm test-builtin input_id /sys/class/input/js1 ? Thanks! -- You received

Re: [Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-05 Thread michael
Great so I just wait or could I manually update without breaking my system? Thanks From: Martin Pitt martin.p...@ubuntu.com To: scrat_h...@yahoo.com Sent: Tuesday, August 5, 2014 10:50 AM Subject: [Bug 1332444] Re: CH Pedals are not working in 14.04 Ah

Re: [Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-05 Thread Martin Pitt
michael [2014-08-05 10:51 -]: Great so I just wait or could I manually update without breaking my system? This isn't packaged yet, so to fix it locally you can continue to use your original udev rule. (But not the setfacl call, please) -- You received this bug notification because you are

Re: [Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-05 Thread michael
PM Subject: Re: [Bug 1332444] Re: CH Pedals are not working in 14.04 michael [2014-08-05 10:51 -]: Great so I just wait or could I manually update without breaking my system? This isn't packaged yet, so to fix it locally you can continue to use your original udev rule. (But not the setfacl

Re: [Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-05 Thread michael
: Tuesday, August 5, 2014 1:09 PM Subject: Re: [Bug 1332444] Re: CH Pedals are not working in 14.04 michael [2014-08-05 10:51 -]: Great so I just wait or could I manually update without breaking my system? This isn't packaged yet, so to fix it locally you can continue to use your original udev

Re: [Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-05 Thread Martin Pitt
michael [2014-08-05 11:34 -]: PS: did I tell that it's only randomly working? The udev rule seems to have not much of an effect. That part would need the evtest check that I described above. But that seems to be something else than device permissions? -- You received this bug notification

Re: [Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-05 Thread michael
the next day to see if you're lucky... No idea but it doesn't feel like permissions at all. From: Martin Pitt martin.p...@ubuntu.com To: scrat_h...@yahoo.com Sent: Tuesday, August 5, 2014 2:09 PM Subject: Re: [Bug 1332444] Re: CH Pedals are not working in 14.04

Re: [Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-05 Thread michael
martin.p...@ubuntu.com To: scrat_h...@yahoo.com Sent: Tuesday, August 5, 2014 2:09 PM Subject: Re: [Bug 1332444] Re: CH Pedals are not working in 14.04 michael [2014-08-05 11:34 -]: PS: did I tell that it's only randomly working? The udev rule seems to have not much of an effect. That part

Re: [Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-05 Thread michael
and motivation. I've used many years Suse but switched some years ago to ubuntu because of a bug... From: Martin Pitt martin.p...@ubuntu.com To: scrat_h...@yahoo.com Sent: Tuesday, August 5, 2014 2:09 PM Subject: Re: [Bug 1332444] Re: CH Pedals are not working in 14.04

[Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-04 Thread Martin Pitt
What does not working mean? Your game doesn't have permissions to access the pedals? Or they don't send the correct events, etc? (The latter would be a kernel bug, not udev rules). In a situation when they are not working, can you please find the correct /dev/input/eventNN device for the pedals

Re: [Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-04 Thread michael
: Monday, August 4, 2014 4:31 PM Subject: [Bug 1332444] Re: CH Pedals are not working in 14.04 What does not working mean? Your game doesn't have permissions to access the pedals? Or they don't send the correct events, etc? (The latter would be a kernel bug, not udev rules). In a situation when

[Bug 1332444] Re: CH Pedals are not working in 14.04

2014-08-04 Thread Martin Pitt
I did give you the terminal commands mostly. Perhaps just not that one: find the correct /dev/input/eventNN translates to ls -l /dev/input /by-id/ and looking which one sounds like your pedals. So again, what does isn't working sometimes mean exactly? Doesn't XPlane detect the joystick, or does