This is a repost: we just upgraded our OS following advice (now we're
on 10.4.2). We're still getting the same behaviour, see the original
post below: and below that I've appended the latest output from USB
Prober. As before, any suggestions would be gratefully received...
- Dave Cleal
> help please!
> we have built a USB device, based on an Atmel ARM9 processor. Atmel
> provide sample code for presenting this as a simple CDC, and related
> stuff to let this create a virtual serial port under Windows so that
> you can talk to it on that platform via that port without writing a
> specialized driver. Which all works.
> We've been trying to make this work the same way on the Mac. We're at
> a point where when we plug our device into the Mac, it gets recognised
> and the Mac seems to create a new virtual serial port in /dev.
> However, we can't communicate via this port. For example, ZTerm offers
> us the port but if we pick it, characters don't seem to go in or out.
> Similarly, if we "cat" the device, nothing seems to appear.
> We have enabled the port in "System Preferences"/"Network port
> configurations" - is there any other kind of enabling required?
> Or, perhaps more likely, do we have to present a different set of data
> in our descriptors? Any suggestions gratefully received...
USB Prober - Kernel Extensions tab displays the following:
Before connecting the USB device:
com.apple.iokit.IOUSBFamily 2.2.0 120 KB 116 KB
0x433000
com.apple.driver.AppleUSBOHCI 2.2.0 52 KB 48 KB
0x45b000
com.apple.driver.AppleUSBEHCI 2.2.0 76 KB 72 KB
0xc1d000
com.apple.driver.AppleUSBHub 2.2.0 44 KB 40 KB
0xbfb000
com.apple.driver.AppleUSBBluetoothHCIController 1.6f2 24
KB 20 KB 0x9c9000
com.apple.driver.CSRUSBBluetoothHCIController 1.6f2 12
KB 8 KB 0xa9f000
com.apple.driver.AppleUSBMergeNub 2.2.0 12 KB 8
KB 0xc06000
com.apple.iokit.IOUSBUserClient 2.2.0 48 KB 44 KB
0x478000
After USB device reset the following additional entries are added to
the list:
com.apple.driver.AppleUSBCDC 3.1.4 12 KB 8 KB
0x21921000
com.apple.driver.AppleUSBCDCACMControl 3.1.4 12 KB 8
KB 0x21924000
com.apple.driver.AppleUSBCDCACMData 3.1.5 24 KB 20
KB 0x21927000
com.apple.driver.AppleUSBCDCECMData 3.1.3 20 KB 16
KB 0x2192d000
In USB Prober - Bus Probe tab the full descriptor is:
Full Speed device @ 2
(0x3B100000): .............................................
Communication device from Atmel Corporation
Device Descriptor
Descriptor Version Number: 0x0110
Device Class: 2 (Communication)
Device Subclass: 0
Device Protocol: 0
Device MaxPacketSize: 8
Device VendorID/ProductID: 0x03EB/0x6119 (Atmel
Corporation)
Device Version Number: 0x0110
Number of Configurations: 1
Manufacturer String: 0 (none)
Product String: 0 (none)
Serial Number String: 0 (none)
Configuration Descriptor
Length (and contents): 67
Raw Descriptor (hex) 0000: 09 02 00 43 02 01 00 C0
00 09 04 00 00 01 02 02
Raw Descriptor (hex) 0010: 01 00 05 24 00 10 01 04
24 02 00 05 24 06 00 01
Raw Descriptor (hex) 0020: 05 24 01 00 01 07 05 83
03 08 00 FF 09 04 01 00
Raw Descriptor (hex) 0030: 02 0A 00 00 00 07 05 01
02 40 00 00 07 05 82 02
Raw Descriptor (hex) 0040: 40 00 00
Number of Interfaces: 2
Configuration Value: 1
Attributes: 0xC0 (self-powered)
MaxPower: 0 ma
Interface #0 - Communications-Control
Alternate Setting 0
Number of Endpoints 1
Interface Class: 2 (Communications-Control)
Interface Subclass; 2
Interface Protocol: 1
Comm Class Header Functional Descriptor
Raw Descriptor (hex) 0000: 05 24 00 10 01
Comm Class Abstract Control Management Functional
Descriptor
Raw Descriptor (hex) 0000: 04 24 02 00
Comm Class Union Functional Descriptor
Raw Descriptor (hex) 0000: 05 24 06 00 01
Comm Class Call Management Functional Descriptor
Raw Descriptor (hex) 0000: 05 24 01 00 01
Endpoint 0x83 - Interrupt Input
Address: 0x83 (IN)
Attributes: 0x03 (Interrupt no synchronization
data endpoint)
Max Packet Size: 8
Polling Interval: 255 ms
Interface #1 - Communications-Data/Unknown Comm Class Model
Alternate Setting 0
Number of Endpoints 2
Interface Class: 10 (Communications-Data)
Interface Subclass; 0 (Unknown Comm Class Model)
Interface Protocol: 0
Endpoint 0x01 - Bulk Output
Address: 0x01 (OUT)
Attributes: 0x02 (Bulk no synchronization data
endpoint)
Max Packet Size: 64
Polling Interval: 0 ms
Endpoint 0x82 - Bulk Input
Address: 0x82 (IN)
Attributes: 0x02 (Bulk no synchronization data
endpoint)
Max Packet Size: 64
Polling Interval: 0 ms
Listed under /dev as ttty.usbmodem3B11
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden
This email sent to email@hidden