[clug] auto detection of USB device

Adrian Blake adrian.blake at ieee.org
Wed Jun 6 01:51:13 GMT 2007


I have done some upgrades and in the process stuffed the auto detection of plugin USB devices like my camera and memory stick. I 
have determined that it probably stems from the fact that hald is not running. This diagnostic may be the clue:

[root at adios adrian]# hald --verbose=yes  --daemon=no
11:36:56.931 [I] hald.c:497: hal 0.5.9
11:36:56.932 [I] hald.c:562: Will not daemonize
11:36:56.932 [I] hald_dbus.c:4574: local server is listening at 
unix:abstract=/var/run/hald/dbus-HYSmHObIEJ,guid=aa868ecfd92ffef012bc5e0046660fb8
11:36:56.933 [I] hald_runner.c:299: Runner has pid 6566
11:36:56.933 [W] ci-tracker.c:199: Could not get uid for connection: org.freedesktop.DBus.Error.NameHasNoOwner Could not get UID 
of name 'org.freedesktop.DBus': no such name
11:36:56.933 [E] hald_dbus.c:4238: Cannot get caller info for org.freedesktop.DBus
Runner started - allowed paths are '/usr/lib:/usr/lib/hal/scripts:/usr/bin'
11:36:56.934 [I] hald_runner.c:180: runner connection is 0x8095840
11:36:56.934 [I] mmap_cache.c:161: Regenerating fdi cache..
Run started hald-generate-fdi-cache (10000) (0)
!  full path is '/usr/lib/hald-generate-fdi-cache', program_dir is '/usr/lib'
11:36:56.935 [I] create_cache.c:608: Loading rules
11:36:56.965 [E] create_cache.c:525: Cannot scan '/etc/hal/fdi/information': No such file or directory
11:36:56.965 [E] create_cache.c:683: Error generating fdi cache
/usr/lib/hald-generate-fdi-cache exited
11:36:56.966 [I] mmap_cache.c:137: In regen_cache_cb exit_type=0, return_code=1
11:36:56.966 [E] mmap_cache.c:190: fdi cache regeneration failed!
11:36:56.966 [I] mmap_cache.c:193: fdi cache generation done
11:36:56.966 [I] mmap_cache.c:251: cache mtime is 1181073922
11:36:56.966 [E] osspec.c:310: Unable to inotify_add_watch() for '/etc/hal/fdi/information': No such file or directory
*** [DIE] osspec.c:watch_fdi_files():389 : Error watching fdi files

But what should be in /etc/hal/fdi/information  ?

Any other suggestions


Adrian
-- 
Adrian Blake
Molonglo Radio Observatory
University of Sydney
1152 Hoskinstown Rd
Bungendore 2621
ph. 02 80042212  mobile 0407 232 978

http://150.101.125.30/pics


More information about the linux mailing list