I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods
Amazon Honor System Click Here to Pay Learn More
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / Other I-Appliances / 3Com Audrey
"QNX Audrey Platform" version USB1 RELEASED
New image

New Message"QNX Audrey Platform" version USB1 RELEASED (modified 0 times) jukebox
Profile
After implementing the fixes and improvements on version 3, that way becoming version 3-1, I decided to go for a new approach. I stripped down good old Audrey to a blank desktop. From there on I added all the other goodies you know already. I added QNX 6.1 USB support and implemented use of the standard klsi chip based USB network cards, the pegasus chip based cards, the already supported Canon printers and a Microsoft USB mouse. However from here all QNX supported USB devices can be installed on Audrey, as long as the CPU and memory can handle it. I didn't forget modem users, this image could be an improvement for them too.
These new features made it necessay to update anyhting related to the network setup to QNX 6.1, while full USB support only exists in QNX 6.1. No Plug & Play, the device you want to use must be present when you boot.
Last but not least I reinstalled Backdrop and Notification to enable the buttons and system sounds again.
Who will be the first to hook up a R/W disk based USB device to Audrey?
Not a single kojak app anymore, except those needed to boot. No ActionPalette, you won't need it.

More info here: http://www.prins.net/audrey/usb1.html
Download jukebox-usb1.zip here: http://www.audreyhacking.com/modules.php?op=modload&name=Downloads&file=index&req=getit&lid=38

Enjoy!
jukebox


http://www.prins.net/audrey/index.html
03-28-2002 12:35:07

New MessageRE: (modified 0 times) jukebox
Profile
As you can read in the manual, at first boot this image will start in USB mode. Modem users don't have a network card plugged in and that's why this image can boot reluctantly for them the first time, skip the intro, but utimately it will boot.
Follow the instructions in the manual for modem users, press "Use Modem" in shelf/Config and reboot. From there on there shouldn't be a single problem for modem users and they will find this image much easier to setup and use. As soon as you do something that needs a connection Dialer will pop up. Follow the instructions in the manual to setup Dialer and from there on you're all set. Lots of choices and you can setup as many dialups as you want with Network Cfg in shelf before ever trying to connect.

jukebox


http://www.prins.net/audrey/index.html
03-28-2002 17:53:39

New MessageRE: (modified 0 times) jukebox
Profile
I heard from 1 user that the network did not start properly. I have replaced the hard coded net_up script with networkUSB.sh in /nto/bin. The modules have to start in a specific order and a "sleep 5" is in the script. Maybe some adapters need more time and if you have problems you could change this line in sleep 15
If you have to do this to get the network up and running properly, please let us know here.

jukebox

03-28-2002 20:49:54

New MessageRE: (modified 0 times) jukebox
Profile
In the manual for version USB1 I mention how to start qnet, it's the native QNX network manager and is installed in this image already.
Qnet will create a directory /net on each QNX PC it runs on, including Audrey and mount each PC's file system in the other one(s) /net directory on your LAN too.
If setup properly and assuming you have the QNX RTP 6.0 on another PC in your LAN, you will be able to run the whole RTP in Audrey too, while having access to the free disk space on the RTP for new storage. You can add the RTP programs to your shelf in Audrey and run those apps from there. You may need an extra lib in Audrey for some apps and you may need to adjust some paths for programs, but many apps in the RTP will work just like that in Audrey.
You may even go a step further, strip Audrey down to a dumb terminal, install RTP 6.1 libs only in Audrey and do the same with the RTP 6.1.
At this time however this image is setup as a stand alone full featured Audrey and qnet is installed but not activated.

jukebox


http://www.prins.net/audrey/index.html
03-29-2002 12:17:20

New MessageRE: Pegasus support in USB1 (modified 0 times) LauFu
Profile
Since this thread really belongs here...

I'm currently working to get my D-Link DSB-650 (translucent / i.e. rebranded) It's supposedly a Pegasus from all the digging I've done. Hard to prove w/o cracking it open, which I'm working on doing right now.

