Re: Drawing graphics on terminal

2003-06-24 Thread Nicolas Souchu
On Mon, Jun 16, 2003 at 03:10:24PM -0400, Eric Jacobs wrote: On Mon, 16 Jun 2003 20:15:06 +0200 Nakal [EMAIL PROTECTED] wrote: Hi, recently, I found vidcontrol and played a bit with it. I have been looking for documents about how to output pixels (graphics) on the terminal. See

Re: Drawing graphics on terminal

2003-06-24 Thread Nicolas Souchu
On Mon, Jun 16, 2003 at 10:34:31PM +0200, Nakal wrote: On Monday 16 June 2003 21:10, Eric Jacobs wrote: See /usr/share/examples/libvgl Yupp. That looks good. Thank you! Have you heard about KGI? http://www.freebsd.org/~nsouch/ggiport.html -- Nicholas Souchu - [EMAIL PROTECTED] - [EMAIL

dynamic hints

2003-02-11 Thread Nicolas Souchu
Is that possible to change hints once booted? I noticed in the archive it was planned but none of the man pages refer to such a feature. Any patch around? Nicholas -- Nicholas Souchu - [EMAIL PROTECTED] - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe

Re: iicbb(4)/iic(4) debuging

2003-01-02 Thread Nicolas Souchu
On Tue, Dec 10, 2002 at 08:51:17PM +0100, Alexander Funcke wrote: Hi, I've more or less written a bus for GPIO kind of hardware and a device-driver for National Geode's SCx200 GPIO pins. I'd like to connect the gpiobus(4) till the iicbb(4) 'device' so I can talk to the lm-sensors and

processes private data vm_mmap

2002-11-30 Thread Nicolas Souchu
On Thu, Jun 28, 2001 at 07:48:21PM +0100, Doug Rabson wrote: On Thu, 28 Jun 2001, Nicolas Souchu wrote: Hi folks, I have a char driver that must be opened by more than one process. The minor index is not sufficient for this. Is there any process private data (void *) in the devfs

Activating a PCI function before driver probe?

2002-09-21 Thread Nicolas Souchu
On Wed, Aug 28, 2002 at 12:01:15AM +0200, Dan Larsson wrote: While trying to get hardware monitoring to work on my computer I found the below procedure to enable the smbus device. It didn't get me any closer to actually monitoring the hardware with xbmon, lmmon or healthd. But the device is

Re: ppbus questions

2002-07-13 Thread Nicolas Souchu
On Sun, Jun 23, 2002 at 12:15:01PM +0200, Martin Faxer wrote: hi! i'm trying to write a driver for an old cd-rom drive that you connect to the parallel port. it is a shuttletech para drive 525. i don't have any driver docs or technical specifications but i believe that it uses some kind

Re: AS99127F Hardware Monitor

2002-07-03 Thread Nicolas Souchu
On Tue, Jul 02, 2002 at 11:55:30PM -0700, Thomas D. Dean wrote: Sorry, I have 4.6-stable as of Jun. 17. amdpm is in -stable too. Want you to give it a try? Nicholas -- Nicholas Souchu - [EMAIL PROTECTED] - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe

Re: AS99127F Hardware Monitor

2002-07-03 Thread Nicolas Souchu
On Wed, Jul 03, 2002 at 02:39:29PM -0700, Thomas D. Dean wrote: Yes, I will try it. The patch you posted is for i2c-amd756.c. Is there a patch for sys/pci/amdpm.c? Of course not :) The patch for i2c-amd756.c comes from Linux. The goal is to _write_ the one for sys/pci/amdpm.c (FreeBSD).

Re: AS99127F Hardware Monitor

2002-07-02 Thread Nicolas Souchu
On Mon, Jul 01, 2002 at 07:07:54AM -0700, Thomas D. Dean wrote: The ASUS A7N266-E motherboard has the nVidia 420D chipset. Of course, ASUS and nVidia will not provide datasheets... This is not a production machine... So, have you -current installed? Here is the nForce diff from Linux

Re: AS99127F Hardware Monitor

