Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: kitten on March 04, 2016, 10:45:54 am

Title: Peripheral Not Identified
Post by: kitten on March 04, 2016, 10:45:54 am
Hello, I have been reading things on this site for quite some time now, and have only today created an account, as I am having problems with my calculator that haven't been answered, as far as I see. If there is some forum for asking questions, I would be grateful if someone could move this there.
So, after reading I could run Linux on a calculator, I decided, "I must have this." So, I bought a TI-Nspire CX, updated it to 4.0.3.29, and followed the guide here: http://codinghobbit.no-ip.org/blog/?p=81
After setting my USB drive and calculator up, I attached my USB-OTG and USB drive to the calculator. When doing so, I received the message:
"Warning
Cannot communicate with the peripheral attached to handheld"
I figured "Okay, maybe the USB drive doesn't work." I tried a different one, but to no avail. I also tried a USB mouse, which also did not work. I have the latest version of ndless installed for 4.0.3, and I have the USB-OTG found here: http://www.amazon.com/gp/product/B00JK1OFOM?psc=1&redirect=true&ref_=oh_aui_detailpage_o02_s00
Could someone please explain to me what I'm doing wrong? Also, would it be worth it to update to the 4.2.0 firmware that I only now realize exists? Thank you in advance.
Title: Re: Peripheral Not Identified
Post by: aeTIos on March 04, 2016, 01:16:09 pm
It's no more than logical that the USB devices aren't recognized, as TI has absolutely zero support for them :/ Try launching the linux bootloader anyway :) Don't update to 4.2, that'll only break more things.
Title: Re: Peripheral Not Identified
Post by: kitten on March 04, 2016, 08:33:32 pm
Ah, okay, I'll be sure not to update to 4.2. I did try to launch the bootloader earlier (I probably should've put this in the original post) but it said something along the lines of "boot: command not recognized", so I am going to assume that did not work. Oh, Texas Instruments, why do you not want us using our calculators for running Linux...?

EDIT: I just realized, it may not be the USB that's malfunctioning, it may be the Linux installation itself. I'll try reinstalling Linux onto the USB. Also, I just discovered the quote function.

It's no more than logical that the USB devices aren't recognized, as TI has absolutely zero support for them :/ Try launching the linux bootloader anyway :) Don't update to 4.2, that'll only break more things.
Title: Re: Peripheral Not Identified
Post by: Ivoah on March 07, 2016, 04:05:52 pm
Might I suggest you follow this amazing guide? http://codinghobbit.no-ip.org/blog/?p=81
(disclaimer: I wrote it :P)
Title: Re: Peripheral Not Identified
Post by: kitten on March 08, 2016, 07:06:50 am
Might I suggest you follow this amazing guide? http://codinghobbit.no-ip.org/blog/?p=81
(disclaimer: I wrote it :P)
What if...
So, after reading I could run Linux on a calculator, I decided, "I must have this." So, I bought a TI-Nspire CX, updated it to 4.0.3.29, and followed the guide here: http://codinghobbit.no-ip.org/blog/?p=81
I ALREADY HAVE?
(dramatic)
Title: Re: Peripheral Not Identified
Post by: Ivoah on March 08, 2016, 08:16:38 am
Might I suggest you follow this amazing guide? http://codinghobbit.no-ip.org/blog/?p=81
(disclaimer: I wrote it :P)
What if...
So, after reading I could run Linux on a calculator, I decided, "I must have this." So, I bought a TI-Nspire CX, updated it to 4.0.3.29, and followed the guide here: http://codinghobbit.no-ip.org/blog/?p=81
I ALREADY HAVE?
(dramatic)
Heh, I should probably read things before replying, huh? The "USB device not recognized" is perfectly normal, TI-OS doesn't know how to talk to usb devices. Just plug it in, ignore the message, and continue booting linux.
Title: Re: Peripheral Not Identified
Post by: Ivoah on March 11, 2016, 09:24:43 pm
bump. Did you get it working @kitten?
Title: Re: Peripheral Not Identified
Post by: kitten on March 19, 2016, 07:44:16 am
bump. Did you get it working @kitten?