I have done a USB Detect and retrieved the following from my Audrey. (She's so cute)

USB (OHCI) v1.10, v1.01 DDK

Device Address : 1
Vendor : 0x2001 (D-Link Corp.)
Product : 0xabc1 (DSB-650 USB Ethernet)
Class : 0x00 (Independent per interface)

I edited the networkUSB.sh (and network.sh just in case) to comment out the klsi line and uncomment the pegasus line

I click on USB Connect and the processor spikes to about 30-40% very briefly but I see no lights or activity on my dongle. If I try to run networkUSB.sh from a prompt, it returns to the prompt. No change. If I try to work through the commands in the script one by one, each command appears to work, but no beans... CPU APPEARS to solid at 100% right afterwards, but it doesn't appear to slow anything down considerably.

I tested the adapter on Win2K and it works. I'll work on ripping it apart later. (I have to go out to dinner in a few mins.)

Oh, and originally, I had thought there was an error in the syntax, but I had left out a p in -ppppmgr

Thanks for all your great work, Juke!

LauFu

03-29-2002 18:04:11

New MessageRE: (modified 0 times) jukebox
Profile
LauFu,
I answerd you already in the other thread, please read there first. You have to reboot after pressing "USB Connect" for the changes to take effect.
Net modules have to load in a specific order and expect dhcp from your router in this script.
Audrey goes bonkers if the script doesn't work, but no harm done.
Change the sleep command in a higher value of 30 to give your nic more time to come up. When you run /nto/bin/networkUSB.sh in a terminal it will tell you what the problem is. Don't forget a higher sleep will take more time to see what's going on, but when it works you can make it shorter.
Always three steps when you change the script:
1. edit networkUSB.sh and save
2. press "USB Connect" in shelf/Config
3. Reboot

My klsi nic stays up for the whole week and I don't see a reason why the pegasus based nic couldn't do the same.

jukebox


http://www.prins.net/audrey/index.html
03-29-2002 18:20:06

New MessageRE: (modified 0 times) jukebox
Profile
I would like to get some more feed back about using these klsi and pegasus nics, especially positive ones, but also negative ones.
I want it to work for everybody as it should.

jukebox


http://www.prins.net/audrey/index.html
03-29-2002 19:08:55

New MessageRE: Pegasus on Juke.USB1 (modified 0 times) LauFu
Profile
Ok, I think I'm getting a better feel for this. So what it sounds like is that network.sh is generated by your settings in networkUSB.sh So if I pick USB Connect, I'm actually changed the network.sh file, which is always run.

A bit more information. I'm actually testing with 2 adapters now. The D-Link DSB-650 (clear-case / Pegasus, so the NG's tell me) and the Belkin F5D5050. A quick hunt on Deja told me not to expect the Belkin to work because it's Pegasus II, which as of January, wasn't supported in QNX. (I know it's Peg II because I can clearly read the chip through the smoked clear plastic casing.) I'm returning this adapter, so I don't personally care if/when it will be supported in QNX. The Linux drivers support both, so their MAY be enough commonality between them to hack a consolidated driver.

Back to the D-Link. I've edited networkUSB.sh to put in 30 sec sleeps, clicked USB Connect and rebooted. (Tried waiting to give it time to do anything it had to... no diff.) No connection thus far.

Can you e-mail details to me on how to load the process entirely by hand (modules and all) so that I can help you debug it? Where are the modules for the klsi and pegasus? I can't seem to find them on my Audrey. (fudog2k2 at yahoo.com)

:Tangent: I'm sure someone else has thought of this already, but wouldn't the dial be good for scrolling? I realize that requires actual development, but it'd be great to scroll through web pages, e-mail, etc. that way. Could they be bound to the equivalent to PgUp & PgDn in the context of an application? Does QNX even support PgUp and Dn?

Fu

03-29-2002 22:27:37

New MessageRE: (modified 0 times) jukebox
Profile
Load the entire proces by hand step by step is possible with the "mount" command. The Utilities Reference (=UR) explains it better than I can do here, even gives examples for one liners and muliple mount lines with the exact same end result.

I did it at first that way for the klsi and one mount command is still there in the script commented out. That's how I built it up and when it worked for me I put it all in one line.

You have to check these topics in the UR: io-net and devn-pegasus.so The libs are in /nto/photon/dll and the shared objects in /nto/lib (npm-ttcpip.so and npm-pppmgr.so)

Today someone else resolved the network problems in my images by disabling the CPU meter. I'll check into that. Could be the solution for you too. Most of us know since davinci27 and his MQNX image that shelf is causing network problems somehow and it could be the CPU meter. The strange thing is I never had that problem, but networking is complicated because of the numerous variations in software and hardware setups and all those components have to do it together.

You didn't mention the result of running the network script in terminal. You have to do that immediately after the failed boot of the network and before Audrey goes bonkers, at which point nothing will work anymore, including pterm. It was a great help for me.

About the scrolling feature. It's implemented in acid CallerID, so it can be done.

jukebox


http://www.prins.net/audrey/index.html
03-29-2002 23:04:31

New MessageRE: (modified 0 times) jukebox
Profile
After changing images I discovered what the problem is. For the first time my network connection was down and stayed down.. The solution appears to be very simple, power down Audrey and power down your USB hub too! After 30 seconds power the hub again and reboot Audrey and the net will be up, assuming everyhting else is still as I installed it.
Please try and let me know, it works for me without a problem.

jukebox


http://www.prins.net/audrey/index.html
03-30-2002 15:23:46

New MessageRE: (modified 0 times) claudacate
Profile
Hey, Jukebox
Love your image, it's really nice piece of work. Inspired by your image, I am trying to do some hacking of my own. (Learned quite a few tricks just playing with your image). Can you perhaps reveal your secret and tell us how you implement the USB support into the audrey?

Thanks

03-30-2002 18:04:04

New MessageRE: (modified 0 times) jukebox
Profile
There is no secret whatsoever, but it's too complcated to write down step by step.
Your starting point is the RTP 6.1. Your greatest tool is Neutrino Sin in Audrey and now called System Process Inspector in the RTP. They reveal the ins and outs of any running process in QNX, command lines, libs in use, memory usage, whatever you name it and it's shown.
All other info you need is in the Utilities Reference on the QNX web site.
Most times it's the easiest to set something up in the RTP. When it runs properly you copy it step by step to Audrey, executables, libs, autostarts etc.
After each step that brings you further you save your work by catting it to the cf card, while always having a second cf card at hand with a working image for emergencies.
It's as simple as I write here, but you have to get the hang of it. While version 2 took me 4 months to develop in hundreds of hours, version 3 took me 2 weeks, version 3-1 5 minutes and version usb1 3 days. The last one is built from scratch and therefore the easiest, but I could do that only thanks to the experience with the previous ones.
It was a steep learning curve, but I'm happy to have a kind of mastered QNX by now, including Audrey.
If I had to write down what I have done I would have to write a couple of hundreds of pages and I simply don't have the possibily to do that.
I installed the version 6.1 for USB support and combined that with a complete update of the tcpip stack and all related network utilities to 6.1 also.
I believe there is an IO overlap between the USB drivers and possibly devf-kojak.so, the latter being unique and not replaceable with a 6.1 driver. I hope me or someone else can hack this driver. Or an upgrade of all other screen drivers to 6.1 could do the trick. At this point however, except for a somewhat slower screen handling no major problem exists.
Hope you can help. And btw does it work for you or haven't you tried?

jukebox


http://www.prins.net/audrey/index.html
03-30-2002 21:59:51

New MessageRE: (modified 0 times) jukebox
Profile
And I use two shares, one for everything I throw out and one for eveything I want to install from the RTP. That way I can reverse things in a second again. Also I comment out lines in config files instead of deleting them for the same reason.
As long as Audrey boots beyond the 3COM openingscreen you have access to the wm menu with Alt-Enter and from there you can reverse whatever you need, even when you look at a totally blank desktop.
Hope all this will help some other people to start some serious hacking. I see no secrets, it's all there and available for everybody.

jukebox


http://www.prins.net/audrey/index.html
03-30-2002 22:21:07

New MessageRE: (modified 0 times) claudacate
Profile
Wow, thanks for the explanation. I am awed by the amount of work you put into the image. I have tried your image, and you are right about everything works except the screen handling is slower. (I haven't overclock my audrey yet, so it's noticable but I can't get over how stable this image is) Now, I know a new direction to hack my audrey, I expect some loss of sleep. :)
Thanks for taking the time to create this awesome image.
03-31-2002 00:33:01

New MessageRE: (modified 0 times) jukebox
Profile
I have updated my Audrey web site, based on all the information I received here.
If you are having any problems with the latest image versions, I recommend you check descriptions of added features and Known Problems. Chances are any problems you may have are addressed there.

jukebox


http://www.prins.net/audrey/index.html
03-31-2002 01:58:39

New MessageRE: (modified 0 times) wambs
Profile
Hi All,

I think we should have jukebox cloned before it becomes illegal!!

Thank you jukebox, for all the hard work you have done for us. We appreciate it!!

It sure would be nice if you could document as much as you can, so some of us could take some of the burden off you.

Kevin

03-31-2002 12:36:40

New MessageRE: (modified 0 times) LauFu
Profile
Ugh... I've been trying to get my D-Link DSC-650 going for too long now. I have to give it a break, but I thought I'd post my results:

When I try to do it the normal way (press USB Connect) and reboot, no go.

When I try to run network.sh manually from shell, no go. (No errors, io-net seems to stay resident, but no lights, no network.)

When I step through the commands manually, same result.

I've tried to play around with the mount command to force it to mount pegasus.so, but it errors:

"# mount -T io-net /nto/photon/dll/devn-pegasus.so &
...
mount: Can't mount /nto/photon/dll/devn-pegasus.so (type io-net): Function not implemented"

My syntax may be off.

I don't know how to kill the CPU monitor, but I'll have to look that up tomorrow.

I have also tried removing network.sh completely, booting, and trying to manual process, but that hasn't worked either.

The device ID's properly on USB Detect and works on a PC running Windows 2K.

I'd love to get this working. These things are dirt cheap! ($15/apiece at Circuit City)

L8r,

Fu

03-31-2002 21:18:07

New MessageRE: (modified 0 times) jukebox
Profile
If they are $15 I might as well buy one myself. Are you sure they are pegasus and not pegasus 2, the last wont work.
You can check with Neutrino Sin! if io-net is running. If so highlight the line and press "Mem" below and you see everything that's loaded with it.
Btw in a couple of days my copy of shelf as infinity did it will be available for download as shelf.cfg (only 5k) for versions 3 and 3-1. USB1 has other priorities at this time. Sorry it takes so much time for you. Double check the pegasus 2 chip please before spending more time.
If you make a new shelf entry with the command "helper_starter Paint" (without the quotes) you'll have that one too.

jukebox


http://www.prins.net/audrey/index.html
03-31-2002 23:24:00

New MessageRE: (modified 0 times) jukebox
Profile
Pegasus 2 runs on a AN8511 chip and pegasus AN986. You may open it and check. Also as far as I know only nics that are 10/Mbs compatible will work. 10/100 is OK, but 100 will probably not work I believe. The original recommended 3COM nic was only 8 Mbs..
Check out this thread on this board: http://www.linux-hacker.net/cgi-bin/UltraBoard/UltraBoard.pl?Action=ShowPost&Board=3Com_Audrey&Post=1138&Idle=0&Sort=0&Order=Descend&Page=0&Session=jukebox.101764436769804

jukebox


http://www.prins.net/audrey/index.html
04-01-2002 00:12:27

New MessageRE: (modified 0 times) edraven
Profile
I have a SMC ez-connect 2202, which is supposedly pegasus, and the usb1 image, so far, no link light, or net connectivity. I'm pretty new to this (just got the image up 15 min ago) so where should I start?
04-01-2002 14:32:31

New MessageRE: (modified 0 times) jukebox
Profile
Read the other thread "Need positive feedback for USB1" and there is a post how it works for your nic. Not to forget to mention the manual on my web site. All information is already available.

jukebox


http://www.prins.net/audrey/index.html
04-01-2002 15:33:11

New MessageRE: (modified 0 times) edraven
Profile
yeah, that was me, i figured it out ;)

any ideas if it would be possible to mount the compact flash either in the audrey slot, or enable usb cf reader support to mount a filesystem for storage via cf? ive seen there's issues with corruption in the audrey cf slot, maybe a usb one could avoid that? just an idea, i really have no clue. ;)

04-01-2002 16:32:54

New MessageRE: (modified 0 times) jukebox
Profile
I don't believe drivers are available for USB. I tried recently to install the real QNX drivers for the cf card. I'm convinced if you succeed it can be used for R/W storage. However if you try you have to disable at some point the running driver and your file system disappears and you're stuck. Up to this moment I have found a solution for several of those problems, and there could be one here too, but this is a tough one.
In the coming months a new version of QNX will come out. I'm convinced new USB drivers will be available for USB cf storage, and can be implemented in my USB1 image in a second. Will not take long and much will be possible with Audrey that isn't today.

jukebox


http://www.prins.net/audrey/index.html
04-01-2002 16:59:24

New MessageRE: (modified 0 times) feanish
Profile
juke:

some feedback on your wonderful image

a) using a linksys ea101, I had to change the sleep to 15 to get it to work (I didn't try any values between 5 and 15, but it definately works with 15)

and

b) logitech mice DO work, although I think there is supposed to be a right click menu?... I can't get it with my logitech... though it's not at all a complaint.... I'm guessing that any kind of USB mouse that doesnt need drivers (I tried a trackball that needs drivers to work, it was 1st generation USB) will work with this image without any changes.....


