OESF Portables Forum

Everything Else => Desktop Operating Systems Issues => Zaurus General Forums => Archived Forums => Mac Issues => Topic started by: dhns on May 14, 2006, 12:53:52 pm

Title: Ajzaurususb 0.3.2 Update
Post by: dhns on May 14, 2006, 12:53:52 pm
I have posted a small update:

http://www.handheld-linux.com/swi/showdetail.php?app=4378 (http://www.handheld-linux.com/swi/showdetail.php?app=4378)

It is recompiled on MacOS X 10.4.6 with Xcode 2.2.1 (PowerPC Macs only). But if you have no problems, there is no need to update.

It also adds some configuration for accessing the Motorola A780 as described here: http://wiki.openezx.org/Get_a_shell (http://wiki.openezx.org/Get_a_shell)

-- hns
Title: Ajzaurususb 0.3.2 Update
Post by: eji on May 15, 2006, 02:28:48 am
Thanks for the update.
Title: Ajzaurususb 0.3.2 Update
Post by: dhns on May 30, 2006, 09:57:01 am
I recently found that people are editing Info.plist to adapt AJZaurusUSB to different devices (e.g. iPAQ).

To describe how to find out what to add and to collect information to integrate it back into new releases, I have started this thread:

http://www.dsitri.de/phpBB2/viewtopic.php?t=227 (http://www.dsitri.de/phpBB2/viewtopic.php?t=227)

-- hns
Title: Ajzaurususb 0.3.2 Update
Post by: gojira on July 10, 2006, 10:10:18 am
Quote
It is recompiled on MacOS X 10.4.6 with Xcode 2.2.1 (PowerPC Macs only).
-- hns
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127000\"][{POST_SNAPBACK}][/a][/div]

can you build it for intel too?

thanks
Title: Ajzaurususb 0.3.2 Update
Post by: dhns on July 10, 2006, 10:23:20 am
Quote
Quote
It is recompiled on MacOS X 10.4.6 with Xcode 2.2.1 (PowerPC Macs only).
-- hns
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127000\"][{POST_SNAPBACK}][/a][/div]

can you build it for intel too?

thanks
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134543\"][{POST_SNAPBACK}][/a][/div]
As soon as I own one.

Up to now they have not really been convincing to me. I would get the same amount of memory and harddisk capacity as in my old G4 PowerBook. Well, the CPU speed would be factor 5 - but I am still the slowest part of the system.

So, let's cross fingers that Apple is announcing a dual core Merom based MacBook Pro soon  That would be a real replacement for the long awaited PowerBook G5.

But if you have one, you can try it yourself. It is open source. But I have no idea if it works.

-- hns
Title: Ajzaurususb 0.3.2 Update
Post by: chrisl on July 10, 2006, 09:14:01 pm
Quote
Quote
Quote
It is recompiled on MacOS X 10.4.6 with Xcode 2.2.1 (PowerPC Macs only).
-- hns
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127000\"][{POST_SNAPBACK}][/a][/div]

can you build it for intel too?

thanks
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134543\"][{POST_SNAPBACK}][/a][/div]
As soon as I own one.

Up to now they have not really been convincing to me. I would get the same amount of memory and harddisk capacity as in my old G4 PowerBook. Well, the CPU speed would be factor 5 - but I am still the slowest part of the system.

So, let's cross fingers that Apple is announcing a dual core Merom based MacBook Pro soon  That would be a real replacement for the long awaited PowerBook G5.

But if you have one, you can try it yourself. It is open source. But I have no idea if it works.

-- hns
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134544\"][{POST_SNAPBACK}][/a][/div]

To my understanding, some things will cross compile and other things need alteration. If this is the type that does not need alteration and someone can give me instructions on how to do it, I'll compile it. I have gcc4, XCodes and a MacBook pro, so I should be able to do it.

By the way, the MacBooks are nice. It gets warm, but so did by old Dell Pentium 4 clunker.

Chris--
Title: Ajzaurususb 0.3.2 Update
Post by: dhns on July 11, 2006, 03:56:29 am
Quote
To my understanding, some things will cross compile and other things need alteration. If this is the type that does not need alteration and someone can give me instructions on how to do it, I'll compile it. I have gcc4, XCodes and a MacBook pro, so I should be able to do it.
Ok, let's try a "remote control"...

You need to do:
1. load AJZaurusUSB sources
2. read the HOWTO-MAKE
3. open the AJZaurusUSB.xcodeproj
4. press Build
5. a Terminal will come up.
6. type 'make'
7. it will ask for your system admin password
8. it should compile without errors
9. Save everything
10. Save everything again
11. Now comes the critical point: type 'make load' (it may ask again for the password)
12. connect the Zaurus through USB
13. The Mac might now Kernel Panic every moment....
14. if not, go to the Network Preferences and look if a "new interface" was found
15. configure the interface
16. try to ping the Zaurus

