π
<-

Soumission initiale du patch Nspire au kernel Linux !

:32tins: :32tinsktpb: :32tinsktpn: :32tinscas: :32tinstpkc: :32tinstpktpb: :32tinstp: :32tinscastp: :32tinscmc: :32tinscx: :32tinscxcas:

Re: Soumission initiale du patch Nspire au kernel Linux !

Unread postby totorigolo » 04 Apr 2013, 20:09

Super boulot ! Ca me donne envie de tester ça plus en détails :)
En plus, c'est un pro qui vous a répondu, en environ 2h apparemment :)

Yamashita Ren wrote:Bien joué les gars ;)
Vous avez même eu le droit à un article sur phoronix !


Voici le lien : http://www.phoronix.com/scan.php?page=n ... px=MTM0MzE
nRGBlib, bibliothèque graphique en couleurs pour Ndless 3 !
pdf2png, un convertisseur de pdf en png, conçu pour être utilisé avec mViewer CX !
Image
User avatar
totorigolo
Niveau 11: LV (Légende Vivante)
Niveau 11: LV (Légende Vivante)
Level up: 42.3%
 
Posts: 132
Joined: 14 Sep 2011, 20:30
Gender: Male
Calculator(s):
MyCalcs profile
Class: Département Informatique - INSA de Lyon

Re: Soumission initiale du patch Nspire au kernel Linux !

Unread postby Lionel Debroux » 04 Apr 2013, 20:37

Ca me donne envie de tester ça plus en détails :)

La version qui a été soumise n'est pas très intéressante, vu qu'il manque tous les drivers non essentiels au boot - c'est à dire beaucoup de choses.
Et le code va changer quelque peu pour s'adapter aux commentaires d'Arnd Bergmann (qui auraient été beaucoup plus nombreux si on avait soumis le reste ^^), qui est en effet un excellent professionnel, voir le lien posté par Adriweb plus haut. Je me doutais que ce serait lui, ou un des autres mainteneurs de l'architecture ARM, qui répondrait.

Merci pour le lien :)
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
User avatar
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Level up: 11.3%
 
Posts: 6865
Joined: 23 Dec 2009, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Class: -
GitHub: debrouxl

Re: Soumission initiale du patch Nspire au kernel Linux !

Unread postby AlexisVieira » 05 Apr 2013, 18:55