Sorry for the delay, I meant to post images of the screen I get when booting Linux, but never got around to it. As previously stated, it didn't think "boot" was a command. When setting up the USB drive, it couldn't get sources.list, so I copied mine from my Debian Jessie installation and replaced "Jessie" with "Wheezy". I think this is part of the problem. I'll try setting it up again.

EDIT: Apparently, sources.list was not found here: http://codinghobbit.no-ip.org/uploads/TI-Nspire/linux/sources.list
It's not on http://archive.org/web/ either.

EDIT2: I tried setting up nDroid and it seemed to boot the kernel. I never thought I'd see the day when my calculator had a kernel panic... Anyway, it does seem that linuxloader2 could communicate with the USB, but it could not execute the boot command.
Title: Re: Peripheral Not Identified
Post by: Ivoah on March 19, 2016, 08:15:19 pm
bump. Did you get it working @kitten?

Sorry for the delay, I meant to post images of the screen I get when booting Linux, but never got around to it. As previously stated, it didn't think "boot" was a command. When setting up the USB drive, it couldn't get sources.list, so I copied mine from my Debian Jessie installation and replaced "Jessie" with "Wheezy". I think this is part of the problem. I'll try setting it up again.

EDIT: Apparently, sources.list was not found here: http://codinghobbit.no-ip.org/uploads/TI-Nspire/linux/sources.list
It's not on http://archive.org/web/ either.

EDIT2: I tried setting up nDroid and it seemed to boot the kernel. I never thought I'd see the day when my calculator had a kernel panic... Anyway, it does seem that linuxloader2 could communicate with the USB, but it could not execute the boot command.

Weird, copying the sources.list should've worked. Anyways, I forgot to fix sources.list when I re-did my blog, try this: http://codinghobbit.no-ip.org/uploads/sources.list
Title: Re: Peripheral Not Identified
Post by: kitten on April 02, 2016, 11:02:53 am
Weird, copying the sources.list should've worked. Anyways, I forgot to fix sources.list when I re-did my blog, try this: http://codinghobbit.no-ip.org/uploads/sources.list

I finally got around to retrying it, and, too my surprise,I encountered an error that would not allow me to continue. When debootstraping on step 6 of your guide, it finished in seconds. I do not believe this was the desired waiting time. I looked at the logs, and it had multiple errors saying "Permission Denied", even though I was using sudo. I used su and tried to debootstrap again, to no avail. I looked in the /mnt folder (the USB drive), and the only file there was "lost+found", which I couldn't open anyway. I am using Debian 8.3.0 with KDE, if that's part of the problem.

EDIT: Also, I'm using virtualbox with Guest Additions installed. That's probably an important factor in diagnosing the problem.
Title: Re: Peripheral Not Identified
Post by: Ivoah on April 04, 2016, 04:54:50 pm
Looks like you need to re-debootstrap. I also updated the guide, so maybe try starting from the beginning.
Title: Re: Peripheral Not Identified
Post by: kitten on April 05, 2016, 09:22:52 am
Looks like you need to re-debootstrap. I also updated the guide, so maybe try starting from the beginning.

Alright, I'll try again, but this time, I'll cross my fingers the whole time (massive luck booster).