2002-06-30 Thread Nicolas Souchu
On Mon, Jun 17, 2002 at 03:32:52PM -0700, Thomas D. Dean wrote: I have an ASUS A7N266-E motherboard with an as99127f monitor chip. What chipset is on this board? I cannot get the drivers to recognize the smbus. logs? -- Nicholas Souchu - [EMAIL PROTECTED] - [EMAIL PROTECTED] To

syscons and graphic abstraction (renderer)

2002-05-01 Thread Nicolas Souchu
Hi folks, Could one of you (console gurus) give me an overview of syscons abstraction regarding underlying video adapters? I noticed two files scvgarndr.c and scgfbrndr.c which seem to do the job. How all this interacts with dev/fb code, if it does? Is it sufficient to implement a new

Re: kld VM pager

2001-12-07 Thread Nicolas Souchu
On Thu, Dec 06, 2001 at 08:21:33AM -0800, Terry Lambert wrote: Nicolas Souchu wrote: [...] If only a part of the card memory is visible in physical memory, Yes. then you will have to do fault handling, as I first suggested. FreeBSD doesn't support external pagers, per se. You might

Re: kld VM pager

2001-12-06 Thread Nicolas Souchu
On Thu, Dec 06, 2001 at 06:51:38AM -0800, Terry Lambert wrote: Nicolas Souchu wrote: Hi VM developers, Has anyone already some useful utils to develop a VM pager for FreeBSD? The KGI port project is progressing and is now up to the point that I have to handle the VM events as done

Re: TCP Performance Graphs

2001-12-04 Thread Nicolas Souchu
On Fri, Nov 30, 2001 at 12:58:39PM -0500, Leo Bicknell wrote: Since the topic has come up again, I'll provide some graphs, and go back to my suggestion to see if it gets some traction this time around. http://www.ufp.org/~bicknell/fbsdtcp.png This graph shows the theoretical maximum

Re: Framebuffer device under FreeBSD?

2001-11-19 Thread Nicolas Souchu
On Fri, Nov 09, 2001 at 09:16:00AM -0800, Pedro F. Giffuni wrote: Framebuffer devices, etc... Actually this discussion is moot: there has been an important advance in porting KGI to FreeBSD. Check the developers list archives in http://kgi.sourceforge.net/ For those lazy: it's not

Re: [Q] Information on fb/vesa mode programming

2001-10-09 Thread Nicolas Souchu
On Thu, Oct 04, 2001 at 09:11:52PM +0100, Jonathan Belson wrote: Hiya I've been trying to find out some information on programming the fb/vesa interface, eg. set_video_mode() and friends. From the few examples I've seen, it appears that you have to muck about with banks rather than use

autoconf undefined macros

