Author Topic: Debian On C3xxx (merged Topics)  (Read 118709 times)

dlj0

  • Full Member
  • ***
  • Posts: 218
    • View Profile
Debian On C3xxx (merged Topics)
« Reply #135 on: September 21, 2007, 10:21:18 am »
Quote
I have to admit I'm rather tempted by this ARM version of Debian particularly as I run Debian on 3 machines at home.

There is a different version of Murphy's Law called Barry's Law:

'If it can go wrong then he'll make it go wrong'   

In view of that I could change the microdrive in my C3100 for a new blank one and install on that. If I didn't like it or the installation failed miserably could I then replace my original microdrive and boot into my current operating system as normal?

If that is feasible where could I get a larger microdrive (8GB?) at a reasonable price preferably in the U.K.?

Ta muchly!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=167724\"][{POST_SNAPBACK}][/a][/div]
Others have reported problems using non-standard microdrives.  YMMV.  So, what's so great about your current OS on the machine?
Zaurus:  SL C3100
ROM:  eabi debian/sid

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian On C3xxx (merged Topics)
« Reply #136 on: September 21, 2007, 10:27:47 am »
[Edit again]

My USB drive works after doing a modprobe ohci-hcd.

But when I connect my SE w800i phone via USB, I got this:
Code: [Select]
usb 1-2: new full speed USB device using pxa27x-ohci and address 6
usb 1-2: rejected 1 configuration due to insufficient available bus power
usb 1-2: no configuration chosen from 1 choice

But that works under pdaX and OpenBSD.
Is there a fix for it?
« Last Edit: September 21, 2007, 12:42:50 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

BarrySamuels

  • Full Member
  • ***
  • Posts: 103
    • View Profile
    • http://www.beenthere-donethat.org.uk
Debian On C3xxx (merged Topics)
« Reply #137 on: September 21, 2007, 10:34:15 am »
Quote
Quote
I have to admit I'm rather tempted by this ARM version of Debian particularly as I run Debian on 3 machines at home.

There is a different version of Murphy's Law called Barry's Law:

'If it can go wrong then he'll make it go wrong'   

In view of that I could change the microdrive in my C3100 for a new blank one and install on that. If I didn't like it or the installation failed miserably could I then replace my original microdrive and boot into my current operating system as normal?

If that is feasible where could I get a larger microdrive (8GB?) at a reasonable price preferably in the U.K.?

Ta muchly!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=167724\"][{POST_SNAPBACK}][/a][/div]
Others have reported problems using non-standard microdrives.  YMMV.  So, what's so great about your current OS on the machine?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=167726\"][{POST_SNAPBACK}][/a][/div]

It works!  
Barry Samuels
http://www.beenthere-donethat.org.uk
The Unofficial Guide to Great Britain

tux

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
    • http://
Debian On C3xxx (merged Topics)
« Reply #138 on: September 21, 2007, 11:45:58 am »
 Reinstalling: I think I know what I'm doing now!  

I've picked the ssh component from the mirror section and I've decided to go back to stable. The login looked a lot neater.

I'd like to be able to boot into command line,  log in and goto gui from ordinary user. I'll have to remember how I used to do this on older machines.

apt-get install sudo will solve one of my problems, if I remember add my ordinary user to sudoers.

Since my boxes run ubuntu, I think I'll head towards their way of working.

About pim, I use kdepimpi  in the all platform version that can run from memory card or pendrive with my boxes. I use the Z version on my other Zs and the Archos.

I'm hoping that I can just put the files on a memory card, mount on this system and just click and run. If I can I'll report back.

If it won't, there is always the compile the source method?

But probably the easier thing would be to install korganiser and kdepim because I could just drop the Z data into the right directory and configure the kde apps to match.

I certainly don't fancy entering 600+ contacts from the keyboard again!  

  Another reason for dropping back to etch is that the lenny system started having wifi problems. The booting process showed that a hack was being loaded to get round a problem with my card and the messages started to be errors!  

Anyway this distro has rekindled my enthusiasm for the 3200 and caused a good deal of late night over indulgence in caffeine!  

I'm off to shred spam in the wiki.
3200 aka BigZ, swapped in 16GB Sandisk Extreme III CF, Cacko 1.23 full,  new SDHC >2GB module,
SL860 Cacko 1.23 full, new SDHC >2GB module,
6000L SharpRom 1.12 + Tetsu kernel,
5500 TKC home on SD x 2 (with SD>1GB),
Archos PMA30 with OPEN PMA (Giraffe),
Nokia 770 (Hackers Edition)
Nokia 800 (ITOS 2008), 4GB SDHC x 2
Asus eeepc 4G (black), with 1GB ram, dual boot Xandros on SSD with Ubuntu Lucid Lynx on 16 GB SDHC,
Tmobile G1 Android (black), with Cyanogen's  Firerat's MTD script and Amon Ra Recovery 1.7.0
Tmobile HTC Wildfire.. rooted and on Cyanogen's 7.3 nightly Rom
Kopi/Kapi on everything bar the phone and the Nokias, there is a beta for the nokias...

