Return to BSD News archive
Newsgroups: comp.os.386bsd.questions Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!xlink.net!subnet.sub.net!flatlin!flyer!robkaos!robsch From: robsch@robkaos.GUN.de (Robert Schien) Subject: Re: FreeBSD Questions References: <chiCG4qp4.H3E@netcom.com> Organization: Private System, Essen, Germany Date: Mon, 8 Nov 1993 21:22:54 GMT X-Newsreader: TIN [version 1.2 PL2] Message-ID: <1993Nov8.212254.1413@robkaos.GUN.de> Lines: 70 Curt Hagenlocher (chi@netcom.com) wrote: : I am a satisfied user of FreeBSD on my home machine (at work, we : deal only in MS-DOS/MS-Windows<shudder>). I'm currently using the : core EPSILON distribution (recompiled to enable NE2000 support) with : XFree86 1.3. I've got three questions. : 1) On three occaisions, my keyboard has died while in X. One time, : I was able to telnet in and "shutdown", at which point the system : dropped into single-user mode and the keyboard was working again. : The other two times, I waited 30 seconds for activity to die down, : then touched the PCs "tickle spot". : On yet a fourth occaision, (again under X), the keyboard driver seemed : to have gotten confused about the state of NUM LOCK (that is, the light : didn't match what the keys were doing). : Is this likely to be a problem with the FreeBSD keyboard driver, or : in XFree86? Is there any evidence (other than just some hopes or a : gut feeling) that this problem would disappear by upgrading to : [FreeBSD-1.0-Release|XFree86-2.0]? The point is, I have quite similiar problems with Xfree86. The version I'm using is 1.1 with server and xterm 1.3 just because I can't afford massive downloading. The problem is: sometimes the keyboard just dies (at random times). : 2. This is a subject I haven't really seen addressed in any previous : postings. Is there support for sending commands to my CDROM to play : music CDs? If it matters, I've got an Adaptec 1542 controller and : a Toshiba CDROM drive. I'd try to figure this out myself, but : my CD programming experience is limited to making use of Microsoft's : MSCDEX, which I haven't yet become desperate enough to disassemble. Here is my state-of-the-art cdplayer: :-) #include <sys/file.h> #include <sys/ioctl.h> #include <sys/errno.h> #include <sys/cdio.h> main() { int filedes,result,track; struct ioc_play_track play_structure; scanf("%d",&track); result=open("/dev/cd0d", O_RDONLY); if (result==-1) { perror("open"); return(1); }; filedes=result; play_structure.start_track=track; play_structure.end_track=track; play_structure.start_index=1; play_structure.end_index=1; /* result=ioctl(filedes,CDIOCSTART,""); if (result==-1) { perror("ioctl"); return(1); }; */ result=ioctl(filedes,CDIOCPLAYTRACKS,&play_structure); if (result==-1) { perror("play ioctl"); return(1); }; } : 3. To what address to I send a request to join the mailing lists : FreeBSD-[bugs|questions|hackers]? This would be interesting for me, too. : -- : Thank you, : Curt Hagenlocher : chi@netcom.com