2001-07-02 Thread Nicolas Souchu
Hi, The 2.13_1 complains about this: ladoga:/usr/home/admin/nsouch/ggi-core/libgiiautoconf configure.in:157: warning: AC_TRY_RUN called without default to allow cross compiling autoconf: Undefined macros: configure.in:247:AC_CHECK_WINFUNCS(gettimeofday strdup nanosleep usleep _exit \

Re: autoconf undefined macros

2001-07-02 Thread Nicolas Souchu
On Mon, Jul 02, 2001 at 11:21:11AM +0300, Peter Pentchev wrote: On Mon, Jul 02, 2001 at 08:30:35AM +0200, Nicolas Souchu wrote: Hi, The 2.13_1 complains about this: ladoga:/usr/home/admin/nsouch/ggi-core/libgiiautoconf configure.in:157: warning: AC_TRY_RUN called without default

Re: processes private data

2001-07-02 Thread Nicolas Souchu
On Fri, Jun 29, 2001 at 01:34:19PM +0100, Doug Rabson wrote: When you get a new struct file from falloc(), VFS has nothing to do with it. As you can see from the streamsopen() code, you can change f_ops (which by default points at badfileops) and f_data (defaults to zero) to point at your

Re: processes private data

2001-06-29 Thread Nicolas Souchu
On Thu, Jun 28, 2001 at 07:48:21PM +0100, Doug Rabson wrote: On Thu, 28 Jun 2001, Nicolas Souchu wrote: Hi folks, I have a char driver that must be opened by more than one process. The minor index is not sufficient for this. Is there any process private data (void *) in the devfs

processes private data

2001-06-28 Thread Nicolas Souchu
Hi folks, I have a char driver that must be opened by more than one process. The minor index is not sufficient for this. Is there any process private data (void *) in the devfs structure (or the opposite) I could point to with the minor index of my device? Nicholas -- Alcôve Technical Manager

Re: Is it ok to compile a device driver as a module though no load_function is declared in DRIVER_MODULE()?

2001-04-30 Thread Nicolas Souchu
On Mon, Apr 16, 2001 at 03:42:34PM +0200, Alex wrote: Hi, i've got a little question about device drivers for FreeBSD. I'm testing my device driver by compiling it as a module and kldloading it. But as I don't want to use it as a module in the future I declared DRIVER_MODULE(..) as

Re: driver: probe not called when smbus child

2001-03-23 Thread Nicolas Souchu
On Tue, Mar 20, 2001 at 04:50:09PM +0100, Willem van Engen wrote: I'm trying to write a module which should be a child of the smbus. When I make the driver a child of the isa bus, identify, probe, and attach functions are properly called. I use the following code to do that:

Re: can't get iicbus working - ARRGH!

2001-02-16 Thread Nicolas Souchu
On Wed, Feb 14, 2001 at 02:26:25AM -0500, Mike Nowlin wrote: I messed around with this about a year ago, and now I'm messing around with it again. In a nutshell, I can NOT figure out how to get iic with lpbb working. I have tried all sorts of combinations of config file parameters from

Re: How to use parallel port tape drive

2001-02-06 Thread Nicolas Souchu
On Fri, Feb 02, 2001 at 08:30:35PM -0500, James Halstead wrote: I have a tape drive (hp coloradoo700) which uses qic-3010 tapes. I wanted to use it but I do not know how to access the drive over the parallel port. The only tape drives I saw in the NOTES file are scsi. Can somebody please

Re: more info about: odd result of pci_read_config

2001-01-30 Thread Nicolas Souchu
On Tue, Jan 23, 2001 at 05:20:56PM -0600, Steve Shoecraft wrote: Were you able to get testmod to work? The problem came from the fact that I was recompiling some of the pci files. They were locally linked to my module producing the wrongs results I got. Sent to -hackers to close the

Re: [RFC] New features for libvgl

2001-01-25 Thread Nicolas Souchu
On Wed, Jan 24, 2001 at 08:14:01PM +0200, Maxim Sobolev wrote: Isn't your list of modes redundant with the internal data structures of the VGA/VESA driver? Why do you list modes if it's not to query a specific one? I believe that there should be possibility to do both these things, i.e.

Re: [RFC] New features for libvgl

2001-01-25 Thread Nicolas Souchu
On Thu, Jan 25, 2001 at 07:30:46PM +0200, Maxim Sobolev wrote: Nicolas Souchu wrote: On Wed, Jan 24, 2001 at 08:14:01PM +0200, Maxim Sobolev wrote: Isn't your list of modes redundant with the internal data structures of the VGA/VESA driver? Why do you list modes if it's

Re: more info about: odd result of pci_read_config

2001-01-22 Thread Nicolas Souchu
On Mon, Jan 22, 2001 at 04:05:31AM -0600, Steve Shoecraft wrote: My viapm driver is a kmodule. Could it be that PCI_READ_CONFIG is not correctly resolved and returns ENXIO which is 0x6? That's exactly whats going on here. Have you turned on BUS_DEBUG (or mebbe DEBUG_BUS) in

Re: more info about: odd result of pci_read_config

2001-01-21 Thread Nicolas Souchu
On Sat, Jan 20, 2001 at 11:11:39PM -0500, Andrew Gallatin wrote: Nicolas Souchu writes: ... What is the hose field? It is for server-class alphas. Alphas do their peer PCI buses a little differently. Rather than have a ppb between "peer" pci buses, each different peer bu

Re: more info about: odd result of pci_read_config

2001-01-21 Thread Nicolas Souchu
On Sat, Jan 20, 2001 at 04:35:11PM -0800, John Baldwin wrote: Look in /sys/compile/foo after compiling a kernel, it should be in pci_if.* It's a function that ues kobj to lookup the pci_read_config method in the parent bus. Look in the PCI code to find the real pci_read_config... From

Re: scsi and PS2 mode parallel port programming

2001-01-20 Thread Nicolas Souchu
On Fri, Jan 12, 2001 at 10:41:29AM +, Nick Hibma wrote: You've been speaking to Nicolas Souchu, right? He has written the current driver and seems to know a fair bit about this topic. We've solved the problem. Nick | I'll put this on my pile of things to and dig through the CAM

odd result of pci_read_config

2001-01-20 Thread Nicolas Souchu
Hi folks, I have a problem with R4.2. The device driver I'm currently writing can't retrieve correctly the value from a PCI configuration register. What is strange is that when using the pciconf tool I get the result I expect, not with pci_read_config(). pciconf -r pci0:7:3: 0x48 returns

more info about: odd result of pci_read_config

2001-01-20 Thread Nicolas Souchu
On Sat, Jan 20, 2001 at 04:18:35PM +0100, Nicolas Souchu wrote: Hi folks, I have a problem with R4.2. The device driver I'm currently writing can't retrieve correctly the value from a PCI configuration register. What is strange is that when using the pciconf tool I get the result I expect

Re: Questions on i2c

2001-01-11 Thread Nicolas Souchu
On Thu, Jan 04, 2001 at 10:10:41AM +0100, Volker Stolz wrote: Hi, is someone working actively on new i2c-stuff? Id be interested in talking to someone who could take a short peek at http://www2.lm-sensors.nu/~lm78/info.html, a Linux-site providing i2c-drivers to various things, and could

Re: AMD PM driver finally there!

2001-01-03 Thread Nicolas Souchu
On Sat, Dec 30, 2000 at 07:54:41PM +, Matthew C. Forman wrote: OK, I've finally got there with the AMD pm/smbus driver. It's now newbus, though this was quite a weird experience. In the end, I found that my BIOS wasn't giving out any I/O resource information for the AMD 756's power

Re: AMD System Management driver and Newbus

2000-12-29 Thread Nicolas Souchu
On Thu, Dec 28, 2000 at 02:57:33PM -0500, Andrew Gallatin wrote: Nicolas Souchu writes: Gasp! This is part of my fault. I shouldn't have left this old style driver in the tree :( You should have contacted me, I would have adviced you. Takanori is right, you should look at intpm

Re: AMD System Management driver and Newbus

2000-12-28 Thread Nicolas Souchu
Gasp! This is part of my fault. I shouldn't have left this old style driver in the tree :( You should have contacted me, I would have adviced you. Takanori is right, you should look at intpm to get info about how to cleanly newbusify your driver. This is what I'm currently doing for alpm ;) By