right now, I'm having a bitch of a time with my name servers.... I think one of them might be down, and it's causing some problems....

Great job!!!!

04-03-2002 01:58:50

New MessageRE: (modified 0 times) feanish
Profile
hey... I have run into one problem... probably not a problem, but a sticky point for me

how do I store static IP/netmask, gateway, and "enable this device"? every time I reboot, I have to set that up again, there must be somewhere to permanantly set that up

04-03-2002 02:39:48

New MessageRE: (modified 0 times) jukebox
Profile
feanish,
Sorry for the late reply but I didn't see your post earlier.
Anyhow, the network setup is a 3 step proces. You can read about it in the manual for USB1 under Known Problems, very simple 3 step solution.
Anyhow, the network is starting on dhcp in /kojak or /nto/bin/networkUSB.sh and if you comment out the line with dhcp.client you can use Network Cfg I believe to configure the nic with a static IP. Network manager reads net.cfg and your settings wil survive, but now the dhcp.client comes first.
Or change the line in the script with a static IP, see the Utilities Reference on QNX.com. They give examples too.
I want to get rid of Network Cfg again, it takes up 1.5 mg and the script works fine too if you change it.
I can make it a lot easier in the coming update to change it my way. We'll see.

jukebox


http://www.prins.net/audrey/index.html
04-07-2002 00:11:26

