Author Topic: Archlinuxarm On C3x00  (Read 148694 times)

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Archlinuxarm On C3x00
« Reply #210 on: October 22, 2015, 09:23:38 am »
Quote from: danboid
Looking at that list of files you linked to it seems you have a PRISM 2 based card whilst mine is PRISM 3. That page on prism I linked to earlier explains how to identify what firmware your card needs but it looks like you don't need to do any hunting like I've had to.

I used eth0 in that example ip command as I presumed you wanted to turn off your ethernet card? Mine is USB and needs to be plugged into a powred hub so I have no use for such a command. Swap eth0 for wifi0 to turn off your wifi card, if/when you get it working.

I've found I don't need to specify a network device with wifi-menu. So long as my wifi card is plugged in and its module/firmware has been loaded, wifi-menu auto-detects it. Its not working for you because you've not loaded the hostap_cs module and/or not copied the correct firmware files into /lib/firmware.

Run that modpobe command from my previous post when you have your wifi plugged in then check the output of dmesg -it'll prob be complaining of missing firmware for wifi0 if you''ve not installed it.

You'll need to also install iw and/or wireless_tools to get iwconfig. iw was supposed to have deprecated iwconfig but some (old) wifi drivers apparently still work better with iwconfig. To check for wifi devices you run

Code: [Select]
iw dev
For more info on configuring wifi read the guide I linked to earlier.

That s really all I know about Linux wifi!

Thanks again for all your help.....sorry, I was writing post below while you were writing your post above.....    

But good info to have here....

As you can see, I got card working!

Without having to get any files or do much work!

Meanwhile, it might be helpful (or it might not....) to you and daalnroti check out the thread over at maemo.org regarding Arch on the Nokia N900.....
I had one until about 2 years and managed to get Arch running OK on it and with Xorg and XFCE too!......
Maybe there's some useful and relevant info, even thought these are different devices?
Just a thought....

http://talk.maemo.org/showthread.php?t=81892
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #211 on: October 22, 2015, 09:40:27 am »
I'm happy to hear you've got your wifi working Mark! Do you know if your card supports 802.11g or is it just b?

Have you tried doing a pacman -Syu or downloading something big like xorg yet?

What about suspend? Does your connection still work or can you at least get it back up easily after going in and out of suspend mode?
« Last Edit: October 22, 2015, 09:40:57 am by danboid »
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Archlinuxarm On C3x00
« Reply #212 on: October 22, 2015, 09:50:50 am »
Quote from: danboid
I'm happy to hear you've got your wifi working Mark! Do you know if your card supports 802.11g or is it just b?

Have you tried doing a pacman -Syu or downloading something big like xorg yet?

What about suspend? Does your connection still work or can you at least get it back up easily after going in and out of suspend mode?

Thanks......

According to this page, it's b.....

http://www.rakuten.com/prod/ambicom-wave2n...#specifications

I can only assume that info listed is accurate.....

Haven't tried -Syu or dowloading xorg or suspend......yet.....but while try soon....gotta head out to work now....but will try from there.....
« Last Edit: October 22, 2015, 11:35:04 am by ArchiMark »
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Archlinuxarm On C3x00
« Reply #213 on: October 22, 2015, 03:15:58 pm »
UPDATE

Tried pacman -Syu and it worked OK....but did get 2 warning messages about permissions differences between directory and packages for:

/var/games

/var/spool/mail

Decided to be brave and try getting Xorg working.....

Not so good....

Installed xf86-video-fbdev, xorg-server, xorg-server-utils.....then installed xfce4

Did startx and got:

Quote
xauth: file /root/.xauthority does not exist

Then long lines of text regarding X.org X Server.....

rebooted.....

tried again.....

Screen went white (or maybe grey...) but then went black.....then back to console....

then tried startxfce4 and same thing happened, but.......screen did not go back to console....now just have black screen and can't figure out how to go back to console....

Any suggestions???

Also, is Alt key the left or right key with Japanese characters on it (these are keys to the right of the Ctrl key...) ?

Also, what key or key combo is meant when I see 'altgr' ?

Thanks!
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #214 on: October 22, 2015, 03:31:01 pm »
I got those same permissions errors when I did a -Syu after installing from the ZALARM rootfs but I did not get those errors when I installed using the official ALARM ARMv5 tarball. I doubt it's anything to worry about.

I only asked if you'd tried downloading X because it was the first biggish thing that came to mind as a decent way to test the reliability of your connection. I have got X to run kinda but I didn't install any DE, just twm or whatever the default wm is. X isn't usable yet unless you fix the keymapping, screen rotation (ie configure xorg.conf) and we need a touchscreen calibration tool but I don't think I could bear trying to use X at 640x480 in 2015 when I'm so used to 1920x1080 and multiple monitors! I'm much more interested in getting SDL fixed up so we can run some emus as they don't require a decent resolution screen.

You can switch VTs by holding Fn and pushing left/right - that would let you login to another console and run something like

Code: [Select]
killall -15 X
To kill X.

I'm not sure the Z has an AltGr (aka right Alt) key mapped as standard as its almost never used. What made you ask about that?

Have you checked to see if wifi survives suspend with your Ambicom?
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Archlinuxarm On C3x00
« Reply #215 on: October 22, 2015, 03:40:25 pm »
Thanks for your help......understand now your points about X......

By "You can switch VTs by holding Fn and pushing left/right", do you mean left or right arrow  on the D-pad or ?

I tried the arrow keys + Fn, but does not change screen....still black......  

I asked about AltGr as I seem to recall reading that it was part of key combo to scroll back up in console.....is that correct or is there other keys we can use with our Z for this?