i'm trying to use the keyboard on my Linux kernel but i can't -.- i type on the keyboard and nothing happens -.-
i will tell all that i've done:
1- i've downloaded the kernel (http://tiplanet.org/nspire-linux-builds/zImage_expanded_latest.tns) and rennamed it to "zImage.tns", i've downloaded the initrd (http://tiplanet.org/nspire-linux-builds/start_initrd.ll2.tns), the binary (http://tiplanet.org/nspire-linux-builds/linuxloader2.tns), the script (http://tiplanet.org/nspire-linux-builds/start_initrd.ll2.tns) and the ndless.cfg.tns edited with that line "ext.ll2=linuxloader2" (http://tiplanet.org/nspire-linux-builds/ndless.cfg.tns)
2-i've replaced the ndless.cfg.tns on my nspire touchpad non-cas.
3-i've created a folder named "Linux" on my nspire and i've send the zimage, initrd, script and Linuxloader
4- i've used Linux, all working good, just exploring, and today i tried to use the keyboard.
5- for use the keyboard i rebooted, connected the Nspire to a powered usb hub while in Nspire OS before running the bootloader, runned the initdr script, the Linux opened, i've connected the keyboarb to the powered usb hub but when i type nothing happens :s

what am i doing wrong?? :?

(sorry about bad english :/)

i don't understand this because i've done almost the same of this guy on the beggining of the video: http://www.youtube.com/watch?v=B2MiVkXhAYs, the only diferences are that i use the script wich adds that cmdline and my Linux have "nanocx login" instead of "buildroot login"
I'm Portuguese, sorry about bad English :s
User avatar
AlexisVieira
Niveau 11: LV (Légende Vivante)
Niveau 11: LV (Légende Vivante)
Level up: 25.7%
 
Posts: 213
Images: 13
Joined: 05 Feb 2013, 16:58
Location: Portugal
Gender: Male
Calculator(s):
MyCalcs profile
Class: 12ºAno PT

Re: Soumission initiale du patch Nspire au kernel Linux !

Unread postby servabat » 05 Apr 2013, 19:39

What keyboard are you using ? Your keyboard might need a specific driver in which case you should compile your own brewed kernel (with the modules you need).
User avatar
servabat
Niveau 10: GR (Guide de Référence)
Niveau 10: GR (Guide de Référence)
Level up: 26%
 
Posts: 32
Joined: 13 Oct 2011, 18:29
Gender: Not specified
Calculator(s):
MyCalcs profile


Re: Soumission initiale du patch Nspire au kernel Linux !

Unread postby servabat » 05 Apr 2013, 20:35

Well I guess you gonna need a driver (it's mostly everytime the case for wireless keyboards). Just tell me the model when you'll have it so that I could help you with that.
User avatar
servabat
Niveau 10: GR (Guide de Référence)
Niveau 10: GR (Guide de Référence)
Level up: 26%
 
Posts: 32
Joined: 13 Oct 2011, 18:29
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: Soumission initiale du patch Nspire au kernel Linux !

Unread postby Lionel Debroux » 05 Apr 2013, 20:44

The fact that the keyboard is wireless can make a difference, yeah. Standard USB HID keyboards are supposed to work, but maybe the wireless adapter does expose itself as another device class ?
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
User avatar
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Level up: 11.3%
 
Posts: 6865
Joined: 23 Dec 2009, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Class: -
GitHub: debrouxl

Re: Soumission initiale du patch Nspire au kernel Linux !

Unread postby AlexisVieira » 05 Apr 2013, 22:08

servabat wrote:Well I guess you gonna need a driver (it's mostly everytime the case for wireless keyboards). Just tell me the model when you'll have it so that I could help you with that.


the keyboard is the microsoft wireless keyboard 700 v2.0

Lionel Debroux wrote:The fact that the keyboard is wireless can make a difference, yeah. Standard USB HID keyboards are supposed to work, but maybe the wireless adapter does expose itself as another device class ?


i tried with a non-wireless keyboard (that uses the usb cable) and not worked too -.-
but I didn't understood the part of the sentence "but maybe the wireless adapter does expose itself as another device class ?" and the Google translator don't translate that to a portugueses that i can understand, can you say that in a more simple english?
I'm Portuguese, sorry about bad English :s
User avatar
AlexisVieira
Niveau 11: LV (Légende Vivante)
Niveau 11: LV (Légende Vivante)
Level up: 25.7%
 
Posts: 213
Images: 13
Joined: 05 Feb 2013, 16:58
Location: Portugal
Gender: Male
Calculator(s):
MyCalcs profile
Class: 12ºAno PT

Re: Soumission initiale du patch Nspire au kernel Linux !

Unread postby servabat » 05 Apr 2013, 22:34

That's weird, it should work with a standard USB keyboard. About "device class" I guess with my limited Portuguese language knowledge you would call it "classes de dispositivos".

Actually, USB Devices are splitted in several devices classes, and keyboards take parts of the HID class (human interface device). All differents devices are governed by communication protocols which describes the behaviour that those devices have to follow and how to process datas returned by those devices.

For example, a computer has a communication protocol to follow to communicate with keyboards. These protocols are standardized so as to simplify the installation and use of a device when you buy it, but even with that standardization you could sometimes find diverging communication protocols so that your keyboard won't work "plug and play". For example, for wireless keyboards you often have to get a special driver for wireless dongle.

But in your case that weird in my opinion because it didn't work even by trying with an non-wireless usb keyboard. Does UMS (like USB keys or USB Flash disks) works with your nspire ?
User avatar
servabat
Niveau 10: GR (Guide de Référence)
Niveau 10: GR (Guide de Référence)
Level up: 26%
 
Posts: 32
Joined: 13 Oct 2011, 18:29
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: Soumission initiale du patch Nspire au kernel Linux !

Unread postby AlexisVieira » 05 Apr 2013, 22:55

servabat wrote:That's weird, it should work with a standard USB keyboard. About "device class" I guess with my limited Portuguese language knowledge you would call it "classes de dispositivos".

Actually, USB Devices are splitted in several devices classes, and keyboards take parts of the HID class (human interface device). All differents devices are governed by communication protocols which describes the behaviour that those devices have to follow and how to process datas returned by those devices.

For example, a computer has a communication protocol to follow to communicate with keyboards. These protocols are standardized so as to simplify the installation and use of a device when you buy it, but even with that standardization you could sometimes find diverging communication protocols so that your keyboard won't work "plug and play". For example, for wireless keyboards you often have to get a special driver for wireless dongle.

But in your case that weird in my opinion because it didn't work even by trying with an non-wireless usb keyboard. Does UMS (like USB keys or USB Flash disks) works with your nspire ?


The non-wireless usb keyboard that i've used is the e-3lue scort pro gaming.
Related to the pendrives, i tried but it doesn't work yet but i think that it doesn't work because i'm not doing the right process... i'll have to search that better because when i use the "bootscrip_usb" that doesn't work because it says that it can't find the "/dev/null" and the "/dev/tty0" what is weird because i've opened Linux with initrd script, opened the links, with the "go to url" i've opened the "/dev" folder and i've found that 2 files there -.-
I'm Portuguese, sorry about bad English :s
User avatar
AlexisVieira
Niveau 11: LV (Légende Vivante)
Niveau 11: LV (Légende Vivante)
Level up: 25.7%
 
Posts: 213
Images: 13
Joined: 05 Feb 2013, 16:58
Location: Portugal
Gender: Male
Calculator(s):
MyCalcs profile
Class: 12ºAno PT

PreviousNext

Return to News TI-Nspire

Who is online

Users browsing this forum: ClaudeBot [spider] and 16 guests

-
Search
-
Social TI-Planet
-
Featured topics
Comparaisons des meilleurs prix pour acheter sa calculatrice !
"1 calculatrice pour tous", le programme solidaire de Texas Instruments. Reçois gratuitement et sans aucune obligation d'achat, 5 calculatrices couleur programmables en Python à donner aux élèves les plus nécessiteux de ton lycée. Tu peux recevoir au choix 5 TI-82 Advanced Edition Python ou bien 5 TI-83 Premium CE Edition Python.
Enseignant(e), reçois gratuitement 1 exemplaire de test de la TI-82 Advanced Edition Python. À demander d'ici le 31 décembre 2024.
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
1234
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...
Donate
Discover the the advantages of a donor account !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partner and ad
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
930 utilisateurs:
>885 invités
>39 membres
>6 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Other interesting websites
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)