Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Yamashita Ren

Pages: [1] 2
1
TI-Nspire / Re: nspire Linux Questions
« on: April 24, 2013, 05:54:24 am »
1) First, boot the initrd image and see if the pen drive is detected.
2) Use the xconfig image with
Code: [Select]
kernel Linux/zImage.tns
cmdline root=/dev/sda1 rootdelay=10 cx_usb_otg
boot

2
TI-Nspire / Re: nspire Linux Questions
« on: April 22, 2013, 07:07:08 am »
Actually, it's quite simple. It's exactly the same as running the xconfig rootfs from TI-Planet but with a debian rootfs.

Create the rootfs with debootstrap (Thank you Lionel for the script) :
Code: [Select]
# Make sure we have the appropriate packages.
apt-get install debootstrap multistrap binfmt-support
# This package ought to register the appropriate definitions for binfmt-support
apt-get install qemu-user-static
# Load binfmt support
modprobe binfmt_misc
# Start a debootstrap that will fail when trying to install the packages
mkdir $DEST_DIR
cd $DEST_DIR
debootstrap --verbose --arch=armel sid . http://ftp.fr.debian.org/debian/
# Fix it. ln assumes the programs are on the same partition, use cp instead if they aren't.
ln /usr/bin/qemu-arm-static ./usr/bin/qemu-arm-static
# Start debootstrap again, and while at it, we can add some packages into the mix :)
debootstrap --verbose --arch=armel --include=locales,build-essential sid . http://ftp.fr.debian.org/debian/
I have replaced sid by testing which will become stable in a few months
Plus, I have added xpdf and the xorg metapkg

And then, I used qemu to finish the installation, create the root password and install xcas : http://wiki.debian.org/QemuUserEmulation (appendix)

Once you have your rootfs, you can put it on your pen drive ;)
If you succeed to run X, let me know !

3
TI-Nspire / Re: nspire Linux Questions
« on: April 21, 2013, 02:22:25 pm »
Instead of the apt cache, I have like nothing in /var ...
Let's see where is the problem !

edit :
Okay, problem solved. It was my fault.
I have now installed X11 and it seems to work but the touchpad does nothing ...
Where is the problem ?

edit n°2 : Maybe the problem isn't the touchpad ... If the screen turn off while X is "running", I can't wake it ...

I tested the TI-Planet xconfig build and startx isn't included in it ...

4
TI-Nspire / Re: nspire Linux Questions
« on: April 21, 2013, 11:18:12 am »
Okay !
Debian is installed and it seems to works ... but I encountered some type of a problem ...
When I run dpkg --configure -a, I get an error :
Code: [Select]
dpkg : error : unable to access dpkg status area : No such file or directoryIs this behaviour expected ?

5
TI-Nspire / Re: nspire Linux Questions
« on: April 18, 2013, 03:16:00 pm »
Thank you for the explanation fortytwo.
I now quite understand how all this mess works :p

6
TI-Nspire / Re: nspire Linux Questions
« on: April 17, 2013, 05:47:53 pm »
@Vogtinator
Sorry, I don't understand your edited answer ...
- If I use OTG, the calc mode will be device if I use a 4-pin mini-usb cable or host if I use a 5-pin (with a bridge between pin 5 and pin 4) mini-usb cable. And the mode can be switched without rebooting the calc.
- If I don't use OTG, the usb mode will follow that rule (and will not follow the "cable rule") :
Quote
USB support is mostly working. The only thing missing is a USB PHY driver. The USB controller driver is currently unable to switch seamlessly between USB host and USB device mode because of this. Unfortunately, nothing much is known about the USB PHY.
That's probably the same reason why sometimes USB devices aren't recognised in USB host mode - the USB PHY hasn't changed the USB hardware to host mode.
To work around this, we get the Nspire OS to set the right modes in the USB PHY before booting Linux.
For USB Host mode: insert a USB OTG cable's A end or a USB device into the calculator while still inside the Nspire OS before running the bootloader.
For USB Device mode: connect the Nspire to a computer while in Nspire OS before running the bootloader.

Or there is something that I don't understand ?

@Dapianokid
I don't see why It should work with a type A instead of a type B when TI uses type B connectors ...
I'm not even sure that we can use a type A male connector with a type B female connector ...
I think that the parameter is "cx_usb_otg" because it's written on hackspire

