Poster | Thread |
Amigo1
|  |
AmigaOne and Ubuntu Posted on 15-Jun-2010 17:45:45
| | [ #1 ] |
|
|
 |
Super Member  |
Joined: 24-Jun-2004 Posts: 1588
From: the Clouds | | |
|
| is it possible?
Explicitly I'm looking for Lucid Lynx (10.4x) and kernel 2.6.34 (because of singletouch/multitouch LCD screen support)
mmh.. I should run and get an armor while waiting for responses.. 
but thanks in advance for what to come.. |
|
Status: Offline |
|
|
Varthall
|  |
Re: AmigaOne and Ubuntu Posted on 15-Jun-2010 18:09:55
| | [ #2 ] |
|
|
 |
Super Member  |
Joined: 17-Feb-2004 Posts: 1559
From: Up Rough | | |
|
| @Amigo1

Varthall _________________ AmigaOne XE - AmigaOS 4.1 - Freescale 7457 1GHz - 1GB ram |
|
Status: Offline |
|
|
Johan
|  |
Re: AmigaOne and Ubuntu Posted on 15-Jun-2010 19:14:12
| | [ #3 ] |
|
|
 |
Regular Member  |
Joined: 12-Jan-2004 Posts: 161
From: Behind dikes, on seabottom. Netherlands, that is. More exact: Flevoland. | | |
|
| @Varthall
Fair enough, dear friend. But I must say I stand with Amigo1...
johan _________________ ~~~/\___Flevoland___/\~~~ |
|
Status: Offline |
|
|
Geri
|  |
Re: AmigaOne and Ubuntu Posted on 15-Jun-2010 19:19:52
| | [ #4 ] |
|
|
 |
Elite Member  |
Joined: 7-Oct-2003 Posts: 2038
From: ST/AT | | |
|
| @Amigo1
Quote:
Amigo1 wrote: is it possible?
Explicitly I'm looking for Lucid Lynx (10.4x) and kernel 2.6.34 (because of singletouch/multitouch LCD screen support)
|
Sure, it's possible somehow (probably with some restrictions). But creating a Ubuntu install CD needs time and that is usually the limiting factor.
_________________
A1SE: G3@600MHz, 2GB, 1GBit network card
A1XE: G4@933MHz, 2GB, refitted AC'97 codec
microA1: G3@800MHz, 1GB
- A1 Linux support - |
|
Status: Offline |
|
|
DBAlex
|  |
Re: AmigaOne and Ubuntu Posted on 15-Jun-2010 22:48:10
| | [ #5 ] |
|
|
 |
Cult Member  |
Joined: 23-Jul-2006 Posts: 756
From: UK | | |
|
| @Amigo1
I think it's possible using the Debian kernel instead of the Ubuntu kernel... so not really Ubuntu but the same GNOME setup etc...
@Geri
Is this correct, I'm sure the Ubuntu kernel doesn't support the AOne. Infact Ubuntu is stopping or has stopped support for many Apple PPC devices... _________________ A1200, 68060/64MB/1.2GB/WiFi/AGAtoCRT/OS3.9 Pegasos I, G3 600Mhz/512/9200SE/80GB WinUAE, Ryzen 5 2400G/Vega11, 8GB DDR4, 256GB SSD,Win 10 Pro x64 Amiga Forever !  |
|
Status: Offline |
|
|
Hypex
 |  |
Re: AmigaOne and Ubuntu Posted on 16-Jun-2010 1:53:37
| | [ #6 ] |
|
|
 |
Elite Member  |
Joined: 6-May-2007 Posts: 11351
From: Greensborough, Australia | | |
|
| @Amigo1
Quote:
Yes it is. In fact with inspiration from a few people I've been working on it myself.
Quote:
Explicitly I'm looking for Lucid Lynx (10.4x) and kernel 2.6.34 |
I'd like to run the Lynx as well. And a later kernel would be nice, especially as later releases tend to rely on it. But 2.6.18 is the latest stable we have. Geri was working on a 2.6.31-32 but it isn't ready yet. There is a 2.6.32 in testing but AFAIK it isn't up to the standard of 2.6.18 yet.
So it depends on what release is compatible with our kernel.Last edited by Hypex on 16-Jun-2010 at 01:59 AM.
|
|
Status: Offline |
|
|
Hypex
 |  |
Re: AmigaOne and Ubuntu Posted on 16-Jun-2010 1:58:27
| | [ #7 ] |
|
|
 |
Elite Member  |
Joined: 6-May-2007 Posts: 11351
From: Greensborough, Australia | | |
|
| @DBAlex
Quote:
Is this correct, I'm sure the Ubuntu kernel doesn't support the AOne. Infact Ubuntu is stopping or has stopped support for many Apple PPC devices... |
The A1 uses a custom kernel, as does the Sam. However the Pegasos looks like it has it easy here as it has it's own boot scripts on the official CD!
But regarding Ubuntu on PPC we have these in the ports secton:  http://cdimage.ubuntu.com/ports/releases/lucid/release/
|
|
Status: Offline |
|
|
Geri
|  |
Re: AmigaOne and Ubuntu Posted on 16-Jun-2010 8:15:43
| | [ #8 ] |
|
|
 |
Elite Member  |
Joined: 7-Oct-2003 Posts: 2038
From: ST/AT | | |
|
| @DBAlex
Quote:
DBAlex wrote: @Geri
Is this correct, I'm sure the Ubuntu kernel doesn't support the AOne. |
There's no Linux distribution that supports the A1. So it's "just" a matter of compiling a kernel with an adequate kernel config and modifying an installer to use this kernel.
Quote:
Infact Ubuntu is stopping or has stopped support for many Apple PPC devices... |
A small group of Ubuntu developers still works on PowerPC support (but inofficially)._________________
A1SE: G3@600MHz, 2GB, 1GBit network card
A1XE: G4@933MHz, 2GB, refitted AC'97 codec
microA1: G3@800MHz, 1GB
- A1 Linux support - |
|
Status: Offline |
|
|
Amigo1
|  |
Re: AmigaOne and Ubuntu Posted on 16-Jun-2010 9:13:18
| | [ #9 ] |
|
|
 |
Super Member  |
Joined: 24-Jun-2004 Posts: 1588
From: the Clouds | | |
|
| @Varthall
haha! Thanx, this may come handy one day, i'll store it!  |
|
Status: Offline |
|
|
Amigo1
|  |
Re: AmigaOne and Ubuntu Posted on 16-Jun-2010 9:47:00
| | [ #10 ] |
|
|
 |
Super Member  |
Joined: 24-Jun-2004 Posts: 1588
From: the Clouds | | |
|
| @Geri
Quote:
Geri wrote: @Amigo1
Quote:
Amigo1 wrote: is it possible?
Explicitly I'm looking for Lucid Lynx (10.4x) and kernel 2.6.34 (because of singletouch/multitouch LCD screen support)
|
Sure, it's possible somehow (probably with some restrictions). But creating a Ubuntu install CD needs time and that is usually the limiting factor.
|
I've found a Jaunty Jackalope PPC install, would it be possible to then dist-upgrade to LL?
anyway, the kernel is what i'm looking for; mainly for touch screen support. I've read through some ubuntu pages, and the basic support is in 2.6.32 too, but it's missing the patches to USB-HID (as far as I understood). Would it be possible for you to compile the patches into the 2.6.32? 
I have no working linux ATM, but this is what I've researched so far.. Quote:
General procedure: have a source tree of your Linux kernel, ready for recompiling modules in it. As we'll have to make changes in the hid subsystem, you might want to make sure that hid is compiled as a module and not a static part of the kernel. In the following, '/' means the root of your source tree and '//' the root of your file system. - in /include/linux/hid.h, change the end of the macro IS_INPUT_APPLICATION to (a >= 0xd0002 && a "less than symbol"= 0xd0006). - in our hid-core.c, take the lines that refer to your hardware (check for MOSART, QUANTA, STANTUM or 3M) and put them in /drivers/hid/hid-core.c, replacing lines if necessary. - same in hid-ids.h - put the hid-{yourpanel}.c file in /drivers/hid/ - in drivers/hid/Makefile add a line obj-m += hid-{yourpanel}.o - make sure that /Module.symvers exists. Otherwise, the only solution we found is to compile the whole kernel and have the file produced during the process. - in /drivers/hid, 'make -C ../.. SUBDIRS=`pwd` modules' - copy the files hid-{yourpanel}.ko and hid.ko into your OS modules, that is in //lib/modules/2.6.xxx/kernel/drivers/hid. If you don't have hid.ko, this means that hid is not configured as a module but as a static part of the kernel; you will need to change this or compile and install the whole kernel. - load the new module hid-{yourpanel}.ko for the first time: insmod /lib/modules/2.6.xxx/kernel/drivers/hid/hid-{yourpanel}.ko - re-load the modules each time you modify and compile them. For this, you need to unload them (rmmod hid-{yourpanel}, for instance) then reload them (modprobe hid-{yourpanel}). You need to do it at least once for hid; for this, you need to unload all modules that use it ('rmmod hid-{yourpanel} usbhid hid') then load them again ('modprobe hid', 'modprobe usbhid', 'modprobe hid-asus').
|
link to the patches
edit: aaarrghh, the website is eating my post because of unsupported characters!!? I hope it's complete now.. edit 2: no it wasn't...Last edited by Amigo1 on 16-Jun-2010 at 10:00 AM. Last edited by Amigo1 on 16-Jun-2010 at 09:56 AM.
|
|
Status: Offline |
|
|
Amigo1
|  |
Re: AmigaOne and Ubuntu Posted on 16-Jun-2010 10:04:49
| | [ #11 ] |
|
|
 |
Super Member  |
Joined: 24-Jun-2004 Posts: 1588
From: the Clouds | | |
|
| @Hypex
Post #6
Great!! This is great news!! 
edit: Thanks! Last edited by Amigo1 on 16-Jun-2010 at 10:06 AM.
|
|
Status: Offline |
|
|
Geri
|  |
Re: AmigaOne and Ubuntu Posted on 16-Jun-2010 11:00:40
| | [ #12 ] |
|
|
 |
Elite Member  |
Joined: 7-Oct-2003 Posts: 2038
From: ST/AT | | |
|
| @Amigo1
Quote:
Amigo1 wrote: @Geri
I've found a Jaunty Jackalope PPC install, would it be possible to then dist-upgrade to LL? |
There should also be an Ubuntu 10.04 PPC install image, so I don't think it is necessary to upgrade from an older version. I'm just afraid that we run into huge problems with the new radeon graphics drivers that come with the latest Ubuntu release. They don't work well on my A1.
Quote:
anyway, the kernel is what i'm looking for; mainly for touch screen support. I've read through some ubuntu pages, and the basic support is in 2.6.32 too, but it's missing the patches to USB-HID (as far as I understood). Would it be possible for you to compile the patches into the 2.6.32? |
If the patches apply cleanly, then yes.
Quote:
I have no working linux ATM, but this is what I've researched so far.. Quote:
General procedure: have a source tree of your Linux kernel, ready for recompiling modules in it. As we'll have to make changes in the hid subsystem, you might want to make sure that hid is compiled as a module and not a static part of the kernel. In the following, '/' means the root of your source tree and '//' the root of your file system. - in /include/linux/hid.h, change the end of the macro IS_INPUT_APPLICATION to (a >= 0xd0002 && a "less than symbol"= 0xd0006). - in our hid-core.c, take the lines that refer to your hardware (check for MOSART, QUANTA, STANTUM or 3M) and put them in /drivers/hid/hid-core.c, replacing lines if necessary. - same in hid-ids.h - put the hid-{yourpanel}.c file in /drivers/hid/ - in drivers/hid/Makefile add a line obj-m += hid-{yourpanel}.o - make sure that /Module.symvers exists. Otherwise, the only solution we found is to compile the whole kernel and have the file produced during the process. - in /drivers/hid, 'make -C ../.. SUBDIRS=`pwd` modules' - copy the files hid-{yourpanel}.ko and hid.ko into your OS modules, that is in //lib/modules/2.6.xxx/kernel/drivers/hid. If you don't have hid.ko, this means that hid is not configured as a module but as a static part of the kernel; you will need to change this or compile and install the whole kernel. - load the new module hid-{yourpanel}.ko for the first time: insmod /lib/modules/2.6.xxx/kernel/drivers/hid/hid-{yourpanel}.ko - re-load the modules each time you modify and compile them. For this, you need to unload them (rmmod hid-{yourpanel}, for instance) then reload them (modprobe hid-{yourpanel}). You need to do it at least once for hid; for this, you need to unload all modules that use it ('rmmod hid-{yourpanel} usbhid hid') then load them again ('modprobe hid', 'modprobe usbhid', 'modprobe hid-asus').
|
link to the patches
edit: aaarrghh, the website is eating my post because of unsupported characters!!? I hope it's complete now.. edit 2: no it wasn't... |
Ouch, that sounds quite complicated. Do they have a simple diff/patch for kernel v2.6.32?_________________
A1SE: G3@600MHz, 2GB, 1GBit network card
A1XE: G4@933MHz, 2GB, refitted AC'97 codec
microA1: G3@800MHz, 1GB
- A1 Linux support - |
|
Status: Offline |
|
|
Amigo1
|  |
Re: AmigaOne and Ubuntu Posted on 22-Jun-2010 19:41:58
| | [ #13 ] |
|
|
 |
Super Member  |
Joined: 24-Jun-2004 Posts: 1588
From: the Clouds | | |
|
| @Geri
Quote:
Geri wrote: @Amigo1
Ouch, that sounds quite complicated. Do they have a simple diff/patch for kernel v2.6.32? |
I have not had any reply still. As soon as I get, I will post it or forward it to you. |
|
Status: Offline |
|
|
Geri
|  |
Re: AmigaOne and Ubuntu Posted on 22-Jun-2010 20:52:33
| | [ #14 ] |
|
|
 |
Elite Member  |
Joined: 7-Oct-2003 Posts: 2038
From: ST/AT | | |
|
| |
Status: Offline |
|
|