Menu

#7 No /dev/tty.* device appears

closed
None
2
2007-08-25
2006-12-05
No

I have a Prolific 2303 USB serial adapter. After installing osx-pl2302 the device appears to be recognised, but no entry appears in /dev/tty.*

USB Prober shows the device thus:

USB-Serial Controller@3b100000 <class IOUSBDevice>

bcdDevice 768 (0x300)
bDeviceClass 0 (0x0)
bDeviceProtocol 0 (0x0)
bDeviceSubClass 0 (0x0)
bMaxPacketSize0 64 (0x40)
bNumConfigurations 1 (0x1)
Bus Power Available 250 (0xfa)
Device Speed 1 (0x1)
idProduct 8963 (0x2303)
idVendor 1659 (0x67b)
iManufacturer 1 (0x1)
IOCFPlugInTypes
IOGeneralInterest
IOUserClientClass IOUSBDeviceUserClient
iProduct 2 (0x2)
iSerialNumber 0 (0x0)
locationID 990904320 (0x3b100000)
PortNum 1 (0x1)
sessionID 4963596159931 (0x483ad62cbbb)
USB Address 2 (0x2)
USB Product Name USB-Serial Controller
USB Vendor Name Prolific Technology Inc.

Now the driver has been installed, it also appears in System Profiler thus:

USB-Serial Controller:

Vendor Name: Prolific Technology Inc.
Speed: Up to 12 Mb/sec
Product ID: 8963 ($2303)
Bus Power (mA): 500

Finally, here's the output from IORegistryExplorer (via the console!):