edit :
Okayyyy
It's written usb type A in my quotation !!!
There is definitively something that I don't understand  :banghead:

edit n°2 :
So, if I understand well, it is not possible to use an usb key without an OTG usb cable ?!?
If I put a 4 pin mini-usb cable, nothing happens to the usb PHY who keeps is previous state which is device mode ... It makes me very unhappy  :w00t:
But I still don't see why I have to use a type A usb instead of a type B usb ...

7
TI-Nspire / Re: nspire Linux Questions
« on: April 17, 2013, 01:46:27 pm »
Okay, thank you :)
The lack of the otg feature isn't a problem for me.

And, by the way, you confirm me that my usb key isn't detected because I have done something wrong when soldering my miniUSB <=> USB cable ...

8
TI-Nspire / Re: nspire Linux Questions
« on: April 17, 2013, 01:18:57 pm »
Hello.
I would like to confirm that I understand well the usb support matter ...

1) I plug the usb while in the Nspire OS then boot linux => the nspire is the host and will keep the host status until I reboot it.
2) I plug the usb after booting linux => the nspire is the device and the usb (computer ?) is the host. I can't use an usb key in this mode.
3) I use the cx_usb_otg kernel parameter and the host/device status of the nspire depend of the cable I'm using (if it is an OTG cable the calc will be a host and if it a normal cable the calc will be a device).

Is it right ?

9
General Calculator Help / Re: Opening a TI-Nspire CX CAS
« on: April 16, 2013, 01:56:34 pm »
I'll do it in one month ;)
Now, I have a ton of homework to do ^^

10
General Calculator Help / Re: Opening a TI-Nspire CX CAS
« on: April 16, 2013, 05:49:59 am »
I'll try to remove the clutch screws after my homework gets done.  
Thanks.

After those screws should the top come right off?  Also do the clutch screws need to be put back in?
<

Oh yeah !!!
I suceed to remove the clutch screws with a 1.2 mm flat screwdriver. It's was so easy with the right tool :)

Maybe there are hidden screws under pads ... I will see that later ...

edit :
Okay that's it ! You have two more clutch screws under the top pads. Once you have removed them, push the battery area to remove the motherboard part ;)

11
General Calculator Help / Re: Opening a TI-Nspire CX CAS
« on: April 15, 2013, 04:47:35 pm »
Yep, opening GC remind me of the good time ... How to have a chipped GC and DREs :D Glad to have dolphinemu on this matter ^^
I hate TI ! They have gifted us with a fine calc but have it locked everywhere ...

By the way, I don't understand why you are telling me to get a Torx 6 ... My problem isn't the Torx screws but the Clutch screws ...
For the record, I have some Xbox 360 sized Torx keys but they are huger than 6 ... But T6 screws can be opened with a flat head screwdriver, so it's fine ;)

12
General Calculator Help / Re: Opening a TI-Nspire CX CAS
« on: April 15, 2013, 04:25:16 pm »
_Nicco_  , did you succeed to remove the Clutch screw (near the battery) ?
I bet that theses are clutch but I'm not sure, they are so tiny ...

13
General Calculator Help / Re: Opening a TI-Nspire CX CAS
« on: April 15, 2013, 03:54:36 pm »
The plastic pen method doesn't seem to work on the cx ...
1) There isn't enough space around the screw (so you can't turn the pen-screwdriver once solidified).
2) There is a "step" before the screw ... So the pen take the form of the step + the top of the screw (but without enough of the inside of the screw)

I have tried a flat screwdriver too but mine's doesn't seem to be sharp enough ...

Raaaah, I'm becoming mad !!!

edit : I will try to find help in watch shops tomorrow ...

14
General Calculator Help / Re: Opening a TI-Nspire CX CAS
« on: April 14, 2013, 05:40:20 am »
@fortytwo
I know the torx ;) I hoped that i've had this size but unfortunately, it's not the case. So I think that I will use a flat screw driver for theses ...
Nevertheless, I was talking about the helix shaped crews ;)

@Dapianokid
Yep ! I used this trick on my gamecube ;)
I don't know why but I was reluctant to use it on my cx ...
But, thanks to you, I will use it and my cx will be taken apart until the evening !

15
General Calculator Help / Re: Opening a TI-Nspire CX CAS
« on: April 13, 2013, 05:39:07 pm »
I would be happy too to discover how to remove these weird screws ...

Pages: [1] 2