On Wednesday 01 Apr 2009 03:11:53 Ritesh Raj Sarraf wrote: > So actually, in case it is switching to the polling mode. :-( > Probably, we just need a newer tp-smapi-source.
Looks like more is happening that what I just thought.
champaran:~# modprobe hdaps
WARNING: All config files need .conf: /etc/modprobe.d/oss-compat, it will be
ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/kqemu, it will be ignored
in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/pnp-hotplug, it will be
ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/display_class, it will be
ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/blacklist, it will be
ignored in a future release.
[6835] msg_queue_insert: seq 1945 queued, 'add' 'module'
[7255] pass_env_to_socket: passed 121 bytes to socket
'/org/freedesktop/hal/udev_event',
[7255] pass_env_to_socket: passed 121 bytes to socket
'@/org/kernel/udev/monitor',
[7255] udev_event_run: seq 1945 finished with 0
[6835] udev_event_run: seq 1945 forked, pid [7255], 'add' 'module', 0 seconds
old
[6835] msg_queue_insert: seq 1946 queued, 'add' 'module'
[6835] udev_done: seq 1945, pid [7255] exit with 0, 0 seconds old
[7257] pass_env_to_socket: passed 105 bytes to socket
'/org/freedesktop/hal/udev_event',
[7257] pass_env_to_socket: passed 105 bytes to socket
'@/org/kernel/udev/monitor',
[7257] udev_event_run: seq 1946 finished with 0
[6835] udev_event_run: seq 1946 forked, pid [7257], 'add' 'module', 0 seconds
old
[6835] msg_queue_insert: seq 1947 queued, 'add' 'drivers'
[6835] udev_done: seq 1946, pid [7257] exit with 0, 0 seconds old
[7258] pass_env_to_socket: passed 134 bytes to socket
'/org/freedesktop/hal/udev_event',
[7258] pass_env_to_socket: passed 134 bytes to socket
'@/org/kernel/udev/monitor',
[7258] udev_event_run: seq 1947 finished with 0
[6835] udev_event_run: seq 1947 forked, pid [7258], 'add' 'drivers', 0 seconds
old
[6835] msg_queue_insert: seq 1948 queued, 'add' 'platform'
[6835] udev_done: seq 1947, pid [7258] exit with 0, 0 seconds old
[7259] run_program: '/sbin/modprobe --use-blacklist platform:hdaps'
[7259] run_program: '/sbin/modprobe' (stderr) 'WARNING: All config files need
.conf: /etc/modprobe.d/oss-compat, it will be ignored in a future release.'
[7259] run_program: '/sbin/modprobe' (stderr) 'WARNING: All config files need
.conf: /etc/modprobe.d/kqemu, it will be ignored in a future release.'
[7259] run_program: '/sbin/modprobe' (stderr) 'WARNING: All config files need
.conf: /etc/modprobe.d/pnp-hotplug, it will be ignored in a future release.'
[7259] run_program: '/sbin/modprobe' (stderr) 'WARNING: All config files need
.conf: /etc/modprobe.d/display_class, it will be ignored in a future release.'
[6835] udev_event_run: seq 1948 forked, pid [7259], 'add' 'platform', 0
seconds old
[7259] run_program: '/sbin/modprobe' (stderr) 'WARNING: All config files need
.conf: /etc/modprobe.d/blacklist, it will be ignored in a future release.'
[7259] run_program: '/sbin/modprobe' (stderr) 'FATAL: Module platform:hdaps
not found.'
[7259] run_program: '/sbin/modprobe' returned with status 1
[7259] pass_env_to_socket: passed 171 bytes to socket
'/org/freedesktop/hal/udev_event',
[7259] pass_env_to_socket: passed 171 bytes to socket
'@/org/kernel/udev/monitor',
[7259] udev_event_run: seq 1948 finished with -1
[6835] udev_done: seq 1948, pid [7259] exit with 1, 0 seconds old
champaran:~# [6835] msg_queue_insert: seq 1949 queued, 'add' 'input'
[7261] run_program: '/sbin/modprobe --use-blacklist
input:b0010v0000p0000e0000-e0,3,kra0,1,mlsfw'
[7261] run_program: '/sbin/modprobe' (stderr) 'WARNING: All config files need
.conf: /etc/modprobe.d/oss-compat, it will be ignored in a future release.'
[7261] run_program: '/sbin/modprobe' (stderr) 'WARNING: All config files need
.conf: /etc/modprobe.d/kqemu, it will be ignored in a future release.'
[7261] run_program: '/sbin/modprobe' (stderr) 'WARNING: All config files need
.conf: /etc/modprobe.d/pnp-hotplug, it will be ignored in a future release.'
[7261] run_program: '/sbin/modprobe' (stderr) 'WARNING: All config files need
.conf: /etc/modprobe.d/display_class, it will be ignored in a future release.'
[7261] run_program: '/sbin/modprobe' (stderr) 'WARNING: All config files need
.conf: /etc/modprobe.d/blacklist, it will be ignored in a future release.'
[7261] run_program: '/sbin/modprobe' (stderr) 'WARNING: Not loading
blacklisted module evbug'
[7261] run_program: '/sbin/modprobe' returned with status 0
[7261] pass_env_to_socket: passed 313 bytes to socket
'/org/freedesktop/hal/udev_event',
[7261] pass_env_to_socket: passed 313 bytes to socket
'@/org/kernel/udev/monitor',
[7261] udev_event_run: seq 1949 finished with 0
[6835] udev_event_run: seq 1949 forked, pid [7261], 'add' 'input', 0 seconds
old
[6835] msg_queue_insert: seq 1950 queued, 'add' 'input'
[6835] udev_done: seq 1949, pid [7261] exit with 0, 0 seconds old
[7263] udev_rules_get_name: rule applied, 'event12' becomes 'input/event12'
[7263] match_rule: set ENV 'ID_CLASS=joystick'
[7263] match_rule: set ENV 'ID_SERIAL=noserial'
[7263] run_program: 'path_id /class/input/input20/event12'
[6835] udev_event_run: seq 1950 forked, pid [7263], 'add' 'input', 0 seconds
old
[6835] msg_queue_insert: seq 1951 queued, 'add' 'input'
[7266] udev_rules_get_name: rule applied, 'js0' becomes 'input/js0'
[7266] match_rule: set ENV 'ID_CLASS=joystick'
[7266] match_rule: set ENV 'ID_SERIAL=noserial'
[7266] run_program: 'path_id /class/input/input20/js0'
[6835] udev_event_run: seq 1951 forked, pid [7266], 'add' 'input', 0 seconds
old
[7263] run_program: '/lib/udev/path_id' (stdout) 'ID_PATH=platform-hdaps'
[7263] run_program: '/lib/udev/path_id' returned with status 0
[7263] udev_rules_get_name: add symlink 'input/by-path/platform-hdaps-event-
joystick'
[7263] udev_db_get_device: no db file to read
/dev/.udev/db/\x2fclass\x2finput\x2finput20\x2fevent12: No such file or
directory
[7263] udev_node_add: creating device node '/dev/input/event12', major=13,
minor=76, mode=0664, uid=0, gid=29
[7263] udev_node_mknod: mknod(/dev/input/event12, 020664, (13,76))
[7263] udev_node_mknod: chmod(/dev/input/event12, 020664)
[7263] udev_node_mknod: chown(/dev/input/event12, 0, 29)
[7263] name_index: creating index: '/dev/.udev/names/input\x2fby-
path\x2fplatform-hdaps-event-joystick/\x2fclass\x2finput\x2finput20\x2fevent12'
[7263] name_index: creating index:
'/dev/.udev/names/input\x2fevent12/\x2fclass\x2finput\x2finput20\x2fevent12'
[7263] udev_node_update_symlinks: update symlink 'input/by-path/platform-
hdaps-event-joystick' of '/class/input/input20/event12'
[7263] udev_db_get_devices_by_name: found index directory
'/dev/.udev/names/input\x2fby-path\x2fplatform-hdaps-event-joystick'
[7266] run_program: '/lib/udev/path_id' (stdout) 'ID_PATH=platform-hdaps'
[7266] run_program: '/lib/udev/path_id' returned with status 0
[7266] udev_rules_get_name: add symlink 'input/by-path/platform-hdaps-
joystick'
[7266] udev_db_get_device: no db file to read
/dev/.udev/db/\x2fclass\x2finput\x2finput20\x2fjs0: No such file or directory
[7266] udev_node_add: creating device node '/dev/input/js0', major=13,
minor=0, mode=0664, uid=0, gid=0
[7266] udev_node_mknod: mknod(/dev/input/js0, 020664, (13,0))
[7266] udev_node_mknod: chmod(/dev/input/js0, 020664)
[7266] udev_node_mknod: chown(/dev/input/js0, 0, 0)
[7266] name_index: creating index: '/dev/.udev/names/input\x2fby-
path\x2fplatform-hdaps-joystick/\x2fclass\x2finput\x2finput20\x2fjs0'
[7266] name_index: creating index:
'/dev/.udev/names/input\x2fjs0/\x2fclass\x2finput\x2finput20\x2fjs0'
[7266] udev_node_update_symlinks: update symlink 'input/by-path/platform-
hdaps-joystick' of '/class/input/input20/js0'
[7266] udev_db_get_devices_by_name: found index directory
'/dev/.udev/names/input\x2fby-path\x2fplatform-hdaps-joystick'
[7266] update_link: found 1 devices with name 'input/by-path/platform-hdaps-
joystick'
[7266] update_link: found '/class/input/input20/js0' for 'input/by-
path/platform-hdaps-joystick'
[7266] update_link: compare (our own) priority of '/class/input/input20/js0' 0
>= 0
[7266] update_link: 'input/by-path/platform-hdaps-joystick' with target
'input/js0' has the highest priority 0, create it
[7266] node_symlink: creating symlink '/dev/input/by-path/platform-hdaps-
joystick' to '../js0'
[7263] update_link: found 1 devices with name 'input/by-path/platform-hdaps-
event-joystick'
[7263] update_link: found '/class/input/input20/event12' for 'input/by-
path/platform-hdaps-event-joystick'
[7263] update_link: compare (our own) priority of
'/class/input/input20/event12' 0 >= 0
[7263] update_link: 'input/by-path/platform-hdaps-event-joystick' with target
'input/event12' has the highest priority 0, create it
[7263] node_symlink: creating symlink '/dev/input/by-path/platform-hdaps-
event-joystick' to '../event12'
[7263] pass_env_to_socket: passed 373 bytes to socket
'/org/freedesktop/hal/udev_event',
[7263] pass_env_to_socket: passed 373 bytes to socket
'@/org/kernel/udev/monitor',
[7263] udev_event_run: seq 1950 finished with 0
[6835] udev_done: seq 1950, pid [7263] exit with 0, 0 seconds old
[7266] pass_env_to_socket: passed 354 bytes to socket
'/org/freedesktop/hal/udev_event',
[7266] pass_env_to_socket: passed 354 bytes to socket
'@/org/kernel/udev/monitor',
[7266] udev_event_run: seq 1951 finished with 0
[6835] udev_done: seq 1951, pid [7266] exit with 0, 0 seconds old
Is this error to be worried about ?
[7259] run_program: '/sbin/modprobe' (stderr) 'FATAL: Module platform:hdaps
not found.'
[7259] run_program: '/sbin/modprobe' returned with status 1
Could you please explain the following rule?
r...@champaran:/etc/modprobe.d$ cat /etc/udev/rules.d/z60_hdapsd.rules
KERNEL=="event[0-9]*", ATTRS{phys}=="hdaps/input1",
ATTRS{modalias}=="input:b0019v1014p5054e4801-*",
SYMLINK+="input/hdaps/accelerometer-event"
My experience with udev rules has only been for the scsi device and device-
mapper rules. :-(
But thanks to your rule, I just realized that there are ways to trap scsi
devices based on attributes.
To sum up, the symlink is still not being created. I don't know why.
Ritesh
--
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."
signature.asc
Description: This is a digitally signed message part.

