Bug#308916: Hald unable to open /sys/bus/usb/devices

Visto 28 veces
Saltar al primer mensaje no leído

pake

no leída,
13 may 2005, 4:40:1613/5/05
a
Package: hal
Version: 0.4.7-4

Hald is unable to open /sys/bus/usb/devices (although the file
is there with permissions: ls -la /sys/bus/usb/devices
-r--r--r-- 1 root root 0 May 13 00:03 /sys/bus/usb/devices ), does
hald think it's a directory? Now the devicelist isn't build which
renders the program unusable to me. My /etc/fstab has the lines:
proc /proc proc defaults 0 0
none /sys sysfs defaults 0 0
none /sys/bus/usb usbfs defaults 0 0
none /proc/bus/usb usbdevfs defaults 0 0
if it matters.

And also there is a couple wrong end tags in:
/usr/share/hal/fdi/20freedesktop/ipod-music-player.fdi

ii kernel-image-2.6.11-1-k7 2.6.11-3
ii hal 0.4.7-4
ii dbus-1 0.23.4-1
ii dbus-glib-1 0.23.4-1
ii usbutils 0.70-8
ii pciutils 2.1.11-15
ii udev 0.056-2
ii libglib2.0-0 2.6.4-1
ii libc6 2.3.2.ds1-21

Here is the log for hald:

21:34:08.138 [I] hald.c:394: hal 0.4.7
21:34:08.138 [I] hald.c:398: Will not daemonize
21:34:08.197 [I] linux/osspec.c:219: Mountpoint for sysfs is /sys
21:34:08.250 [W] linux/common.c:861: Error opening sysfs directory at
/sys/bus/usb/drivers

21:34:08.351 [E] linux/osspec.c:410: Unable to open /sys/bus/usb/devices:
Error opening directory '/sys/bus/usb/devices': No such file or directory
21:34:08.351 [E] linux/osspec.c:601: Error building the orderered list of
sysfs paths
21:34:08.351 [I] linux/osspec.c:1544: ******************************************
21:34:08.351 [I] linux/osspec.c:1545: **** hotplug_counter is now 1
21:34:08.351 [I] linux/osspec.c:1546: ******************************************
21:34:08.352 [I] device_info.c:1160: scan_fdi_files: Processing file
'6in1-card-reader.fdi'
21:34:08.352 [I] device_info.c:1160: scan_fdi_files: Processing file
'ide-drives.fdi'
21:34:08.413 [I] device_info.c:1160: scan_fdi_files: Processing file
'ipod-music-player.fdi'
21:34:08.413 [E] device_info.c:1091: Error parsing XML document
/usr/share/hal/fdi/20freedesktop/ipod-music-player.fdi at line 10, column 78 :
mismatched tag
21:34:08.413 [I] device_info.c:1160: scan_fdi_files: Processing file
'jetflash-mp3-player.fdi'
21:34:08.414 [I] device_info.c:1160: scan_fdi_files: Processing file
'lexar-media-cf-reader.fdi'
21:34:08.414 [I] device_info.c:1160: scan_fdi_files: Processing file
'lucent-pcmcia-wireless.fdi'
21:34:08.414 [I] device_info.c:1160: scan_fdi_files: Processing file
'usb-zip-drives.fdi'
21:34:08.414 [I] device_info.c:1160: scan_fdi_files: Processing file
'storage-policy.fdi'
21:34:08.476 [I] device_info.c:1163: *** Matched file
/usr/share/hal/fdi/90defaultpolicy/storage-policy.fdi21:34:08.476 [I]
device_info.c:1160: scan_fdi_files: Processing file 'preferences.fdi'
21:34:08.477 [I] linux/osspec.c:935: Found a .fdi file for
/org/freedesktop/Hal/devices/computer
21:34:08.477 [I] callout.c:318: Invoking /etc/hal/device.d/40-hal-hotplug-map.hal
21:34:08.543 [I] callout.c:330: Child pid 15750 for 40-hal-hotplug-map.hal
21:34:08.544 [I] callout.c:173: Child pid 15750 terminated
21:34:08.544 [I] hald.c:81: Added device to GDL;
udi=/org/freedesktop/Hal/devices/computer
21:34:08.545 [I] hald.c:528: Device probing completed
21:34:08.609 [I] linux/osspec.c:1557: ==========================================
21:34:08.609 [I] linux/osspec.c:1558: ==== hotplug_counter is now 0
21:34:08.609 [I] linux/osspec.c:1559: ==========================================
21:34:08.609 [I] callout.c:193: Callouts done for
/org/freedesktop/Hal/devices/computer
21:34:08.609 [W] hald_dbus.c:97: No property info.capabilities on device with
id /org/freedesktop/Hal/devices/computer


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Martin Waitz

no leída,
13 may 2005, 5:00:1013/5/05
a
hoi :)

On Fri, May 13, 2005 at 11:19:09AM +0300, pake wrote:
> proc /proc proc defaults 0 0
> none /sys sysfs defaults 0 0
> none /sys/bus/usb usbfs defaults 0 0
> none /proc/bus/usb usbdevfs defaults 0 0

you must not mount anything below /sys.
hald should work again when you remove the /sys/bus/usb line.

--
Martin Waitz

signature.asc

pake

no leída,
13 may 2005, 5:30:2213/5/05
a
Martin Waitz wrote:
> hoi :)

hi!

> you must not mount anything below /sys.
> hald should work again when you remove the /sys/bus/usb line.

thanks! that worked (and also removed some other weird
behaviour, don't remember from where I read that line in the
first place). hal/dbus has never worked for me before,
been trying over 6 months to get it working :)

markku.

Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos