I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods

Click Here!
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / Other I-Appliances / MSN Companion
QNX on the IA-1?
Anyone thought about this?

New MessageQNX on the IA-1? (modified 0 times) qDot
Profile | Email
Anyone thought about trying to compile a QNX image for the IA-1's? I don't see why it wouldn't be possible, unfortunatly I don't have time to play with QNX dev for a while..

Kyle

03-27-2002 05:43:15

New MessageRE:QNX on the IA-1? (modified 0 times) DeltaPrime
Profile
Well it is possible. I've been running QNX on my IA-1 for several months now. I have most commands, the gui, Opera browser, etc in flash with a few megs to spare. It's great for streaming MP3s via shoutcast. Unfortunately, I've been waiting to find the time to tidy things up before posting the details here and now I don't have time to play with it anymore, so I'm planning to just unload it on ebay or something.
03-28-2002 22:19:19

New MessageRE:QNX on the IA-1? (modified 0 times) Curious
Profile
Could you provide a copy of your image for QNX. Is it 6.0 or 6.1?
03-29-2002 09:56:24

New MessageRE:QNX on the IA-1? (modified 0 times) DeltaPrime
Profile
The image is based on QNX 6.1. You can find it at http://www.dataworx.com/QNX61.IMG

A couple of quick notes:
- In the bios, Disable USB Legacy Keyboard Support in Advanced/Device Options.
If this is not disabled, you will get the USB error "TimeOut on Control Transfer"

- As little as possible is done in the boot image. /etc/system/sysinit is called by the boot image to load most drivers. /build/boot/boot.build is what the .boot image is built from.

- To start the GUI run ph.

03-29-2002 15:12:09

New MessageRE:QNX on the IA-1? (modified 0 times) radarman
Profile
I tried the image, and it looks nice - but it didn't find either of the USB ethernet adapters. Does this image support any kind of networking on the IA-1?
03-29-2002 20:57:51

New MessageRE:QNX on the IA-1? (modified 0 times) DeltaPrime
Profile
The image currently loads a driver for Kawasaki based USB ethernet adaptors (.ie Audrey certified 3COM adaptor).

file: /etc/system/sysinit line: 'io-net -dklsi -ptcpip'

use '-dpegasus' for Pegasus based adaptors

The USB connectors on the back of the Companion are divided into 2 banks. Looking from behind, the 2 left most connectors correspond to /dev/usb. This is where you should be connecting your adaptor.

Adding the line 'devu-uhci -n /dev/usb1 -p1' to sysinit will activate the other 2 ports.

The command 'usb -v' will show which devices are connected to /dev/usb.

The current image will load a tcpip stack and uses DHCP to resolve an address. Edit the sysinit file if you want to change this.

03-29-2002 23:29:31

New MessageRE:QNX on the IA-1? (modified 0 times) qDot
Profile | Email
I'll get this image mirrored as soon as I get home tonight, visiting the parent's right now (and trying to convince them they want an IA-1 or an audrey. :) )...

Just curious, how hard is it to make a QNX image? Also, do you need a dedicated machine to develop on QNX, or does it play well with VMWare?

03-30-2002 13:11:40

New MessageRE:QNX on the IA-1? (modified 0 times) radarman
Profile
Ok, I tried swapping the USB ports, but it just doesn't like my Netgear EA101. I get 3 "Timeout on Control Transfer" messages before it gives up and says it couldn't change state on en0.

I'm guessing it probably doesn't like pegasus based adapters, like the Linksys USB100TX either, so I guess I'm stuck with Midori for now.

03-30-2002 14:50:35

New MessageRE:QNX on the IA-1? (modified 0 times) DeltaPrime
Profile
radarman,
Have you disabled USB Legacy Keyboard in Advanced/Device Options in the bios? The error you're getting occurs when that has not been changed; it's enabled by default.

Also, have you modified the sysinit file (see previous post) to load the Pegasus driver instead of the Kawasaki network driver?

qDot,
Vmware lists QNX as "Operating Systems that May Not Work and for which Support is Not Planned". Good luck.

Building the .boot image was simple in a QNX environment. But if you're asking about the entire flash image; it was not built so to speak. It was created bit by bit by copying files after I initialized the flash as a qnx filesystem. Since the flash looks like a drive to QNX this was the easiest way to go. After I got networking to work, I exported a mount point from my PC running QNX and copied files as needed.

03-30-2002 21:15:36

New MessageRE:QNX on the IA-1? (modified 0 times) kiko69
Profile
Thanks for the .img!

I downloaded it and used diskprobe on a windows xp system to move it to a 16mb flash card.

Put it in my IA1 and made the required bios changes that you provided.

Here is what I get on the display.

Boot Partion 1? 1
Hit Esc for .altboot ...................................Unable to access "/dev/hd0t77" (2)
Unable to start "/etc/system/sysinit" (2)
Unable to start "devc-con" (2)
Unable to start "/dev/con1" (2)
Unable to start "/bin/sh" (2)

And at this point the IA1 is hung.

Any Ideas as to what I may have done wrong?? I'd love to have qnx 6.1 rtp on my IA1!!!!

Keith

04-04-2002 00:50:54

New MessageRE:QNX on the IA-1? (modified 0 times) DeltaPrime
Profile
Keith,

The image that you have tries to mount the root file system from the internal flash /dev/hd0t77 the compact flash would be device /dev/hd1t77. I'll create a new image that can boot from CF (hopefully tommorrow). Otherwise, you'll have to flash the image to the internal flash.

04-04-2002 06:43:25

New MessageRE:QNX on the IA-1? (modified 0 times) radarman
Profile
I finally got the QNX image to load the network driver, and I can even NFS mount stuff. Unfortunately, Photon hangs when loading the ps/2 mouse driver. I checked this by modifying the ph shell script and commenting out the line that loads the mouse. When I manually start the driver from a command prompt (which I start from the ph shell script), the system hangs within a few seconds.

Previously, before I turned off the USB legacy support in the BIOS, the network adapter would fail to load - but photon would work (with the mouse). I'm going to try a USB mouse, but this seems a bit silly.

Is anyone else experiencing this problem?

04-07-2002 17:51:36

New MessageRE:QNX on the IA-1? (modified 0 times) DeltaPrime
Profile
I've had the same problem. The ps2 mouse does work at times after a few reboots. I've used an MS USB mouse without any problems, though.
04-08-2002 00:21:25

New MessageRE:QNX on the IA-1? (modified 0 times) radarman
Profile
Do you have to do anything special to get a USB mouse working? I plugged in a MS mouse (the Intellimouse explorer) and got nothing. (Yes, I did re-enable the USB mouse driver in the ph shell script). It complained that it couldn't find the correct device, listed a few other problems, and quit.

While I'm on the subject, do you know if QNX likes the logitech wireless keyboards? I thought about just replacing the keyboard with one of those wireless mouse/keyboard combos.

04-08-2002 06:25:09

New MessageRE:QNX on the IA-1? (modified 0 times) radarman
Profile
Ok, I think I may have a more serious problem with QNX than the mouse. When I try playing MP3's over NFS, the system pauses for substantial periods - causing "skips" I am using a Netgear EA101 (kawasaki) USB NIC on a local 10/100 switched ethernet network. I know it's not the hardware, because both Linux and FreeBSD both play music from the server properly.

Any idea what could be causing this? It seems like a buffering problem - but I didn't see any way to deal with this in the player app.

04-08-2002 06:37:57

New MessageRE:QNX on the IA-1? (modified 0 times) kiko69
Profile
I finally got my 128MB CF card formated so that I can move images from my windows machine to my IA-1.

QNX loads but I can't get the Linksys USB100TX ethernet to work.

I configured /etc/system/sysinit to do a static IP, but on reboot I get:

Loading network driver ...
if_up: retries exhausted

usb -v shows the device.

I have verified that the ethernet works with midori_3 loaded on the IA-1 (no led's) and on windows xp (with leds), non ia-1.

What do i need to do next, or what info is needed to assist in this?

--Keith

04-09-2002 22:09:53

New MessageRE:QNX on the IA-1? (modified 0 times) DeltaPrime
Profile
I've put together a new image: http://www.dataworx.com/files/qnx_1_1.img

Highlights-
Input
The IR keyboard mouse now seems to be working. I'm using a QNX 6.0 driver.
Uncomment 2 lines in /usr/photon/ph to use a USB mouse

Printing
lpr - uncomment in sysinit
spooler (Printing from photon apps) - enable lpr, edit ph

Web Server
slinger - loaded by sysinit. Serves files in /usr/web

.altboot
Press escape (Cancel key) to mount root filesystem on compact flash.
So if you want to boot from an image on compact flash do this.
cat .altboot > .boot to make this the default.

Playing MP3s from nfs mount without interruptions
After playing with nfs buffer settings with no success, I found that if you
open the mp3 via the local web server phplay will properly buffer it.
If you want to do this from a web page, you'll have to create a m3u file;
otherwise, the browser will try to download the mp3 file. Open localhost in the
browser for an example.

General cleanup


Keith,
I think the Linksys device you have uses the Pegasus II chipset, which may not be currently supported.

04-10-2002 19:51:06

New MessageRE:QNX on the IA-1? (modified 0 times) kiko69
Profile
Thanks for the updated image!

The Linksys USB100TX should be a Pegasus not a PegasusII from what I've seen.

http://www.qbik.ch/usb/devices/showdev.php?id=247
http://www.hiru.aoba.yokohama.jp/~ura/USB/usbether.html

Both show it as as Pegasus.

I've also set up a PC with QNX 6.1 RTP and have a CF-IDE adapter on order to make it easier to work on this project.

--Keith

04-10-2002 23:12:26

New MessageRE:QNX on the IA-1? (modified 0 times) kiko69
Profile
Update on USB ethernet.

The problem appears to be that I have a "Ver:B1" USB100TX, which has a Vendor ID of 066b and a Device of 0400b which I found in the FreeBSD usb_dev.h as a USB10TX2. This appears to be a PegasusII device.

I contacted Linksys and was told that the USB100TX is a Pegasus. So much for Tech Support knowing their own product.

So, I guess that I need to get another ethernet adapter.

Now if there was support for the USB100M! Realtek 8150 based and small.

Any suggestions on a device that will work with out problems??

--Keith

04-11-2002 22:55:44

New MessageRE:QNX on the IA-1? (modified 0 times) DeltaPrime
Profile
I'm using a 3COM 3C19250 USB device (There's a few on eBay).
04-12-2002 07:56:46

