Closed zedtux closed 12 years ago
I've also requested build of packages including this fix.
Update from kkolasa:
after patch working OK, debug output:
krzysiek@krzysiek-hp1:~/src/linux-3-git$ cd /tmp krzysiek@krzysiek-hp1:/tmp$ git clone git://github.com/cemmanouilidis/naturalscrolling.git Cloning into naturalscrolling... remote: Counting objects: 498, done. remote: Compressing objects: 100% (255/255), done. remote: Total 498 (delta 264), reused 443 (delta 209) Receiving objects: 100% (498/498), 226.91 KiB | 230 KiB/s, done. Resolving deltas: 100% (264/264), done. krzysiek@krzysiek-hp1:/tmp$ cd naturalscrolling krzysiek@krzysiek-hp1:/tmp/naturalscrolling$ ./bin/naturalscrolling -d
\ WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'
\ WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'
PyUDev
Input devices:
event2 Power Button event6 Video Bus event1 Lid Switch event0 Sleep Button event17 HD-Audio Generic HDMI/DP,pcm=3 event4 Logitech USB Receiver event5 Logitech USB Receiver event13 HDA Intel PCH Line In at Sep Rear Jack event14 HDA Intel PCH Mic at Ext Right Jack event15 HDA Intel PCH Line Out at Sep Rear Jack event16 HDA Intel PCH HP Out at Ext Right Jack event10 HP HD Webcam [Fixed] event3 AT Translated Set 2 keyboard event9 SynPS/2 Synaptics TouchPad event7 ST LIS3LV02DL Accelerometer event11
Traceback (most recent call last): File "./bin/naturalscrolling", line 46, in
naturalscrolling.main() File "/tmp/naturalscrolling/naturalscrolling/init.py", line 39, in main Debugger().execute() File "/tmp/naturalscrolling/naturalscrolling_lib/debugger.py", line 15, in execute print "\t\t", device.sys_name, device.parent["NAME"][1:-1] File "/usr/lib/python2.7/dist-packages/pyudev/device.py", line 677, in getitem raise KeyError('No such property: {0}'.format(property)) KeyError: u'No such property: NAME' krzysiek@krzysiek-hp1:/tmp/naturalscrolling$
From kkolasa:
version 0.4.1 working OK