EDIT: Okay, I did everything again (even reinstalling Debian), but I still get stuck on step 6. So much for crossing my fingers  :(
Title: Re: Peripheral Not Identified
Post by: Ivoah on April 05, 2016, 05:47:12 pm
Are you sure you installed qemu-user-static and binfmt-support?
Title: Re: Peripheral Not Identified
Post by: kitten on April 05, 2016, 09:29:16 pm
Are you sure you installed qemu-user-static and binfmt-support?

Yep. In fact, I even tried debootstrapping without them, but it just said the command wasn't found.
Title: Re: Peripheral Not Identified
Post by: Harry5862 on April 13, 2016, 05:09:23 am
Hello,

is it possible to install a desktop enviroment, like lxde on the calc.
Title: Re: Peripheral Not Identified
Post by: Ivoah on April 13, 2016, 08:02:14 am
Hello,

is it possible to install a desktop enviroment, like lxde on the calc.
I is possible to install lxde, but when I tried it there were problems with input. I think it was traced down to a config option not being set when compiling the kernel. I might work with the new kernel.
Title: Re: Peripheral Not Identified
Post by: kitten on April 16, 2016, 08:53:14 am
@Ivoah Alright, so, how about this: instead of debootstrapping directly to the USB, I debootstrap to an image file, the dd the image file to the USB. Or am I still missing something?
Title: Re: Peripheral Not Identified
Post by: Ivoah on April 17, 2016, 01:47:45 pm
@Ivoah Alright, so, how about this: instead of debootstrapping directly to the USB, I debootstrap to an image file, the dd the image file to the USB. Or am I still missing something?
Sounds like your flashdrive is borked, try reformatting it as ext4.
Title: Re: Peripheral Not Identified
Post by: kitten on April 18, 2016, 11:30:50 am
@Ivoah Alright, so, how about this: instead of debootstrapping directly to the USB, I debootstrap to an image file, the dd the image file to the USB. Or am I still missing something?
Sounds like your flashdrive is borked, try reformatting it as ext4.

Oh my. Well, if that's the case, I suppose it's a good thing I have several other USB drives, then! I'll report back as soon as I can.
Title: Re: Peripheral Not Identified
Post by: Hooloovoo on April 18, 2016, 11:33:45 am
Sometimes the flash drive draws too much power. If you have a powered hub with a mini-USB port, you can use the link cable that comes with the calc to avoid any problems, and also plug in a real keyboard.
Title: Re: Peripheral Not Identified
Post by: Ivoah on April 18, 2016, 11:35:34 am
Sometimes the flash drive draws too much power. If you have a powered hub with a mini-USB port, you can use the link cable that comes with the calc to avoid any problems, and also plug in a real keyboard.
The issue is cropping up before he even get's to the Nspire step, that's not it (yet).
Title: Re: Peripheral Not Identified
Post by: Hooloovoo on April 18, 2016, 11:46:06 am
The issue is cropping up before he even get's to the Nspire step, that's not it (yet).
Ah okay, nevermind then.
I'd recommend using a non-virtual linux box to work with, if you can figure out a way to do that, or maybe a linux with a flash drive root (you can do that with debootstrap too!). Virtualbox usually works, but I've seen weirdnesses with USB forwarding which might be causing problems.
Title: Re: Peripheral Not Identified
Post by: kitten on April 23, 2016, 07:33:30 am
The issue is cropping up before he even get's to the Nspire step, that's not it (yet).
Ah okay, nevermind then.
I'd recommend using a non-virtual linux box to work with, if you can figure out a way to do that, or maybe a linux with a flash drive root (you can do that with debootstrap too!). Virtualbox usually works, but I've seen weirdnesses with USB forwarding which might be causing problems.

I hear that the Insider builds of Windows 10 has a full Linux userland? Do you think that would work?
Title: Re: Peripheral Not Identified
Post by: Ivoah on April 23, 2016, 11:21:29 am
The issue is cropping up before he even get's to the Nspire step, that's not it (yet).
Ah okay, nevermind then.
I'd recommend using a non-virtual linux box to work with, if you can figure out a way to do that, or maybe a linux with a flash drive root (you can do that with debootstrap too!). Virtualbox usually works, but I've seen weirdnesses with USB forwarding which might be causing problems.

I hear that the Insider builds of Windows 10 has a full Linux userland? Do you think that would work?
Probably not, that feature is still very much in beta, with many bugs. I highly doubt qemu would work with it. If you have a raspberry pi though, that would work best, as you can skip the qemu and binfmt steps.
Title: Re: Peripheral Not Identified
Post by: kitten on April 24, 2016, 08:48:04 am
Probably not, that feature is still very much in beta, with many bugs. I highly doubt qemu would work with it. If you have a raspberry pi though, that would work best, as you can skip the qemu and binfmt steps.

Oh my... Unfortunately, I do not own a Raspberry Pi. Would this guide work with Ubuntu? I am asking as Ubuntu seems to support my WiFi cards. Or does debootstrap rely on Debian?
Also, I think I'll look into getting a Raspberry Pi, as it certainly would make doing this whole thing easier, if I were to do it again (I have a tendency to accidentally format USB drives without checking what's on them).
Title: Re: Peripheral Not Identified
Post by: Ivoah on April 24, 2016, 10:47:48 am
Probably not, that feature is still very much in beta, with many bugs. I highly doubt qemu would work with it. If you have a raspberry pi though, that would work best, as you can skip the qemu and binfmt steps.