All the above are retired

Samsung Note 8 N5110
Samsung Note N7105
FBreader on the lot!

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Debian On C3xxx (merged Topics)
« Reply #139 on: September 21, 2007, 11:58:33 am »
Quote
Screen rotation does work!!

Just use:

xrandr -o 1

And this is the portrait mode. You don't even need to specify the geometry. XFCE4 seems to handle this so well!

And
xrandr -o 0 = landscape
xrandr -o 2 = inverted
xrandr -o 3 = inverted portrait

But xev fails to detect the screen hinge switch (same with the silkscreen button). So it seems the kernel do not set up these keys.
A simple solution is to create a system menu entry for the rotation command. Alias and desktop shortcuts will also do.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=167719\"][{POST_SNAPBACK}][/a][/div]

possibly yet another reason to improve and refine the kernel (other than so that I can use it  )
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian On C3xxx (merged Topics)
« Reply #140 on: September 21, 2007, 12:06:52 pm »
@adf

Have you tried to install Debian again with another SD card?
So far there are two theories floating around:

Theory 1: The kernel fails to handle certain CF cards/microdrives. We have yet to see the hard evidence.
Theory 2: It is a more general issue of SD card misbehavior (see Chero's post for the fix) that causes problem during extraction of the CD image, resulting in the failure to reformat the disk (it seems the reformatting tool is somewhere in the CD image). A number of users (tux, Chero, me, etc) have confirmed this.

How about supplying us some evidence for/against either of these?
« Last Edit: September 21, 2007, 12:17:22 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian On C3xxx (merged Topics)
« Reply #141 on: September 21, 2007, 12:15:37 pm »
Quote
I'd like to be able to boot into command line,  log in and goto gui from ordinary user. I'll have to remember how I used to do this on older machines.

About pim, I use kdepimpi  in the all platform version that can run from memory card or pendrive with my boxes. I use the Z version on my other Zs and the Archos.

I'm hoping that I can just put the files on a memory card, mount on this system and just click and run. If I can I'll report back.

But probably the easier thing would be to install korganiser and kdepim because I could just drop the Z data into the right directory and configure the kde apps to match.

I certainly don't fancy entering 600+ contacts from the keyboard again!  
[div align=\"right\"][a href=\"index.php?act=findpost&pid=167734\"][{POST_SNAPBACK}][/a][/div]

Booting into the command line:
I posted a trick earlier on to kill and remove xdm (after upgrading to Lenny)
1) # /etc/init.d/xdm stop
2) Exit X
3) # update-rc.d -f xdm remove
4) Done

PIM data:
unison would be very useful here. No need to manually compare/merge/fix the differences between files.

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian On C3xxx (merged Topics)
« Reply #142 on: September 21, 2007, 12:20:15 pm »
As for brightness, I came across xbrightness (only available for Lenny and Sid), but it complains about the old version of randr in the system. The program requires 1.2 and it spots the 1.1 version in the system. I have searched around a bit in the package feeds but don't know yet how to get around this.
« Last Edit: September 21, 2007, 12:21:05 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

tux

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
    • http://
Debian On C3xxx (merged Topics)
« Reply #143 on: September 21, 2007, 02:50:52 pm »
Quote
Reinstalling: I think I know what I'm doing now!  

snipped

  Another reason for dropping back to etch is that the lenny system started having wifi problems. The booting process showed that a hack was being loaded to get round a problem with my card and the messages started to be errors!  

