hal, usbstick and IBM R40
David Zeuthen
david at fubar.dk
Tue Sep 14 04:32:08 PDT 2004
On Mon, 2004-09-13 at 14:19 +0200, Thomas Gufler wrote:
> I don't have a file 'removable' in /sys/block/sda ?
> ls -l /sys/block/sda/ reports:
> insgesamt 0
> -r--r--r-- 1 root root 4096 13. Sep 14:02 dev
> lrwxrwxrwx 1 root root 0 13. Sep 14:02 device
> -> ../../devices/pci0000:00/0000:00:02.2/usb1/1-3/1-3:1.0/host23/23:0:0:0
> drwxr-xr-x 3 root root 0 13. Sep 14:02 queue
> -r--r--r-- 1 root root 4096 13. Sep 14:02 range
> drwxr-xr-x 2 root root 0 13. Sep 14:02 sda1
> -r--r--r-- 1 root root 4096 13. Sep 14:02 size
> -r--r--r-- 1 root root 4096 13. Sep 14:02 stat
You need a newer kernel, 2.6.7 or newer should do it, not sure though.
> > So, I recently changed hal not to poll devices with storage.removable
> > set to FALSE (which is useful if you want to run hal on a system with
> > thousands of disks :-) but it appears we should at least attempt to do
> > an initial poll to kickstart the kernel. So I just did this; please try
> > the latest from CVS and see if that works.
>
> Ok, using the newest cvs the problem seems to be solved. I tried
> insert/unmount/remove 20 times in a row and it failed (interestingly) one
> time.
>
What was the problem? Please tell us so we can fix it :-)
> Btw, I have a little problem with installing hal-cvs manually (no ebuild): I
> use the following command to configure hal-cvs:
>
> ./autogen.sh --sysconfdir=/etc --prefix=/usr --with-pid-file=/var/run/hald.pid
> --with-hal-user=haldaemon --with-hal-group=haldaemon --enable-fstab-sync
> --disable-doxygen-docs --disable-docbook-docs
>
> I want the configuration files in /etc, but when I 'make install' I get
> hald.conf in /etc/hal/ (as I want), but device.d/50-fstab-sync.hal,
> capability.d/ and property.d/ go into /hal (as I don't want).
> Is this my fault or is there an other error?
>
I think you need automake 1.7 or newer. If you have a patch that fixes
it with your installed versions of automake, autoconf, etc. please send
it this way :-)
Thanks,
David
_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list