New MessageRE: (modified 0 times) jukebox
Profile
How do I resolve this dilemma in the setup for USB1? I choose for my 3 step network setup with a script. I added Network Cfg for checking purposes and temporarely only and this seems to be confusing.
My hack for the 3 step network setup is the script and Network Cfg is therefore partially disabled. Comment out the line with dhcp.client in my networkUSB.sh (and press USB Connect for the last time and reboot) and Network Cfg should be fully functional again. However the difference between both setups is about 1.5 mgs in used space extra for the Network Cfg if I leave that in.
So my question is this. Do you want a real hack that saves 1.5 mg and may require a one time effort to understand my 3 step network setup or do you want I sacrifice 1.5 mg for ease of use and enable Network Cfg in full in the upcoming update for this image.
The update will also have support for all QNX supported nics and either way, with or without Network Cfg the 3 step hack will remain as simple as it is now.

jukebox


http://www.prins.net/audrey/index.html
04-07-2002 09:30:14

New MessageRE: Missing CFGs (modified 0 times) pastorgabe
Profile
I im trying to use your USB image. So far I have not been able to get my Linksys 100t to work but I have read through here and will try to set the time to more and hope it will work. What I don't seem to find either on my audrey or my friends is the menue for shelf configuration, you also make mention setting to use mouse I cat't find it for the life of me. Please help.
04-08-2002 10:13:13

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