Pages: [1]   Go Down
Author Topic: Not passing loop-back test on Mac OS X 10.5.8  (Read 800 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all,

i started with classic programmer not responding problems, then i found loop back test -- and it's _not_ passing, then i tried programming the arduino from couple of another computers and both of them went ok (Ubuntu and Mac OS X 10.6.x)

SO it's my particular Mac OS X 10.5.8 system - something is wrong with CDC driver - the arduino gets recognized, /dev/tty.usbmodemXX is being created, but when i write to it, it's not working - no TX RX leds flashing, no loopback, nothing.

SO i'm asking all the other mac users in this forum for a HELP - how do i debug CDC on my system? where do i start? to what forums do i write? what keywords do i put to google?

this might be of help to lots of frustrated mac users posting to this forum, cursing arduino

i'm a fulltime programmer and can handle complicated stuff.. please post all your insights
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all,

after several days of frustration and my previous email of despair i poked around in my system:

after connecting the arduino i ran
Code:
sudo kextstat | grep CDC
to display loaded kernel extensions relative to CDC:

Code:
  141    0 0x2e7f1000 0x3000     0x2000     com.apple.driver.AppleUSBCDC (3.2.13) <46 12>
  142    0 0x344f4000 0x3000     0x2000     com.ZTE.driver.ZTEUSBCDCACMControl (1.2.1) <46 12>
  144    0 0x4bb61000 0x6000     0x5000     com.apple.driver.AppleUSBCDCACMData (3.2.13) <105 46 12 6 5 4>

that ZTE driver looked suspicious for me and i deleted it from /System/Library/Extensions

then kexstat displayed:
Code:
  147    0 0x2e7f1000 0x3000     0x2000     com.apple.driver.AppleUSBCDC (3.2.13) <46 12>
  148    0 0x344dc000 0x3000     0x2000     com.apple.driver.AppleUSBCDCACMControl (3.2.13) <46 12>
  149    0 0x4aad5000 0x6000     0x5000     com.apple.driver.AppleUSBCDCACMData (3.2.13) <105 46 12 6 5 4>

note AppleUSBCDCACMControl instead of ZTEUSBCDCACMControl and arduino now works!

So, if you can't pass loop back test on Mac OS X, try looking for some foreign CDC drivers poisoning the well.
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 212
Posts: 13085
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


Thank you for the follow-up.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you SO MUCH for this aproach!!! I finally made my Arduino UNO work on a Macbook with OSX 10.5.8 after being lost days in the forums and in google and having find nothing. I did exactly what you did and ... voila!

My Best Regards and Long Live wishes!

Logged

Pages: [1]   Go Up
Jump to: