Re: dual console with matrox g400

2000-10-10 Thread Warner Losh

In message [EMAIL PROTECTED] Greg Lehey writes:
: Well, you obviously need two keyboards and two mice.  I can't think of
: a case where that would be useful, but with x2x (in the Ports
: collection) you can allow different people access to the same server.

In 1990 I shared a Solbourne workstation with a friend.  It had two
graphics/I/O boards, which ment that you could have two independent
video consoles on it at the same time.  Worked a whole lot better than
one would have expected given the relative primitive tehcnology of the
time.  Glad to see that PCs are catching up :-)

Wanrer


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: reseting hardware after apm resume

2000-10-10 Thread Warner Losh

In message [EMAIL PROTECTED] Brad Guillory writes:
: I have a "new" laptop and a few problems related to apm resume.

apm on most modern machines is useless.  You need to have acpi support
for things to work well.  Good thing ACPI has been committed.

: When I suspend to disk then resume my sound hardware and ls120
: drive no longer work.  I was looking for a knob that would let

That's because FreeBSD isn't rnning the right acpi routines on resume
to turn the hardware back on.

: Does anyone have any idea where to find such a knob in
: the kernel config or suggestions on how you would like
: the knob to work?

You might want to look acpi in -current only.

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: dual console with matrox g400

2000-10-10 Thread Greg Lehey

On Tuesday, 10 October 2000 at  0:35:07 -0600, Warner Losh wrote:
 In message [EMAIL PROTECTED] Greg Lehey writes:
 Well, you obviously need two keyboards and two mice.  I can't think of
 a case where that would be useful, but with x2x (in the Ports
 collection) you can allow different people access to the same server.

 In 1990 I shared a Solbourne workstation with a friend.  It had two
 graphics/I/O boards, which ment that you could have two independent
 video consoles on it at the same time.  Worked a whole lot better than
 one would have expected given the relative primitive tehcnology of the
 time.  Glad to see that PCs are catching up :-)

I had a PC with two graphics cards long before that.  It was
relatively common to have a machine with both CGA and MDA, and there
were some debuggers which would handle both (debug a full-screen
application with the debug output on the other monitor).

Greg
--
Finger [EMAIL PROTECTED] for PGP public key
See complete headers for address and phone numbers


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: dual console with matrox g400

2000-10-10 Thread Warner Losh

In message [EMAIL PROTECTED] Greg Lehey writes:
: I had a PC with two graphics cards long before that.  It was
: relatively common to have a machine with both CGA and MDA, and there
: were some debuggers which would handle both (debug a full-screen
: application with the debug output on the other monitor).

True.  But I've not seen a PC that could have multiple keyboards/mice
until USB came along.  Well, I did see some kludges, but they were
fairly rare.  Now, many different solutions exist that you can mix and
match...

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: dual console with matrox g400

2000-10-10 Thread Greg Lehey

On Tuesday, 10 October 2000 at  0:51:50 -0600, Warner Losh wrote:
 In message [EMAIL PROTECTED] Greg Lehey writes:
 I had a PC with two graphics cards long before that.  It was
 relatively common to have a machine with both CGA and MDA, and there
 were some debuggers which would handle both (debug a full-screen
 application with the debug output on the other monitor).

 True.  But I've not seen a PC that could have multiple keyboards/mice
 until USB came along.  Well, I did see some kludges, but they were
 fairly rare.  Now, many different solutions exist that you can mix and
 match...

Well, multiple mice were never an issue, but the keyboard was.  I had
done some thinking about a serial keyboard, but mainly to get away
from the stupid layouts of PC keyboards.

Greg
--
Finger [EMAIL PROTECTED] for PGP public key
See complete headers for address and phone numbers


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: dual console with matrox g400

2000-10-10 Thread Warner Losh

In message [EMAIL PROTECTED] Greg Lehey writes:
: Well, multiple mice were never an issue, but the keyboard was.  I had
: done some thinking about a serial keyboard, but mainly to get away
: from the stupid layouts of PC keyboards.

Ah, yes.  http://www.village.org/~imp/newtkb-1.0.tar.gz...

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Adaptec AIC 7899 SCSI (fwd)

2000-10-10 Thread Danny Braniss

