usb question

2011-08-28 Thread Zoran Kolic
This might sound stupid, but I want to be sure and not recompile
again. To have usb keyboard working I had to add usb stack to the
kernel. In a hurry I put all uhci, ohci and ehci, with ukbd also.
What of this in necessary for kb? I suppose ehci and ukbd.
Btw, after usb addage, I have strange 3 seconds freeze in X, once
it's up. Not at the start, but some 2-5 minutes later. Branch 8.
Best regrads

   Zoran

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: usb question

2011-08-28 Thread Warren Block

On Sun, 28 Aug 2011, Zoran Kolic wrote:


This might sound stupid, but I want to be sure and not recompile
again. To have usb keyboard working I had to add usb stack to the
kernel. In a hurry I put all uhci, ohci and ehci, with ukbd also.
What of this in necessary for kb? I suppose ehci and ukbd.


Keyboards are low speed, so ohci and uhci; see ukbd(4).


Btw, after usb addage, I have strange 3 seconds freeze in X, once
it's up. Not at the start, but some 2-5 minutes later. Branch 8.


Not enough information to tell.  In X, could be our old friend 
AllowEmptyInput: http://www.wonkity.com/~wblock/docs/html/aei.html

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Unable to shutdown

2011-08-28 Thread Bengt Ahlgren
Kevin Oberman kob6...@gmail.com writes:

 I've run into an odd problem with dismounting file systems on a
 Seagate Expansion portable
 USB drive. Running 8-stable on an amd64 system and with two FAT32
 (msdosfs) file systems
 on the drive.

 The drive is green and spins down when idle.  If an attempt is made
 to shutdown the
 system while the drive is spun down, the system goes through the usual
 shutdown including
 flushing all buffer out to disk, but when the final disk access to
 mark the file systems as
 clean, the drive never spins up and the system hangs until it is
 powered down. I've found no
 way to avoid this other then to remember to access the disk and cause
 it to spin up before
 shutting down.

 If I attempt to unmount the file systems when the drive is shut down.
 the same thing
 happens, but I can recover as the second file system is still mounted
 and an ls(1) to that file
 system will cause the disk to spin up and everything is fine.

 This looks like a bug, but I don't see why the unmounting of an
 msdosfs system does not
 spin up the drive. It's clearly hanging on some operation that is not
 spinning up the drive,
 but does block.

 Any ideas what is going on? Possible fix?

Not a solution to your problem, but a data point:

I have a WD Passport 750GB (2.5) drive with an UFS filesystem on it.  I
don't think I've tried shutdown with the drive mounted, but I've
experienced no problems after the drive has spun down, including umount.
There is just a delay while it spins up.  This is on 8.2-REL/i386, that
is, with the new USB stack.

Bengt
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: usb question

2011-08-28 Thread Zoran Kolic
 Not enough information to tell.

Well, I found only the mouse pointer freezing. I could jump
from one virtual desktop to another. Kb works too. When I
compiled new kernel, I just added in a hurry usb staff, in-
cluding ums. Since it didn't happen before, I could only
put a blame on usb code. Frankly, those 3 seconds are not
something I should care about more than those 3 seconds.  :)
I have a plan to install 9.0 on that desktop box, when it
becomes ready. My bigger concern is support for laptop I have
in mind as a replacement for old one, cause it takes i3 cpu
and intel 3000 graphics. Any idea what will be with kms on
branch 9?
Best regards all

  Zoran

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: usb question

2011-08-28 Thread Warren Block

On Mon, 29 Aug 2011, Zoran Kolic wrote:


Not enough information to tell.


Well, I found only the mouse pointer freezing. I could jump
from one virtual desktop to another. Kb works too. When I
compiled new kernel, I just added in a hurry usb staff, in-
cluding ums. Since it didn't happen before, I could only
put a blame on usb code. Frankly, those 3 seconds are not
something I should care about more than those 3 seconds.  :)


Just make sure AllowEmptyInput Off is not present in your xorg.conf. 
If it's not that, well...



I have a plan to install 9.0 on that desktop box, when it
becomes ready. My bigger concern is support for laptop I have
in mind as a replacement for old one, cause it takes i3 cpu
and intel 3000 graphics. Any idea what will be with kms on
branch 9?


The KMS stuff will probably come after 9-RELEASE.  It sounds promising 
so far.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org