2006-12-05 19:06:44.111 IORegistryExplorer[575] <CFDictionary 0x184de0 [0xa01c00e0]>{type = immutable, count = 5, capacity = 5, pairs = (
2 : <CFString 0xe20c [0xa01c00e0]>{contents = "regEntry"} = <CFNumber 0x183340 [0xa01c00e0]>{value = +12291, type = kCFNumberSInt32Type}
4 : <CFString 0xe14c [0xa01c00e0]>{contents = "name"} = <CFString 0x154b20 [0xa01c00e0]>{contents = "Root"}
6 : <CFString 0xe1fc [0xa01c00e0]>{contents = "state"} = <CFString 0x183320 [0xa01c00e0]>{contents = "(retain count 12)"}
7 : <CFString 0xe1ec [0xa01c00e0]>{contents = "className"} = <CFString 0x1832c0 [0xa01c00e0]>{contents = "IORegistryEntry"}
10 : <CFString 0xe1cc [0xa01c00e0]>{contents = "children"} = <CFArray 0x15b7a0 [0xa01c00e0]>{type = mutable-small, count = 4, values = (
0 : <CFDictionary 0x1864b0 [0xa01c00e0]>{type = immutable, count = 5, capacity = 5, pairs = (
2 : <CFString 0xe20c [0xa01c00e0]>{contents = "regEntry"} = <CFNumber 0x167e70 [0xa01c00e0]>{value = +78595, type = kCFNumberSInt32Type}
4 : <CFString 0xe14c [0xa01c00e0]>{contents = "name"} = <CFString 0x1850f0 [0xa01c00e0]>{contents = "OHCI Root Hub Simulation@1B"}
6 : <CFString 0xe1fc [0xa01c00e0]>{contents = "state"} = <CFString 0x1718b0 [0xa01c00e0]>{contents = "(registered, matched, active, busy 0, retain count 9)"}
7 : <CFString 0xe1ec [0xa01c00e0]>{contents = "className"} = <CFString 0x17e2f0 [0xa01c00e0]>{contents = "IOUSBRootHubDevice"}
10 : <CFString 0xe1cc [0xa01c00e0]>{contents = "children"} = <CFArray 0x180cf0 [0xa01c00e0]>{type = mutable-small, count = 0, values = (
)}
)}
1 : <CFDictionary 0x185830 [0xa01c00e0]>{type = immutable, count = 5, capacity = 5, pairs = (
2 : <CFString 0xe20c [0xa01c00e0]>{contents = "regEntry"} = <CFNumber 0x15d950 [0xa01c00e0]>{value = +80131, type = kCFNumberSInt32Type}
4 : <CFString 0xe14c [0xa01c00e0]>{contents = "name"} = <CFString 0x17ea00 [0xa01c00e0]>{contents = "OHCI Root Hub Simulation@1B,1"}
6 : <CFString 0xe1fc [0xa01c00e0]>{contents = "state"} = <CFString 0x188eb0 [0xa01c00e0]>{contents = "(registered, matched, active, busy 0, retain count 11)"}
7 : <CFString 0xe1ec [0xa01c00e0]>{contents = "className"} = <CFString 0x169070 [0xa01c00e0]>{contents = "IOUSBRootHubDevice"}
10 : <CFString 0xe1cc [0xa01c00e0]>{contents = "children"} = <CFArray 0x1676a0 [0xa01c00e0]>{type = mutable-small, count = 1, values = (
0 : <CFDictionary 0x185e30 [0xa01c00e0]>{type = immutable, count = 5, capacity = 5, pairs = (
2 : <CFString 0xe20c [0xa01c00e0]>{contents = "regEntry"} = <CFNumber 0x15ff00 [0xa01c00e0]>{value = +80391, type = kCFNumberSInt32Type}
4 : <CFString 0xe14c [0xa01c00e0]>{contents = "name"} = <CFString 0x1848e0 [0xa01c00e0]>{contents = "USB-Serial Controller@3b100000"}
6 : <CFString 0xe1fc [0xa01c00e0]>{contents = "state"} = <CFString 0x186450 [0xa01c00e0]>{contents = "(registered, matched, active, busy 0, retain count 9)"}
7 : <CFString 0xe1ec [0xa01c00e0]>{contents = "className"} = <CFString 0x16d190 [0xa01c00e0]>{contents = "IOUSBDevice"}
10 : <CFString 0xe1cc [0xa01c00e0]>{contents = "children"} = <CFArray 0x162440 [0xa01c00e0]>{type = mutable-small, count = 0, values = (
)}
)}
)}
)}
2 : <CFDictionary 0x1852a0 [0xa01c00e0]>{type = immutable, count = 5, capacity = 5, pairs = (
2 : <CFString 0xe20c [0xa01c00e0]>{contents = "regEntry"} = <CFNumber 0x189760 [0xa01c00e0]>{value = +77059, type = kCFNumberSInt32Type}
4 : <CFString 0xe14c [0xa01c00e0]>{contents = "name"} = <CFString 0x181ac0 [0xa01c00e0]>{contents = "OHCI Root Hub Simulation@1A"}
6 : <CFString 0xe1fc [0xa01c00e0]>{contents = "state"} = <CFString 0x189720 [0xa01c00e0]>{contents = "(registered, matched, active, busy 0, retain count 9)"}
7 : <CFString 0xe1ec [0xa01c00e0]>{contents = "className"} = <CFString 0x15ebe0 [0xa01c00e0]>{contents = "IOUSBRootHubDevice"}
10 : <CFString 0xe1cc [0xa01c00e0]>{contents = "children"} = <CFArray 0x15d350 [0xa01c00e0]>{type = mutable-small, count = 0, values = (
)}
)}
3 : <CFDictionary 0x185040 [0xa01c00e0]>{type = immutable, count = 5, capacity = 5, pairs = (
2 : <CFString 0xe20c [0xa01c00e0]>{contents = "regEntry"} = <CFNumber 0x183280 [0xa01c00e0]>{value = +83203, type = kCFNumberSInt32Type}
4 : <CFString 0xe14c [0xa01c00e0]>{contents = "name"} = <CFString 0x1838c0 [0xa01c00e0]>{contents = "EHCI Root Hub Simulation@1B,2"}
6 : <CFString 0xe1fc [0xa01c00e0]>{contents = "state"} = <CFString 0x148a20 [0xa01c00e0]>{contents = "(registered, matched, active, busy 0, retain count 9)"}
7 : <CFString 0xe1ec [0xa01c00e0]>{contents = "className"} = <CFString 0x183260 [0xa01c00e0]>{contents = "IOUSBRootHubDevice"}
10 : <CFString 0xe1cc [0xa01c00e0]>{contents = "children"} = <CFArray 0x101e80 [0xa01c00e0]>{type = mutable-small, count = 0, values = (
)}
)}
)}
)}