Oh my... Unfortunately, I do not own a Raspberry Pi. Would this guide work with Ubuntu? I am asking as Ubuntu seems to support my WiFi cards. Or does debootstrap rely on Debian?
Also, I think I'll look into getting a Raspberry Pi, as it certainly would make doing this whole thing easier, if I were to do it again (I have a tendency to accidentally format USB drives without checking what's on them).
Yep, Ubuntu should work just fine, but you'll need the emu and binfmt steps, since your computer has a different processor than the Nspire. Also, I would highly recommend getting a Raspberry Pi, they're fun to mess around with. For instance, I just made this the other day: https://twitter.com/NoahRosamilia/status/723688146320392192
Title: Re: Peripheral Not Identified
Post by: kitten on April 24, 2016, 06:19:18 pm
Probably not, that feature is still very much in beta, with many bugs. I highly doubt qemu would work with it. If you have a raspberry pi though, that would work best, as you can skip the qemu and binfmt steps.

Oh my... Unfortunately, I do not own a Raspberry Pi. Would this guide work with Ubuntu? I am asking as Ubuntu seems to support my WiFi cards. Or does debootstrap rely on Debian?
Also, I think I'll look into getting a Raspberry Pi, as it certainly would make doing this whole thing easier, if I were to do it again (I have a tendency to accidentally format USB drives without checking what's on them).
Yep, Ubuntu should work just fine, but you'll need the emu and binfmt steps, since your computer has a different processor than the Nspire. Also, I would highly recommend getting a Raspberry Pi, they're fun to mess around with. For instance, I just made this the other day: https://twitter.com/NoahRosamilia/status/723688146320392192

Would've been nice to know that Ubuntu worked all the while ago :P . I will definitely look into buying a Raspberry Pi. Which one do you recommend?
Title: Re: Peripheral Not Identified
Post by: Ivoah on April 24, 2016, 07:56:30 pm
Probably not, that feature is still very much in beta, with many bugs. I highly doubt qemu would work with it. If you have a raspberry pi though, that would work best, as you can skip the qemu and binfmt steps.

Oh my... Unfortunately, I do not own a Raspberry Pi. Would this guide work with Ubuntu? I am asking as Ubuntu seems to support my WiFi cards. Or does debootstrap rely on Debian?
Also, I think I'll look into getting a Raspberry Pi, as it certainly would make doing this whole thing easier, if I were to do it again (I have a tendency to accidentally format USB drives without checking what's on them).
Yep, Ubuntu should work just fine, but you'll need the emu and binfmt steps, since your computer has a different processor than the Nspire. Also, I would highly recommend getting a Raspberry Pi, they're fun to mess around with. For instance, I just made this the other day: https://twitter.com/NoahRosamilia/status/723688146320392192

Would've been nice to know that Ubuntu worked all the while ago :P . I will definitely look into buying a Raspberry Pi. Which one do you recommend?
Hands down would recommend a Pi 3, as they are the fastest, and still the same price as the older ones.
Title: Re: Peripheral Not Identified
Post by: kitten on April 25, 2016, 11:54:33 am
Hands down would recommend a Pi 3, as they are the fastest, and still the same price as the older ones.

Thanks. Time to save money for another small computing device! Because one can never have enough.

