Unsupported USB - Serial Adapter

2007-02-27 Thread Wade, Daniel
Any chance this is supported by one of the existing driver, but just
needs the ID to be added?

 port 2 addr 2: full speed, power 94 mA, config 1, USB Serial
Adaptor(0x0080), Palm Computing, Inc.(0x0830), rev 1.00



Re: Unsupported USB - Serial Adapter

2007-02-27 Thread Darrin Chandler
On Tue, Feb 27, 2007 at 09:30:33AM -0500, Wade, Daniel wrote:
 Any chance this is supported by one of the existing driver, but just
 needs the ID to be added?
 
  port 2 addr 2: full speed, power 94 mA, config 1, USB Serial
 Adaptor(0x0080), Palm Computing, Inc.(0x0830), rev 1.00

Looks like it's already there. From /usr/src/sys/dev/usb/usbdevs:

/* Palm Computing, Inc. product */
product PALM SERIAL 0x0080  USB Serial Adaptor


That's from a 4.0-stable source tree. Can you supply a dmesg?

-- 
Darrin Chandler   |  Phoenix BSD Users Group
[EMAIL PROTECTED]  |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/darrin/  |



Re: Unsupported USB - Serial Adapter

2007-02-27 Thread Stuart Henderson
On 2007/02/27 08:50, Darrin Chandler wrote:
 On Tue, Feb 27, 2007 at 09:30:33AM -0500, Wade, Daniel wrote:
  Any chance this is supported by one of the existing driver, but just
  needs the ID to be added?
  
   port 2 addr 2: full speed, power 94 mA, config 1, USB Serial
  Adaptor(0x0080), Palm Computing, Inc.(0x0830), rev 1.00
 
 Looks like it's already there. From /usr/src/sys/dev/usb/usbdevs:
 
 /* Palm Computing, Inc. product */
 product PALM SERIAL 0x0080  USB Serial Adaptor

It's in usbdevs but not attached to a driver.
Looks like Linux attaches this to their equivalent to uvisor;
you could try

Index: dev/usb/uvisor.c
===
RCS file: /cvs/src/sys/dev/usb/uvisor.c,v
retrieving revision 1.27
diff -u -p -r1.27 uvisor.c
--- dev/usb/uvisor.c23 Jun 2006 06:27:12 -  1.27
+++ dev/usb/uvisor.c27 Feb 2007 16:07:06 -
@@ -186,6 +186,7 @@ static const struct uvisor_type uvisor_d
{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_I705 }, PALM4 },
{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_M125 }, PALM4 },
{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_M130 }, PALM4 },
+   {{ USB_VENDOR_PALM, USB_PRODUCT_PALM_SERIAL }, PALM4 },
{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_TUNGSTEN_Z }, PALM4 },
{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_TUNGSTEN_T }, PALM4 },
{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_ZIRE }, PALM4 },



Re: Unsupported USB - Serial Adapter