If everything works fine, type 'make install' to keep the driver permanently on your Mac (even after a reboot).

-- hns
Title: Ajzaurususb 0.3.2 Update
Post by: chrisl on July 12, 2006, 12:55:48 pm
Quote
Quote
To my understanding, some things will cross compile and other things need alteration. If this is the type that does not need alteration and someone can give me instructions on how to do it, I'll compile it. I have gcc4, XCodes and a MacBook pro, so I should be able to do it.
Ok, let's try a "remote control"...

You need to do:
1. load AJZaurusUSB sources
2. read the HOWTO-MAKE
3. open the AJZaurusUSB.xcodeproj
4. press Build
5. a Terminal will come up.
6. type 'make'
7. it will ask for your system admin password
8. it should compile without errors
9. Save everything
10. Save everything again
11. Now comes the critical point: type 'make load' (it may ask again for the password)
12. connect the Zaurus through USB
13. The Mac might now Kernel Panic every moment....
14. if not, go to the Network Preferences and look if a "new interface" was found
15. configure the interface
16. try to ping the Zaurus

If everything works fine, type 'make install' to keep the driver permanently on your Mac (even after a reboot).

-- hns
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134646\"][{POST_SNAPBACK}][/a][/div]

I'm on it.

Chris--
Title: Ajzaurususb 0.3.2 Update
Post by: chrisl on July 12, 2006, 02:03:33 pm
Quote
Quote
Quote
To my understanding, some things will cross compile and other things need alteration. If this is the type that does not need alteration and someone can give me instructions on how to do it, I'll compile it. I have gcc4, XCodes and a MacBook pro, so I should be able to do it.
Ok, let's try a "remote control"...

You need to do:
1. load AJZaurusUSB sources
2. read the HOWTO-MAKE
3. open the AJZaurusUSB.xcodeproj
4. press Build
5. a Terminal will come up.
6. type 'make'
7. it will ask for your system admin password
8. it should compile without errors
9. Save everything
10. Save everything again
11. Now comes the critical point: type 'make load' (it may ask again for the password)
12. connect the Zaurus through USB
13. The Mac might now Kernel Panic every moment....
14. if not, go to the Network Preferences and look if a "new interface" was found
15. configure the interface
16. try to ping the Zaurus

If everything works fine, type 'make install' to keep the driver permanently on your Mac (even after a reboot).

-- hns
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134646\"][{POST_SNAPBACK}][/a][/div]

I'm on it.

Chris--
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134864\"][{POST_SNAPBACK}][/a][/div]

I just went through the whole process. IT WORKS!! My mac "sees" the Zaurus and can ping it (avg 1.28 ms). Now, is there a way for the machines to communicate? I know there is a sync tool out there, but is there a way to transfer files? Also, how does quantumstep fit in with all of this on an OZ/opie machine?

Finally, I noticed a way to make a package in the how-to-make documentation. Does anyone want a compiled package and where would I upload it too?

Chris--
Title: Ajzaurususb 0.3.2 Update
Post by: dhns on July 13, 2006, 03:38:07 am
Quote
I just went through the whole process. IT WORKS!!
Congratulations!!!
Quote
My mac "sees" the Zaurus and can ping it (avg 1.28 ms). Now, is there a way for the machines to communicate? I know there is a sync tool out there, but is there a way to transfer files? Also,
You can
1) install openssh on the Zaurus
2) mount the Zaurus as a SMB file system on the Mac
Quote
how does quantumstep fit in with all of this on an OZ/opie machine?
No direct relation. QuantumSTEP is a GUI system which can also use AJZaurusUSB for communication. The Sync Tool is ZMacSync and also still PowerPC only (but not open source - sorry).
Quote
Finally, I noticed a way to make a package in the how-to-make documentation. Does anyone want a compiled package and where would I upload it too?
I think the best way would be if you make a package and send it to me. Then, I can put it on the AJZaurusUSB home page for download.

And as soon as I have an Intel Mac, I can try to build a version which can be instaled on both types of systems as well as ZMacSync.

-- hns
Title: Ajzaurususb 0.3.2 Update
Post by: chrisl on July 13, 2006, 10:28:01 pm
Quote
Quote
I just went through the whole process. IT WORKS!!
Congratulations!!!
Quote
My mac "sees" the Zaurus and can ping it (avg 1.28 ms). Now, is there a way for the machines to communicate? I know there is a sync tool out there, but is there a way to transfer files? Also,
You can
1) install openssh on the Zaurus
2) mount the Zaurus as a SMB file system on the Mac
Quote
how does quantumstep fit in with all of this on an OZ/opie machine?
No direct relation. QuantumSTEP is a GUI system which can also use AJZaurusUSB for communication. The Sync Tool is ZMacSync and also still PowerPC only (but not open source - sorry).
Quote
Finally, I noticed a way to make a package in the how-to-make documentation. Does anyone want a compiled package and where would I upload it too?
I think the best way would be if you make a package and send it to me. Then, I can put it on the AJZaurusUSB home page for download.