EDIT: Alright, I tried once more to set up linux on another USB drive using an Ubuntu installation, but it did not work. I suppose I should wait until I own a Raspberry Pi.
Title: Re: Peripheral Not Identified
Post by: Ivoah on May 15, 2016, 08:50:46 pm
I just remembered that there is an issue in my tutorial. For some reason WordPress converts double dashes (--) into single long dashes (–), which messes up some of the commands. Wherever you see a long dash, replace it with two normal dashes.
Title: Re: Peripheral Not Identified
Post by: kitten on May 18, 2016, 04:58:48 pm
I just remembered that there is an issue in my tutorial. For some reason WordPress converts double dashes (--) into single long dashes (–), which messes up some of the commands. Wherever you see a long dash, replace it with two normal dashes.

You know, that would have been a bit useful to know earlier. :)
Thanks for telling me, I'll try the tutorial again later.
Title: Re: Peripheral Not Identified
Post by: Ivoah on May 18, 2016, 05:04:13 pm
I just remembered that there is an issue in my tutorial. For some reason WordPress converts double dashes (--) into single long dashes (–), which messes up some of the commands. Wherever you see a long dash, replace it with two normal dashes.

You know, that would have been a bit useful to know earlier. :)
Thanks for telling me, I'll try the tutorial again later.
Hehe, sorry about that.
I hope you have better luck the 2nd time around :)
Title: Re: Peripheral Not Identified
Post by: kitten on May 19, 2016, 04:36:42 pm
Hehe, sorry about that.
I hope you have better luck the 2nd time around :)

I believe it is actually the fifth.  ;D
By the way, would having my calculator on 3.9.1 make a difference? Because I just downgraded to check if it makes it any faster than 4.0.3, and since I haven't seen any speed increase so far, and installing during school time has become fairly hard (no, I am not going to take out a computer in the middle of class), I am thinking that downgrading probably wasn't the best idea. Thanks!
Title: Re: Peripheral Not Identified
Post by: Ivoah on May 19, 2016, 04:50:55 pm
Hehe, sorry about that.
I hope you have better luck the 2nd time around :)

I believe it is actually the fifth.  ;D
By the way, would having my calculator on 3.9.1 make a difference? Because I just downgraded to check if it makes it any faster than 4.0.3, and since I haven't seen any speed increase so far, and installing during school time has become fairly hard (no, I am not going to take out a computer in the middle of class), I am thinking that downgrading probably wasn't the best idea. Thanks!
OS version shouldn't matter, so long as it runs Ndless.
Title: Re: Peripheral Not Identified
Post by: kitten on May 19, 2016, 05:10:22 pm
OS version shouldn't matter, so long as it runs Ndless.

Ok, good; 3.9.1 was giving me a headache. So far, debootstrapping surprisingly seems to be working! Hopefully one last question: since I'm running Lububtu, will the sources.list need to be changed?
Title: Re: Peripheral Not Identified
Post by: Ivoah on May 19, 2016, 05:51:33 pm
OS version shouldn't matter, so long as it runs Ndless.

Ok, good; 3.9.1 was giving me a headache. So far, debootstrapping surprisingly seems to be working! Hopefully one last question: since I'm running Lububtu, will the sources.list need to be changed?
I don't think so. Seeing as you're putting debian, not lubuntu, on the flash drive
Title: Re: Peripheral Not Identified
Post by: kitten on May 19, 2016, 06:19:26 pm
I don't think so. Seeing as you're putting debian, not lubuntu, on the flash drive

What I meant was because the guide asks me to copy the sources.list from the Linux installation on the computer (lubuntu) to the installation on the USB (debian), I thought there might be some conflicts between source domains.
Title: Re: Peripheral Not Identified
Post by: Ivoah on May 19, 2016, 06:55:56 pm
I don't think so. Seeing as you're putting debian, not lubuntu, on the flash drive