In message [EMAIL PROTECTED]you write:

}Grab /dev/MAKEDEV from -current and use 'MAKEDEV aacd0' etc. as you would 
}any other disk.  Note that 'aac' is the controller, and 'aacd' is a raid 
}volume.
}
done:
# ls -ls /dev/aacd0*
0 crw-r-  2 root  operator  151, 0x00010002 Oct 10 11:10 /dev/aacd0
0 crw-r-  2 root  operator  151,   0 Oct 10 10:53 /dev/aacd0a
0 crw-r-  2 root  operator  151,   1 Oct 10 10:53 /dev/aacd0b
0 crw-r-  2 root  operator  151,   2 Oct 10 10:53 /dev/aacd0c
0 crw-r-  2 root  operator  151,   3 Oct 10 10:53 /dev/aacd0d
0 crw-r-  2 root  operator  151,   4 Oct 10 10:53 /dev/aacd0e
0 crw-r-  2 root  operator  151,   5 Oct 10 10:53 /dev/aacd0f
0 crw-r-  2 root  operator  151,   6 Oct 10 10:53 /dev/aacd0g
0 crw-r-  2 root  operator  151,   7 Oct 10 10:53 /dev/aacd0h
0 crw-r-  2 root  operator  151, 0x00020002 Oct 10 10:53 /dev/aacd0s1
0 crw-r-  2 root  operator  151, 0x00030002 Oct 10 10:53 /dev/aacd0s2
0 crw-r-  2 root  operator  151, 0x00040002 Oct 10 10:53 /dev/aacd0s3
0 crw-r-  2 root  operator  151, 0x00050002 Oct 10 10:53 /dev/aacd0s4

but that's as far as i got :-(

i tried /stand/sysinstall but it does not see the raid.
i tried fdisk -I and got a partition/slice or whatever.

i can't get disklabel to work, keeps saying 'Operation not supported by device'

help!



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



subscribe sgt@netcom.no

2000-10-10 Thread Torbjorn Kristoffersen