And as soon as I have an Intel Mac, I can try to build a version which can be instaled on both types of systems as well as ZMacSync.

-- hns
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134977\"][{POST_SNAPBACK}][/a][/div]

I have sent you the package via the dsitri email address on your QuantumStep web page.

Chris--
Title: Ajzaurususb 0.3.2 Update
Post by: gojira on July 14, 2006, 02:44:18 am
Quote
I think the best way would be if you make a package and send it to me. Then, I can put it on the AJZaurusUSB home page for download.[div align=\"right\"][a href=\"index.php?act=findpost&pid=134977\"][{POST_SNAPBACK}][/a][/div]

that'd be great. thanks both of you

Quote
And as soon as I have an Intel Mac, I can try to build a version which can be instaled on both types of systems as well as ZMacSync.[div align=\"right\"][a href=\"index.php?act=findpost&pid=134977\"][{POST_SNAPBACK}][/a][/div]

isn't is possible to cross compile it from a ppc mac?
Title: Ajzaurususb 0.3.2 Update
Post by: dhns on July 14, 2006, 03:13:18 am
Quote
isn't is possible to cross compile it from a ppc mac?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=135092\"][{POST_SNAPBACK}][/a][/div]
Compiling: yes - but no testing (which is even more important...).

-- hns
Title: Ajzaurususb 0.3.2 Update
Post by: chrisl on July 16, 2006, 12:39:44 am
Quote
Quote
isn't is possible to cross compile it from a ppc mac?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=135092\"][{POST_SNAPBACK}][/a][/div]
Compiling: yes - but no testing (which is even more important...).

-- hns
[div align=\"right\"][a href=\"index.php?act=findpost&pid=135095\"][{POST_SNAPBACK}][/a][/div]

I have tested the AJZaurusUSB driver that I compiled, packaged and was uploaded to Dsitri. It installs without problems and is fully functional. My MacBook Pro "sees" my Collie and my Collie barks at my MacBook.

Chris--
Title: Ajzaurususb 0.3.2 Update
Post by: dhns on July 16, 2006, 03:00:02 am
So, here is the home page: http://www.dsitri.de/wiki.php?page=AJZaurusUSB (http://www.dsitri.de/wiki.php?page=AJZaurusUSB) and the download link http://www.dsitri.de/download/AJZaurusUSB-x86-0.3.2.tgz (http://www.dsitri.de/download/AJZaurusUSB-x86-0.3.2.tgz)

Chris, thanks again!

-- hns
Title: Ajzaurususb 0.3.2 Update
Post by: gojira on August 03, 2006, 03:06:40 am
Quote
I have tested the AJZaurusUSB driver that I compiled, packaged and was uploaded to Dsitri. It installs without problems and is fully functional. My MacBook Pro "sees" my Collie and my Collie barks at my MacBook.

Chris--
[div align=\"right\"][a href=\"index.php?act=findpost&pid=135253\"][{POST_SNAPBACK}][/a][/div]

I've installed the package and the interface shows green when the z is connected but I can't ping either, and get "no route to host" and "host is down" from the mac
Title: Ajzaurususb 0.3.2 Update
Post by: freizugheit on August 03, 2006, 03:36:53 am
What is the IP of the Mac shown under System Preferences/Network/Bulit-in Ethernet/TCP/IP ?

Which Zaurus is in use?
Title: Ajzaurususb 0.3.2 Update
Post by: gojira on August 04, 2006, 12:00:57 pm
I removed the kernel extension and now after I reinstall and reboot it doesn't show up at all...
Title: Ajzaurususb 0.3.2 Update
Post by: gojira on August 09, 2006, 10:19:12 am
Quote
I removed the kernel extension and now after I reinstall and reboot it doesn't show up at all...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=137453\"][{POST_SNAPBACK}][/a][/div]

ok, so now I loaded the extension manually (not sure if that was needed but if I try it again it says it's already loaded, so it wasn't loaded automatically, but maybe it just loads it on first use...) and got the interface to appear by changing the priority order of interfaces in the port config list (it just appeared when I moved one of the others), then configured it, and now it's back in the status list after connecting the z (but the currently unused interfaces aren't in that list -- petty sure they were originally)

so ifconifg on the mac says...

en2: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::3630:30ff:fe30:3000%en2 prefixlen 64 scopeid 0x8
        inet 192.168.129.1 netmask 0xffffff00 broadcast 192.168.129.255
        ether 34:30:30:30:30:00
        media: autoselect (10baseT/UTP <full-duplex>) status: active
        supported media: none autoselect 10baseT/UTP <half-duplex> 10baseT/UTP <full-duplex> 100baseTX <half-duplex> 100baseTX <full-duplex>

...when the z is connected and nothing about en2 otherwise

the z shows usbd0 up on 192.168.129.201 regardless but with a few more packets after connection

mac console has...

Aug  9 22:49:17 sumi mDNSResponder: Repeated transitions for interface en2 (192.168.129.1); delaying packets by 5 seconds

z dmesg has...

net_recv_urb: TOO LARGE urb->actual_length: 63 maxtransfer: 0
net_recv_urb: TOO LARGE urb->actual_length: 127 maxtransfer: 0
NETDEV WATCHDOG: usbd0: transmit timed out
usbd_device_bh: usbd_device_bh: no urb_sent function
netproto_recv: not registered: state: 0
netproto_recv: not up net_dev->flags: 1002

...then lots more watchdog timeouts

same problems pinging as before

I no longer have access to the linux box I used to use for this, so not sure if the z messages are normal, and don't have another ethernet-over-usb device to connect to the mac to see if that message is typical either, so if anyone has any ideas, please let me know

thanks
Title: Ajzaurususb 0.3.2 Update
Post by: gojira on August 18, 2006, 04:28:45 am
Quote
[a href=\"index.php?act=findpost&pid=137938\"][{POST_SNAPBACK}][/a]

I removed extension and the receipt and reinstalled and the other interfaces came back in the status and the interface showed green when the z was connected but still no ping and no route.  And now the interface no longer shows green and there's no interface listed under the z in the system profiler...
Title: Ajzaurususb 0.3.2 Update
Post by: chrisl on August 18, 2006, 11:39:24 pm
Quote
Quote
[a href=\"index.php?act=findpost&pid=137938\"][{POST_SNAPBACK}][/a]

I removed extension and the receipt and reinstalled and the other interfaces came back in the status and the interface showed green when the z was connected but still no ping and no route.  And now the interface no longer shows green and there's no interface listed under the z in the system profiler...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=138988\"][{POST_SNAPBACK}][/a][/div]

Here is a copy of my system profiler output:

SL-5500:

  Removable Media:   No
  Detachable Drive:   Yes
  BSD Name:   en2
  Version:   0.00
  Bus Power (mA):   500
  Speed:   Up to 12 Mb/sec
  Manufacturer:   Sharp
  OS9 Drivers:   No
  Product ID:   0x8004
  Serial Number:   400002000001
  Vendor ID:   0x04dd

So it does work. I had unistalled the originally compiled extension and installed the package I compile and it still worked. Be sure you are using the Intel compiled version and not ppc version. Otherwise, you might want to compile it yourself as I had done.

It would be interesting if anyone else is having this issue.

Chris--
Title: Ajzaurususb 0.3.2 Update
Post by: gojira on August 27, 2006, 12:19:58 am
Quote
So it does work. I had unistalled the originally compiled extension and installed the package I compile and it still worked. Be sure you are using the Intel compiled version and not ppc version. Otherwise, you might want to compile it yourself as I had done.

It would be interesting if anyone else is having this issue.

Chris--
[div align=\"right\"][a href=\"index.php?act=findpost&pid=139086\"][{POST_SNAPBACK}][/a][/div]

Thanks.  I've built the module too now and it behaves the same -- the interface is there but I can't ping either end from the other and the z logs transmit timeouts.  If no one else is having this problem the next step is to reflash the z (which has been getting more and more flakey lately (although usbd0 was working ok to my old linux box))...
Title: Ajzaurususb 0.3.2 Update
Post by: chrisl on August 27, 2006, 05:10:43 pm
Quote
Quote
So it does work. I had unistalled the originally compiled extension and installed the package I compile and it still worked. Be sure you are using the Intel compiled version and not ppc version. Otherwise, you might want to compile it yourself as I had done.

It would be interesting if anyone else is having this issue.

Chris--
[div align=\"right\"][a href=\"index.php?act=findpost&pid=139086\"][{POST_SNAPBACK}][/a][/div]

Thanks.  I've built the module too now and it behaves the same -- the interface is there but I can't ping either end from the other and the z logs transmit timeouts.  If no one else is having this problem the next step is to reflash the z (which has been getting more and more flakey lately (although usbd0 was working ok to my old linux box))...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=139920\"][{POST_SNAPBACK}][/a][/div]

Actually, I have not been able to talk to my Z through the usb. My mac acknowledges the Z is there, will tell me when it is plugged in, but the they will not speak to each other. It is possible because my Z is an ext2 volume, but I doubt it. I have tried both samba and ftp. My mac will acknowledge that there is a samba volume, but will say it is a format that cannot be read. So, I generally use a card reader. I have been told that macs will communicate via wifi as well, but I have not tried yet.

Chris--