Re: newbus question

2000-12-21 Thread Nicolas Souchu
On Wed, Dec 20, 2000 at 09:52:55PM -0800, Mike Smith wrote: If the vga driver was newbusified, should I attach my graphic card specific driver to both the pci bus and the vga generic driver and let it be initialised twice with two initialisation functions and only one softc structure?

VGL troubles when switching windows

2000-12-20 Thread Nicolas Souchu
Mike, Hackers, There are timing problems when switching VGA memory windows in non linear frame buffer mode with my S3 card. The strange thing is that splash_bmp works well but not my small VGL application. The main difference between both contexts is that splash_bmp is executed before the

newbus question

2000-12-20 Thread Nicolas Souchu
I have to add specific initialisation to the ISA emulation of a graphic PCI card. It principle, this should be triggered by the PCI detection of the card, but I can't access the VGA address range before the vga isa driver is initialised. How could this be done? With newbus? If the vga driver

Re: Partial start on pci + serial/parallel cards

2000-12-12 Thread Nicolas Souchu
On Mon, Dec 11, 2000 at 11:36:22AM -0700, Warner Losh wrote: In message [EMAIL PROTECTED] Nicolas Souchu writes: : On Fri, Dec 08, 2000 at 11:13:12PM -0700, Warner Losh wrote: : : OK. I have a partial start on the serial/parallel cards. It isn't : attaching anything yet, but should

Re: Partial start on pci + serial/parallel cards

2000-12-11 Thread Nicolas Souchu
On Fri, Dec 08, 2000 at 11:13:12PM -0700, Warner Losh wrote: OK. I have a partial start on the serial/parallel cards. It isn't attaching anything yet, but should give people an idea on the direction I'd like to head. As part of this work, I'll likely remove pci attachment of sio, and