Haven't gotten around to testing suspend yet......

Thought I'd have fun with X first......    

Meanwhile, I've been scanning through the posts over at talk.maemo.org regarding Arch on N900....got it working plus LXDE (posted some screenshots, post #386...) back on May 1 2013.......so, been a while......some interesting info there....I've been noting which posts may have some useful info.....
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Archlinuxarm On C3x00
« Reply #216 on: October 22, 2015, 03:50:02 pm »
Was it difficult to get twm or whichever it is to run?
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #217 on: October 22, 2015, 03:52:59 pm »
Dunno why I never bought the N900 as I was excited about its release and I got to use one a week or so before they went on general release in the UK. It could still be the coolest Linux phone ever. My mate Rui is one of the few owners of the N950, I expect because of his standing in the Qt community.
« Last Edit: October 22, 2015, 03:53:50 pm by danboid »
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #218 on: October 22, 2015, 03:56:50 pm »
No twm 'just ran' - no xorg.conf or anything but thats why the screen was orientated wrong, most of the keys don't work....

I did have to install a few other packages that are really X org deps that you just need to know about like xterm, xinit amd stuff.
« Last Edit: October 22, 2015, 03:58:12 pm by danboid »
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Archlinuxarm On C3x00
« Reply #219 on: October 22, 2015, 04:02:03 pm »
Quote from: danboid
No twm 'just ran' - no xorg.conf or anything but thats why the screen was orientated wrong, most of the keys don't work....

I did have to install a few other packages that are really X org deps that you just need to know about like xterm, xinit amd stuff.

Thanks for the info......very helpful...

Can you please read my post above....#216 regarding getting back to console.....

Thanks!


PS.  In reading one of the maemo posts, I found a post by someone there that said they had 5 Zaurus.....so, just sent them a message telling them about this project here and to check it out.....  
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #220 on: October 22, 2015, 04:20:57 pm »
Yes, I meant hold Fn and push the left/right arrows or directional keys/ whatever you call those things surrounding the OK button to switch VTs. It works for me and apparently daal too so it seems strange its not working for you.

5 Zaurii! I had 2 at one point but my 3100 died many years ago. I thought I'd kept it (for parts if nothing else) but I can't find it - I've spent most of this afternoon looking for it!

I have noticed a newcomer reading this thread so maybe that was Mr 5Z!
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Archlinuxarm On C3x00
« Reply #221 on: October 22, 2015, 04:30:01 pm »
Quote from: danboid
Yes, I meant hold Fn and push the left/right arrows or directional keys/ whatever you call those things surrounding the OK button to switch VTs. It works for me and apparently daal too so it seems strange its not working for you.

5 Zaurii! I had 2 at one point but my 3100 died many years ago. I thought I'd kept it (for parts if nothing else) but I can't find it - I've spent most of this afternoon looking for it!

I have noticed a newcomer reading this thread so maybe that was Mr 5Z!

Thanks for clarifying...although odd as you say that it doesn't work for me....

Guess I'll have to shutdown Z and restart....

Think the person visiting was here before I sent message to Mr 5 Z's....

Doing my best to drum up interest for this...had hoped to at least of 2 my OBSD on Z buddies here by now...

Will see if I can get twm working....
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #222 on: October 22, 2015, 08:32:49 pm »
Sound works OK - I've just tried playing a FLAC file under moc.

I had to install alsa-utils for alsamixer which I had to use to unmute some of the left, right and left mixer right controls before any sound came out.

ArchiMark:

I've since realised that when I tried X under ZALARM I didn't know how to switch VTs so I just hard reset the Z or pulled the battery so I'm not sure if the VT switching works when X is loaded. It works when in the console for me. It will probably not be working because the X keymap hasn't been set correctly.
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Archlinuxarm On C3x00
« Reply #223 on: October 22, 2015, 09:24:53 pm »
Quote from: danboid
Sound works OK - I've just tried playing a FLAC file under moc.

I had to install alsa-utils for alsamixer which I had to use to unmute some of the left, right and left mixer right controls before any sound came out.

You must have been reading my mind....I just made a note earlier today to bring up the subject of audio.......

Thanks for the info, will try to do as you describe.....


Quote
ArchiMark:

I've since realised that when I tried X under ZALARM I didn't know how to switch VTs so I just hard reset the Z or pulled the battery so I'm not sure if the VT switching works when X is loaded. It works when in the console for me. It will probably not be working because the X keymap hasn't been set correctly.

Thanks for clarifying.....

Meanwhile, I just approved 2 new members for OESF forum.....1 mentioned joining to be able to put Arch on his Z.....    
Hopefully, we'll hear from him soon......

It's been so long now, but someone with admin rights at OESF, gave them to me as well probably 5 years ago or so, thinking that I might end up being the last man standing here.....

 
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

greguu

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 455
    • View Profile
    • http://github.com/greguu
Archlinuxarm On C3x00
« Reply #224 on: October 23, 2015, 01:35:35 am »
Hi all,

I will try to catch up with all this happening here but in the meantime a new kernel build  for those that are keen to test !

https://github.com/greguu/linux-4.2.3-c3x00...leases/tag/v0.3

Note : I had, like always, not much time to test. It seems to boot, but thats about all I know.    Any feedback welcome.

Cheers!
Gemini-PDA (Sailfish X and Android) / LG Nexus 5 (Android 11) / Nokia N9 (MeeGo/Harmattan)
Sharp Zaurus C3100 (Borzoi) - Void Linux (voidz) Kernel 5.0.0 - Hardware (Buffalo CF LAN, DLink 660 CF WiFi, ASIX AX88772 USB Ethernet)