What I meant was because the guide asks me to copy the sources.list from the Linux installation on the computer (lubuntu) to the installation on the USB (debian), I thought there might be some conflicts between source domains.
Oh huh, I thought that my instructions said to download the sources.list from my site. ¯\_(ツ)_/¯ Could you post the contents of your sources.list?
Title: Re: Peripheral Not Identified
Post by: kitten on May 19, 2016, 07:01:05 pm
Oh huh, I thought that my instructions said to download the sources.list from my site. ¯\_(ツ)_/¯ Could you post the contents of your sources.list?

Sure:
Code: [Select]
#deb cdrom:[Lubuntu 16.10 _Yakkety Yak_ - Alpha amd64 (20160424)]/ yakkety main multiverse restricted universe

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ yakkety main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ yakkety main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ yakkety-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ yakkety-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu/ yakkety universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ yakkety universe
deb http://us.archive.ubuntu.com/ubuntu/ yakkety-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ yakkety-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ yakkety multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ yakkety multiverse
deb http://us.archive.ubuntu.com/ubuntu/ yakkety-updates multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ yakkety-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ yakkety-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ yakkety-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu yakkety partner
# deb-src http://archive.canonical.com/ubuntu yakkety partner

deb http://security.ubuntu.com/ubuntu yakkety-security main restricted
# deb-src http://security.ubuntu.com/ubuntu yakkety-security main restricted
deb http://security.ubuntu.com/ubuntu yakkety-security universe
# deb-src http://security.ubuntu.com/ubuntu yakkety-security universe
deb http://security.ubuntu.com/ubuntu yakkety-security multiverse
# deb-src http://security.ubuntu.com/ubuntu yakkety-security multiverse
Title: Re: Peripheral Not Identified
Post by: Ivoah on May 19, 2016, 07:12:46 pm
Ah yeah, that won't work. Try this instead
Code: [Select]
deb http://ftp.us.debian.org/debian/ jessie main
deb-src http://ftp.us.debian.org/debian/ jessie main

deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main

# jessie-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ jessie-updates main
deb-src http://ftp.us.debian.org/debian/ jessie-updates main
Title: Re: Peripheral Not Identified
Post by: kitten on May 19, 2016, 07:17:53 pm
Ah yeah, that won't work. Try this instead

Thanks, I set up a blank sources.list on my desktop, pasted all that in, set it to chmod 755 just in case, and copied it to the USB. I'm finishing debootstrapping now, hopefully it works!