FreeBSD vs Linux framebuffer

2000-11-23 Thread Nicolas Souchu
Hi Kazutaka, hackers, As adviced by the GGI community, I will first try to port libGGI to the FreeBSD framebuffer. Before I look deeper into the sources, what are the main differencies between Linux and FreeBSD designs? Are the interfaces similar? Regards, Nicholas -- Nicolas Souchu Alcôve

KGI port

2000-11-22 Thread Nicolas Souchu
. Please see the file ** COPYRIGHT.GPL included with this software for details of these terms ** and conditions. Nicholas -- Nicolas Souchu Alcôve - Open Source Software Engineer - http://www.alcove.fr To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-ha

Re: SMBus

2000-11-22 Thread Nicolas Souchu
On Tue, Nov 21, 2000 at 08:05:42PM -0200, Felipe Gustavo de Almeida wrote: thanks for your 'support' ! Nicolas Souchu writes: On Mon, Nov 20, 2000 at 08:38:53PM -0200, Felipe Gustavo de Almeida wrote: Nicolas Souchu writes: On Sat, Nov 18, 2000 at 02:31:48PM -0200, Felipe Gustavo

running lastest ggi demos on R4.1.1

2000-11-16 Thread Nicolas Souchu
in XCreateWindow () from /usr/X11R6/lib/libX11.so.6 #1 0x2811521c in GGIdl_X () at mode.inc:393 #2 0x2806b3fd in ggiSetMode () at mode.c:68 #3 0x804941b in main (argc=0, argv=0xbfbffb94) at demo.c:379 #4 0x8048ec1 in _start () Thanks, Nicholas -- Nicolas Souchu Alcôve - Open Source Software

Mach4 BSD working group? Lites?

2000-08-31 Thread Nicolas Souchu
Hi hackers and others, Has anybody heard about some *BSD work on the Mach4 microkernel recently? I mean, something that would look like Hurd (from GNU) but with a complete BSD approach. How hard would it be to upgrade Lites1.1 server to support FBSD 4.0 binaries? Thanks in advance. Nicholas

Re: damn ATX power supplies...

1999-09-16 Thread Nicolas Souchu
On Sun, Sep 12, 1999 at 10:51:13PM +0100, Tony Finch wrote: Peter Wemm pe...@netplex.com.au wrote: On newer motherboards, it's addressable on the SMB bus (along with the SIMMS, the LM78/LM75/etc, the embedded LM75 in the newer CPU, etc). Anyway, the newer devices are programmable to do things

Re: ANNOUNCE: Linux ABI/SDK standards for OpenGL/Mesa (fwd)

1999-09-09 Thread Nicolas Souchu
On Wed, Sep 08, 1999 at 05:43:17PM -0700, Amancio Hasty wrote: 3. Needlessly cross-posted (watch your cc lines, loser! :). On a different topic, does anyone know of a good X mailer (currently I am using exmh) : 1. user friendly 2. filtering capability 3. thread topic support Kind of like

Re: ANNOUNCE: Linux ABI/SDK standards for OpenGL/Mesa (fwd)

1999-09-09 Thread Nicolas Souchu
On Wed, Sep 08, 1999 at 05:43:17PM -0700, Amancio Hasty wrote: 3. Needlessly cross-posted (watch your cc lines, loser! :). On a different topic, does anyone know of a good X mailer (currently I am using exmh) : 1. user friendly 2. filtering capability 3. thread topic support Kind of like

Re: I2C/SMBus/LPBB

1999-08-22 Thread Nicolas Souchu
On Sat, Aug 21, 1999 at 02:46:51AM -0400, Mike Nowlin wrote: I had sent this message to -stable about a month ago, never heard anything -- so am trying it here. Hmm lpbb seem to fail completly then... I have to give it a try. Ask me again if I fail to remember. I'm a bit busy. Thanks for

Re: bktr (brooktree device)

1999-05-13 Thread Nicolas Souchu
On Mon, May 03, 1999 at 07:18:07PM -0700, Amancio Hasty wrote: HI Randall, Can you ask Roger to ifdef out the icbus stuff in the bt848 driver if an icbus application really needs the device then they can compile in the icbus code in the bt848 driver for 99.999 percent of the bt848 users don't