Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jun 2011 11:35:17 -0500 (CDT)
From:      Greg Rivers <gcr+freebsd-current@tharned.org>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: [Testing wanted] USB patch for HAL
Message-ID:  <alpine.BSF.2.00.1106261047240.2689@badger.tharned.org>
In-Reply-To: <201106261343.53522.hselasky@c2i.net>
References:  <201106241531.19375.hselasky@c2i.net> <201106252054.38056.hselasky@c2i.net> <alpine.BSF.2.00.1106252213060.12946@badger.tharned.org> <201106261343.53522.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 26 Jun 2011, Hans Petter Selasky wrote:
> On Sunday 26 June 2011 09:27:22 Greg Rivers wrote:
>> With this change, the USB bus continued to operate as expected while
>> attaching and detaching a USB flash drive.  On start up, hald was not
>> detecting the attach/detach events, but started working and kept working
>> after restarting it.  In summary, with both of the above changes,
>> everything worked pretty much correctly.
>
> Try this patch to hald:
>
> cd /usr/ports/sysutils/hal/files
> fetch http://hselasky.homeunix.org:8192/patch-hald_freebsd_hf-usb2.c
>
> cd ..
> make all deinstall install clean
>

With this patch, and the CAM patches still in place, the USB bus works 
fine, but hald never sees any attach/detach events, even after restarting 
it.

I reverted the CAM patches and tested again with the same result.  So this 
patch to hald does stop the CAM sg errors, and prevents the USB from 
wedging.  It just doesn't detect attach events.

-- 
Greg Rivers



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1106261047240.2689>