EDIT: It did not work. :( It failed on step 12; I get this:

Code: [Select]
Linux in-place bootloader v2 (ba0d0fa)
Build date: Sun, 23 Feb 2014 19:18:37 +0100
Allocated memory:
   DTB/ATAGs:             16128 bytes
   Kernel and initrd:     26804224 bytes
Machine number: 4443
Detected a CX
Physical memory at: 0x10000000-0x14000000
Serial number: 3fce820120 rev0 (Non-CAS)
kernel linux/zImage.tns
Kernel successfully loaded
cmdline root=/dev/sda1
Kernel command line: "root=/dev/sda1"
rootdelay=10
Unknown command
boot

I then have to restart my calculator to do anything else. Please, help would be appreciated. Thank you.
Title: Re: Peripheral Not Identified
Post by: Ivoah on May 19, 2016, 09:07:33 pm
Ah yeah, that won't work. Try this instead

Thanks, I set up a blank sources.list on my desktop, pasted all that in, set it to chmod 755 just in case, and copied it to the USB. I'm finishing debootstrapping now, hopefully it works!

EDIT: It did not work. :( It failed on step 12; I get this:

Code: [Select]
Linux in-place bootloader v2 (ba0d0fa)
Build date: Sun, 23 Feb 2014 19:18:37 +0100
Allocated memory:
   DTB/ATAGs:             16128 bytes
   Kernel and initrd:     26804224 bytes
Machine number: 4443
Detected a CX
Physical memory at: 0x10000000-0x14000000
Serial number: 3fce820120 rev0 (Non-CAS)
kernel linux/zImage.tns
Kernel successfully loaded
cmdline root=/dev/sda1
Kernel command line: "root=/dev/sda1"
rootdelay=10
Unknown command
boot

I then have to restart my calculator to do anything else. Please, help would be appreciated. Thank you.
Well, your post made me realize that I never updated my tutorial for the new dtb kernel. O.O
The updated instructions are here: http://ivoah.net/blog/2016/03/20/how-to-install-debian-on-a-ti-nspire/
Title: Re: Peripheral Not Identified
Post by: kitten on May 20, 2016, 06:47:02 am
Well, your post made me realize that I never updated my tutorial for the new dtb kernel. O.O
The updated instructions are here: http://ivoah.net/blog/2016/03/20/how-to-install-debian-on-a-ti-nspire/

So, I should restart the tutorial from the beginning?
Yay...  :-\

EDIT: So, after actually reading the tutorial, it seems I only need to change the files on the calculator. :)
EDIT2: It worked!  ;D Thank you for all your help! Also, one last suggestion for the tutorial: maybe you should tell the reader to rename the DTB to have a .tns extension at the end?
EDIT3: Today, I have learned something valuable: my USB-OTG is really not so good. Most of the time, it kernel panics because it can't find the rootfs. However, sometimes, it does load to the login prompt. Although, I can not login, no matter what combination of usernames/passwords I use. Is there a specific username to use? I have set a password in the guide. Thanks.
Title: Re: Peripheral Not Identified
Post by: Ivoah on May 20, 2016, 09:16:39 am
Well, your post made me realize that I never updated my tutorial for the new dtb kernel. O.O
The updated instructions are here: http://ivoah.net/blog/2016/03/20/how-to-install-debian-on-a-ti-nspire/

So, I should restart the tutorial from the beginning?
Yay...  :-\

EDIT: So, after actually reading the tutorial, it seems I only need to change the files on the calculator. :)
EDIT2: It worked!  ;D Thank you for all your help! Also, one last suggestion for the tutorial: maybe you should tell the reader to rename the DTB to have a .tns extension at the end?
EDIT3: Today, I have learned something valuable: my USB-OTG is really not so good. Most of the time, it kernel panics because it can't find the rootfs. However, sometimes, it does load to the login prompt. Although, I can not login, no matter what combination of usernames/passwords I use. Is there a specific username to use? I have set a password in the guide. Thanks.
First, yay! I'm glad it finally worked :D
Yeah, I forgot that it doesn't have the tns extension. Actually, I think I'll say to rename it to just 'nspire.dtb.tns' so that they don't need to change the boot script.
About your not being able to type issue, make sure not to touch the touchpad after you launch the start_usb script. For some reason it'll break the keyboard in linux. Once it's all booted up though you should be able to touch it again.
And lastly, thanks for using my tutorial, and showing me where I needed to update it.
Title: Re: Peripheral Not Identified
Post by: kitten on May 20, 2016, 09:41:45 am
First, yay! I'm glad it finally worked :D
Yeah, I forgot that it doesn't have the tns extension. Actually, I think I'll say to rename it to just 'nspire.dtb.tns' so that they don't need to change the boot script.
About your not being able to type issue, make sure not to touch the touchpad after you launch the start_usb script. For some reason it'll break the keyboard in linux. Once it's all booted up though you should be able to touch it again.
And lastly, thanks for using my tutorial, and showing me where I needed to update it.

Not being able to type? Well, I can type, but that bit about the touchpad is interesting. What my problem is I can't figure out what the username and password are. I tried root/toor, root/(password I set in the tutorial), (blank)/root, (blank)/(password I set in the tutorial), and I have no name!/(password I set in the tutorial). Is there an emergency login I can use?

Also, you're welcome :)
Title: Re: Peripheral Not Identified
Post by: Ivoah on May 20, 2016, 09:46:46 am
First, yay! I'm glad it finally worked :D
Yeah, I forgot that it doesn't have the tns extension. Actually, I think I'll say to rename it to just 'nspire.dtb.tns' so that they don't need to change the boot script.
About your not being able to type issue, make sure not to touch the touchpad after you launch the start_usb script. For some reason it'll break the keyboard in linux. Once it's all booted up though you should be able to touch it again.
And lastly, thanks for using my tutorial, and showing me where I needed to update it.

