Operating System - HP-UX
1844070 Members
3066 Online
110227 Solutions
New Discussion

Using SAM to create dev files so I can get X windows to load on RP2470

 
SOLVED
Go to solution
John M Poltrack
Advisor

Using SAM to create dev files so I can get X windows to load on RP2470

I have been unable to get X windows to run on my RP2470 which has USB keyboard and mouse, running HPux11i. I used SAM to add a dev file and rebuilt the kernel. The X server did not start and complained that my gamma setting was way out. I used SAM to reset it and it did not seem to take (I set it to 1.0, which is in the range of .2 - 10.0). It's still set for 1072693248. Do I have a hardware problem? Have I surpassed the ability of SAM? Any help would be most welcome.

John

# xinit

X server setting screen gamma value to default; 1.000000
Acceptable range 0.200000 to 10.000000; specified: 1072693248.000000

Fatal server error:
Couldn't open X pointer device! Is one attached?

giving up.
xinit: Connection refused (errno 239): unable to connect to X server
xinit: No such process (errno 3): Server error.
#
7 REPLIES 7
Alex Glennie
Honored Contributor

Re: Using SAM to create dev files so I can get X windows to load on RP2470

OK things to check : I'll assume CDE Runtime Env is installed at this point from core O/S.

a) Fatal server error:
Couldn't open X pointer device! Is one attached?

A local Xserver will need a mouse attached locally to the RP2470 ... I'd suggest swapping yours out or checking it's plugged in OK.

fyi it would also need a suitable graphics monitor , keyboard and a graphics card recognised by ioscan.

b) Create device files using :

rmsf /dev/*crt* followed by insf -evd framebuf.

c) You'll need the appropriate dev files for mouse & KB and the graph3 driver in your kernel.

d) use /opt/graphics/common/bin/gamma to set gamma value outside of sam ?

nb if this file is missing it would suggest this maybe a case of the server lacking patches / Graphics Technical computing bundle.

e) be aware that /etc/dt/config/Xservers or if that file does not exist /usr/dt/config/Xservers contains a line at the end instructing the h/w to start the Xserver locally : if the line has a # at the beginning remove it as CDE / X will not start automatically otherwise.


Yogeeraj_1
Honored Contributor

Re: Using SAM to create dev files so I can get X windows to load on RP2470

hi,

Most probably the mouse is not properly connected to the USB interface.

can you also try stopping dtlogin and use x11start?


x11start is a shell script that provides a standarized method for starting up the X Window System server and selected X clients when the Visual User Environment (HP-VUE) is not used. Specifically, it performs the following start-up tasks:

+ PATH environment variable set-up appropriate for the X environment
+ X server start-up
+ selected client(s) start-up from a specific client file
+ general user resource loading from a specific resource file


regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
John M Poltrack
Advisor

Re: Using SAM to create dev files so I can get X windows to load on RP2470

Thanks Alex, I think this is a good direction to follow. I seem to be missing something after I recreated the filebuf:

# ls
gamma graphdiag setmon
# ./gamma
/usr/lib/dld.sl: Can't find path for shared library: libGL.2
/usr/lib/dld.sl: No such file or directory
Abort(coredump)
#

somethings missing, I wonder what dld.sl is

I know that most of X works because I can rlogin in from a good machine and redirect the display from my dead machine to the good one (used trusty xclock -display).

I'm a little baffled about how to obtain patches. When I went to the site, it wanted an "order number". I'm am an HP employee, and this system was handed to me. I guess I was expecting something like the driver download pages you see for windows. Thanks
Alex Glennie
Honored Contributor
Solution

Re: Using SAM to create dev files so I can get X windows to load on RP2470

libGL.2 lives in /opt/graphics/OpenGL/lib/libGL.2 if it's not there I'd install : http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B6268AA

it would also explain why remote graphics work OK but not locally on the box.
John M Poltrack
Advisor

Re: Using SAM to create dev files so I can get X windows to load on RP2470

I was having problems loading from the web site. I downloaded it to a PC because I don't have any browser on this system and ftp'd it to the Unix box (binary). It is:

B6268AA_B.11.11.10.01_HP-UX_B.11.11_32+64.depot

I thought I could just use swinstall to install it (declaring this as the "source"). Unfortunately the instructions don't give an example of the EXACT wording for this.

I went back to my shipping software and found B6268AA on the CD #5012-0091. It loaded successfully and now I get no more core dumps when I try to run ./gamma BUT I still get

# xinit (still broken)

X server setting screen gamma value to default; 1.000000
Acceptable range 0.200000 to 10.000000; specified: 1072693248.000000

# ./graphinfo (looks good)

HEWLETT PACKARD WORKSTATION GRAPHICS CONFIGURATION

PRODUCT INFORMATION

graphics product: HP VISUALIZE-FXE
driver name: hpfxe
archive library: /opt/graphics/common/lib/libddfxe.a
shared library: /opt/graphics/common/lib/libddfxe.sl
/opt/graphics/OpenGL/lib/libddfxegl.sl
device pathname: /dev/crt
spu description: 9000/800


Alex Glennie
Honored Contributor

Re: Using SAM to create dev files so I can get X windows to load on RP2470

Looks like we're moving in the right direction , problem is I'm not sure what the current problem is .... as per my email feel free to call me or contact me direct.

currently it sounds like your problem relates to xinit ? is this correct and if so what happens if you run this ?

My advise is if you are after an Xwindows enviroment to use the CDE window manager to start it for you ....

ps -ef | grep dtlogin ?

if the process is not running check with swlist -l fileset | grep -i cde ? to see if the filesets are installed, if not you'll find them on the core O/S CD.

once installed dtlogin aka CDE should start automatically at run-level 3 if not try : /sbin/init.d/dtlogin.rc start or if you just want to test X by itself use -> /usr/bin/X11/X: 0

nb this can be killed using
John M Poltrack
Advisor

Re: Using SAM to create dev files so I can get X windows to load on RP2470

Thanks to all for your help.

Unfortuately after installing HWEnable11i from September my system has been rendered useless.
(I foolishly didn't back up the system, not really sure what the best way is to do that). We have another identical machine in our group but I'll let others suffer with that one.
I'm reminded of the HAL 9000 system in the film 2001. They compared the machine's behavior aboard the ship with an identical system on earth and after differences were noted, the space HAL 9000 lost it's mind and killed the crew.

Unfortunately I believe that just enough of the former OS system is on the disks to FORCE me into an endless round of recovery. I'm not given the option to reinstall the OS from scratch. If only I could zero those disks