I have a 1.4 (I think) XBox, with a Focus video encoder chip.
Here's my linuxboot.cfg:
kernel vmlinuz
initrd initrd
append init=/linuxrc root=/dev/ram0 kbd-reset xbox=fatx_e:/debian
ramdisk_blocksize=4096 video=xbox:hoc=-7,voc=0
xboxfb y
...and here's my focus.c :
#include fcntl.h
#include linux/i2c.h
#include linux/i2c-dev.h
#include stdio.h
int main(int argc, char *argv[]) {
int xo=0;
int yo=14;
int fd = open(/dev/i2c/0, O_RDWR);
ioctl(fd, I2C_SLAVE_FORCE, 0x6a);
i2c_smbus_write_word_data(fd, 0x00, xo);
i2c_smbus_write_word_data(fd, 0x02, yo);
close(fd);
}
I compiled the focus.c program on my main box, FTP'd it to the XBox
and set it to run on X startup in .xinitrc . The tough part was
figuring out which linuxboot.cfg the system was using. Mine was in
the game save partition, a.k.a the E: drive, under the debian
directory.
Best of luck,
-Jon
On Wed, 1 Dec 2004 22:50:47 -0800, anders smith [EMAIL PROTECTED] wrote:
what xbox version do you have?
I have the same problem with one of my xboxes and have been trying to
get the image to fill the screen and was wondering if you would mind
posting the kernel args etc?
thanks
anders
On Wed, 1 Dec 2004 15:10:44 -0500, Jonathan Oexner
[EMAIL PROTECTED] wrote:
Thanks, I ended up modifying the kernel args, modifying and
recompiling the focus utility and uncommenting it from .xinitrc, but
it fixed the problem in the end.
Thanks again for the lead. The people on Xbox-Linux aren't too
helpful sometimes.
-Jon
On Mon, 29 Nov 2004 15:00:34 -0500, Fred Squires [EMAIL PROTECTED] wrote:
On Mon, 29 Nov 2004 11:39:34 -0500, Jonathan Oexner
[EMAIL PROTECTED] wrote:
Thanks, good suggestion. It moved the UI around on the screen, but
when I move it up into the blank area, the top of the UI gets chopped
off instead of filling the blank part. I think it was a known issue
with the Focus-chip-based XBoxes (1.4/1.5), but I there was some work
going on with it, and I was wondering if anyone had heard anything on
it.
-Jon
On Sun, 28 Nov 2004 12:45:56 -0500, David Levine
[EMAIL PROTECTED] wrote:
On Fri, 26 Nov 2004 09:59:01 -0500, Jonathan Oexner
[EMAIL PROTECTED] wrote:
Hi,
I'm using MythTV-XBox 0.4.4 (based on Xebian 1.0.3, I think) for a
frontend, and it all works fine and dandy except that the video
output
leaves a thin black bar at the top of the screen. Has anyone run
into
this problem, or know if a solution exists?
Thanks,
-Jon
In the MythTV setup/config screens, there are options to set the x/y
position and the width/height of the GUI. Try playing around with
that, it worked for me. Sorry, I can't remember exactly which setup
screen it is under, but it should be easy to find.
--David
There's a line in root's .xinitrc file that says something about
focus. If you uncomment that line it should fix your problem.
--
I probably still have a few gmail invites.
Drop me a line (off list) if you'd like an account.
___
mythtv-users mailing list
[EMAIL PROTECTED]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
___
mythtv-users mailing list
[EMAIL PROTECTED]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users