Bug#251808: xserver-xfree86: Debconf configuration refuses SBUS BusID string on SPARC

2004-06-01 Thread Branden Robinson
retitle 251808 xserver-xfree86: [debconf] wrongly rejects SBUS BusID strings
thanks

On Sun, May 30, 2004 at 10:24:33PM -0400, David A. Riggs wrote:
> Package: xserver-xfree86
> Version: 4.3.0.dfsg.1-4
> Severity: normal
> 
> I encountered this problem while configuring xfree86 on a Sun
> SparcStation 5 with an SBUS Sun TCX S24 framebuffer card installed. I
> created an initial config file using 'xf86cfg', but wanted to manage
> the config using dexconf.  The critical piece of information that
> 'xf86cfg' provided to get X working on this machine was the bus ID of
> this card.
> 
> When I ran 'dpkg-reconfigure xserver-xfree86', I eventually came to
> the screen prompting for a bus ID. It appears to accept only PCI and
> AGP bus ID strings, but refused to accept my "SBUS:/..." string,
> saying it was invalid. Manually adding this BusID to the config file
> allows me to start X, but debconf refuses to accept this value.
> 
> Below is the relevant section from the configuration that 'xf86cfg'
> provided. Sorry for not attaching more detail to this report, the
> machine is no longer on-site, but I can gather more info (if needed)
> with a phone call. The important piece of info here is the BusID.
> 
>   BusID   "SBUS:/[EMAIL PROTECTED],1000/[EMAIL 
> PROTECTED],10001000/SUNW,[EMAIL PROTECTED],80"

Acknowledged.  I agree that this needs to be fixed.

It turns out I need to permit people to enter simple integers as well,
for legacy buses.

Thanks for your report.

-- 
G. Branden Robinson| There is resilient security in
Debian GNU/Linux   | openness, and brittle security in
[EMAIL PROTECTED] | secrecy.
http://people.debian.org/~branden/ | -- Bruce Schneier


signature.asc
Description: Digital signature


Processed: Re: Bug#251808: xserver-xfree86: Debconf configuration refuses SBUS BusID string on SPARC

2004-06-01 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> retitle 251808 xserver-xfree86: [debconf] wrongly rejects SBUS BusID strings
Bug#251808: xserver-xfree86: Debconf configuration refuses SBUS BusID string on 
SPARC
Changed Bug title.

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)



Bug#251808: xserver-xfree86: Debconf configuration refuses SBUS BusID string on SPARC

2004-05-30 Thread David A. Riggs
Package: xserver-xfree86
Version: 4.3.0.dfsg.1-4
Severity: normal

Package: xserver-xfree86
Version: 4.3.0.dfsg.1-1


I encountered this problem while configuring xfree86 on a
Sun SparcStation 5 with an SBUS Sun TCX S24 framebuffer
card installed. I created an initial config file using
'xf86cfg', but wanted to manage the config using dexconf.
The critical piece of information that 'xf86cfg' provided
to get X working on this machine was the bus ID of this
card.

When I ran 'dpkg-reconfigure xserver-xfree86', I eventually
came to the screen prompting for a bus ID. It appears to
accept only PCI and AGP bus ID strings, but refused to
accept my "SBUS:/..." string, saying it was invalid. Manually
adding this BusID to the config file allows me to start
X, but debconf refuses to accept this value.

Below is the relevant section from the configuration that
'xf86cfg' provided. Sorry for not attaching more detail
to this report, the machine is no longer on-site, but I
can gather more info (if needed) with a phone call. The
important piece of info here is the BusID.


## Begin XF86Config-4 block
Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor"  # []
#Option "HWcursor"  # []
Identifier  "Card0"
Driver  "suntcx"
BusID   "SBUS:/[EMAIL PROTECTED],1000/[EMAIL 
PROTECTED],10001000/SUNW,[EMAIL PROTECTED],80"
EndSection
## End XF86Config-4 block

Please note that I'm running reportbug from a different
machine (an i386), so only the details in the body of
my message are relevant to the real issue on SPARC.

-- Package-specific info:
Contents of /var/lib/xfree86/X.roster:
xserver-xfree86

/etc/X11/X target unchanged from checksum in /var/lib/xfree86/X.md5sum.

X server symlink status:
lrwxrwxrwx1 root root   20 2002-03-25 22:55 /etc/X11/X -> 
/usr/bin/X11/XFree86
-rwxr-xr-x1 root root  1745132 2004-05-29 08:33 /usr/bin/X11/XFree86

Contents of /var/lib/xfree86/XF86Config-4.roster:
xserver-xfree86

VGA-compatible devices on PCI bus:
:01:00.0 VGA compatible controller: S3 Inc. VT8636A [ProSavage KN133] AGP4X 
VGA Controller (TwisterK) (rev 01)
:01:00.0 Class 0300: 5333:8d02 (rev 01)

/var/lib/xfree86/XF86Config-4.md5sum does not exist.

XFree86 X server configuration file status:
lrwxrwxrwx1 root root   25 2004-05-06 18:00 
/etc/X11/XF86Config-4 -> /etc/X11/XF86Config-4.lcd

Contents of /etc/X11/XF86Config-4:
### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
#   dpkg-reconfigure xserver-xfree86
# as root.  Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.

### END DEBCONF SECTION

Section "Files"
#   FontPath"unix/:7100"# local font server
# if the local font server has problems, we can fall back on these
FontPath"/usr/lib/X11/fonts/misc"
FontPath"/usr/lib/X11/fonts/cyrillic"
FontPath"/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath"/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath"/usr/lib/X11/fonts/Type1"
FontPath"/usr/lib/X11/fonts/Speedo"
FontPath"/usr/lib/X11/fonts/100dpi"
FontPath"/usr/lib/X11/fonts/75dpi"
FontPath"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load"GLcore"
Load"bitmap"
Load"dbe"
Load"ddc"
Load"dri"
Load"extmod"
Load"freetype"
Load"glx"
Load"int10"
Load"pex5"
Load"record"
Load"speedo"
Load"type1"
Load"vbe"
Load"xie"
EndSection

Section "InputDevice"
Identifier  "Generic Keyboard"
Driver  "keyboard"
Option  "CoreKeyboard"
Option  "XkbRules"  "xfree86"
Option  "XkbModel"  "pc104"
Option  "XkbLayout" "us"
# see /etc/x11/xkb/rules/xfree86
Option  "XkbOptions""altwin:meta_alt"
EndSection

Section "InputDevice"
Identifier  "ALPS Touchpad"