Problem reports for u...@freebsd.org that need special attention

2019-07-28 Thread bugzilla-noreply
To view an individual PR, use:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id).

The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status  |Bug Id | Description
+---+---
Open|213877 | xhci reset causes panic on SuperMicro A1SRi-2758F 
Open|233884 | Corsair CORSAIR K70 RGB MK.2 / K63 / K63 Wireless 
Open|234578 | Support for Sierra Wireless EM7455 modem  
Open|237666 | repeated messages of "uhub_reattach_port: giving  

4 problems total for which you should take action.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


[Bug 239495] if_urndis does not support newer HMD Global devices

2019-07-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239495

Hans Petter Selasky  changed:

   What|Removed |Added

 Status|New |In Progress
   Assignee|u...@freebsd.org |hsela...@freebsd.org

--- Comment #4 from Hans Petter Selasky  ---
Created attachment 206130
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206130&action=edit
Patch

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


[Bug 239495] if_urndis does not support newer HMD Global devices

2019-07-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239495

--- Comment #3 from Hans Petter Selasky  ---
You need to modify this table in if_urndis.c to make it attach:

static const STRUCT_USB_HOST_ID urndis_host_devs[] = {
/* Generic RNDIS class match */
{USB_IFACE_CLASS(UICLASS_CDC),
USB_IFACE_SUBCLASS(UISUBCLASS_ABSTRACT_CONTROL_MODEL),
USB_IFACE_PROTOCOL(0xff)},
{USB_IFACE_CLASS(UICLASS_WIRELESS), USB_IFACE_SUBCLASS(UISUBCLASS_RF),
USB_IFACE_PROTOCOL(UIPROTO_RNDIS)},
{USB_IFACE_CLASS(UICLASS_IAD), USB_IFACE_SUBCLASS(UISUBCLASS_SYNC),
USB_IFACE_PROTOCOL(UIPROTO_ACTIVESYNC)},
/* HP-WebOS */
{USB_VENDOR(USB_VENDOR_PALM), USB_IFACE_CLASS(UICLASS_CDC),
USB_IFACE_SUBCLASS(UISUBCLASS_ABSTRACT_CONTROL_MODEL),
USB_IFACE_PROTOCOL(0xff)},
};

Using these values:

  bInterfaceClass = 0x00ef  
  bInterfaceSubClass = 0x0004 
  bInterfaceProtocol = 0x0001 

Can you try the attached patch?

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


[Bug 239495] if_urndis does not support newer HMD Global devices

2019-07-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239495

--- Comment #2 from i...@vrachnis.com ---
Created attachment 206123
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206123&action=edit
dump_device_desc dump_curr_config_desc

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: follow up: strange problem with external USB disks

2019-07-28 Thread Gary Jennejohn
On Sun, 28 Jul 2019 17:09:04 +0200
Gary Jennejohn  wrote:

> On Sun, 28 Jul 2019 15:56:33 +0200
> Hans Petter Selasky  wrote:
> 
> > On 2019-07-27 13:51, Gary Jennejohn wrote:  
> > > On Sat, 27 Jul 2019 13:05:01 +0200
> > > Hans Petter Selasky  wrote:
> > > 
> > >> On 2019-07-26 11:56, Gary Jennejohn wrote:
> > >>> On Fri, 26 Jul 2019 11:25:33 +0200
> > >>> Gary Jennejohn  wrote:
> > >>> I'm having a very strange problem with external USB disks in
> >  HEAD.  I see the problem with a kernel from July 12th and also
> >  with one from today.
> >    >>> [snip]
> >  Since I'm running a custom kernel I'll try running GENERIC to
> >  see what happens and report back.
> >    >>>
> > >>> OK, so with GENERIC the error doesn't occur.  Guess I'm missing
> > >>> something in my custom kernel configuration.
> > >>>>>
> > >> Does it work with GENERIC nodebug ?
> > >>
> > > 
> > > Do you mean without "makeoptions DEBUG=-g" or without "options
> > > USB_DEBUG"?  Or something else?
> > > 
> > 
> > I mean:
> > sys/amd64/conf/GENERIC-NODEBUG
> >   
> 
> I haven't tested GENERIC-NODEBUG.  My custom configuration has
> INVARIANTS, COVERAGE, KCOV and WITNESS similarly disabled.  I'll
> give it a try.
> 

Yes, GENERIC-NODEBUG also works.

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


Re: follow up: strange problem with external USB disks

2019-07-28 Thread Gary Jennejohn
On Sun, 28 Jul 2019 15:56:33 +0200
Hans Petter Selasky  wrote:

> On 2019-07-27 13:51, Gary Jennejohn wrote:
> > On Sat, 27 Jul 2019 13:05:01 +0200
> > Hans Petter Selasky  wrote:
> >   
> >> On 2019-07-26 11:56, Gary Jennejohn wrote:  
> >>> On Fri, 26 Jul 2019 11:25:33 +0200
> >>> Gary Jennejohn  wrote:  
> >>> I'm having a very strange problem with external USB disks in  
>  HEAD.  I see the problem with a kernel from July 12th and also
>  with one from today.  
>    >>> [snip]  
>  Since I'm running a custom kernel I'll try running GENERIC to
>  see what happens and report back.  
>    >>>  
> >>> OK, so with GENERIC the error doesn't occur.  Guess I'm missing
> >>> something in my custom kernel configuration.  
> >>>>>  
> >> Does it work with GENERIC nodebug ?
> >>  
> > 
> > Do you mean without "makeoptions DEBUG=-g" or without "options
> > USB_DEBUG"?  Or something else?
> >   
> 
> I mean:
> sys/amd64/conf/GENERIC-NODEBUG
> 