Here's my version information:

$ uname -a
Darwin pluto.araneidae.co.uk 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh powerpc

Here's what's in /dev/tty*:

$ ls /dev/tty*
/dev/tty /dev/ttyq8 /dev/ttys2 /dev/ttytc /dev/ttyv6
/dev/tty.modem /dev/ttyq9 /dev/ttys3 /dev/ttytd /dev/ttyv7
/dev/ttyp0 /dev/ttyqa /dev/ttys4 /dev/ttyte /dev/ttyv8
/dev/ttyp1 /dev/ttyqb /dev/ttys5 /dev/ttytf /dev/ttyv9
/dev/ttyp2 /dev/ttyqc /dev/ttys6 /dev/ttyu0 /dev/ttyva
/dev/ttyp3 /dev/ttyqd /dev/ttys7 /dev/ttyu1 /dev/ttyvb
/dev/ttyp4 /dev/ttyqe /dev/ttys8 /dev/ttyu2 /dev/ttyvc
/dev/ttyp5 /dev/ttyqf /dev/ttys9 /dev/ttyu3 /dev/ttyvd
/dev/ttyp6 /dev/ttyr0 /dev/ttysa /dev/ttyu4 /dev/ttyve
/dev/ttyp7 /dev/ttyr1 /dev/ttysb /dev/ttyu5 /dev/ttyvf
/dev/ttyp8 /dev/ttyr2 /dev/ttysc /dev/ttyu6 /dev/ttyw0
/dev/ttyp9 /dev/ttyr3 /dev/ttysd /dev/ttyu7 /dev/ttyw1
/dev/ttypa /dev/ttyr4 /dev/ttyse /dev/ttyu8 /dev/ttyw2
/dev/ttypb /dev/ttyr5 /dev/ttysf /dev/ttyu9 /dev/ttyw3
/dev/ttypc /dev/ttyr6 /dev/ttyt0 /dev/ttyua /dev/ttyw4
/dev/ttypd /dev/ttyr7 /dev/ttyt1 /dev/ttyub /dev/ttyw5
/dev/ttype /dev/ttyr8 /dev/ttyt2 /dev/ttyuc /dev/ttyw6
/dev/ttypf /dev/ttyr9 /dev/ttyt3 /dev/ttyud /dev/ttyw7
/dev/ttyq0 /dev/ttyra /dev/ttyt4 /dev/ttyue /dev/ttyw8
/dev/ttyq1 /dev/ttyrb /dev/ttyt5 /dev/ttyuf /dev/ttyw9
/dev/ttyq2 /dev/ttyrc /dev/ttyt6 /dev/ttyv0 /dev/ttywa
/dev/ttyq3 /dev/ttyrd /dev/ttyt7 /dev/ttyv1 /dev/ttywb
/dev/ttyq4 /dev/ttyre /dev/ttyt8 /dev/ttyv2 /dev/ttywc
/dev/ttyq5 /dev/ttyrf /dev/ttyt9 /dev/ttyv3 /dev/ttywd
/dev/ttyq6 /dev/ttys0 /dev/ttyta /dev/ttyv4 /dev/ttywe
/dev/ttyq7 /dev/ttys1 /dev/ttytb /dev/ttyv5 /dev/ttywf

Alas, this doesn't change when the device is inserted or removed.

Discussion

  • B.J. Arnoldus

    B.J. Arnoldus - 2007-08-10
    • priority: 5 --> 2
    • status: open --> pending
     
  • B.J. Arnoldus

    B.J. Arnoldus - 2007-08-10

    Logged In: YES
    user_id=1427326
    Originator: NO

    I think the driver is not loaded during the matching. Maybe you can try to find the reason (there are some documents at developer.apple.com about this matching procedure) why this fails.

     
  • B.J. Arnoldus

    B.J. Arnoldus - 2007-08-10
    • assigned_to: nobody --> b_j_arnoldus
     
  • SourceForge Robot

    • status: pending --> closed
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.

MongoDB Logo MongoDB