[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Booth at FSCONS 2012



Hi Per!

On Mon, 05 Nov 2012 23:52:58 +0100, Per Andersson wrote:
> On Mon, Nov 5, 2012 at 11:49 PM, Luca Capello <luca@pca.it> wrote:
>> The squeeze tarball is useless,
>
> I didn't look at it but guessed so.

Sorry, I forgot to add that the reason it is now useless is because I
had imported it into the Git repository and then fixed some points:

  <http://anonscm.debian.org/gitweb/?p=d-i/babelbox.git;a=commitdiff;h=2879ec58c241829072c18308fb1b9603d1694f98>

>>   <http://wiki.debian.org/DebianInstaller/BabelBox>
>
> Following that so far.

BTW, those instructions will be in the README in the Git repository.

>> The above works also OK on a KVM/libvirt installation: replace the three
>> occurrences of sda in 00del_partition, babelbox-grub and cronscript.
>
> Any reason I would want to do that?

At least one: you do not want to block a machine for BabelBox only.
This was the idea behind the Debian Events Box: you start BabelBox in a
VM, so you still have a demo machine that can be tried out by the users
or on which you can show other software.

>> For wheezy, if you want to show GNOME 3 you need 3D, which means that
>> you should probably also install one of the firmware-* packages.  The
>> following patch should be enough, tested on the Debian Events Box, but
>> not yet on a VM (and I will polish it before committing...):
>
> I'll try them out. Will it work with the graphics card on a thinkpad x61s do you
> think?

I have never tried it, but given that it does not require any external
firmware package everything should be fine from the beginning.  In fact,
according to ThinkWiki:

  <http://www.thinkwiki.org/wiki/Category:X61s>

  ThinkPad X61s

  Standard Features

  Intel Graphics Media Accelerator X3100
    12.1" TFT display with 1024x768 resolution 

  <http://www.thinkwiki.org/wiki/Intel_Graphics_Media_Accelerator_X3100>

    PCI ID: 8086:2A02

=====
$ rmadison linux-image-3.2.0-4-amd64
 linux-image-3.2.0-4-amd64 | 3.2.32-1 | wheezy | amd64, i386
 linux-image-3.2.0-4-amd64 | 3.2.32-1 | sid    | amd64, i386
$ dpkg-query -S /lib/modules/3.2.0-4-amd64/kernel/drivers/gpu/drm/i915/i915.ko
linux-image-3.2.0-4-amd64: /lib/modules/3.2.0-4-amd64/kernel/drivers/gpu/drm/i915/i915.ko
$ modinfo /lib/modules/3.2.0-4-amd64/kernel/drivers/gpu/drm/i915/i915.ko | grep 2A02
alias:          pci:v00008086d00002A02sv*sd*bc03sc*i*
$
=====

The Debian Events Box has an ATI Mobility Radeon HD 5400 Series
(1002:68e0), which is the reason why it needs a non-free firmware.

>> --8<---------------cut here---------------start------------->8---
>> index 708775c..7d9bffc
>> --- a/preseed_late
>> +++ b/preseed_late
>> @@ -13,10 +13,20 @@ mount /dev/discs/disc0/part1 /hd-media -o remount,rw
>>
>>  sed -i "s/^set default=.*$/set default=\"3\"/" /hd-media/boot/grub/grub.cfg
>>
>> +# Install extra packages, e.g. firmware needed for graphics cards
>> +for I in $(find /hd-media/srv/babelbox/ -type f -name \*.deb -maxdepth 1 2>&1) ; do
>> +       cp -f "$I" /target/var/cache/apt/archives/
>> +       chroot /target dpkg -i /var/cache/apt/archives/$(basename "$I")
>> +done
>>  if [ -d /target/etc/gdm3 ] ; then
>>         # Enable automatic login (chroot because of bug in busybox sed)
>>         chroot /target sed -i "/^\[daemon\]/a\AutomaticLoginEnable = true\nAutomaticLogin = debian" /etc/gdm3/daemon.conf
>>  fi
>> +if [ -x /target/usr/sbin/plymouth-set-default-theme ] ; then
>> +       # Set default plymouth theme
>> +       chroot /target plymouth-set-default-theme spacefun
>> +       chroot /target dpkg-reconfigure plymouth
>> +fi
>>
>>
>>  exit 0
>> --8<---------------cut here---------------end--------------->8---
>>
>> Please report your experience :-)
>
> Of course!

Do you mind testing everything without the above patch for preseed_late?
As I wrote above, you should not need the extra firmware packages and
the plymouth stuff is not fully tested.

Thx, bye,
Gismo / Luca

Attachment: pgpSIhiw1faZF.pgp
Description: PGP signature


Reply to: