Author Topic: Calling all Linux Kernel developers!  (Read 399551 times)

0 Members and 2 Guests are viewing this topic.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #195 on: November 08, 2012, 04:27:48 pm »
Hi,
I downloaded the lates snapshot and it worked perfectly for me, but my USB Keyboard (2,4 GHz Dongle) won't get accepted as a keyboard.
How can I compile your kernel to add the missing driver?
If I clone you linux-git-tree, configure it with the obvious settings for nspire it can't find any USB-Devices ("doesn't acceppt address").
Could it be I forgot to disable High Speed? But I couldn't find anything.

With my custom rootfs I can get X running .. a bit. The screen slowly goes brighter until it's completely white but the console still stays active in the background.
If I type "reboot\n" it works.
I haven't tested swap but gcc works fine without it.

Edit: If I use your config (through /proc/config.gz) it still can't find any usb-devices.
Edit2: It seems I'm hitting a buildroot issue with X: http://lists.busybox.net/pipermail/buildroot/2012-September/058504.html

Thanks for your Linux port :D
« Last Edit: November 10, 2012, 06:39:07 pm by Vogtinator »

Offline tangrs

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 229
  • Rating: +98/-0
    • View Profile
    • tangrs blog
Re: Calling all Linux Kernel developers!
« Reply #196 on: November 11, 2012, 05:48:43 am »
Hi,
I downloaded the lates snapshot and it worked perfectly for me, but my USB Keyboard (2,4 GHz Dongle) won't get accepted as a keyboard.
How can I compile your kernel to add the missing driver?
If I clone you linux-git-tree, configure it with the obvious settings for nspire it can't find any USB-Devices ("doesn't acceppt address").
Could it be I forgot to disable High Speed? But I couldn't find anything.

With my custom rootfs I can get X running .. a bit. The screen slowly goes brighter until it's completely white but the console still stays active in the background.
If I type "reboot\n" it works.
I haven't tested swap but gcc works fine without it.

Edit: If I use your config (through /proc/config.gz) it still can't find any usb-devices.
Edit2: It seems I'm hitting a buildroot issue with X: http://lists.busybox.net/pipermail/buildroot/2012-September/058504.html

Thanks for your Linux port :D

The screen slowing turning white is a problem with the framebuffer driver. It should only happen when the LCD screen goes to standby or turns off.

Regarding the USB keyboard, are you connecting directly from the calculator or via a powered hub? Wireless dongles draw a lot of power and the USB controller might not be able to keep up (AFAIK, the calculator can only provide something like 8mA of current compared to the 500mA mandated by the USB specs).


Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #197 on: November 11, 2012, 09:46:55 am »
Quote
The screen slowing turning white is a problem with the framebuffer driver. It should only happen when the LCD screen goes to standby or turns off.
Every second line goes white and then it's like turning off an old Gameboy Color.
Even if X exits, I can't get the fb to work again.
Maybe wrong mode set, I'll try to get rid of that.

Quote
Regarding the USB keyboard, are you connecting directly from the calculator or via a powered hub? Wireless dongles draw a lot of power and the USB controller might not be able to keep up (AFAIK, the calculator can only provide something like 8mA of current compared to the 500mA mandated by the USB specs).
I use an external powered 7-port hub. With my custom kernel on my laptop it doesn't work, too, but with a standard kernel it does.
It's a sunplus adapter, I think I only have to compile HID_SUNPLUS into the kernel.
Edit: The keyboard works perfectly. EXT4 too, with its journal the filesystem will survive system crashes.

Sadly I don't have an USB WLAN dongle but a Fritz!BOX Fon WLAN 7050 with integrated USB-Network card, do you know which modules it needs?
« Last Edit: November 11, 2012, 09:55:38 am by Vogtinator »

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Calling all Linux Kernel developers!
« Reply #198 on: November 11, 2012, 10:01:12 am »
Quote
The screen slowing turning white is a problem with the framebuffer driver. It should only happen when the LCD screen goes to standby or turns off.
This also happens to me on ubuntu :p
I'm not a nerd but I pretend:

Offline Nosferatu Arucard 1983

  • LV2 Member (Next: 40)
  • **
  • Posts: 28
  • Rating: +6/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #199 on: November 11, 2012, 11:16:04 am »
@tangrs
Have you tried to build Octave or Maxima to run on Nspire Linux ?

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Calling all Linux Kernel developers!
« Reply #200 on: November 11, 2012, 06:42:24 pm »
@tangrs
Have you tried to build Octave or Maxima to run on Nspire Linux ?
I don't think so. Are those programs written in C or in C++? since C++ currently can't be run.
« Last Edit: November 11, 2012, 06:42:42 pm by aeTIos »
I'm not a nerd but I pretend:

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #201 on: November 11, 2012, 07:28:45 pm »
C++ is only impossible with ndless programs, with Linux programs it's no problem.

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Calling all Linux Kernel developers!
« Reply #202 on: November 11, 2012, 07:35:02 pm »
C++ is possible actually, to a certain extent :
http://blog.tangrs.id.au/?p=712
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Nosferatu Arucard 1983

  • LV2 Member (Next: 40)
  • **
  • Posts: 28
  • Rating: +6/-0
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #203 on: November 11, 2012, 08:13:18 pm »
The Maxima is actually programmed in Common Lisp which in turn requires a Lisp interpreter / Just in Time compiler normally written in C. Since have few dependences, this program can be compiled and run on Nspire Linux.
(And is the core software of my Linux from Scratch project called Maxima OS, as may on the future this communit to try build a new indie calculator)
Ginac is a CAS library written in C++ and is even more portable than Maxima.
The only constrain in Linux is the RAM and Flash disk size of the calculator.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Calling all Linux Kernel developers!
« Reply #204 on: November 11, 2012, 09:17:48 pm »
porting the nspire emu to the nspire

Inception, much?? :crazy:

Offline Rhombicuboctahedron

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 437
  • Rating: +41/-6
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #205 on: November 11, 2012, 10:05:29 pm »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Calling all Linux Kernel developers!
« Reply #206 on: November 12, 2012, 12:25:17 am »
Nception or nCeption definitively would fit really well for the name of such emulator.

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Calling all Linux Kernel developers!
« Reply #207 on: November 12, 2012, 02:12:45 am »
kinda :p
I'm not a nerd but I pretend:

Offline compu

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 275
  • Rating: +63/-3
    • View Profile
Re: Calling all Linux Kernel developers!
« Reply #208 on: November 12, 2012, 10:42:09 am »

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Calling all Linux Kernel developers!
« Reply #209 on: November 12, 2012, 11:35:27 am »
Now that's what I call good advertising :D
I'm not a nerd but I pretend: