Re: No keyboard after ports update, 2x moused_enable=YES culprit
On Mon, May 16, 2011 at 05:13:48PM -0700, Chip Camden wrote: Gnumeric I use more frequently (for spreadsheets). I hate having to start up that monolithic libreoffice just to do a spreadsheet, but that would be a HAL-free alternative. When I'm creating something from scratch that some people would consider an ideal task for a spreadsheet, I tend to just start practicing my complex data structure skills in Ruby. I guess I'm weird, but I loathe spreadsheets in general. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpBTfKXmAdCy.pgp Description: PGP signature
Re: No keyboard after ports update, 2x moused_enable=YES culprit
On Mon, 16 May 2011 17:13:48 -0700, Chip Camden sterl...@camdensoftware.com wrote: I don't use dia very often (it's for diagrams). So maybe gnuplot is an alternative (if we have the same kind of diagrams in mind)? Gnumeric I use more frequently (for spreadsheets). I hate having to start up that monolithic libreoffice just to do a spreadsheet, but that would be a HAL-free alternative. Use openoffice.org-3.0.0-scalc - it's not monolithic, it's a simple single program! :-) I'm not sure in how far the KDE office applications are monolithic or not, maybe if you already have KDE-based programs on your system (or even use KDE as a desktop environment), a look at them may be useful. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: No keyboard after ports update, 2x moused_enable=YES culprit
On Tue, 17 May 2011 01:27:50 -0600, Chad Perrin per...@apotheon.com wrote: On Mon, May 16, 2011 at 05:13:48PM -0700, Chip Camden wrote: Gnumeric I use more frequently (for spreadsheets). I hate having to start up that monolithic libreoffice just to do a spreadsheet, but that would be a HAL-free alternative. When I'm creating something from scratch that some people would consider an ideal task for a spreadsheet, I tend to just start practicing my complex data structure skills in Ruby. I guess I'm weird, but I loathe spreadsheets in general. I've done something similarly insane for a documentation project: Here, the main document was made in LaTeX, and there were CSV (comma seperated values) files with numerical data and text. Those were then processed by awk scripts that did the calculation part; their result were LaTeX includes that were then sourced by \input. Another file was made with definitions of macros that hold intermediate or result values for use inside the text. Additionally, output was given in gnuplot form and then processed by that utility, the result was eps or png graphics also for inclusion in the document. The whole play was controlled by a quite simple Makefile that caused a make call to process the files that had changed. Just imagine: Change a value in a table, run make, and have all the results (tables, figures, mentionings in text) change automatically. The result was a PDF file for sending and for printing. Of course, it is totally insane to do so. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: No keyboard after ports update, 2x moused_enable=YES culprit
Quoth Warren Block on Monday, 16 May 2011: On Mon, 16 May 2011, Chip Camden wrote: Looks like cinepaint doesn't have any GNOME dependencies, and also no HAL dependency. Now if I can just learn how to do everything I know how to do in GIMP, I'll be set for that piece. I don't use dia very often (it's for diagrams). Gnumeric I use more frequently (for spreadsheets). I hate having to start up that monolithic libreoffice just to do a spreadsheet, but that would be a HAL-free alternative. I just submitted ports/157096 with a patch to build gvfs without HAL support: http://www.freebsd.org/cgi/query-pr.cgi?pr=157096 Very lightly tested, but no problems so far. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Awesome! I'll test it out. -- .O. | Sterling (Chip) Camden | http://camdensoftware.com ..O | sterl...@camdensoftware.com | http://chipsquips.com OOO | 2048R/D6DBAF91 | http://chipstips.com pgp7yPJQhKx84.pgp Description: PGP signature
Re: No keyboard after ports update, 2x moused_enable=YES culprit
Quoth Warren Block on Monday, 16 May 2011: On Mon, 16 May 2011, Chip Camden wrote: Looks like cinepaint doesn't have any GNOME dependencies, and also no HAL dependency. Now if I can just learn how to do everything I know how to do in GIMP, I'll be set for that piece. I don't use dia very often (it's for diagrams). Gnumeric I use more frequently (for spreadsheets). I hate having to start up that monolithic libreoffice just to do a spreadsheet, but that would be a HAL-free alternative. I just submitted ports/157096 with a patch to build gvfs without HAL support: http://www.freebsd.org/cgi/query-pr.cgi?pr=157096 Very lightly tested, but no problems so far. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Works for me! So long, HAL! Thanks! -- .O. | Sterling (Chip) Camden | http://camdensoftware.com ..O | sterl...@camdensoftware.com | http://chipsquips.com OOO | 2048R/D6DBAF91 | http://chipstips.com pgpXfP8AvbMJo.pgp Description: PGP signature
Re: No keyboard after ports update, 2x moused_enable=YES culprit
On Sun, 15 May 2011 12:18:28 -0700, Chip Camden sterl...@camdensoftware.com wrote: I wish I could figure out what dependency wanted HAL to be installed so I could remove it. I would assume that the HAL dependency may be required by some deeper-inside Gnome part that is used by Gimp, maybe a part of the Gtk+ library... I'm not sure it's trivial to find out which one it is. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: No keyboard after ports update, 2x moused_enable=YES culprit
--As of May 16, 2011 10:00:38 AM +0200, Polytropon is alleged to have said: On Sun, 15 May 2011 12:18:28 -0700, Chip Camden sterl...@camdensoftware.com wrote: I wish I could figure out what dependency wanted HAL to be installed so I could remove it. I would assume that the HAL dependency may be required by some deeper-inside Gnome part that is used by Gimp, maybe a part of the Gtk+ library... I'm not sure it's trivial to find out which one it is. --As for the rest, it is mine. Sure it is: cd /usr/ports/sysutils/hal make deinstall It will list what ports require it. ;) Daniel T. Staal --- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: No keyboard after ports update, 2x moused_enable=YES culprit
On Mon, 16 May 2011, Daniel Staal wrote: --As of May 16, 2011 10:00:38 AM +0200, Polytropon is alleged to have said: On Sun, 15 May 2011 12:18:28 -0700, Chip Camden sterl...@camdensoftware.com wrote: I wish I could figure out what dependency wanted HAL to be installed so I could remove it. I would assume that the HAL dependency may be required by some deeper-inside Gnome part that is used by Gimp, maybe a part of the Gtk+ library... I'm not sure it's trivial to find out which one it is. --As for the rest, it is mine. Sure it is: cd /usr/ports/sysutils/hal make deinstall It will list what ports require it. ;) pkg_info -R hal\* will show the same list without actually deinstalling it. But some or most of those don't directly depend on hal, they depend on something else that depends on hal. It would be nice to easily find the root few. xorg-server can be set to not use hal. Then rebuild the keyboard, mouse, and video drivers. One problem with getting rid of hal entirely is libgnomeui, which depends on gvfs, which depends on gnome-mount, which depends on hal. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: No keyboard after ports update, 2x moused_enable=YES culprit
Quoth Daniel Staal on Monday, 16 May 2011: --As of May 16, 2011 10:00:38 AM +0200, Polytropon is alleged to have said: On Sun, 15 May 2011 12:18:28 -0700, Chip Camden sterl...@camdensoftware.com wrote: I wish I could figure out what dependency wanted HAL to be installed so I could remove it. I would assume that the HAL dependency may be required by some deeper-inside Gnome part that is used by Gimp, maybe a part of the Gtk+ library... I'm not sure it's trivial to find out which one it is. --As for the rest, it is mine. Sure it is: cd /usr/ports/sysutils/hal make deinstall It will list what ports require it. ;) Daniel T. Staal A less destructive way to get the same info is pkg_info -R hal-0.5.14_13 and 'portversion -v hal' can be used to get the specific version installed. After some more investigation, it appears that gnome-mount is the culprit. I'm looking into how to exclude that from the consumer apps. -- .O. | Sterling (Chip) Camden | http://camdensoftware.com ..O | sterl...@camdensoftware.com | http://chipsquips.com OOO | 2048R/D6DBAF91 | http://chipstips.com pgpf42G1aPwb2.pgp Description: PGP signature
Re: No keyboard after ports update, 2x moused_enable=YES culprit
On Mon, May 16, 2011 at 4:00 AM, Polytropon free...@edvax.de wrote: On Sun, 15 May 2011 12:18:28 -0700, Chip Camden sterl...@camdensoftware.com wrote: I wish I could figure out what dependency wanted HAL to be installed so I could remove it. I would assume that the HAL dependency may be required by some deeper-inside Gnome part that is used by Gimp, maybe a part of the Gtk+ library... I'm not sure it's trivial to find out which one it is. Also see ports-mgmt/pkg_tree pkg_tree -v is quite useful. -- Eitan Adler ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: No keyboard after ports update, 2x moused_enable=YES culprit
Quoth Warren Block on Monday, 16 May 2011: On Mon, 16 May 2011, Daniel Staal wrote: --As of May 16, 2011 10:00:38 AM +0200, Polytropon is alleged to have said: On Sun, 15 May 2011 12:18:28 -0700, Chip Camden sterl...@camdensoftware.com wrote: I wish I could figure out what dependency wanted HAL to be installed so I could remove it. I would assume that the HAL dependency may be required by some deeper-inside Gnome part that is used by Gimp, maybe a part of the Gtk+ library... I'm not sure it's trivial to find out which one it is. --As for the rest, it is mine. Sure it is: cd /usr/ports/sysutils/hal make deinstall It will list what ports require it. ;) pkg_info -R hal\* will show the same list without actually deinstalling it. But some or most of those don't directly depend on hal, they depend on something else that depends on hal. It would be nice to easily find the root few. xorg-server can be set to not use hal. Then rebuild the keyboard, mouse, and video drivers. One problem with getting rid of hal entirely is libgnomeui, which depends on gvfs, which depends on gnome-mount, which depends on hal. Yes, that seems to be the sticking point. The only option appears to be doing without gimp, gnumeric, and dia, which all depend upon libgnomeui. Any Gnome-free alternatives out there? -- .O. | Sterling (Chip) Camden | http://camdensoftware.com ..O | sterl...@camdensoftware.com | http://chipsquips.com OOO | 2048R/D6DBAF91 | http://chipstips.com pgp4tuGXDKNgZ.pgp Description: PGP signature
Re: No keyboard after ports update, 2x moused_enable=YES culprit
On Mon, 16 May 2011 11:14:49 -0700, Chip Camden sterl...@camdensoftware.com wrote: Quoth Warren Block on Monday, 16 May 2011: One problem with getting rid of hal entirely is libgnomeui, which depends on gvfs, which depends on gnome-mount, which depends on hal. That's what I did assume. Yes, that seems to be the sticking point. The only option appears to be doing without gimp, gnumeric, and dia, which all depend upon libgnomeui. Any Gnome-free alternatives out there? Let's see: Gimp - Krita (KDE) or InkScape? Gnumeric - KOffice (if you're already on KDE), OpenOffice, LibreOffice, StarOffice (or add any other possible *Office to the mix). And dia... I have to admit that I don't know what this is. :-) Maybe, just MAYBE, the gnome-mount dependency can be installed without requiring HAL. I don't know much about the details, but HAL has been said to be the means for automounting local media, and maybe is in conjuction with Samba. If you can disable such functionality via make config for the gnome-mount port, MAYBE there is a chance to avoid HAL in this specific case. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: No keyboard after ports update, 2x moused_enable=YES culprit
On Mon, 16 May 2011, Polytropon wrote: Maybe, just MAYBE, the gnome-mount dependency can be installed without requiring HAL. I don't know much about the details, but HAL has been said to be the means for automounting local media, and maybe is in conjuction with Samba. If you can disable such functionality via make config for the gnome-mount port, MAYBE there is a chance to avoid HAL in this specific case. gnome-mount is specifically for hal. OTOH, the Linux guys have been working on removing hal, and gvfs has a promising --disable-hal option I'm testing now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: No keyboard after ports update, 2x moused_enable=YES culprit
On Mon, May 16, 2011 at 11:14:49AM -0700, Chip Camden wrote: Yes, that seems to be the sticking point. The only option appears to be doing without gimp, gnumeric, and dia, which all depend upon libgnomeui. Any Gnome-free alternatives out there? I don't use anything like gnumeric or dia, generally, but an alternative to GIMP is Cinepaint. I don't *think* it requires libgnomeui. It has some, err, quirks, but they're trade-offs rather than pure negatives, because Cinepaint does a number of things better than the GIMP. Among the things it does better are start and operate quickly; where the GIMP often takes an interminably long time to do simple things (like open an image), Cinepaint is pretty snappy by comparison. The interface is occasionally a bit glitchy, though. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpB61va1wts8.pgp Description: PGP signature
Re: No keyboard after ports update, 2x moused_enable=YES culprit
Quoth Chad Perrin on Monday, 16 May 2011: On Mon, May 16, 2011 at 11:14:49AM -0700, Chip Camden wrote: Yes, that seems to be the sticking point. The only option appears to be doing without gimp, gnumeric, and dia, which all depend upon libgnomeui. Any Gnome-free alternatives out there? I don't use anything like gnumeric or dia, generally, but an alternative to GIMP is Cinepaint. I don't *think* it requires libgnomeui. It has some, err, quirks, but they're trade-offs rather than pure negatives, because Cinepaint does a number of things better than the GIMP. Among the things it does better are start and operate quickly; where the GIMP often takes an interminably long time to do simple things (like open an image), Cinepaint is pretty snappy by comparison. The interface is occasionally a bit glitchy, though. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Thanks, I'll take a look at it! -- .O. | Sterling (Chip) Camden | http://camdensoftware.com ..O | sterl...@camdensoftware.com | http://chipsquips.com OOO | 2048R/D6DBAF91 | http://chipstips.com pgpm495pJxv5U.pgp Description: PGP signature
Re: No keyboard after ports update, 2x moused_enable=YES culprit
Quoth Chad Perrin on Monday, 16 May 2011: On Mon, May 16, 2011 at 11:14:49AM -0700, Chip Camden wrote: Yes, that seems to be the sticking point. The only option appears to be doing without gimp, gnumeric, and dia, which all depend upon libgnomeui. Any Gnome-free alternatives out there? I don't use anything like gnumeric or dia, generally, but an alternative to GIMP is Cinepaint. I don't *think* it requires libgnomeui. It has some, err, quirks, but they're trade-offs rather than pure negatives, because Cinepaint does a number of things better than the GIMP. Among the things it does better are start and operate quickly; where the GIMP often takes an interminably long time to do simple things (like open an image), Cinepaint is pretty snappy by comparison. The interface is occasionally a bit glitchy, though. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Looks like cinepaint doesn't have any GNOME dependencies, and also no HAL dependency. Now if I can just learn how to do everything I know how to do in GIMP, I'll be set for that piece. I don't use dia very often (it's for diagrams). Gnumeric I use more frequently (for spreadsheets). I hate having to start up that monolithic libreoffice just to do a spreadsheet, but that would be a HAL-free alternative. Thanks to everyone who has responded so far. -- .O. | Sterling (Chip) Camden | http://camdensoftware.com ..O | sterl...@camdensoftware.com | http://chipsquips.com OOO | 2048R/D6DBAF91 | http://chipstips.com pgphgMl5hh0ad.pgp Description: PGP signature
Re: No keyboard after ports update, 2x moused_enable=YES culprit
On Mon, 16 May 2011, Chip Camden wrote: Looks like cinepaint doesn't have any GNOME dependencies, and also no HAL dependency. Now if I can just learn how to do everything I know how to do in GIMP, I'll be set for that piece. I don't use dia very often (it's for diagrams). Gnumeric I use more frequently (for spreadsheets). I hate having to start up that monolithic libreoffice just to do a spreadsheet, but that would be a HAL-free alternative. I just submitted ports/157096 with a patch to build gvfs without HAL support: http://www.freebsd.org/cgi/query-pr.cgi?pr=157096 Very lightly tested, but no problems so far. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: No keyboard after ports update, 2x moused_enable=YES culprit
Please allow me a technical sidenote: On Sat, 14 May 2011 20:53:27 -0700 (PDT), Rob Clark rpcl...@ymail.com wrote: Trying the obvious first, I unplugged the keyboard and plugged it back in the ps2 port, and keyboard worked immediately -- this was repeatable. Do _NOT_ hotplug the PS/2 port! It's not capable of that! I've seen myself in the past that trying so caused a mainboard to fly into the garbage can - as hotplugging the keyboard seemed to have damaged the PS/2 port (it didn't work anymore, with no keyboard). However, you actually CAN do this with USB. And I've done hotplugging with an old AT (big 5 pin keyboard connector) and HIL connect/disconnect at the keyboard (!) without any problem (IBM model M, the famous one). Some digging around revealed that I had the following line in /etc/rc.conf twice: moused_enable=YES This doesn't matter: /etc/rc.conf is a shell script included in system scripts that does just contain variables that are set. Compare the following: x = 3; x = 3; What does happen? Or even this: x = 3; x = 4; You can have the same line 100 times in this file, with the result that the _last_ setting will be used. See man rc.conf for details. I removed one of these (which I guess was the culprit) and left one as it should have been, then all was well. So _that_ is very strange, if one has the functionality of /etc/rc, rc.conf, and the rc.d/ scripts in mind... having a line twice in the config file does _not_ imply a service is started twice. I have no idea why I had moused_enable=YES in there twice, whether it was from an old or recent rc.conf edit, but it clearly seems to have been causing the issue. Coincidence, covariation, correlation...? :-) Other (maybe valuable) info: I am running hald in /etc/rc.conf as follows: dbus_enable=YES hald_enable=YES ...and these were there prior to the ports update. I figured this issue may be of some value since I did not do any src updates. While moused is part of the base system (updated per source or freebsd-update), dbus and hal are ports (job for portmaster). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: No keyboard after ports update, 2x moused_enable=YES culprit
On Sat, 14 May 2011, Rob Clark wrote: After restarting X, prior to any reboot, I lost the mouse in X. So I figured a reboot was in order. This is almost certainly HAL. If you do not know you need HAL for something, mark the hal and hal-info ports FORBIDDEN (set FORBIDDEN to any value in the Makefiles) whenever you update your ports tree. Grep /var/db/ports for hal and then remove the with hal option in the affected ports using make config. Force reinstall the affected ports. Try to pkg_delete hal, to check for dependencies you haven't resolved. When all the dependencies are removed, then remove hal. Some digging around revealed that I had the following line in /etc/rc.conf twice: moused_enable=YES I removed one of these (which I guess was the culprit) and left one as it should have been, then all was well. Keyboard found at reboot, no further issues -- mouse was available in X too. I have no idea why I had moused_enable=YES in there twice, whether it was from an old or recent rc.conf edit, but it clearly seems to have been causing the issue. This cannot be. Once or a million times should have exactly the same effect. Commonly ports, people, and sysinstall just add stuff to the end of this file. They add everything they know they need because only the last of similar entries has effect. rc.conf can become unwieldly over time because of this. It is safe to delete duplicate entries, but that should not affect the result. When the same value is assigned differing values only the last is effective. The defaults are in /etc/defaults/rc.conf which should never be edited. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: No keyboard after ports update, 2x moused_enable=YES culprit
Quoth Lars Eighner on Sunday, 15 May 2011: On Sat, 14 May 2011, Rob Clark wrote: After restarting X, prior to any reboot, I lost the mouse in X. So I figured a reboot was in order. This is almost certainly HAL. If you do not know you need HAL for something, mark the hal and hal-info ports FORBIDDEN (set FORBIDDEN to any value in the Makefiles) whenever you update your ports tree. Grep /var/db/ports for hal and then remove the with hal option in the affected ports using make config. Force reinstall the affected ports. Try to pkg_delete hal, to check for dependencies you haven't resolved. When all the dependencies are removed, then remove hal. That's some good advice. I was able to remove hal using this approach, but only after removing firefox, gimp, gnumeric, dia and several others. When I reinstalled firefox, it didn't need HAL -- but when I reinstalled gimp the first thing it did was build HAL. I didn't find HAL in any of gimp's options, and I have WITHOUT_HAL=YES in /etc/make.conf. The HAL daemon hald isn't running, and gimp seems to work. I wish I could figure out what dependency wanted HAL to be installed so I could remove it. -- .O. | Sterling (Chip) Camden | http://camdensoftware.com ..O | sterl...@camdensoftware.com | http://chipsquips.com OOO | 2048R/D6DBAF91 | http://chipstips.com pgpxOEZd2EVGz.pgp Description: PGP signature
Re: No keyboard after ports update, 2x moused_enable=YES culprit
Polytropon free...@edvax.de wrote: Do _NOT_ hotplug the PS/2 port! It's not capable of that! I've seen myself in the past that trying so caused a mainboard to fly into the garbage can - as hotplugging the keyboard seemed to have damaged the PS/2 port (it didn't work anymore, with no keyboard). This is conventional wisdom, and I believed it until I came across, as an enclosure with a Belkin F8E206c PS/2 keyboard that had 3 extra keys*, specific instructions to unplug the keyboard, wait 5 seconds, and replug it to get past a BIOS incompatibility on some Intel boards using the SE440BX-2 chipset. (The next step was to upgrade the BIOS, but the hotplug exercise was necessary to get to the point of being _able_ to upgrade the BIOS.) * Power, Sleep, WakeUp; presumably intended for ACPI or APM. However, you actually CAN do this with USB. Yes, USB was designed to be hot-pluggable. And I've done hotplugging with an old AT (big 5 pin keyboard connector) and HIL connect/disconnect at the keyboard (!) without any problem (IBM model M, the famous one). The AT and PS/2 keyboard interfaces are electrically identical -- only the physical connector is different. (I have seen, and used, adapters to connect either type of keyboard to the other type of system. Such adapters have no active components, just the two connectors wired together.) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: No keyboard after ports update, 2x moused_enable=YES culprit
--As of May 15, 2011 8:03:29 PM -0700, per...@pluto.rain.com is alleged to have said: The AT and PS/2 keyboard interfaces are electrically identical -- only the physical connector is different. (I have seen, and used, adapters to connect either type of keyboard to the other type of system. Such adapters have no active components, just the two connectors wired together.) --As for the rest, it is mine. The physical connector is all that actually needs to be different: Hot-swap interfaces make a point of connecting ground before power, usually be longer ground pins. Although I don't think it matters in this case. I could check, but I'd have to unplug my keyboard from the computer I'm on. ;) Daniel T. Staal --- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: No keyboard after ports update, 2x moused_enable=YES culprit
Daniel Staal dst...@usa.net wrote: --As of May 15, 2011 8:03:29 PM -0700, per...@pluto.rain.com is alleged to have said: The AT and PS/2 keyboard interfaces are electrically identical -- only the physical connector is different. --As for the rest, it is mine. The physical connector is all that actually needs to be different: Hot-swap interfaces make a point of connecting ground before power, usually be longer ground pins. The PS/2 should qualify on this point, provided it is wired _correctly_ (with the connector shell grounded both on the motherboard and in the cable). I'm less sure about the AT, which used a 5-pin DIN plug that may not even have had a shell-ground on the motherboard -- we were less concerned about generating RFI in those days. IIRC all 5 pins were the same length. It's possible this particular Belkin keyboard used longer pins for power and ground than for signal, so as to be safely hot-pluggable even if the motherboard didn't ground the connector shell. However, I've since gotten by with hot-plugging a PS/2 trackball on the same machine a couple of times, to clear lockups. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
No keyboard after ports update, 2x moused_enable=YES culprit
System Info: 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Tue Aug 10 11:43:36 EDT 2010, and xorg-server-1.7.7_1,1 X.Org X server and related programs Not having updated my ports in nearly 1 year, I did a sledgehammer approach with portmaster as follows: portmaster -D -R -f -m BATCH=yes -a This took a few rounds. I did this as I started having all sorts of issues after running down various port problems when going through a rather long /usr/ports/UPDATING. Maybe not the best method, but I think everything is finally done. After restarting X, prior to any reboot, I lost the mouse in X. So I figured a reboot was in order. Issue: After a reboot I found I had no keyboard -- not even in console mode. Trying the obvious first, I unplugged the keyboard and plugged it back in the ps2 port, and keyboard worked immediately -- this was repeatable. Reboot, same thing, no keyboard. Some digging around revealed that I had the following line in /etc/rc.conf twice: moused_enable=YES I removed one of these (which I guess was the culprit) and left one as it should have been, then all was well. Keyboard found at reboot, no further issues -- mouse was available in X too. I have no idea why I had moused_enable=YES in there twice, whether it was from an old or recent rc.conf edit, but it clearly seems to have been causing the issue. Other (maybe valuable) info: I am running hald in /etc/rc.conf as follows: dbus_enable=YES hald_enable=YES ...and these were there prior to the ports update. I figured this issue may be of some value since I did not do any src updates. I'll be glad to try to help or test this further, but keep in mind I'm not a coder. Thanks, Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org