Re: USB locks up system -- WAS Re: shutdown or acpi problem

From: Sulev-Madis Silber (ketas) <"Sulev-Madis>
Date: Mon, 17 Nov 2014 10:40:05 +0200
On 2014-11-17 08:58, Dag-Erling Smørgrav wrote:
> Dag-Erling Smørgrav <des_at_des.no> writes:
>> Steve Kargl <sgk_at_troutmask.apl.washington.edu> writes:
>>> I'll try that tomorrow.  But, I now know that this is related to using
>>> hal from ports.  If I comment out both enable_dbus and enable_hal in
>>> /etc/rc.conf, the system works as I would expect (ie., usb now works
>>> for unplugging devices!).  I further suspect that the problems lies in
>>> hal_probe_storage, but haven't got too much further.
>> HAL: the gift that keeps on giving.  It also has this wonderful feature
>> where it prevents you from unmounting anything you've ever mounted,
>> because it watches for new mountpoints in the system, opens them, and
>> keeps the file descriptors open indefinitely.
>>
>> I know this isn't really germane, but I just couldn't pass up a chance
>> to complain about HAL.
> 
> Hold on.  It *is* germane: hal_probe_storage auto-mounted your USB stick
> and is holding on to it.  If this also happens with mice and keyboards
> etc., you're probably looking at two different issues.
> 
> DES
> 

I cursed at HAL a lot because it made uC inside r0ket to crap itself
partially... this thing can be USB device but apparently didn't like
black magic that HAL did. Maybe it tried to read from the beginning or
something. It took lot of time to figure out why it doesn't work. Now I
have set of ignore files to prevent grabbing for every single device in
system.
Received on Mon Nov 17 2014 - 07:40:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:54 UTC