I haven't tested GENERIC-NODEBUG.  My custom configuration has
INVARIANTS, COVERAGE, KCOV and WITNESS similarly disabled.  I'll
give it a try.

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


[Bug 239495] if_urndis does not support newer HMD Global devices

2019-07-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239495

Hans Petter Selasky  changed:

   What|Removed |Added

 CC||hsela...@freebsd.org

--- Comment #1 from Hans Petter Selasky  ---
Hi,

if_urndis likely needs some new device match-entries it looks like:

https://github.com/jwise/HoRNDIS/commit/f4ac3df2c7fc477b7a8e635b7d4aaa06c603b27a

What does usbconfig say about your device, when you add:

dump_device_desc dump_curr_config_desc

--HPS

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: follow up: strange problem with external USB disks

2019-07-28 Thread Hans Petter Selasky

On 2019-07-27 13:51, Gary Jennejohn wrote:

On Sat, 27 Jul 2019 13:05:01 +0200
Hans Petter Selasky  wrote:


On 2019-07-26 11:56, Gary Jennejohn wrote:

On Fri, 26 Jul 2019 11:25:33 +0200
Gary Jennejohn  wrote:
   

I'm having a very strange problem with external USB disks in
HEAD.  I see the problem with a kernel from July 12th and also
with one from today.
  

[snip]

Since I'm running a custom kernel I'll try running GENERIC to
see what happens and report back.
  


OK, so with GENERIC the error doesn't occur.  Guess I'm missing
something in my custom kernel configuration.
   


Does it work with GENERIC nodebug ?



Do you mean without "makeoptions DEBUG=-g" or without "options
USB_DEBUG"?  Or something else?



I mean:
sys/amd64/conf/GENERIC-NODEBUG


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


[Bug 239495] if_urndis does not support newer HMD Global devices

2019-07-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239495

Bug ID: 239495
   Summary: if_urndis does not support newer HMD Global devices
   Product: Base System
   Version: 12.0-RELEASE
  Hardware: amd64
OS: Any
Status: New
  Severity: Affects Some People
  Priority: ---
 Component: usb
  Assignee: u...@freebsd.org
  Reporter: i...@vrachnis.com

It seems that HMD global has changed the USB interface that they use for
tethering on new devices. While if_urndis works with devices from other
manufacturers, enabling tethering on a Nokia 7 Plus is not get picked up by my
system.

I've found some ([1],[2]) resources on the project that ships the tethering
drivers for OS X, which highlight the changes that they had to implement.
However, it's not clear to me how easy it would be to port here.

Let me know what logs I can provide regarding this issue, as i can't find
anything useful in dmesg; the only thing that gets written there after turning
on tethering is "ugen1.3:  at usbus1".


[1] https://github.com/jwise/HoRNDIS/issues/88
[2]
https://github.com/jwise/HoRNDIS/commit/f5dcecf9ce3a3a69d6a2f9d1e66e24d5241b5d0b

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: Problem attaching USB Garmin device

2019-07-28 Thread Mariappan N
Hi HPS,

> Do other USB high speed devices work with your XHCI controller?
>
> I need a USB wire analyzer hooked onto the device between the Garmin and
> the computer to get further with this and compare it with the working case.
>
   Other USB devices were working fine when connect to the XHCI controller 
except the Garmin device.

I have an USB 2.0 analyzer and taken the trace for both Garmin and other 
working device. I will send by tomorrow.

> Did you check if there exist new firmware for your Garmin

Yet to check whether any new firmware released for Garmin device.

Thanks,


From: Hans Petter Selasky 
Sent: Saturday, July 27, 2019 4:45 PM
To: Mariappan N ; freebsd-usb@freebsd.org 

Subject: Re: Problem attaching USB Garmin device

On 2019-07-27 13:03, Hans Petter Selasky wrote:
> On 2019-07-26 11:43, Mariappan N wrote:
>> Hi HPS,
>>
>> Added hw.usb.xhci.debug=17 at /boot/loader.conf. Attached the dmesg as
>> file with/without device. Please look into. I can give Garmin device
>> details. If possible please look into it.
>>
>> Thanks 🙂
>>
>
> xhci_check_transfer: New remainder: 8
> xhci_check_transfer: TD has I/O error
> xhci_generic_done: xfer=0xc7cd10b0 endpoint=0xc84b808c transfer done
> xhci_generic_done_sub: xfer=0xc7cd10b0[0/2] rem=8/8 status=4
> xhci_device_done: xfer=0xc7cd10b0, endpoint=0xc84b808c, error=18
>
> status=4 means XHCI_TRB_ERROR_XACT
>
> According to section 4.10.2.3 of the xHCI specification this means your
> device is responding with wrong USB PID. This I believe is not a fault
> in the FreeBSD USB stack.
>
> Do other USB high speed devices work with your XHCI controller?
>
> I need a USB wire analyzer hooked onto the device between the Garmin and
> the computer to get further with this and compare it with the working case.
>
> --HPS

Did you check if there exist new firmware for your Garmin?

--HPS

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