2007-02-27 Thread Wade, Daniel
 -Original Message-
 From: Darrin Chandler [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, February 27, 2007 10:50 AM
 To: Wade, Daniel
 Cc: misc@openbsd.org
 Subject: Re: Unsupported USB - Serial Adapter

 On Tue, Feb 27, 2007 at 09:30:33AM -0500, Wade, Daniel wrote:
  Any chance this is supported by one of the existing driver, but just
  needs the ID to be added?
 
   port 2 addr 2: full speed, power 94 mA, config 1, USB Serial
  Adaptor(0x0080), Palm Computing, Inc.(0x0830), rev 1.00

 Looks like it's already there. From /usr/src/sys/dev/usb/usbdevs:

 /* Palm Computing, Inc. product */
 product PALM SERIAL 0x0080  USB Serial Adaptor


 That's from a 4.0-stable source tree. Can you supply a dmesg?


I just noticed that myself.

dmesg with device unplugged.  I can get a dmesg with the device plugged
in at boot later tonight.


 OpenBSD 4.1-beta (GENERIC.MP.acpi) #0: Thu Feb 22 12:27:00 MST 2007

[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP.acpi
real mem = 2137128960 (2087040K)
avail mem = 1826136064 (1783336K)
using 22937 buffers containing 213921792 bytes (208908K) of memory
mainbus0 (root)
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf6e60 (62 entries)
bios0: Dell Inc. Latitude D620
acpi0 at mainbus0: rev 0
acpi0: tables DSDT FACP HPET APIC ASF! MCFG SLIC TCPA SSDT
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpi device at acpi0 from table DSDT not configured
acpi device at acpi0 from table FACP not configured
acpihpet0 at acpi0 table HPET: 14318179 Hz
acpimadt0 at acpi0 table APIC addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz, 1995.28 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,
CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST
,TM2,CX16,xTPR,NXE,LONG
cpu0: 4MB 64b/line 16-way L2 cache
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz, 1995.00 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,
CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST
,TM2,CX16,xTPR,NXE,LONG
cpu1: 4MB 64b/line 16-way L2 cache
ioapic0 at mainbus0 apid 2 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpi device at acpi0 from table ASF! not configured
acpi device at acpi0 from table MCFG not configured
acpi device at acpi0 from table SLIC not configured
acpi device at acpi0 from table TCPA not configured
acpi device at acpi0 from table SSDT not configured
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 0 (AGP_)
acpiprt2 at acpi0: bus 3 (PCIE)
acpiprt3 at acpi0: bus 11 (RP01)
acpiprt4 at acpi0: bus 12 (RP02)
acpiprt5 at acpi0: bus 9 (PXP0)
acpiprt6 at acpi0: bus 0 (RP04)
acpiprt7 at acpi0: bus 0 (RP05)
acpiprt8 at acpi0: bus 0 (RP06)
acpiac0 at acpi0: AC unit offline
acpibat0 at acpi0: BAT0: model: DELL RD3006 serial: 806 type: LION oem:
Sanyo
acpibat1 at acpi0: BAT1: not present
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PBTN
acpibtn2 at acpi0: SBTN
acpidock0 at acpi0: GDCK: not docked (0)
acpitz0 at acpi0, critical temperature: 126 degC
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 Intel 82945GM MCH rev 0x03
vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x01:
apic 2 int 21 (irq 10)
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: Sigmatel STAC9220 (rev. 34.1), HDA version 1.0
azalia0: codec: 0x04x/0x14f1 (rev. 0.0), HDA version 0.9
azalia0: codec[1]: No support for modem function groups
azalia0: codec[1]: No audio function groups
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01
pci1 at ppb0 bus 11
ppb1 at pci0 dev 28 function 1 Intel 82801GB PCIE rev 0x01
pci2 at ppb1 bus 12
Broadcom BCM4311 rev 0x01 at pci2 dev 0 function 0 not configured
ppb2 at pci0 dev 28 function 2 Intel 82801GB PCIE rev 0x01
pci3 at ppb2 bus 9
bge0 at pci3 dev 0 function 0 Broadcom BCM5752 rev 0x02, BCM5752 A2
(0x6002): apic 2 int 18 (irq 5), address 00:18:8b:aa:c2:61
brgphy0 at bge0 phy 1: BCM5752 10/100/1000baseT PHY, rev. 0
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x01: apic 2 int
20 (irq 9)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x01: apic 2 int
21 (irq 10)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x01: apic 2 int
22 (irq 5)
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel

Re: Unsupported USB - Serial Adapter

2007-02-27 Thread Wade, Daniel
 -Original Message-
 From: Stuart Henderson [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, February 27, 2007 11:08 AM
 To: misc@openbsd.org
 Subject: Re: Unsupported USB - Serial Adapter

 On 2007/02/27 08:50, Darrin Chandler wrote:
  On Tue, Feb 27, 2007 at 09:30:33AM -0500, Wade, Daniel wrote:
   Any chance this is supported by one of the existing
 driver, but just
   needs the ID to be added?
  
port 2 addr 2: full speed, power 94 mA, config 1, USB Serial
   Adaptor(0x0080), Palm Computing, Inc.(0x0830), rev 1.00
 
  Looks like it's already there. From /usr/src/sys/dev/usb/usbdevs:
 
  /* Palm Computing, Inc. product */
  product PALM SERIAL 0x0080  USB Serial Adaptor

 It's in usbdevs but not attached to a driver.
 Looks like Linux attaches this to their equivalent to uvisor;
 you could try

 Index: dev/usb/uvisor.c
 ===
 RCS file: /cvs/src/sys/dev/usb/uvisor.c,v
 retrieving revision 1.27
 diff -u -p -r1.27 uvisor.c
 --- dev/usb/uvisor.c  23 Jun 2006 06:27:12 -  1.27
 +++ dev/usb/uvisor.c  27 Feb 2007 16:07:06 -
 @@ -186,6 +186,7 @@ static const struct uvisor_type uvisor_d
   {{ USB_VENDOR_PALM, USB_PRODUCT_PALM_I705 }, PALM4 },
   {{ USB_VENDOR_PALM, USB_PRODUCT_PALM_M125 }, PALM4 },
   {{ USB_VENDOR_PALM, USB_PRODUCT_PALM_M130 }, PALM4 },
 + {{ USB_VENDOR_PALM, USB_PRODUCT_PALM_SERIAL }, PALM4 },
   {{ USB_VENDOR_PALM, USB_PRODUCT_PALM_TUNGSTEN_Z }, PALM4 },
   {{ USB_VENDOR_PALM, USB_PRODUCT_PALM_TUNGSTEN_T }, PALM4 },
   {{ USB_VENDOR_PALM, USB_PRODUCT_PALM_ZIRE }, PALM4 },



Doesn't like it too much.

uvisor0 at uhub1 port 2
uvisor0: Palm Computing, Inc. USB Serial Adaptor, rev 1.00/1.00, addr 2
uvisor0: init failed, STALLED