Re: *caution* severely OT!!
Chad wrote: I really don't think I'd say that Common Lisp is syntactically very close to python [sic]. It's not fair to either Common Lisp or Python, On the contrary python is strikingly similar to a simplified version of lisp without parentesis. It is not an original opinion by far, see the following post of an eminent lisp hacker: http://norvig.com/python-lisp.html Of course lisp is considerably more complex if you begin to use more exotic features, but if you confine yourself to translating python code, it may be almost litteral translation, as explained in the link above. -- Michel TALON ___ 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: Please secure your FTP access
At 21:43 13/09/2011, Sarang. wrote: H! there, I have seen your site and also got ftp access.. Please secure your ftp acces otherwise anyone can delete your data Why anyone? even I am also interested in it.. please move your ass otherwise it will cost you. If you are not going to fix this problem then I will delete all the files tommorrow... Take care.. You log in as anonymous user but the user whom owns the ftp is another one (perhaps ftp). The permises you get are r-x (thh last ones) not rwx. HTH Ethical but Bad Hacker... ___ 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 ___ 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: ssh with bridged ap
Again, your /var/log/auth.log should be very helpful in this matter. Connect on your server with WIFI then do this: tail -f /var/log/auth.log Then, try to connect using the wired connection and see if you get any logs. If you do, post them here :) If you're connecting from a non-windows box, please pass the -v flag to your ssh client to toggle verbose output and post that here too. On 9/13/11 2:14 PM, George Vagner wrote: I was thinking that maybe because the wired interface doesn't actually have An IP address it is a reverse lookup thing. -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Damien Fleuriot Sent: Tuesday, September 13, 2011 5:36 AM To: freebsd-questions@freebsd.org Subject: Re: ssh with bridged ap On 9/13/11 3:54 AM, george vagner wrote: I have set up wireless AP with a static IP and bridged it to my internal wired network on RE0. I can successfully connect with WPA to the wireless network and browse other computers on the wired net fine, I can log into the freebsd machine using ssh no problem as long as if I connect via the wireless network. If I try and log into the freebsd machine using the wired network I get a log in prompt for username Then I get the password prompt but after typing in my password it always says login incorrect, it don't do this if I am on the wireless net. Maybe something in the sshd config about bridged connections? Maybe an excerpt from your /var/log/auth.log at that time, too... Might turn out that you don't get anything in /var/log/auth.log which would indicate that, when using the wired IP of the machine, you're actually connecting to another host. ___ 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 ___ 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 ___ 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: Hellanzb, segmentation
On 9/7/11 3:13 PM, Ofloo wrote: For some reason, hellanzb keeps segmentating whenever it is processing something, .. now i was wondering how i could debug it, .. cause nothing other then except segmentation doesn't show up anywhere. So at least i can find out what is going on, .. Iām using python2.7, .. and the latest hellanzb from FreeBSD8.2 ports tree. Regards, .. -- View this message in context: http://freebsd.1045724.n5.nabble.com/Hellanzb-segmentation-tp4778460p4778460.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ 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 Indirect answer to your question: do like me, switch to sabnzbd . Serving it with an nginx frontend doing PAM authentication, works pretty nicely. ___ 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
Recommended SWAP space for large amounts of ram (8GB)
Good morning all, Each operating system seems to have different documentation regarding what a decent swap size is for systems with large amounts of RAM. My system only has 8GB of RAM. Some people have gone with the general idea that 2X the amount of RAM is sufficient but for systems with large amounts of memory 1X the amount of RAM is fine. I was also told that anything over 2GB of SWAP space will cause performance issues on the system and that it is not recommended. Either from the FreeBSD docs, or based on personal experiences, what is the recommended swap space for a 8GB system? Your opinions are greatly appreciated Kind Regards, Jonathan ___ 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: Hellanzb, segmentation
On Wed, 14 Sep 2011 07:44:32 -0500, Damien Fleuriot m...@my.gd wrote: Indirect answer to your question: do like me, switch to sabnzbd . Serving it with an nginx frontend doing PAM authentication, works pretty nicely. You can serve sabnzbd without using its own built-in webserver? Or are you proxying with password auth? Regards, Mark ___ 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: Recommended SWAP space for large amounts of ram (8GB)
On 14/09/2011 13:34, Jonathan Vomacka wrote: Each operating system seems to have different documentation regarding what a decent swap size is for systems with large amounts of RAM. My system only has 8GB of RAM. Some people have gone with the general idea that 2X the amount of RAM is sufficient but for systems with large amounts of memory 1X the amount of RAM is fine. I was also told that anything over 2GB of SWAP space will cause performance issues on the system and that it is not recommended. Either from the FreeBSD docs, or based on personal experiences, what is the recommended swap space for a 8GB system? Your opinions are greatly appreciated The old rule of thumb of swap = 2 x RAM dates back to the days when 128MB RAM was a big deal. Nowadays, you're likely to have that much in your phone, and systems with 128GB RAM are not unknown. In these days of plentiful RAM, the new rule of thumb is if you're swapping, then you're doing it wrong. You don't need anything like as much swap nowadays, at least, not as compensation for lack of RAM. You may need swap to back eg. tmpfs filesystems. You don't need swap nowadays for system dumps -- any partition with ephemeral data (or no data at all) can be used for dumping, and given that minidump capability exists now, you don't even need to supply the 1 x RAM + delta required for a full dump. That swap 2GB resulted in performance problems was certainly true once, but I doubt very much that it is still the case in HEAD or the upcoming 9.0-RELEASE, nor probably in {7,8}-STABLE. IIRC the problem was due to avoiding integer overflow in some calculations deep inside the VM system, which is usually not a hugely difficult problem to fix. My recommendation: for systems with 1GB RAM or more, and that don't make heavy use of memory filesystems and the like, then 2GB swap is ample, and you can probably get away with as little as 1GB at need. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Recommended SWAP space for large amounts of ram (8GB)
Excellent response. Thank you so much. On Sep 14, 2011 9:56 AM, Matthew Seaman m.sea...@infracaninophile.co.uk wrote: On 14/09/2011 13:34, Jonathan Vomacka wrote: Each operating system seems to have different documentation regarding what a decent swap size is for systems with large amounts of RAM. My system only has 8GB of RAM. Some people have gone with the general idea that 2X the amount of RAM is sufficient but for systems with large amounts of memory 1X the amount of RAM is fine. I was also told that anything over 2GB of SWAP space will cause performance issues on the system and that it is not recommended. Either from the FreeBSD docs, or based on personal experiences, what is the recommended swap space for a 8GB system? Your opinions are greatly appreciated The old rule of thumb of swap = 2 x RAM dates back to the days when 128MB RAM was a big deal. Nowadays, you're likely to have that much in your phone, and systems with 128GB RAM are not unknown. In these days of plentiful RAM, the new rule of thumb is if you're swapping, then you're doing it wrong. You don't need anything like as much swap nowadays, at least, not as compensation for lack of RAM. You may need swap to back eg. tmpfs filesystems. You don't need swap nowadays for system dumps -- any partition with ephemeral data (or no data at all) can be used for dumping, and given that minidump capability exists now, you don't even need to supply the 1 x RAM + delta required for a full dump. That swap 2GB resulted in performance problems was certainly true once, but I doubt very much that it is still the case in HEAD or the upcoming 9.0-RELEASE, nor probably in {7,8}-STABLE. IIRC the problem was due to avoiding integer overflow in some calculations deep inside the VM system, which is usually not a hugely difficult problem to fix. My recommendation: for systems with 1GB RAM or more, and that don't make heavy use of memory filesystems and the like, then 2GB swap is ample, and you can probably get away with as little as 1GB at need. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW ___ 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
Thinkpad audio question
A friend of mine has an IBM T500 Thinkpad which is nearly identical to the one I have. We both have interesting audio issues. Any ideas as to why the problems explained below exist would be greatly appreciated. My T500 shows two devices /dev/mixer0 and /dev/mixer1 corresponding to pcm0 and pcm1 as displayed by % cat /dev/sndstat in 8.2-PRERELEASE from January 2011. I am able to hear audio on the built-in speakers using /dev/mixer1 but not able to hear audio when plugging stereo headphones into the green audio out jack. However, the speaker audio is muted when the headphones are plugged in. I have tried two different head sets to rule out flawed hardware. My friend's T500 is more up-to-date than mine (likely 8.2-STABLE) but in his case headphone audio works perfectly and he has had no luck in getting audio out of his built-in laptop speakers. Very weird... This situation sucks, but we have not been able to suss out what the problem is. He and I have been running FreeBSD for over a decade, so we are not clueless, but this laptop audio weirdness has us stumped. Regards, web... -- William Bulley Email: w...@umich.edu 72 characters width template -| ___ 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: Thinkpad audio question
On Wed, September 14, 2011 9:44 am, William Bulley wrote: A friend of mine has an IBM T500 Thinkpad which is nearly identical to the one I have. We both have interesting audio issues. Any ideas as to why the problems explained below exist would be greatly appreciated. My T500 shows two devices /dev/mixer0 and /dev/mixer1 corresponding to pcm0 and pcm1 as displayed by % cat /dev/sndstat in 8.2-PRERELEASE from January 2011. I am able to hear audio on the built-in speakers using /dev/mixer1 but not able to hear audio when plugging stereo headphones into the green audio out jack. However, the speaker audio is muted when the headphones are plugged in. I have tried two different head sets to rule out flawed hardware. My friend's T500 is more up-to-date than mine (likely 8.2-STABLE) but in his case headphone audio works perfectly and he has had no luck in getting audio out of his built-in laptop speakers. Very weird... This situation sucks, but we have not been able to suss out what the problem is. He and I have been running FreeBSD for over a decade, so we are not clueless, but this laptop audio weirdness has us stumped. Quick thought: What versions of the BIOS are each of you running? 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: Thinkpad audio question
According to Daniel Staal dst...@usa.net on Wed, 09/14/11 at 10:20: Quick thought: What versions of the BIOS are each of you running? Can't speak for him, but here is the output from biosdecode(8): thinkpad% biosdecode | m # biosdecode 2.10 VPD present. BIOS Build ID: 6FET66WW Box Serial Number: R8XYZ03 Motherboard Serial Number: VQ0VP98J5WA Machine Type/Model: 2081CTO SMBIOS 2.4 present. Structure Table Length: 2627 bytes Structure Table Address: 0x000E0010 Number Of Structures: 74 Maximum Structure Size: 120 bytes BIOS32 Service Directory present. Revision: 0 Calling Interface Address: 0x000FDC80 ACPI 2.0 present. OEM Identifier: LENOVO RSD Table 32-bit Address: 0x7CB6A207 XSD Table 64-bit Address: 0x7CB6A273 PNP BIOS 1.0 present. Event Notification: Not Supported Real Mode 16-bit Code Address: E192:1920 Real Mode 16-bit Data Address: 0040: 16-bit Protected Mode Code Address: 0x000F8AD7 16-bit Protected Mode Data Address: 0x0400 I don't know what to make of all this. I hope this answers your above question. :-) Regards, web... -- William Bulley Email: w...@umich.edu 72 characters width template -| ___ 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: *caution* severely OT!!
Quoth Michel Talon on Wednesday, 14 September 2011: Chad wrote: I really don't think I'd say that Common Lisp is syntactically very close to python [sic]. It's not fair to either Common Lisp or Python, On the contrary python is strikingly similar to a simplified version of lisp without parentesis. It is not an original opinion by far, see the following post of an eminent lisp hacker: http://norvig.com/python-lisp.html Of course lisp is considerably more complex if you begin to use more exotic features, but if you confine yourself to translating python code, it may be almost litteral translation, as explained in the link above. The OO systems are quite different. As long as the Python code confines itself to a functional style, then translating to Lisp shouldn't be hard. But rewriting Python classes in CLOS would not be a simple translation. -- .O. | Sterling (Chip) Camden | http://camdensoftware.com ..O | sterl...@camdensoftware.com | http://chipsquips.com OOO | 2048R/D6DBAF91 | http://chipstips.com pgp7AjTEYCdjH.pgp Description: PGP signature
Re: Hellanzb, segmentation
On 9/14/11 3:15 PM, Mark Felder wrote: On Wed, 14 Sep 2011 07:44:32 -0500, Damien Fleuriot m...@my.gd wrote: Indirect answer to your question: do like me, switch to sabnzbd . Serving it with an nginx frontend doing PAM authentication, works pretty nicely. You can serve sabnzbd without using its own built-in webserver? Or are you proxying with password auth? It uses its built-in web server. So what I do is make it bind only on 127.0.0.1:2080 (or whatever port). Then I set nginx up as a frontend, forcing the use of HTTPS and PAM authentication. ___ 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: Thinkpad audio question
See man snd_hda, you probably need to set device.hints. For example, I with T400 have something like this in device hints: hint.hdac.0.cad0.nid22.config=as=1 seq=15 hint.hdac.0.cad0.nid24.config=as=3 hint.hdac.0.cad0.nid26.config=as=1 hint.hdac.0.cad0.nid29.config=as=2 best regards, Jakub Lach -- View this message in context: http://freebsd.1045724.n5.nabble.com/Thinkpad-audio-question-tp4802936p4803609.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ 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: FreeBSD 8.2 Partition Sizing question
On Sep 14, 2011, at 11:27 AM, Jonathan Vomacka wrote: In regards to partitioning, I have a question regarding a rumor that has been told to me by various different linux experts, and I wanted to confirm if this also takes place with FreeBSD Unix. In the past, I have always had the root filesystem (/) and the /usr filesystem all on seperate partitions. I was told that having /usr on a seperate partition is an old way of doing things and actually causes issues when /usr is mounted separately from root (/). Does this play true in FreeBSD or is that thought process nonsense? I was told to create a larger root filesystem and NOT create usr seperately as /usr will mount off the root filesystem anyway. Will there be any issues by having /usr on a separate partition then root? I will like to know any opinions on this, as well as suggestions based on how other FreeBSD guru's have their server setups. There is nothing wrong with having / and /usr on separate partitions; in fact, there are some mild advantages to fine-grained partitioning for folks who pay attention to their filesystem space usage. However, there is nothing wrong with a single root partition (well, and swap partition), either. Regards, -- -Chuck ___ 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: Recommended SWAP space for large amounts of ram (8GB)
On 14/09/2011 18:27, Michael Sierchio wrote: On Wed, Sep 14, 2011 at 6:55 AM, Matthew Seaman m.sea...@infracaninophile.co.uk wrote: ... In these days of plentiful RAM, the new rule of thumb is if you're swapping, then you're doing it wrong. I think your response follows the excellent pedagogical principle: a little inaccuracy saves a lot of explanation. But... disk is still (by far) the cheapest commodity, and the opportunistic paging algorithm manages VM very well. VM is not by any means obsolete, and seeing paging behavior is not a sign of a misconfigured system. Well, yes. I was certainly glossing over a lot of complexity -- but I would maintain that I am fundamentally correct. Having some pages swapped out is absolutely not a problem. True. In fact, it's a positive benefit: swapping out memory pages that are exceedingly rarely referenced makes more room in RAM for more actively used pages. On the other hand, having pages continually swapping in and out definitely is a problem in terms of performance, given that disk IO takes of the order of milliseconds, while reference to main RAM is of the order of microseconds or less. Orders of magnitude faster. Now, while disk may well be the much the cheapest storage medium available, that's only part of the expense. In fact, up-front capital expenditure on the kit (perhaps several thousand pounds/euros/dollars) is outweighed by the operational expense (power, cooling, hardware support etc.) over the life of the equipment, so spending a bit more (capex) on components that run at lower power (opex) makes a lot of sense. Even more, if the server is being used for eg. e-Commerce, then the volume of the transactions and the data processed by the server makes all the difference to your margin: the more you can do with the same hardware - viz, the more efficiently and faster you can make the hardware run - then the more profit you make. Buying more RAM is peanuts on that scale. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: FreeBSD 8.2 Partition Sizing question
On 14/09/2011 19:31, Chuck Swiger wrote: On Sep 14, 2011, at 11:27 AM, Jonathan Vomacka wrote: In regards to partitioning, I have a question regarding a rumor that has been told to me by various different linux experts, and I wanted to confirm if this also takes place with FreeBSD Unix. In the past, I have always had the root filesystem (/) and the /usr filesystem all on seperate partitions. I was told that having /usr on a seperate partition is an old way of doing things and actually causes issues when /usr is mounted separately from root (/). Does this play true in FreeBSD or is that thought process nonsense? I was told to create a larger root filesystem and NOT create usr seperately as /usr will mount off the root filesystem anyway. Will there be any issues by having /usr on a separate partition then root? I will like to know any opinions on this, as well as suggestions based on how other FreeBSD guru's have their server setups. There is nothing wrong with having / and /usr on separate partitions; in fact, there are some mild advantages to fine-grained partitioning for folks who pay attention to their filesystem space usage. However, there is nothing wrong with a single root partition (well, and swap partition), either. Use ZFS and you can put / and /usr on different filesystems (zfses), without any need to worry about not having made any of those filesystems big enough. (Since all the free space is held in common for all of the zfses on the same zpool.) The best of both worlds. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Brother MFC-8890DW printer
I have an opportunity to pick up a Brother MFC-8890DW printer at a fantastic price. There is a Linux driver for CUPS available at: http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/instruction_prn1c.html This is obviously not a high end unit; however, I feel I could probably get fair results out of it. It is not a color printer so it will only be used for normal b/w documents. I plan to hook it up to my router using a wireless setup on my home network. I am not worried about my Windows machines since it will obviously work; however, I want to know it this printer works as designed with FreeBSD. I doubt that the FAX function would be used at all via FreeBSD, if it is used at all. I have a dedicated FAX. However, the copy and scan functions would be important. -- Jerry ā jerry+f...@seibercom.net Disclaimer: off-list followups get on-list replies or ignored. Do not CC this poster. Please do not ignore the Reply-To header. http://www.catb.org/~esr/faqs/smart-questions.html ___ 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: Brother MFC-8890DW printer
On Wed, Sep 14, 2011 at 2:56 PM, Jerry je...@seibercom.net wrote: I have an opportunity to pick up a Brother MFC-8890DW printer at a fantastic price. There is a Linux driver for CUPS available at: http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/instruction_prn1c.html This is obviously not a high end unit; however, I feel I could probably get fair results out of it. It is not a color printer so it will only be used for normal b/w documents. I plan to hook it up to my router using a wireless setup on my home network. I am not worried about my Windows machines since it will obviously work; however, I want to know it this printer works as designed with FreeBSD. I doubt that the FAX function would be used at all via FreeBSD, if it is used at all. I have a dedicated FAX. However, the copy and scan functions would be important. My 0.02: For printing you will most likely get IPP printing a generic PostScript driver to work with this printer, and obviously by using the provided PPD by Brother. In this case FreeBSD CUPS server will act as a client to the printer which really is it's own print server. If you get it to work with IPP you shouldn't really need a driver as such, just the appropriate filter to work (i.e. the PPD file). Scanning is probably going to be harder. All front-end sane programs support the net driver but I think that is limited to saned, the networked version of sane. I have used saned and I scan remotely with saned but the actual sane driver is running on the machine that has the device physically attached to it. Again in your case, the scanner itself provides some scanner protocol (i.e. the scanner is the scanning server sever) and it's probably not open nor compatible with the front-end sane applications. Sane as such has poor support for Brother: http://www.sane-project.org/sane-mfgs.html#Z-BROTHER But, many times these multi-function machines are OEM by others (Samsung, Xerox, etc) especially if the scanner is ADF maybe the hw is actually Canon or Fujitsu. So maybe the chipset is actually compatible with other sane drivers. On the other hand, Brother seems to be quite Linux friendly: http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html From what I saw real quick it could be quite possible to get the Linux Brother network scanner driver to work on FBSD/Sane by means of Linuxator, even the network scanning: http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/instruction_scn1b.html So resuming: - It's very probable that a CUPS server (actually client in this case) will print on this network device. Probably via IPP using the provided PPD by Brother or generic Postscript I think will work for sure. - The networks scanner seems to be supported by Brother on Linux, IMO if you set-up sane at the linuxator level and you get scanimage to work inside linuxator, it will be a breeze to enable saned and scan natively from sane on FBSD. In this scenario, the native front-end sane programs (scanimage, xsane, etc.) will talk to a saned network driver daemon in Linuxator and this one in turn will talk to the networked scanner. -- Alejandro -- Jerry ā jerry+f...@seibercom.net Disclaimer: off-list followups get on-list replies or ignored. Do not CC this poster. Please do not ignore the Reply-To header. http://www.catb.org/~esr/faqs/smart-questions.html ___ 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 ___ 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: Recommended SWAP space for large amounts of ram (8GB)
On Wed, 14 Sep 2011 14:55:53 +0100 Matthew Seaman wrote: On 14/09/2011 13:34, Jonathan Vomacka wrote: Either from the FreeBSD docs, or based on personal experiences, what is the recommended swap space for a 8GB system? Your opinions are greatly appreciated The old rule of thumb of swap = 2 x RAM dates back to the days when 128MB RAM was a big deal. Nowadays, you're likely to have that much in your phone, and systems with 128GB RAM are not unknown. In these days of plentiful RAM, the new rule of thumb is if you're swapping, then you're doing it wrong. There is a caveat that on desktop grade motherboards, expanding beyond 8GB can slow the system down, as populating 4 slots can cause the memory to run at a slower speed. My recommendation: for systems with 1GB RAM or more, and that don't make heavy use of memory filesystems and the like, then 2GB swap is ample, and you can probably get away with as little as 1GB at need. If you have 8GB of ram and you can get away with 1GB of swap, then you presumably could get away with none. This question recently came up on hackers, and someone posted top output from a 12GB system showing a 23GB openoffice process and 21GB of swap in use after opening a large spreadsheet file. I think there's a reasonable case for providing enough swap to cope with abnormal memory use. ___ 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: Thinkpad audio question
According to Jakub Lach jakub_l...@mailplus.pl on Wed, 09/14/11 at 13:10: See man snd_hda, you probably need to set device.hints. For example, I with T400 have something like this in device hints: hint.hdac.0.cad0.nid22.config=as=1 seq=15 hint.hdac.0.cad0.nid24.config=as=3 hint.hdac.0.cad0.nid26.config=as=1 hint.hdac.0.cad0.nid29.config=as=2 Thanks. This looks very promising. It is too bad the man page is so busy and complex... :-( I had viewed this man page before, but I hoped I would never have to deal with the details. And I haven't until now... :-) One thing that could be made more clear is the lack of how to invoke the verbose or reporting mode. The word verbose appears just three (3!) times in the man page, but there is no explicit description of how to get the driver to provide a verbose report. The word report in the EXAMPLES section refers to an HP/Compaq system housing a Realtek ALC888 HDA codec whose driver can list the default pin configuration as show. Except the man page never explains how. :-( After a great deal of back and forth, I finally discovered the hint dev.hdac.%d.pindump just above the EXAMPLES section. As soon as I put that entry in my /etc/sysctl.conf file (dev.hdac.0.pindump=1) and did a reboot, the following appeared in my dmesg(8) output: :-) Intel 82801I HDAC mem 0xfc02-0xfc023fff irq 17 at device 27.0 on pci0 High Definition Audio Controller Driver Revision: 20100226_0142 HDA Codec #0: Conexant CX20561 (Hermosa) HDA Codec #1: Conexant (Unknown) = this seems confusing... Dumping AFG cad=0 nid=1 pins: nid 22 0x022140f0 as 15 seq 0Headphones Jack jack 1 loc 2 color Green misc 0 Caps:OUT HP Sense: 0x7fff nid 23 0x61a190f0 as 15 seq 0 Mic None jack 1 loc 33 color Pink misc 0 [DISABLED] Caps: IN VREF Sense: 0x7fff nid 24 0x02a190f0 as 15 seq 0 Mic Jack jack 1 loc 2 color Pink misc 0 Caps: IN VREF Sense: 0x7fff nid 25 0x40f000f0 as 15 seq 0 Other None jack 0 loc 0 color Unknown misc 0 [DISABLED] Caps:OUT Sense: 0x7fff nid 26 0x901701f0 as 15 seq 0 Speaker Fixed jack 7 loc 16 color Unknown misc 1 Caps:OUTEAPD nid 27 0x40f001f0 as 15 seq 0 Other None jack 0 loc 0 color Unknown misc 1 [DISABLED] Caps:OUTEAPD nid 28 0x40f001f0 as 15 seq 0 Other None jack 0 loc 0 color Unknown misc 1 [DISABLED] Caps:OUT nid 29 0x90a601f0 as 15 seq 0 Mic Fixed jack 6 loc 16 color Unknown misc 1 Caps: IN NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1 GPIO: data=0x enable=0x direction=0x wake=0x unsol=0xsticky=0x Dumping AFG cad=0 nid=1 pins: nid 22 0x022140f0 as 15 seq 0Headphones Jack jack 1 loc 2 color Green misc 0 Caps:OUT HP Sense: 0x7fff nid 23 0x61a190f0 as 15 seq 0 Mic None jack 1 loc 33 color Pink misc 0 [DISABLED] Caps: IN VREF Sense: 0x7fff nid 24 0x02a190f0 as 15 seq 0 Mic Jack jack 1 loc 2 color Pink misc 0 Caps: IN VREF Sense: 0x7fff nid 25 0x40f000f0 as 15 seq 0 Other None jack 0 loc 0 color Unknown misc 0 [DISABLED] Caps:OUT Sense: 0x7fff nid 26 0x901701f0 as 15 seq 0 Speaker Fixed jack 7 loc 16 color Unknown misc 1 Caps:OUTEAPD nid 27 0x40f001f0 as 15 seq 0 Other None jack 0 loc 0 color Unknown misc 1 [DISABLED] Caps:OUTEAPD nid 28 0x40f001f0 as 15 seq 0 Other None jack 0 loc 0 color Unknown misc 1 [DISABLED] Caps:OUT nid 29 0x90a601f0 as 15 seq 0 Mic Fixed jack 6 loc 16 color Unknown misc 1 Caps: IN NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1 GPIO: data=0x enable=0x direction=0x wake=0x unsol=0xsticky=0x Now, re-reading the snd_hda man page with the above in hand, I just may be able to make changes similar to what you have shown above provided I can make sense of the above verbose output. Thanks for all your help. :-) Regards, web... -- William Bulley Email: w...@umich.edu 72 characters width template -| ___ 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: Thinkpad audio question
For maximum verbosity you can also try setting in sysctl.conf hw.snd.verbose=3 and $ cat /dev/sndstat then. Not sure if you really need it though. As for man page, that was my experience as well, and I just shamelessly copied device.hints some kind spirit provided, so I'm not exactly pinout expert either :) On a lighter note, once correct pinout will be set, you shouldn't have any more problems with CX20561, it's common and well supported chip. regards, - Jakub Lach -- View this message in context: http://freebsd.1045724.n5.nabble.com/Thinkpad-audio-question-tp4802936p4804292.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ 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: Thinkpad audio question
According to Jakub Lach jakub_l...@mailplus.pl on Wed, 09/14/11 at 16:25: For maximum verbosity you can also try setting in sysctl.conf hw.snd.verbose=3 I've had that setting for years, but it didn't help in this case, sigh... :-( and $ cat /dev/sndstat then. Sure, that is what I always do to check which sound driver I have. Not sure if you really need it though. True, it wasn't any help for this problem. As for man page, that was my experience as well, and I just shamelessly copied device.hints some kind spirit provided, so I'm not exactly pinout expert either :) Heh... :-) On a lighter note, once correct pinout will be set, you shouldn't have any more problems with CX20561, it's common and well supported chip. That is nice to know... Here is the deal: when I % cat /dev/sndstat it shows both pcm0 and psm1 as: HDA Conexant CX20561 (Hermosa) but not in the verbose output below from dmesg(8). Right now I have this (after some reformatting - no TABs either!): HDA Codec #0: Conexant CX20561 (Hermosa) HDA Codec #1: Conexant (Unknown) = not sure why this is Dumping AFG cad=0 nid=1 pins: nid 22 0x022140f0 as 15 seq 0 Headphones Jack jack 1 loc 2 color Green misc 0Caps: OUT HP Sense: 0x 7fff nid 23 0x61a190f0 as 15 seq 0 Mic None jack 1 loc 33 color Pink misc 0 [DISABLED] Caps: IN VREF Sense: 0x 7fff nid 24 0x02a190f0 as 15 seq 0 Mic Jack jack 1 loc 2 color Pink misc 0Caps: IN VREF Sense: 0x 7fff nid 25 0x40f000f0 as 15 seq 0 Other None jack 0 loc 0 color Unknown misc 0 [DISABLED] Caps: OUT Sense: 0x 7fff nid 26 0x901701f0 as 15 seq 0 Speaker Fixed jack 7 loc 16 color Unknown misc 1Caps: OUT EAPD nid 27 0x40f001f0 as 15 seq 0 Other None jack 0 loc 0 color Unknown misc 1 [DISABLED] Caps: OUT EAPD nid 28 0x40f001f0 as 15 seq 0 Other None jack 0 loc 0 color Unknown misc 1 [DISABLED] Caps: OUT nid 29 0x90a601f0 as 15 seq 0 Mic Fixed jack 6 loc 16 color Unknown misc 1Caps: IN After disregarding the DISABLED lines I have this: nid 22 0x022140f0 as 15 seq 0 Headphones Jack jack 1 loc 2 color Green misc 0Caps: OUT HP Sense: 0x 7fff nid 24 0x02a190f0 as 15 seq 0 Mic Jack jack 1 loc 2 color Pink misc 0Caps: IN VREF Sense: 0x 7fff nid 26 0x901701f0 as 15 seq 0 Speaker Fixed jack 7 loc 16 color Unknown misc 1Caps: OUT EAPD nid 29 0x90a601f0 as 15 seq 0 Mic Fixed jack 6 loc 16 color Unknown misc 1Caps: IN The snd_hda(4) man page does not discuss what EAPD is, nor what VREF is, nor what HP is. It also does not discuss Caps: but I can infer what IN and OUT are. :-) So, I have a speaker (big whoop) and two jacks: one pink and one green (but I already knew that, too). I note that there is only one AS (15, or is that 14?) and only one seq (0) which doesn't mesh well with your earlier T400 suggestion: hint.hdac.0.cad0.nid22.config=as=1 seq=15 hint.hdac.0.cad0.nid24.config=as=3 hint.hdac.0.cad0.nid26.config=as=1 hint.hdac.0.cad0.nid29.config=as=2 For example, where did 'AS'es 1, 2, 3 come from? And where did seq 15 come from? :-( However, it is mighty curious that your four nids match my four non-DISABLED nids - hmmm... :-) Recognizing from your comments above that you may not be able to answer these rhetorical questions, but if I just try your suggestions blind what are the chances it will just work for me? I do hate just copying something without knowing what the heck it means -- just the pedantic engineer in me, I reckon... :-) The snd_hda(4) man page is not very helpful in explaining what your four hints would do for my T500 problem, but I guess it is worth a try. Regards, web... -- William Bulley Email: w...@umich.edu 72 characters width template -| ___ 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: Brother MFC-8890DW printer
On Wed, 14 Sep 2011 15:35:35 -0400 Alejandro Imass articulated: On the other hand, Brother seems to be quite Linux friendly: http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html I have visited that link previously. There are several examples of how to install the various linux drivers for several operating systems. Sadly, though not surprisingly, FreeBSD is not an included OS. If I actually do purchase the device, I think I will be able to get it working with the info provided. Then again, on rare occasions, I have been known to be wrong. -- Jerry ā jerry+f...@seibercom.net Life sucks, but death doesn't put out at all. Thomas J. Kopp ___ 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: Thinkpad audio question
I would love to investigate it properly further, however I'm critically low on time, so I can only offer pinout dump with my device.hints at this time, sorry http://pastebin.com/ig54CwT9 good luck, - Jakub Lach -- View this message in context: http://freebsd.1045724.n5.nabble.com/Thinkpad-audio-question-tp4802936p4804434.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ 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
GTK file chooser dialog does not open in current directory
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I updated my system and now have gtk-2.24.6. Now when I open a file in, for example, scite-2.28, and then open another file the file chooser dialog opens Recently Used view whereas previously it showed directory listing for the directory in which the current file was. As you might imagine this is very annoying as I have to navigate to the same directory over and over again. How can I restore the old behavior of opening directory listing of the current/last opened directory? I found some references to a filechooser.ini on the Internet but I've been unable to find any documentation for this file. -BEGIN PGP SIGNATURE- Charset: UTF8 Note: This signature can be verified at https://www.hushtools.com/verify Version: Hush 3.0 wsBcBAEBAgAGBQJOcQqeAAoJECOi9ArdI/mVr5cH+gPHIvCzrnZOx6vR24AuJn/hfs7H SWAnz8/rinuUXWiOOvh4P43WluXP6gj/aguvyF0onQs6vhHhtm70s7xehaf15hOk6XrG 8mWKHH114ttBsTdsOv3PT+t+XJ+Tqam3ro3TNmGgpyuVCzZBA8sLUoWJMntm1ILghKKU VUhlR2QF8awUchnPiYDgMkJCkJF7Rq644aQpVCfliBqrrUXR28L6lSlBQGk3WwA8FzGN qDhLzYHZRoF9liYPePHe1nBCson7uZ34U3h+CRFsY89xkpJvemwT4OIKK6DNnsbbkEHJ 0mTcBATPChddtMqeDflRmzpHYLSe1i/fzv3/JWnVDPw= =iMhM -END PGP SIGNATURE- ___ 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: Thinkpad audio question
According to Jakub Lach jakub_l...@mailplus.pl on Wed, 09/14/11 at 17:01: I would love to investigate it properly further, however I'm critically low on time, so I can only offer pinout dump with my device.hints at this time, sorry http://pastebin.com/ig54CwT9 good luck, Thanks! But no thanks -- because I got it to work with your T400 hints! :-) You have been most helpful and I really appreciate it. I wonder just who came up with those in the first place? :-) Regards, web... -- William Bulley Email: w...@umich.edu 72 characters width template -| ___ 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: Thinkpad audio question
On Wed, 14 Sep 2011, William Bulley wrote: According to Jakub Lach jakub_l...@mailplus.pl on Wed, 09/14/11 at 17:01: I would love to investigate it properly further, however I'm critically low on time, so I can only offer pinout dump with my device.hints at this time, sorry http://pastebin.com/ig54CwT9 good luck, Thanks! But no thanks -- because I got it to work with your T400 hints! :-) You have been most helpful and I really appreciate it. I wonder just who came up with those in the first place? :-) Two things you can do to improve the situation. First, describe the appropriate settings and files on http://laptop.bsdgroup.de/freebsd/ Then write some updates to the man page, or at least describe what is missing, and submit a PR. This can be worthwhile doing just for yourself. If a man page is missing something for me once, chances are I'll hit it again later. Helping others is a side benefit. ___ 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: Thinkpad audio question
It was mav (Alexander Motin), he proposed those hints after I complained that sound stopped working after update. He wondered how I got sound to work in the first place, with hints I had previously. I don't think pushing those specific hints somewhere would be so beneficial, subtle hardware revision could change pin associations. (e.g. Your friend's T500?) I don't think man page is missing something, it's verbose and exhaustive, with 4 examples of hints for various purposes. (The truth is out there! heh.) The problem is, most people don't want (or don't know they need) to swap line-out and speaker functions, to split headphones and mic to separate device etc. They do not know why default pinout is not working as it should, and what they should change. They just want to have headphones and speakers working as intended :) But I'm afraid this can't be directly addressed, as possibilities of default wrong pin associations are endless. If you think otherwise you are free to submit PR as well :) best regards, - Jakub Lach PS. I suspected that If by chance my device.hints will just work, the pedantic engineer in you would be silenced somehow :P -- View this message in context: http://freebsd.1045724.n5.nabble.com/Thinkpad-audio-question-tp4802936p4805409.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ 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