Re: USB Mouse not working
I've had probably had the same issues with an logitech wheel-mouse (usb): Mar 24 23:56:55 harare kernel: ums0: 3 buttons and Z dir. The following xorg-section without any rc.conf moosed stuff got it to work: Section InputDevice Identifier Mouse1 Option Protocolauto Option Device /dev/sysmouse Option Buttons 5 Option ZAxisMapping 4 5 EndSection Hope this helps. Regards, Wouter 2008/3/26, Fabio Pennati [EMAIL PROTECTED]: I am a new FreeBSD user coming from Gentoo. I am not able to get working an usb optical wired mouse from Labtec that is working well with many Linux distro's and WXP too. I am using a FreeBSD 7.0 standard GENERIC kernel configuration with all usb devices installed, thus: # USB support deviceuhci# UHCI PCI-USB interface deviceohci# OHCI PCI-USB interface deviceehci# EHCI PCI-USB interface (USB 2.0) deviceusb# USB Bus (required) #deviceudbp# USB Double Bulk Pipe devices deviceugen# Generic deviceuhid# Human Interface Devices deviceukbd# Keyboard deviceulpt# Printer deviceumass# Disks/Mass storage - Requires scbus and da deviceums# Mouse Here is an extract from my rc.conf: usbd_enable=YES moused_enable=YES moused_type=auto moused_port=/dev/ums0 moused_flags= usbd_flags= moused_nondefault_enable=YES moused_ums0_flags= I tried also to take out from rc.conf any moused-stuff lines but without no results. And here is the messages from kernel during boot, probing ums device: ums0: vendor 0x1241 product 0x, class 0/0, rev 1.00/1.00, addr 2 on uhub0 ums0: 3 buttons and Z dir. This is the xorg.conf, for the part interesting the mouse: Section InputDevice Identifier Mouse0 Driver mouse OptionProtocol Auto OptionDevice /dev/sysmouse OptionZAxisMapping 4 5 6 7 EndSection Furthermore I installed the same mouse with an hw adapter to the serial port of the PC and obviously it works, of course as pms device, but very slowly and with no precision. There is someone that has any idea ? Thanks, Fabio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB Mouse not working
Forgot Driver: Section InputDevice Identifier Mouse1 Driver mouse Option Protocolauto Option Device /dev/sysmouse Option Buttons 5 Option ZAxisMapping 4 5 EndSection 2008/3/26, Wouter Oosterveld [EMAIL PROTECTED]: I've had probably had the same issues with an logitech wheel-mouse (usb): Mar 24 23:56:55 harare kernel: ums0: 3 buttons and Z dir. The following xorg-section without any rc.conf moosed stuff got it to work: Section InputDevice Identifier Mouse1 Option Protocolauto Option Device /dev/sysmouse Option Buttons 5 Option ZAxisMapping 4 5 EndSection Hope this helps. Regards, Wouter 2008/3/26, Fabio Pennati [EMAIL PROTECTED]: I am a new FreeBSD user coming from Gentoo. I am not able to get working an usb optical wired mouse from Labtec that is working well with many Linux distro's and WXP too. I am using a FreeBSD 7.0 standard GENERIC kernel configuration with all usb devices installed, thus: # USB support deviceuhci# UHCI PCI-USB interface deviceohci# OHCI PCI-USB interface deviceehci# EHCI PCI-USB interface (USB 2.0) deviceusb# USB Bus (required) #deviceudbp# USB Double Bulk Pipe devices deviceugen# Generic deviceuhid# Human Interface Devices deviceukbd# Keyboard deviceulpt# Printer deviceumass# Disks/Mass storage - Requires scbus and da deviceums# Mouse Here is an extract from my rc.conf: usbd_enable=YES moused_enable=YES moused_type=auto moused_port=/dev/ums0 moused_flags= usbd_flags= moused_nondefault_enable=YES moused_ums0_flags= I tried also to take out from rc.conf any moused-stuff lines but without no results. And here is the messages from kernel during boot, probing ums device: ums0: vendor 0x1241 product 0x, class 0/0, rev 1.00/1.00, addr 2 on uhub0 ums0: 3 buttons and Z dir. This is the xorg.conf, for the part interesting the mouse: Section InputDevice Identifier Mouse0 Driver mouse OptionProtocol Auto OptionDevice /dev/sysmouse OptionZAxisMapping 4 5 6 7 EndSection Furthermore I installed the same mouse with an hw adapter to the serial port of the PC and obviously it works, of course as pms device, but very slowly and with no precision. There is someone that has any idea ? Thanks, Fabio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- [ [EMAIL PROTECTED] is binnenkort niet meer, [EMAIL PROTECTED] is mijn nieuwe email-adres. ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
what is up with ftpd (some questions)
Why are there two ftpd's in FreeBSD RELEASE-7.0 ? There is the original ftpd and lukemftpd in contrib. There is a pam_ftpusers which doesn't work with the original ftpd. (I would like to be able to whitelist). Lukemftpd isn't updated in a while. --- Are there any plans to merge some stuff from lukem in the base ftpd? Are patches to the original ftpd accepted? Regards, Wouter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what is the meaning of optimization changed from TIME to SPACE
/storage/pub/www/ram: optimization changed from TIME to SPACE This is not an error. It probably means the ramdisk changed it's allocation policy from preserving time to conserving space. Something what would happen if the data on it gets relatively (against available mem) big. I guess. Regards, Wouter ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mysqlclient upgrade
Hello people, Doe anyone have experience upgrading the mysqlclient-4.0.x to mysqlclient-5.0.x while retaining mysqlserver-4.0.x and linking php4-mysql-4.4.2_1 against mysqlclient-4.0.x. How would I do this? I got some clue about setting PREFIX and configure option but not much. FreeBSD example.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri Oct 21 13:11:05 CEST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/STOEPTEGEL i386 mod_auth_mysql-2.20_7 Allows users to use MySQL databases for user authentication mysql-client-4.0.26_1 Multithreaded SQL database (client) mysql-server-4.0.26_1 Multithreaded SQL database (server) p5-DBD-mysql-3.0002 MySQL driver for the Perl5 Database Interface (DBI) php4-mysql-4.4.2_1 The mysql shared extension for php Regards, Wouter Oosterveld ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fwd: mysqlclient upgrade
Sorry, I mean linking php4-mysql-4.4.2_1 against mysqlclient-5.0.x. Groetjes, Wouter -- Forwarded message -- From: Wouter Oosterveld [EMAIL PROTECTED] Date: 14 feb. 2008 17:29 Subject: mysqlclient upgrade To: freebsd-questions@freebsd.org Hello people, Doe anyone have experience upgrading the mysqlclient-4.0.x to mysqlclient-5.0.x while retaining mysqlserver-4.0.x and linking php4-mysql-4.4.2_1 against mysqlclient-5.0.x. How would I do this? I got some clue about setting PREFIX and configure option but not much. FreeBSD example.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri Oct 21 13:11:05 CEST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/STOEPTEGEL i386 mod_auth_mysql-2.20_7 Allows users to use MySQL databases for user authentication mysql-client-4.0.26_1 Multithreaded SQL database (client) mysql-server-4.0.26_1 Multithreaded SQL database (server) p5-DBD-mysql-3.0002 MySQL driver for the Perl5 Database Interface (DBI) php4-mysql-4.4.2_1 The mysql shared extension for php Regards, Wouter Oosterveld -- [ [EMAIL PROTECTED] is binnenkort niet meer, [EMAIL PROTECTED] is mijn nieuwe email-adres. ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
rename and chmod (was: cp -p)
Now, from a logical point of view, why moving a file into a directory doesn't fall into the created into them case? Because (if on the same filesystem) you don't create a new file. You just link the file in the destination dir and unlink the file from the source dir. Exactly. But from a /*logical*/ point of view, shouldn't this case be treated /*as if*/ the file was created inside the target directory? No. This has nothing to do with logics but with your premisses, the implementation of mv and standards (IEEE Std 1003.2 (``POSIX.2'')). It just behaves different than you would expect, but that is no logical error. Regards, Wouter -- Pietro Cerutti PGP Public Key: http://gahr.ch/pgp -- [ [EMAIL PROTECTED] is binnenkort niet meer, [EMAIL PROTECTED] is mijn nieuwe email-adres. ] -- [ [EMAIL PROTECTED] is binnenkort niet meer, [EMAIL PROTECTED] is mijn nieuwe email-adres. ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rename and chmod (was: cp -p)
Now, from a logical point of view, why moving a file into a directory doesn't fall into the created into them case? Because (if on the same filesystem) you don't create a new file. You just link the file in the destination dir and unlink the file from the source dir. Regards, Wouter 2008/2/8, Pietro Cerutti [EMAIL PROTECTED]: Ok, my view is getting clearer ;-) my problem in understanding the semantics of mv, cp -p and the rename(2) function seems to be related to the terminology used in chmod(1) man page. This is the explanation of setuid (the same holds for setgid): Directories with this bit set will force all files and subdirectories created in them to be owned by the directory owner and not by the uid of the creating process, if the underlying file system supports this feature Now, from a logical point of view, why moving a file into a directory doesn't fall into the created into them case? -- Pietro Cerutti PGP Public Key: http://gahr.ch/pgp -- [ [EMAIL PROTECTED] is binnenkort niet meer, [EMAIL PROTECTED] is mijn nieuwe email-adres. ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sendmail should not bind to loopback only
Thank you! That fixed it. --- I can't find this in the FreeBSD handbook (not in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sendmail.html anyway). Would that be a documentation bug? If not, which piece of documentation should I have read? Regards, Wouter 2008/2/4, Matthew Seaman [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Wouter Oosterveld wrote: Hello, I'm experiencing a weird problem with sendmail on a FreeBSD 6.3-RELEASE machine (Dell PE2950 AMD64). Sendmail seems to only bind to the loopback device while not explicitly configured. I copied the config from an 5.3-RELEASE-p9 machine. Change sendmail_enable=NO to sendmail_enable=YES in /etc/rc.conf Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. Flat 3 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW, UK -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHpwVY3jDkPpsZ+VYRA0mlAJ9qjVQtQuril9YkEM6qPvs3Lxmz5wCgsC0E j282KOlpThsTCc9zxQSp8eY= =w+J0 -END PGP SIGNATURE- -- [ [EMAIL PROTECTED] is binnenkort niet meer, [EMAIL PROTECTED] is mijn nieuwe email-adres. ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Endianness of freeBSD
Endianness depends on the hardware. In internal kernel structures endianness does not matter, if communicating with other machines protocols (usually) define a bitorder. The c-library and/or systemlibrary contains utility functions for conversion. Regards, Wouter Oosterveld 2008/2/4, navneet Upadhyay [EMAIL PROTECTED]: 1. Is FreeBSD little Endian like windows? 2. Linux is Big endian? wrote a code int i = 1;if((i 1) == 0) little else big got little on all platforms bsd,linux,windows. *Does endianness depends on OS or the hardware?* ** ** *Thanks,* *navneet* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- [ [EMAIL PROTECTED] is binnenkort niet meer, [EMAIL PROTECTED] is mijn nieuwe email-adres. ] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sendmail should not bind to loopback only
Hello, I'm experiencing a weird problem with sendmail on a FreeBSD 6.3-RELEASE machine (Dell PE2950 AMD64). Sendmail seems to only bind to the loopback device while not explicitly configured. I copied the config from an 5.3-RELEASE-p9 machine. I ofcourse checked the change log of sendmail, /usr/src/UPDATING, the batbook and google. Does anyone have an idea what is causing this? Thanks in advance, Wouter Oosterveld sockstat: (12:46:38)[EMAIL PROTECTED] ~ # sockstat -4l USER COMMANDPID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS (...) root sendmail 1205 4 tcp4 127.0.0.1:25 *:* (...) config sendmail.mc: VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.30.2.4 2007/11/22 16:20:01 gshapiro Exp $') OSTYPE(freebsd6) DOMAIN(generic) FEATURE(access_db, `hash -o -TTMPF /etc/mail/access') FEATURE(`greet_pause',700) FEATURE(blacklist_recipients) FEATURE(local_lmtp) FEATURE(mailertable, `hash -o /etc/mail/mailertable') FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') dnl INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m') dnl define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name}, {if_name}, {if_addr}')dnl define(`confCW_FILE', `-o /etc/mail/local-host-names') FEATURE(`masquerade_entire_domain')dnl FEATURE(`masquerade_envelope')dnl FEATURE(`dnsbl',`zen.spamhaus.org')dnl FEATURE(`delay_checks', `friend')dnl define(`confME_TOO', `false')dnl define(`confBIND_OPTS', `WorkAroundBroken') define(`confNO_RCPT_ACTION', `add-to-undisclosed') define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') DAEMON_OPTIONS(`Name=IPv4, Family=inet') DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') MAILER(local) MAILER(smtp) grep -i 'o daemon' /etc/mail/sendmail.cf: O DaemonPortOptions=Name=IPv4, Family=inet O DaemonPortOptions=Name=IPv6, Family=inet6, Modifiers=O O DaemonPortOptions=Port=587, Name=MSA, M=E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]