subscribe [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Possible undelete

2000-10-10 Thread Adam Klinkel

I'm sorry for bothering. I created a static link to a users directory; ln 
-s /usr/home/user user  in my directory to do some work with some of his 
files. Once I had completed the work, I typed  rm -r user/  .
You can see my situation already I'm sure.  I meant to type rm user  to 
remove the link.  Is there anyway I can retrieve the files?  Unfortunately 
I cannot unmount the device because it hosts critical applications.

I would appreciate any help.
Adam Klinkel
Net Admin (Absolute)



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Possible undelete

2000-10-10 Thread Patrick Gardella

Adam Klinkel wrote:
 
 I'm sorry for bothering. I created a static link to a users directory; ln
 -s /usr/home/user user  in my directory to do some work with some of his
 files. Once I had completed the work, I typed  rm -r user/  .
 You can see my situation already I'm sure.  I meant to type rm user  to
 remove the link.  Is there anyway I can retrieve the files?  Unfortunately
 I cannot unmount the device because it hosts critical applications.

Do you have a backup?  That's it, AFAIK.

Patrick


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: We need your old laptop for a committer...

2000-10-10 Thread Michael C . Wu

On Mon, Oct 09, 2000 at 08:23:39PM +, Dan Evensen scribbled:
| I  stand by my opinion. I live in Free Country with a free voice. I stand by
| what I said. There are millions of deserving people in this world. If this
| person is so good WHY cant they afford a Laptop Successful people could.

Because, Mr. CCNA WAN Switching, some Eastern Eurpean countrymen
make USD$500 a year if they are very lucky.

"Why do they not go to America or something?"
"Well, some of them cannot even get a tourist/business travel visa for BSDCon!"


--
+--+
| [EMAIL PROTECTED] | [EMAIL PROTECTED] |
| http://peorth.iteration.net/~keichii | Yes, BSD is a conspiracy. |
+--+


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: We need your old laptop for a committer...

2000-10-10 Thread Wilko Bulte

On Tue, Oct 10, 2000 at 12:23:45PM -0500, Michael C . Wu wrote:
 On Mon, Oct 09, 2000 at 08:23:39PM +, Dan Evensen scribbled:
 | I  stand by my opinion. I live in Free Country with a free voice. I stand by
 | what I said. There are millions of deserving people in this world. If this
 | person is so good WHY cant they afford a Laptop Successful people could.
 
 Because, Mr. CCNA WAN Switching, some Eastern Eurpean countrymen
 make USD$500 a year if they are very lucky.

Can we please take this offline or to -chat?

-- 
Wilko Bulte  
[EMAIL PROTECTED]   Arnhem, the Netherlands


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Programming a USB driver

2000-10-10 Thread Torbjorn Kristoffersen

Hi

I don't know if this is the right list to post to, so i'm sorry if it is.

I'm borrowing a Digital Camera, it has only Windows drivers, and I heard
that it may be running in Linux using the CPiA drivers.

These are my boot msgs:

uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ugen0: STMicroelectronics USB Dual-mode Camera, rev 1.10/0.00, addr 2

It obviously found something there. Would it be hard to make a driver for
this camera? I would really appreciate some starting places and tips.

TIA

Torbjorn Kristoffersen
[EMAIL PROTECTED]





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Problems with Serial Console

2000-10-10 Thread Daniel Lang

Dear Warner,

Warner Losh wrote on Fri, Oct 06, 2000 at 08:36:31PM +:
 In message [EMAIL PROTECTED] Daniel Lang 
writes:
 : Maybe somehow, /dev/console is redirected to /dev/ttyd0 and
 : so both don't seem to work.
 
 Modem control might be enabled when in fact you have no modem control
 lines connecteD?
Aye, this seemed to be the case. When I configured for
serial console, I did not change the 'dialup' terminal type
to vt100, but I did it later when cuaa0 was already used for that.
So I didn't notice at once, that I never tried using
ttyd0 with vt100. Now everything seems to work fine.

Thanks a lot,
 Daniel
-- 
IRCnet: Mr-Spock  - Soon I will be free, then hungry. -  
*Daniel Lang * [EMAIL PROTECTED] * +49 89 289 25735 * http://www.leo.org/~dl/*


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: We need your old laptop for a committer...

2000-10-10 Thread Kherry Zamore

wow, mr. hubbard once again sets order to a chaotic world.

-=- Kherry Zamore -=- (757) 683-7386 -=-
-=- Resident computer and network geek/god -=-
-=- Rogers Hall Main Room 324 -=- www.dknj.org -=-
"Memory is like an orgasm. It's a lot better if you don't have to fake it."
-- Seymour Cray commenting on virtual memory


- Original Message - 
From: "Jordan Hubbard" [EMAIL PROTECTED]
To: "Dan Evensen" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, October 09, 2000 6:04 PM
Subject: Re: We need your old laptop for a committer... 


 This may be a free country, but these mailing lists are available as a
 privilege rather than a right and if you guys want to continue using
 them, you'll remain on-topic and follow the mailing list charter for
 -hackers, something which is publically documented in the FreeBSD
 handbook and should be read now by any who are unfamiliar with it.
 Thank you.
 
 - Jordan
 




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



using raw disks in vmware under -current

2000-10-10 Thread Josef Karthauser

Has anyone got rawdisks working in vmware under -current?

They used to work - my guess that that something happened when we
lost block devices, or I've got a hosed linux_compat installation.

Joe
-- 
Josef KarthauserFreeBSD: How many times have you booted today?
Technical Manager   Viagra for your server (http://www.uk.freebsd.org)
Pavilion Internet plc.  [[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



RE: Programming a USB driver

2000-10-10 Thread Daniel O'Connor


On 10-Oct-00 Torbjorn Kristoffersen wrote:
  It obviously found something there. Would it be hard to make a driver for
  this camera? I would really appreciate some starting places and tips.

If you can work out what the wire protocol is, you should be able to write a
userland driver using the ugen driver.

The ugen driver is a 'catch all' for USB drivers with no explicit kernel driver.

I guess a good place to start would be to find the Linux driver which hopefully
has source and read that. Then start fiddling :)

As far as I understand it, each USB device has several 'end points' which can
be different types, and the ugen driver allows access to these end points as
different devices (eg ugen0.0 ugen0.1 etc). You can then open these (make sure
you get the read/write'ness correct).

The only experience I have with USB is a camera whose USB protocol is
*identical* to the serial one :)

---
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Possible undelete

2000-10-10 Thread Dragos Ruiu

On Tue, 10 Oct 2000, Adam Klinkel wrote:
 I'm sorry for bothering. I created a static link to a users directory; ln 
 -s /usr/home/user user  in my directory to do some work with some of his 
 files. Once I had completed the work, I typed  rm -r user/  .
 You can see my situation already I'm sure.  I meant to type rm user  to 
 remove the link.  Is there anyway I can retrieve the files?  Unfortunately 
 I cannot unmount the device because it hosts critical applications.
 

Check out the unrm/lazarus tools in Dan Farmer's and Wietse Venema's The
Coroner's Toolkit  (TCT) http://www.porcupine.org/forensics/tct.html
 
--dr 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Possible undelete

2000-10-10 Thread Dragos Ruiu

On Tue, 10 Oct 2000, Dragos Ruiu wrote:
  Is there anyway I can retrieve the files?  Unfortunately 
  I cannot unmount the device because it hosts critical applications.

 
 Check out the unrm/lazarus tools in Dan Farmer's and Wietse Venema's The
 Coroner's Toolkit  (TCT) http://www.porcupine.org/forensics/tct.html
  
 --dr 

Oh and you'll have better mileage if you try to keep the disk as quiet as
possible before.  Compile TCT on another machine or the make could start
walking over the files you're trying to save.

cheers,
--dr

-- 
Dragos Ruiu [EMAIL PROTECTED]   dursec.com ltd. / kyx.net - we're from the future 
gpg/pgp key on file at wwwkeys.pgp.net


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Writing Drivers

2000-10-10 Thread Mike Smith

 This is probably a dumb question, but here goes.
 
 I want to write a driver for some custom hardware we use here.  I've done
 this Windows NT and (earlier) MS-DOS, so the concept doesn't scare me.
 
 What I need is a starting point.  Besides trawling through the code, are
 there any standard references or texts I could check out?

Not really.  The code is your best reference, although you should be sure 
to ask around here for help/advice, since there are plenty of people that 
can help you.

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
   V I C T O R Y   N O T   V E N G E A N C E




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message