Not being able to type? Well, I can type, but that bit about the touchpad is interesting. What my problem is I can't figure out what the username and password are. I tried root/toor, root/(password I set in the tutorial), (blank)/root, (blank)/(password I set in the tutorial), and I have no name!/(password I set in the tutorial). Is there an emergency login I can use?

Also, you're welcome :)
Oh, I misread your problem. Are you absolutely sure you typed the password correctly? Remember that not every button on the Nspire keyboard types what is printed on it. I would recommend having your password be just letters and/or numbers, no special characters.
Title: Re: Peripheral Not Identified
Post by: kitten on May 20, 2016, 09:55:03 am
Oh, I misread your problem. Are you absolutely sure you typed the password correctly? Remember that not every button on the Nspire keyboard types what is printed on it. I would recommend having your password be just letters and/or numbers, no special characters.

My password is only numbers and letters... now that I'm thinking back on it, I probably should've made it something simple, like "root". Anyway, even if I have the password 100% correct, what would the username be?
Title: Re: Peripheral Not Identified
Post by: Ivoah on May 20, 2016, 09:56:12 am
Oh, I misread your problem. Are you absolutely sure you typed the password correctly? Remember that not every button on the Nspire keyboard types what is printed on it. I would recommend having your password be just letters and/or numbers, no special characters.

My password is only numbers and letters... now that I'm thinking back on it, I probably should've made it something simple, like "root". Anyway, even if I have the password 100% correct, what would the username be?
The username should be root
Title: Re: Peripheral Not Identified
Post by: kitten on May 20, 2016, 10:08:05 am
The username should be root

Thank you. This time, I'll try typing it in very slowly.  ;)
EDIT: Huzzah! Everything is working properly! USB-OTG definitely is not the best, though. I should probably look into getting a shorter one.
Title: Re: Peripheral Not Identified
Post by: Harry5862 on May 24, 2016, 10:09:35 am
Hey Ivoah,

linux boots correctly, but the filesystem is read-only, so I cant install any software.

Any idea how I can fix it?
Title: Re: Peripheral Not Identified
Post by: Ivoah on May 24, 2016, 01:14:27 pm
Hey Ivoah,

linux boots correctly, but the filesystem is read-only, so I cant install any software.

Any idea how I can fix it?
Try this (you might need sudo if you aren't root)
Code: [Select]
mount -o remount /
Title: Re: Peripheral Not Identified
Post by: Harry5862 on May 25, 2016, 02:46:02 pm
Now im get this error if i try to install a package

Code: [Select]

W: not using locking for read only lock file /var/lib/dpkg/lock
E: Unable to write to /var/cache/apt/
E: The package lists or status file could not be parsed or opened
Title: Re: Peripheral Not Identified
Post by: kitten on May 26, 2016, 08:14:11 pm
Now im get this error if i try to install a package

Code: [Select]

W: not using locking for read only lock file /var/lib/dpkg/lock
E: Unable to write to /var/cache/apt/
E: The package lists or status file could not be parsed or opened

Actually, I believe the correct command is
Code: [Select]
mount -o remount,rw /  ;)
@Ivoah , isn't the filesystem supposed to be mounted read/write at all times?
Title: Re: Peripheral Not Identified
Post by: Ivoah on May 26, 2016, 08:15:35 pm
Now im get this error if i try to install a package

Code: [Select]

W: not using locking for read only lock file /var/lib/dpkg/lock
E: Unable to write to /var/cache/apt/
E: The package lists or status file could not be parsed or opened

Actually, I believe the correct command is
Code: [Select]
mount -o remount,rw /  ;)
@Ivoah , isn't the filesystem supposed to be mounted read/write at all times?

Thanks for correcting me :) And yeah, IDK why it gets mounted as read-only, I had the same issue. ¯\_(ツ)_/¯