usb/140242: dev/usb/controller/ehci_ix4xx.c shortcomings

2009-11-03 Thread Sebastian Huber

Number: 140242
Category:   usb
Synopsis:   dev/usb/controller/ehci_ix4xx.c shortcomings
Confidential:   no
Severity:   non-critical
Priority:   low
Responsible:freebsd-usb
State:  open
Quarter:
Keywords:   
Date-Required:
Class:  sw-bug
Submitter-Id:   current-users
Arrival-Date:   Tue Nov 03 10:00:12 UTC 2009
Closed-Date:
Last-Modified:
Originator: Sebastian Huber
Release:9-current
Organization:
embedded brains GmbH
Environment:
Description:
In ehci_ixp_attach() setting of sc-sc_bus.usbrev is superfluous since this is 
also set in ehci_init().

Calling ehci_reset() without a valid sc-sc_offs value makes no sense.
How-To-Repeat:

Fix:
Index: ehci_ixp4xx.c   
===
--- ehci_ixp4xx.c   (revision 198848)  
+++ ehci_ixp4xx.c   (working copy) 
@@ -157,8 +157,6 @@
return (ENOMEM);   
}  
   
-   sc-sc_bus.usbrev = USB_REV_2_0;   
-  
/* NB: hints fix the memory location and irq */
   
rid = 0;   
@@ -230,7 +228,6 @@
 | EHCI_SCFLG_BIGEMMIO 
 | EHCI_SCFLG_NORESTERM
 ; 
-   (void) ehci_reset(sc); 
   
err = ehci_init(sc);   
if (!err) {

Release-Note:
Audit-Trail:
Unformatted:
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/140242: dev/usb/controller/ehci_ix4xx.c shortcomings

2009-11-03 Thread Hans Petter Selasky
On Tuesday 03 November 2009 10:52:52 Sebastian Huber wrote:
 Number: 140242
 Category:   usb
 Synopsis:   dev/usb/controller/ehci_ix4xx.c shortcomings
 Confidential:   no
 Severity:   non-critical
 Priority:   low
 Responsible:freebsd-usb
 State:  open
 Quarter:
 Keywords:
 Date-Required:
 Class:  sw-bug
 Submitter-Id:   current-users
 Arrival-Date:   Tue Nov 03 10:00:12 UTC 2009
 Closed-Date:
 Last-Modified:
 Originator: Sebastian Huber
 Release:9-current
 Organization:

 embedded brains GmbH

 Environment:
 Description:

 In ehci_ixp_attach() setting of sc-sc_bus.usbrev is superfluous since this
 is also set in ehci_init().

 Calling ehci_reset() without a valid sc-sc_offs value makes no sense.

 How-To-Repeat:
 
 Fix:

 Index: ehci_ixp4xx.c
 ===
 --- ehci_ixp4xx.c   (revision 198848)
 +++ ehci_ixp4xx.c   (working copy)
 @@ -157,8 +157,6 @@
 return (ENOMEM);
 }

 -   sc-sc_bus.usbrev = USB_REV_2_0;
 -
 /* NB: hints fix the memory location and irq */

 rid = 0;
 @@ -230,7 +228,6 @@

  | EHCI_SCFLG_BIGEMMIO
  | EHCI_SCFLG_NORESTERM

  ;
 -   (void) ehci_reset(sc);

 err = ehci_init(sc);
 if (!err) {

 Release-Note:
 Audit-Trail:
 Unformatted:

Hi,

Thanks for your patch.

What is the correct sc-sc_offs value? The sc_offs field is used by more 
than reset, and should be set correctly. I.E. The right solution is not to 
remove the ehci_reset() call.

--HPS

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/140242: dev/usb/controller/ehci_ix4xx.c shortcomings

2009-11-03 Thread Hans Petter Selasky
The following reply was made to PR usb/140242; it has been noted by GNATS.

From: Hans Petter Selasky hsela...@c2i.net
To: freebsd-usb@freebsd.org
Cc: Sebastian Huber sebastian.hu...@embedded-brains.de,
 freebsd-gnats-sub...@freebsd.org
Subject: Re: usb/140242: dev/usb/controller/ehci_ix4xx.c shortcomings
Date: Tue, 3 Nov 2009 11:08:32 +0100

 On Tuesday 03 November 2009 10:52:52 Sebastian Huber wrote:
  Number: 140242
  Category:   usb
  Synopsis:   dev/usb/controller/ehci_ix4xx.c shortcomings
  Confidential:   no
  Severity:   non-critical
  Priority:   low
  Responsible:freebsd-usb
  State:  open
  Quarter:
  Keywords:
  Date-Required:
  Class:  sw-bug
  Submitter-Id:   current-users
  Arrival-Date:   Tue Nov 03 10:00:12 UTC 2009
  Closed-Date:
  Last-Modified:
  Originator: Sebastian Huber
  Release:9-current
  Organization:
 
  embedded brains GmbH
 
  Environment:
  Description:
 
  In ehci_ixp_attach() setting of sc-sc_bus.usbrev is superfluous since this
  is also set in ehci_init().
 
  Calling ehci_reset() without a valid sc-sc_offs value makes no sense.
 
  How-To-Repeat:
  
  Fix:
 
  Index: ehci_ixp4xx.c
  ===
  --- ehci_ixp4xx.c   (revision 198848)
  +++ ehci_ixp4xx.c   (working copy)
  @@ -157,8 +157,6 @@
  return (ENOMEM);
  }
 
  -   sc-sc_bus.usbrev = USB_REV_2_0;
  -
  /* NB: hints fix the memory location and irq */
 
  rid = 0;
  @@ -230,7 +228,6 @@
 
   | EHCI_SCFLG_BIGEMMIO
   | EHCI_SCFLG_NORESTERM
 
   ;
  -   (void) ehci_reset(sc);
 
  err = ehci_init(sc);
  if (!err) {
 
  Release-Note:
  Audit-Trail:
  Unformatted:
 
 Hi,
 
 Thanks for your patch.
 
 What is the correct sc-sc_offs value? The sc_offs field is used by more 
 than reset, and should be set correctly. I.E. The right solution is not to 
 remove the ehci_reset() call.
 
 --HPS
 
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/140242: dev/usb/controller/ehci_ix4xx.c shortcomings

2009-11-03 Thread Sebastian Huber
Hans Petter Selasky wrote:
[...]
  What is the correct sc-sc_offs value? The sc_offs field is used by more 
  than reset, and should be set correctly. I.E. The right solution is not to 
  remove the ehci_reset() call.
[...]

The sc-sc_offs value is initialized early during ehci_init().  Afterwards a
ehci_reset() is ok, but before it is not good.

-- 
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax : +49 89 18 90 80 79-9
E-Mail  : sebastian.hu...@embedded-brains.de
PGP : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: aue0 detected as ue0 on 8.0-RC2

2009-11-03 Thread Gavin Atkinson
[freebsd-current cc'd, as that was where the thread started, but this
probably belongs on -usb, replies should go there]

On Sat, 2009-10-31 at 21:59 +0100, Rick van der Zwet wrote:
 The first net interface of a aue(4) define used to be called aue0
 afaik. But is now called ue0 (declared in usb/net/usb_ethernet.c). (no
 sign of ue(4) btw).
 
 I was looking in the UPDATING, man, mailinglists freebsd-usb@ and
 freebsd-curr...@. But I could not find the reason why the naming
 convention on this aue differs from the regular stuff, anybody?
 
 /Rick
 
 quick# dmesg | tail -8
 ugen1.3: ADMtek at usbus1
 aue0: ADMtek USB To LAN Converter, rev 2.00/1.01, addr 3 on usbus1
 miibus1: MII bus on aue0
 ukphy0: Generic IEEE 802.3u media interface PHY 1 on miibus1
 ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 ue0: USB Ethernet on aue0
 ue0: Ethernet address: 00:00:e8:00:11:36
 ue0: link state changed to DOWN
 
 quick# ifconfig -l
 bfe0 lo0 ue0

Hmm, this looks like a serious bug, possibly in the new USB subsystem
(HPS CC'd).

I've got an axe(4) device, which also does the same:

ugen7.3: vendor 0x0b95 at usbus7
axe0: vendor 0x0b95 product 0x7720, rev 2.00/0.01, addr 3 on usbus7
axe0: PHYADDR 0xe0:0x10
miibus1: MII bus on axe0
ukphy0: Generic IEEE 802.3u media interface PHY 16 on miibus1
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ue0: USB Ethernet on axe0
ue0: Ethernet address: 00:50:b6:05:57:a7
ue0: link state changed to DOWN

Gavin
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: aue0 detected as ue0 on 8.0-RC2

2009-11-03 Thread Hans Petter Selasky
On Tuesday 03 November 2009 11:10:47 Gavin Atkinson wrote:
 [freebsd-current cc'd, as that was where the thread started, but this
 probably belongs on -usb, replies should go there]

 On Sat, 2009-10-31 at 21:59 +0100, Rick van der Zwet wrote:
  The first net interface of a aue(4) define used to be called aue0
  afaik. But is now called ue0 (declared in usb/net/usb_ethernet.c). (no
  sign of ue(4) btw).
 
  I was looking in the UPDATING, man, mailinglists freebsd-usb@ and
  freebsd-curr...@. But I could not find the reason why the naming
  convention on this aue differs from the regular stuff, anybody?
 
  /Rick
 
  quick# dmesg | tail -8
  ugen1.3: ADMtek at usbus1
  aue0: ADMtek USB To LAN Converter, rev 2.00/1.01, addr 3 on usbus1
  miibus1: MII bus on aue0
  ukphy0: Generic IEEE 802.3u media interface PHY 1 on miibus1
  ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
  ue0: USB Ethernet on aue0
  ue0: Ethernet address: 00:00:e8:00:11:36
  ue0: link state changed to DOWN
 
  quick# ifconfig -l
  bfe0 lo0 ue0

 Hmm, this looks like a serious bug, possibly in the new USB subsystem
 (HPS CC'd).

 I've got an axe(4) device, which also does the same:

 ugen7.3: vendor 0x0b95 at usbus7
 axe0: vendor 0x0b95 product 0x7720, rev 2.00/0.01, addr 3 on usbus7
 axe0: PHYADDR 0xe0:0x10
 miibus1: MII bus on axe0
 ukphy0: Generic IEEE 802.3u media interface PHY 16 on miibus1
 ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 ue0: USB Ethernet on axe0
 ue0: Ethernet address: 00:50:b6:05:57:a7
 ue0: link state changed to DOWN

Hi,

All USB ethernet adapters are now named ue0. You will get one axe0 event and 
one ue0 event. So there should be no problems regarding devd.conf  .

--HPS

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: aue0 detected as ue0 on 8.0-RC2

2009-11-03 Thread Hans Petter Selasky
On Tuesday 03 November 2009 12:03:21 Hans Petter Selasky wrote:

 Hi,

 All USB ethernet adapters are now named ue0. You will get one axe0 event
 and one ue0 event. So there should be no problems regarding devd.conf  .

 --HPS

s/ue0/ueN/

--HPS

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: aue0 detected as ue0 on 8.0-RC2

2009-11-03 Thread Rui Paulo

On 3 Nov 2009, at 11:03, Hans Petter Selasky wrote:


On Tuesday 03 November 2009 11:10:47 Gavin Atkinson wrote:

[freebsd-current cc'd, as that was where the thread started, but this
probably belongs on -usb, replies should go there]

On Sat, 2009-10-31 at 21:59 +0100, Rick van der Zwet wrote:

The first net interface of a aue(4) define used to be called aue0
afaik. But is now called ue0 (declared in usb/net/usb_ethernet.c).  
(no

sign of ue(4) btw).

I was looking in the UPDATING, man, mailinglists freebsd-usb@ and
freebsd-curr...@. But I could not find the reason why the naming
convention on this aue differs from the regular stuff, anybody?

/Rick

quick# dmesg | tail -8
ugen1.3: ADMtek at usbus1
aue0: ADMtek USB To LAN Converter, rev 2.00/1.01, addr 3 on usbus1
miibus1: MII bus on aue0
ukphy0: Generic IEEE 802.3u media interface PHY 1 on miibus1
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ue0: USB Ethernet on aue0
ue0: Ethernet address: 00:00:e8:00:11:36
ue0: link state changed to DOWN

quick# ifconfig -l
bfe0 lo0 ue0


Hmm, this looks like a serious bug, possibly in the new USB subsystem
(HPS CC'd).

I've got an axe(4) device, which also does the same:

ugen7.3: vendor 0x0b95 at usbus7
axe0: vendor 0x0b95 product 0x7720, rev 2.00/0.01, addr 3 on usbus7
axe0: PHYADDR 0xe0:0x10
miibus1: MII bus on axe0
ukphy0: Generic IEEE 802.3u media interface PHY 16 on miibus1
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ue0: USB Ethernet on axe0
ue0: Ethernet address: 00:50:b6:05:57:a7
ue0: link state changed to DOWN


Hi,

All USB ethernet adapters are now named ue0. You will get one axe0  
event and

one ue0 event. So there should be no problems regarding devd.conf  .


Fair enough, but this must be mentioned in src/UPDATING.

--
Rui Paulo

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


usb/140259: libusb-1.0 portability/compatibility nits

2009-11-03 Thread Robert Jenssen

Number: 140259
Category:   usb
Synopsis:   libusb-1.0 portability/compatibility nits
Confidential:   no
Severity:   non-critical
Priority:   low
Responsible:freebsd-usb
State:  open
Quarter:
Keywords:   
Date-Required:
Class:  change-request
Submitter-Id:   current-users
Arrival-Date:   Wed Nov 04 01:20:01 UTC 2009
Closed-Date:
Last-Modified:
Originator: Robert Jenssen
Release:8.0RC2
Organization:
Environment:
FreeBSD kraken 8.0-RC2 FreeBSD 8.0-RC2 #0: Sat Oct 31 05:40:55 EST 2009 
r...@kraken:/usr/obj/usr/src/sys/KRAKEN  i386
Description:
Thankyou for porting libusb-1.0 to the FreeBSD kernel. Being new to usb 
programming, I tried to compile the non-trivial example program, dpfp.c,  
provided with the libusb-1.0.3.tar.bz2 tarball available from 
http://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.3/libusb-1.0.3.tar.bz2/download;
 . I found two problems

1. FreeBSD libusb10 is not quite portable. Here is a diff required to get 
dpfp.c to compile:
[robj examples]diff dpfp.c dpfp.c.orig 
30,32c30
 #include libusb.h
 
 #define LIBUSB_CONTROL_SETUP_SIZE (sizeof(struct libusb_control_setup))
---
 #include libusb/libusb.h
62c60
 static libusb_device_handle *devh = NULL;
---
 static struct libusb_device_handle *devh = NULL;


2. Some libusb-1.0 functions are not implemented. Here is an attempt to link 
dpfp.c:
[robj examples]gcc -O0 -g -o dpfp -lusb dpfp.c 
/var/tmp//ccPc8n2t.o(.text+0x4dc): In function `set_mode_async':
/home/robj/TMP/libusb-1.0.3/examples/dpfp.c:182: undefined reference to 
`libusb_fill_control_setup'
/var/tmp//ccPc8n2t.o(.text+0x51c):/home/robj/TMP/libusb-1.0.3/examples/dpfp.c:184:
 undefined reference to `libusb_fill_control_transfer'
/var/tmp//ccPc8n2t.o(.text+0xbe5): In function `alloc_transfers':
/home/robj/TMP/libusb-1.0.3/examples/dpfp.c:406: undefined reference to 
`libusb_fill_bulk_transfer'
/var/tmp//ccPc8n2t.o(.text+0xc2c):/home/robj/TMP/libusb-1.0.3/examples/dpfp.c:408:
 undefined reference to `libusb_fill_interrupt_transfer'


How-To-Repeat:

Fix:


Release-Note:
Audit-Trail:
Unformatted:
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb thermometer - TEMPer - FreeBSD

2009-11-03 Thread Torfinn Ingolfsen
On Sun, 01 Nov 2009 22:09:34 +0100
Hans Petter Selasky hsela...@c2i.net wrote:

 Try to fetch: 
 
 /sys/dev/usb/serial/uchcom.c 
 
 From FreeBSD 9-current and rebuild the uchcom module or kernel.

I noticed that the latest uchcom.c had been MFC'ed to RELENG_8, so I
fetched and built that instead.
r...@kg-t2# uname -a
FreeBSD kg-t2.kg4.no 8.0-RC2 FreeBSD 8.0-RC2 #0: Tue Nov  3 20:13:10 CET 2009   
  r...@kg-t2.kg4.no:/usr/obj/usr/src/sys/GENERIC  i386

And in /var/log/messages I see:
Nov  3 22:17:43 kg-t2 kernel: ugen0.2: vendor 0x4348 at usbus0
Nov  3 22:17:43 kg-t2 kernel: ucom0: vendor 0x4348 USB-SER!, rev 1.10/2.50, 
addr 2 on usbus0
Nov  3 22:17:43 kg-t2 kernel: ucom0: CH340 detected
and usbconfig shows:
r...@kg-t2# usbconfig list
ugen0.1: UHCI root HUB Intel at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen0.2: USB-SER! vendor 0x4348 at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) 
pwr=ON

But where is ucom0?
r...@kg-t2# ls -l /dev/uc*
ls: /dev/uc*: No such file or directory
r...@kg-t2# ls -l /dev/ucom0
ls: /dev/ucom0: No such file or directory
r...@kg-t2# ls -l /dev/ucom0

-- 
Regards,
Torfinn Ingolfsen

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/140236: Labels wiped on external Journaled USB HDD on 8.0-RC2

2009-11-03 Thread Monty Hall
The following reply was made to PR usb/140236; it has been noted by GNATS.

From: Monty Hall kungfu_disci...@sbcglobal.net
To: bug-follo...@freebsd.org, spra...@msu.edu
Cc:  
Subject: Re: usb/140236: Labels wiped on external Journaled USB HDD on 8.0-RC2
Date: Tue, 03 Nov 2009 13:43:54 -0500

 OMG, I didn't mean LABEL, I meant PARTITION.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: aue0 detected as ue0 on 8.0-RC2

2009-11-03 Thread Andrew Thompson
On Tue, Nov 03, 2009 at 09:55:01AM -0800, Pyun YongHyeon wrote:
 On Tue, Nov 03, 2009 at 10:10:47AM +, Gavin Atkinson wrote:
  [freebsd-current cc'd, as that was where the thread started, but this
  Hmm, this looks like a serious bug, possibly in the new USB subsystem
  (HPS CC'd).
  
  I've got an axe(4) device, which also does the same:
  
  ugen7.3: vendor 0x0b95 at usbus7
  axe0: vendor 0x0b95 product 0x7720, rev 2.00/0.01, addr 3 on usbus7
  axe0: PHYADDR 0xe0:0x10
  miibus1: MII bus on axe0
  ukphy0: Generic IEEE 802.3u media interface PHY 16 on miibus1
  ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
  ue0: USB Ethernet on axe0
  ue0: Ethernet address: 00:50:b6:05:57:a7
  ue0: link state changed to DOWN
  
 
 I'm not sure this is feature of new USB or bug. I don't have strong
 objections on current behavior but looks like I'm seeing Linux
 behavior. Traditionally all network interfaces used their own
 driver name. I think this change should be documented in UPDATING.

I have added an UPDATING entry in 198859.


Andrew
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/140236: Labels wiped on external Journaled USB HDD on 8.0-RC2

2009-11-03 Thread Monty Hall
The following reply was made to PR usb/140236; it has been noted by GNATS.

From: Monty Hall kungfu_disci...@sbcglobal.net
To: bug-follo...@freebsd.org, spra...@msu.edu
Cc:  
Subject: Re: usb/140236: Labels wiped on external Journaled USB HDD on 8.0-RC2
Date: Tue, 03 Nov 2009 14:41:29 -0500

 FYI: please use my sbcglobal account
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb thermometer - TEMPer - FreeBSD

2009-11-03 Thread Hans Petter Selasky
On Tuesday 03 November 2009 22:27:03 Torfinn Ingolfsen wrote:
 On Sun, 01 Nov 2009 22:09:34 +0100

 Hans Petter Selasky hsela...@c2i.net wrote:
  Try to fetch:
 
  /sys/dev/usb/serial/uchcom.c
 
  From FreeBSD 9-current and rebuild the uchcom module or kernel.

 I noticed that the latest uchcom.c had been MFC'ed to RELENG_8, so I
 fetched and built that instead.
 r...@kg-t2# uname -a
 FreeBSD kg-t2.kg4.no 8.0-RC2 FreeBSD 8.0-RC2 #0: Tue Nov  3 20:13:10 CET
 2009 r...@kg-t2.kg4.no:/usr/obj/usr/src/sys/GENERIC  i386

 And in /var/log/messages I see:
 Nov  3 22:17:43 kg-t2 kernel: ugen0.2: vendor 0x4348 at usbus0
 Nov  3 22:17:43 kg-t2 kernel: ucom0: vendor 0x4348 USB-SER!, rev
 1.10/2.50, addr 2 on usbus0 Nov  3 22:17:43 kg-t2 kernel: ucom0: CH340
 detected
 and usbconfig shows:
 r...@kg-t2# usbconfig list
 ugen0.1: UHCI root HUB Intel at usbus0, cfg=0 md=HOST spd=FULL (12Mbps)
 pwr=ON ugen0.2: USB-SER! vendor 0x4348 at usbus0, cfg=0 md=HOST spd=FULL
 (12Mbps) pwr=ON

 But where is ucom0?
 r...@kg-t2# ls -l /dev/uc*
 ls: /dev/uc*: No such file or directory
 r...@kg-t2# ls -l /dev/ucom0
 ls: /dev/ucom0: No such file or directory
 r...@kg-t2# ls -l /dev/ucom0

/dev/cuaU0

--HPS

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org