New MessageRE:QNX on the IA-1? (modified 0 times) Praxis
Profile | Email
Hey everyone, new hacker here. I like the QNX image alot (almost as much as I like the BEIA one) But I really need the USB keyboard to work, my compaq keyboard got fried when some Dr. Pepper found some way into it. Is there anyway to enable this in the version of QNX that runs on the IA. Please let me know.
Thanks,
Praxis
05-26-2002 18:36:22

New MessageRE:QNX on the IA-1? (modified 0 times) DeltaPrime
Profile
Praxis,

I don't have a USB keyboard to test this, but this should work:

First, do a sanity check and run 'usb' to see if your keyboard is detected. Make sure it is plugged in the left column of usb connections.

Enter this at the command prompt: 'devu-kbd &'
Hopefully, you now have a working USB keyboard.

Add that line to the end of /etc/system/sysinit to have the driver load at startup.

Edit /usr/photon/bin/ph to have the keyboard work in the gui, change:
devi-hirun kbd fd -d /dev/kbd &
to
devi-hirun kbd fd -d /dev/usbkbd0 &

Hope this helps

PS Which build are you running?

05-27-2002 21:57:01

New MessageRE:QNX on the IA-1? (modified 0 times) Praxis
Profile | Email
Hey I havn't gotton a chance to try that yet but I am hoping it will work. I am currently running the qnx_1_1.img and I really like it alot. I wish there was better support for the linksys USB100 but oh well I am gonna try to go buy a 3com one later this week after my pay check. Also do you know if there is any VNC client that has been ported to QNX yet?
Thanks for all your help,
Praxis
05-28-2002 09:13:34

New MessageRE:QNX on the IA-1? (modified 0 times) Praxis
Profile | Email
Well I managed to get home and try the fix you told me and it worked great I now have a apple usb keyboard and a optical mouse connected to my IA-1 and its running QNX, works great, only thing I would change is to the my linksys USB100 to work correctly with it. I have found .o file from the jailbait image that works fine with the adapter. I am not sure how easy it would be to port this to QNX but it might be worth a try. If you do want to try you can e-mail me on the link in the profile other then that I can't wait to get some mp3's going on this thing. Thanks so much for your help and this image I look forward to more images, also do you know about how much space is aviable on this image, I hoped to put a vnc viewer on it after I get the network working. Any more information or help you can give would be greatly appricated.
Thanks,
Praxis
05-28-2002 19:32:04

New MessageRE:QNX on the IA-1? (modified 0 times) theedge
Profile
Any ideas how to get my clipper (built in eathernet) ethernet to work. And also how to format a new partition, I can fdisk it but cannot format it to mount.

I want to use my 340 MB microdrive for storage.

As well as where to find a complete distro of GNX I like it much more than the BeIA or Linux images.

I just want to use more of the 32MB internal flash I have and the Microdrive.

05-30-2002 20:02:57

New MessageRE:QNX on the IA-1? (modified 0 times) theedge
Profile
Ok, I used FDISK and DINIT to get the partitions mountable.

They are accessible when mounted but how to I get it mountable at boot so I can have /home running off the other drive?

As well as how about the clipper ethernet chipset? And how can I get that running?

I do not know how to modify the drivers loaded in QNX yet.

And where do I find more apps? I want to have this OS fully loaded as I have tons of space.

05-30-2002 21:07:43

New MessageRE:QNX on the IA-1? (modified 0 times) samiamtoo
Profile | Email
Is anyone still working on an IA-1?

I am looking for DeltaPrime's method for creating the QNX .boot image. I don't have all the hardware specifics of the IA-1 to create that image.

I am building programs on a 6.0 release and they will not run the 6.1 image I have loaded in the IA-1. The QNX version on the web is 6.2 so that may not work either.

The reason I am using 6.0 is to remain compatible with the Audrey I have.

Can anyone help me in creating a 6.0 image that will run on the IA-1.

Thank You,
samiam

03-09-2003 20:18:44

New MessageRE:QNX on the IA-1? (modified 0 times) VRam
Profile
DeltaPrime, any particular reason you left out PHDIALER? I can set up the dialup connection, but can't dial. Any possibility of an image with it added?
03-13-2004 18:24:39

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3