[div align=\"right\"][a href=\"index.php?act=findpost&pid=167734\"][{POST_SNAPBACK}][/a][/div]
It took two attempts to reinstall. The first one cracked up with segmentation faults towards the end of the process. Don't ask what happened, I have no clue!

Perhaps an occurrence of BarrySamuel's law!  

The problem then, after successful install, was that the wireless card stopped working. It didn't do that last night!  

Maybe the fact that my cards are three old Zonet cards and a Pretec from the dark ages has a bearing on this? Perhaps I should get a new flashy wifi card. Any tips?  

It seems that the system now renames the wifi interface from the eth0 used in install, which is configured, to wlan1, which of course isn't!  

I edited the interfaces file to reflect the change and went on my merry way rejoicing.

The gui is installing now.

I plan to install dhcp-client edit the interfaces file to suit, sudo and edit the sudoers file, alter the time before password change is forced and  set the system time correctly.

I'll do a shutdown -r reboot and see what happens before I use the gui extensively.

Boy is this revising my patchy command line skills!

I'll make a note of your xdm tip ZDevil. Thanks again.
« Last Edit: September 21, 2007, 02:53:54 pm by tux »
3200 aka BigZ, swapped in 16GB Sandisk Extreme III CF, Cacko 1.23 full,  new SDHC >2GB module,
SL860 Cacko 1.23 full, new SDHC >2GB module,
6000L SharpRom 1.12 + Tetsu kernel,
5500 TKC home on SD x 2 (with SD>1GB),
Archos PMA30 with OPEN PMA (Giraffe),
Nokia 770 (Hackers Edition)
Nokia 800 (ITOS 2008), 4GB SDHC x 2
Asus eeepc 4G (black), with 1GB ram, dual boot Xandros on SSD with Ubuntu Lucid Lynx on 16 GB SDHC,
Tmobile G1 Android (black), with Cyanogen's  Firerat's MTD script and Amon Ra Recovery 1.7.0
Tmobile HTC Wildfire.. rooted and on Cyanogen's 7.3 nightly Rom
Kopi/Kapi on everything bar the phone and the Nokias, there is a beta for the nokias...

All the above are retired

Samsung Note 8 N5110
Samsung Note N7105
FBreader on the lot!

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Debian On C3xxx (merged Topics)
« Reply #144 on: September 21, 2007, 03:28:07 pm »
Hi,

Still somebody working on the kernel ?
I can't get "serial_cs.ko" loaded cause "8250.ko" gives errors about unknown symbols.
Without serial_cs I can't get my Billionton-bluetooth-CF running ...

Chero.
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Debian On C3xxx (merged Topics)
« Reply #145 on: September 21, 2007, 03:58:51 pm »
Well, I e-mailed neil and posted in the comments section asking how the kernel was originally built. I'm currently trying to just use the patched HostAP drivers from a custom-built kernel in the hopes they will work and I won't need to recompile the kernel.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Debian On C3xxx (merged Topics)
« Reply #146 on: September 21, 2007, 04:04:20 pm »
Quote
Well, I e-mailed neil and posted in the comments section asking how the kernel was originally built. I'm currently trying to just use the patched HostAP drivers from a custom-built kernel in the hopes they will work and I won't need to recompile the kernel.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=167746\"][{POST_SNAPBACK}][/a][/div]
My CF issues aside, it seems to me that this kernel, despite being a major step in getting a large distro on the Z, still needs to be tweaked quite a bit
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian On C3xxx (merged Topics)
« Reply #147 on: September 21, 2007, 05:23:07 pm »
Quote
about sound : there is a .deb-package on the Titchy site to "hack" sound.
According to the comments/bugs/tips it should work. (I'll test this evening)
http://wiki.neilandtheresa.co.uk/Titchy_Li.../Fixed/No_sound
Anyone got bluetooth with a billionton CF working ?
Chero.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=167720\"][{POST_SNAPBACK}][/a][/div]

I tried neil's solution:
1) apt-get install zaurus-soundhack
2) Edit /etc/default/soundhack. Set the volume level (0-100)
3) Run /etc/rcS.d/S50soundhack

But it doesn't work. xmms and a couple of games (such as xarchon) still play no sound.

The titchy linux wiki is down for the moment, so I can't check again.
I vaguely remember the bug fixed page says something like setting in OSS.
Has anyone succeeded here?

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Debian On C3xxx (merged Topics)
« Reply #148 on: September 21, 2007, 05:25:02 pm »
Quote
My CF issues aside, it seems to me that this kernel, despite being a major step in getting a large distro on the Z, still needs to be tweaked quite a bit
[div align=\"right\"][a href=\"index.php?act=findpost&pid=167747\"][{POST_SNAPBACK}][/a][/div]
Just curious to know if Debian still fails to install on your CF with other SD cards (< 1gb).

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Debian On C3xxx (merged Topics)
« Reply #149 on: September 22, 2007, 02:25:24 am »
Quote
Quote
My CF issues aside, it seems to me that this kernel, despite being a major step in getting a large distro on the Z, still needs to be tweaked quite a bit
[div align=\"right\"][a href=\"index.php?act=findpost&pid=167747\"][{POST_SNAPBACK}][/a][/div]
Just curious to know if Debian still fails to install on your CF with other SD cards (< 1gb).
[div align=\"right\"][a href=\"index.php?act=findpost&pid=167750\"][{POST_SNAPBACK}][/a][/div]
Actually, I'm pretty convinced that meanie was right-- I haven't tried, under the assumption that the error saying the kernel couldn't see hda1 meant the problem was in recognizing the cf.  I might try this weekend, though the sound problem isn't encouraging
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf