Re: r329501 devd doesn't find USB devices

2018-02-18 Thread Ian FREISLICH
On 02/18/18 18:49, Warner Losh wrote:
> On Sun, Feb 18, 2018 at 4:45 PM, Ian FREISLICH
> >
> wrote:
>
> On 02/18/18 18:17, Warner Losh wrote:
>> On Sun, Feb 18, 2018 at 4:12 PM, Ian FREISLICH
>> > > wrote:
>>
>> On 02/18/18 15:09, Warner Losh wrote:
>>> On Sat, Feb 17, 2018 at 9:14 PM, Ian FREISLICH
>>> >> > wrote:
>>>
>>> On 02/17/18 22:48, Warner Losh wrote:
 On Feb 17, 2018 8:24 PM, "Ian FREISLICH"
 > wrote:

 Hi

 Since devmatch some of my USB devices no longer get
 their drivers
 loaded.  It's not clear from UPDATING whether I
 needed to do anything
 beyond building and installing kernel and world as
 well as updating
 /etc.  There was reference to removing
 /etc/devd/usb.conf in another
 thread but its presence or lack thereof makes no
 difference.


 I assume you've fully updated including /etc.
>>>
>>> In as much as 'mergemaster -Ui' fully updates /etc
>>>
 If you can uncomment the devd lines in syslog.conf,
 touch /var/log/devd.log and reboot. Once you are up
 again, please send me /var/log/devd.conf.
>>>
>>> Assuming you mean these lines:
>>>
>>> !devd
>>> *.>=notice 
>>> /var/log/devd.log
>>>
>>> devd produced zero logs on reboot and restart.
>>>
>>>
>>> There should be a lot of output... one line per device
>>> that's attached...  Did you create /var/log/devd.log before
>>> reboot? Is your /dev/log persistent across boots?
>>
>> Lots of output after I changed the priority from 'notice' to
>> 'debug' in syslogd.conf.  Might want to fix that in
>> src/etc/syslogd.conf.
>>
>> 1. Startup:
>>
>> Feb 18 17:43:44 zen devd: Pushing table
>> Feb 18 17:43:44 zen devd: Parsing /etc/devd.conf
>> Feb 18 17:43:44 zen devd: Parsing files in /etc/devd
>> Feb 18 17:43:44 zen devd: Parsing /etc/devd/devmatch.conf
>> Feb 18 17:43:44 zen devd: Parsing /etc/devd/asus.conf
>> Feb 18 17:43:44 zen devd: Parsing /etc/devd/hyperv.conf
>> Feb 18 17:43:44 zen devd: Parsing /etc/devd/uath.conf
>> Feb 18 17:43:44 zen devd: Parsing /etc/devd/ulpt.conf
>> Feb 18 17:43:44 zen devd: Parsing /etc/devd/usb.conf
>> Feb 18 17:43:44 zen devd: Parsing /etc/devd/zfs.conf
>> Feb 18 17:43:44 zen devd: Parsing files in /usr/local/etc/devd
>> Feb 18 17:43:44 zen devd: Parsing /usr/local/etc/devd/cups.conf
>> Feb 18 17:43:44 zen devd: Parsing
>> /usr/local/etc/devd/webcamd.co nf
>> Feb 18 17:43:44 zen devd: Calling daemon
>>
>>
>> 2. Inserting the USB-C NIC:
>>
>> Feb 18 18:05:53 zen devd: Processing event '!system=DEVFS
>> subsystem=CDEV type=CREATE cdev=usb/0.6.0'
>> Feb 18 18:05:53 zen devd: Pushing table
>> Feb 18 18:05:53 zen devd: Processing notify event
>> Feb 18 18:05:53 zen devd: Popping table
>> Feb 18 18:05:53 zen devd: Processing event '!system=DEVFS
>> subsystem=CDEV type=CREATE cdev=ugen0.6'
>> Feb 18 18:05:53 zen devd: Pushing table
>> Feb 18 18:05:53 zen devd: Processing notify event
>> Feb 18 18:05:53 zen devd: Popping table
>> Feb 18 18:05:53 zen devd: Processing event '!system=DEVFS
>> subsystem=CDEV type=CREATE cdev=usb/0.6.1'
>> Feb 18 18:05:53 zen devd: Pushing table
>> Feb 18 18:05:53 zen devd: Processing notify event
>> Feb 18 18:05:53 zen devd: Popping table
>> Feb 18 18:05:53 zen devd: Processing event '!system=DEVFS
>> subsystem=CDEV type=CREATE cdev=usb/0.6.2'
>> Feb 18 18:05:53 zen devd: Pushing table
>> Feb 18 18:05:53 zen devd: Processing notify event
>> Feb 18 18:05:53 zen devd: Popping table
>> Feb 18 18:05:53 zen devd: Processing event '!system=DEVFS
>> subsystem=CDEV type=CREATE cdev=usb/0.6.3'
>> Feb 18 18:05:53 zen devd: Pushing table
>> Feb 18 18:05:53 zen devd: Processing notify event
>> Feb 18 18:05:53 zen devd: Popping table
>> Feb 18 18:05:53 zen devd: Processing event '!system=USB
>> subsystem=DEVICE type=ATTACH ugen=ugen0.6 cdev=ugen0.6
>> vendor=0x0bda product=0x8153 devclass=0x00 

Re: r329501 devd doesn't find USB devices

2018-02-18 Thread Warner Losh
On Sun, Feb 18, 2018 at 4:45 PM, Ian FREISLICH <
ian.freisl...@capeaugusta.com> wrote:

>
> --
> Ian Freislich
> (M) +1 404 574 0228 <(404)%20574-0228>
>
> On 02/18/18 18:17, Warner Losh wrote:
>
>
>
> On Sun, Feb 18, 2018 at 4:12 PM, Ian FREISLICH <
> ian.freisl...@capeaugusta.com> wrote:
>
>> On 02/18/18 15:09, Warner Losh wrote:
>>
>> On Sat, Feb 17, 2018 at 9:14 PM, Ian FREISLICH <
>> ian.freisl...@capeaugusta.com> wrote:
>>
>>> On 02/17/18 22:48, Warner Losh wrote:
>>>
>>> On Feb 17, 2018 8:24 PM, "Ian FREISLICH" 
>>> wrote:
>>>
>>> Hi
>>>
>>> Since devmatch some of my USB devices no longer get their drivers
>>> loaded.  It's not clear from UPDATING whether I needed to do anything
>>> beyond building and installing kernel and world as well as updating
>>> /etc.  There was reference to removing /etc/devd/usb.conf in another
>>> thread but its presence or lack thereof makes no difference.
>>>
>>>
>>> I assume you've fully updated including /etc.
>>>
>>>
>>> In as much as 'mergemaster -Ui' fully updates /etc
>>>
>>> If you can uncomment the devd lines in syslog.conf, touch
>>> /var/log/devd.log and reboot. Once you are up again, please send me
>>> /var/log/devd.conf.
>>>
>>>
>>> Assuming you mean these lines:
>>>
>>> !devd
>>> *.>=notice  /var/log/devd.log
>>>
>>> devd produced zero logs on reboot and restart.
>>>
>>
>> There should be a lot of output... one line per device that's
>> attached...  Did you create /var/log/devd.log before reboot? Is your
>> /dev/log persistent across boots?
>>
>>
>> Lots of output after I changed the priority from 'notice' to 'debug' in
>> syslogd.conf.  Might want to fix that in src/etc/syslogd.conf.
>>
>> 1. Startup:
>>
>> Feb 18 17:43:44 zen devd: Pushing table
>> Feb 18 17:43:44 zen devd: Parsing /etc/devd.conf
>> Feb 18 17:43:44 zen devd: Parsing files in /etc/devd
>> Feb 18 17:43:44 zen devd: Parsing /etc/devd/devmatch.conf
>> Feb 18 17:43:44 zen devd: Parsing /etc/devd/asus.conf
>> Feb 18 17:43:44 zen devd: Parsing /etc/devd/hyperv.conf
>> Feb 18 17:43:44 zen devd: Parsing /etc/devd/uath.conf
>> Feb 18 17:43:44 zen devd: Parsing /etc/devd/ulpt.conf
>> Feb 18 17:43:44 zen devd: Parsing /etc/devd/usb.conf
>> Feb 18 17:43:44 zen devd: Parsing /etc/devd/zfs.conf
>> Feb 18 17:43:44 zen devd: Parsing files in /usr/local/etc/devd
>> Feb 18 17:43:44 zen devd: Parsing /usr/local/etc/devd/cups.conf
>> Feb 18 17:43:44 zen devd: Parsing /usr/local/etc/devd/webcamd.conf
>> Feb 18 17:43:44 zen devd: Calling daemon
>>
>>
>> 2. Inserting the USB-C NIC:
>>
>> Feb 18 18:05:53 zen devd: Processing event '!system=DEVFS subsystem=CDEV
>> type=CREATE cdev=usb/0.6.0'
>> Feb 18 18:05:53 zen devd: Pushing table
>> Feb 18 18:05:53 zen devd: Processing notify event
>> Feb 18 18:05:53 zen devd: Popping table
>> Feb 18 18:05:53 zen devd: Processing event '!system=DEVFS subsystem=CDEV
>> type=CREATE cdev=ugen0.6'
>> Feb 18 18:05:53 zen devd: Pushing table
>> Feb 18 18:05:53 zen devd: Processing notify event
>> Feb 18 18:05:53 zen devd: Popping table
>> Feb 18 18:05:53 zen devd: Processing event '!system=DEVFS subsystem=CDEV
>> type=CREATE cdev=usb/0.6.1'
>> Feb 18 18:05:53 zen devd: Pushing table
>> Feb 18 18:05:53 zen devd: Processing notify event
>> Feb 18 18:05:53 zen devd: Popping table
>> Feb 18 18:05:53 zen devd: Processing event '!system=DEVFS subsystem=CDEV
>> type=CREATE cdev=usb/0.6.2'
>> Feb 18 18:05:53 zen devd: Pushing table
>> Feb 18 18:05:53 zen devd: Processing notify event
>> Feb 18 18:05:53 zen devd: Popping table
>> Feb 18 18:05:53 zen devd: Processing event '!system=DEVFS subsystem=CDEV
>> type=CREATE cdev=usb/0.6.3'
>> Feb 18 18:05:53 zen devd: Pushing table
>> Feb 18 18:05:53 zen devd: Processing notify event
>> Feb 18 18:05:53 zen devd: Popping table
>> Feb 18 18:05:53 zen devd: Processing event '!system=USB subsystem=DEVICE
>> type=ATTACH ugen=ugen0.6 cdev=ugen0.6 vendor=0x0bda product=0x8153
>> devclass=0x00 devsubclass=0x00 sernum="01" release=0x3000 mode=host
>> port=13 parent=ugen0.1'
>> Feb 18 18:05:53 zen devd: Pushing table
>> Feb 18 18:05:53 zen devd: Processing notify event
>> Feb 18 18:05:53 zen devd: Popping table
>> Feb 18 18:05:53 zen devd: Processing event '!system=USB
>> subsystem=INTERFACE type=ATTACH ugen=ugen0.6 cdev=ugen0.6 vendor=0x0bda
>> product=0x8153 devclass=0x00 devsubclass=0x00 sernum="01"
>> release=0x3000 mode=host interface=0 endpoints=3 intclass=0xff
>> intsubclass=0xff intprotocol=0x00'
>> Feb 18 18:05:53 zen devd: Pushing table
>> Feb 18 18:05:53 zen devd: Processing notify event
>> Feb 18 18:05:53 zen devd: Executing '/usr/local/etc/rc.d/webcamd start
>> ugen0.6'
>> Feb 18 18:05:53 zen devd: Popping table
>> Feb 18 18:05:53 zen devd: Processing event '? at bus=0 hubaddr=1 port=13
>> devaddr=6 interface=0 ugen=ugen0.6 vendor=0x0bda product=0x8153
>> devclass=0x00 devsubclass=0x00 devproto=0x00 sernum="01" release=0x3000
>> mode=host intclass=0xff 

Re: r329501 devd doesn't find USB devices

2018-02-18 Thread Ian FREISLICH

-- 
Ian Freislich
(M) +1 404 574 0228

On 02/18/18 18:17, Warner Losh wrote:
>
>
> On Sun, Feb 18, 2018 at 4:12 PM, Ian FREISLICH
> >
> wrote:
>
> On 02/18/18 15:09, Warner Losh wrote:
>> On Sat, Feb 17, 2018 at 9:14 PM, Ian FREISLICH
>> > > wrote:
>>
>> On 02/17/18 22:48, Warner Losh wrote:
>>> On Feb 17, 2018 8:24 PM, "Ian FREISLICH"
>>> >> > wrote:
>>>
>>> Hi
>>>
>>> Since devmatch some of my USB devices no longer get
>>> their drivers
>>> loaded.  It's not clear from UPDATING whether I needed
>>> to do anything
>>> beyond building and installing kernel and world as well
>>> as updating
>>> /etc.  There was reference to removing
>>> /etc/devd/usb.conf in another
>>> thread but its presence or lack thereof makes no difference.
>>>
>>>
>>> I assume you've fully updated including /etc.
>>
>> In as much as 'mergemaster -Ui' fully updates /etc
>>
>>> If you can uncomment the devd lines in syslog.conf, touch
>>> /var/log/devd.log and reboot. Once you are up again, please
>>> send me /var/log/devd.conf.
>>
>> Assuming you mean these lines:
>>
>> !devd
>> *.>=notice  /var/log/devd.log
>>
>> devd produced zero logs on reboot and restart.
>>
>>
>> There should be a lot of output... one line per device that's
>> attached...  Did you create /var/log/devd.log before reboot? Is
>> your /dev/log persistent across boots?
>
> Lots of output after I changed the priority from 'notice' to
> 'debug' in syslogd.conf.  Might want to fix that in
> src/etc/syslogd.conf.
>
> 1. Startup:
>
> Feb 18 17:43:44 zen devd: Pushing table
> Feb 18 17:43:44 zen devd: Parsing /etc/devd.conf
> Feb 18 17:43:44 zen devd: Parsing files in /etc/devd
> Feb 18 17:43:44 zen devd: Parsing /etc/devd/devmatch.conf
> Feb 18 17:43:44 zen devd: Parsing /etc/devd/asus.conf
> Feb 18 17:43:44 zen devd: Parsing /etc/devd/hyperv.conf
> Feb 18 17:43:44 zen devd: Parsing /etc/devd/uath.conf
> Feb 18 17:43:44 zen devd: Parsing /etc/devd/ulpt.conf
> Feb 18 17:43:44 zen devd: Parsing /etc/devd/usb.conf
> Feb 18 17:43:44 zen devd: Parsing /etc/devd/zfs.conf
> Feb 18 17:43:44 zen devd: Parsing files in /usr/local/etc/devd
> Feb 18 17:43:44 zen devd: Parsing /usr/local/etc/devd/cups.conf
> Feb 18 17:43:44 zen devd: Parsing /usr/local/etc/devd/webcamd.conf
> Feb 18 17:43:44 zen devd: Calling daemon
>
>
> 2. Inserting the USB-C NIC:
>
> Feb 18 18:05:53 zen devd: Processing event '!system=DEVFS
> subsystem=CDEV type=CREATE cdev=usb/0.6.0'
> Feb 18 18:05:53 zen devd: Pushing table
> Feb 18 18:05:53 zen devd: Processing notify event
> Feb 18 18:05:53 zen devd: Popping table
> Feb 18 18:05:53 zen devd: Processing event '!system=DEVFS
> subsystem=CDEV type=CREATE cdev=ugen0.6'
> Feb 18 18:05:53 zen devd: Pushing table
> Feb 18 18:05:53 zen devd: Processing notify event
> Feb 18 18:05:53 zen devd: Popping table
> Feb 18 18:05:53 zen devd: Processing event '!system=DEVFS
> subsystem=CDEV type=CREATE cdev=usb/0.6.1'
> Feb 18 18:05:53 zen devd: Pushing table
> Feb 18 18:05:53 zen devd: Processing notify event
> Feb 18 18:05:53 zen devd: Popping table
> Feb 18 18:05:53 zen devd: Processing event '!system=DEVFS
> subsystem=CDEV type=CREATE cdev=usb/0.6.2'
> Feb 18 18:05:53 zen devd: Pushing table
> Feb 18 18:05:53 zen devd: Processing notify event
> Feb 18 18:05:53 zen devd: Popping table
> Feb 18 18:05:53 zen devd: Processing event '!system=DEVFS
> subsystem=CDEV type=CREATE cdev=usb/0.6.3'
> Feb 18 18:05:53 zen devd: Pushing table
> Feb 18 18:05:53 zen devd: Processing notify event
> Feb 18 18:05:53 zen devd: Popping table
> Feb 18 18:05:53 zen devd: Processing event '!system=USB
> subsystem=DEVICE type=ATTACH ugen=ugen0.6 cdev=ugen0.6
> vendor=0x0bda product=0x8153 devclass=0x00 devsubclass=0x00
> sernum="01" release=0x3000 mode=host port=13 parent=ugen0.1'
> Feb 18 18:05:53 zen devd: Pushing table
> Feb 18 18:05:53 zen devd: Processing notify event
> Feb 18 18:05:53 zen devd: Popping table
> Feb 18 18:05:53 zen devd: Processing event '!system=USB
> subsystem=INTERFACE type=ATTACH ugen=ugen0.6 cdev=ugen0.6
> vendor=0x0bda product=0x8153 devclass=0x00 devsubclass=0x00
> sernum="01" release=0x3000 mode=host interface=0 endpoints=3
> intclass=0xff intsubclass=0xff intprotocol=0x00'
> Feb 18 18:05:53 zen devd: Pushing table
> Feb 18 18:05:53 zen devd: 

Re: r329501 devd doesn't find USB devices

2018-02-18 Thread Ian FREISLICH
On 02/18/18 14:59, Warner Losh wrote:
> On Sun, Feb 18, 2018 at 6:32 AM, Ian FREISLICH
> >
> wrote:
>
> On 02/18/18 02:23, Hans Petter Selasky wrote:
> > On 02/18/18 05:14, Ian FREISLICH wrote:
> >> On 02/17/18 22:48, Warner Losh wrote:
> >>> On Feb 17, 2018 8:24 PM, "Ian FREISLICH"
> >>>  
>  >>
> >>> wrote:
> >>>
> >>>  Hi
> >>>
> >>>  Since devmatch some of my USB devices no longer get their
> drivers
> >>>  loaded.  It's not clear from UPDATING whether I needed to do
> >>> anything
> >>>  beyond building and installing kernel and world as well as
> >>> updating
> >>>  /etc.  There was reference to removing /etc/devd/usb.conf in
> >>> another
> >>>  thread but its presence or lack thereof makes no difference.
> >>>
> >>>
> >>> I assume you've fully updated including /etc.
> >>
> >> In as much as 'mergemaster -Ui' fully updates /etc
> >>
> >>> If you can uncomment the devd lines in syslog.conf, touch
> >>> /var/log/devd.log and reboot. Once you are up again, please
> send me
> >>> /var/log/devd.conf.
> >>
> >> Assuming you mean these lines:
> >>
> >> !devd
> >> *.>=notice  /var/log/devd.log
> >>
> >> devd produced zero logs on reboot and restart.
> >
> > Can you run:
> >
> > usbconfig show_ifdrv
> >
> > Maybe the wrong driver captured your device?
>
> ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER
> (5.0Gbps) pwr=SAVE (0mA)
> ugen0.1.0: uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00,
> addr 1>
> ugen0.2:  at usbus0, cfg=0 md=HOST
> spd=HIGH (480Mbps) pwr=ON (500mA)
> ugen0.3:  at usbus0, cfg=0 md=HOST
> spd=FULL (12Mbps) pwr=ON (100mA)
> ugen0.3.0: ubt0:  2.00/0.10, addr 2>
> ugen0.4:  at usbus0, cfg=0 md=HOST spd=FULL
> (12Mbps) pwr=ON (100mA)
> ugen0.5:  at usbus0, cfg=0 md=HOST
> spd=FULL (12Mbps) pwr=ON (100mA)
> ugen0.6:  at usbus0, cfg=0 md=HOST spd=SUPER
> (5.0Gbps) pwr=ON (72mA)
>
> After loading ums and ukbd:
>
> ugen0.5:  at usbus0, cfg=0 md=HOST
> spd=FULL (12Mbps) pwr=ON (100mA)
> ugen0.5.0: ukbd0:  1.10/10.01, addr 5>
> ugen0.5.1: ums0:  1.10/10.01, addr 5>
>
>
> So what happens if you build these drivers into the kernel vs loading
> them?
>
> Warner 


-- 

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


Re: r329501 devd doesn't find USB devices

2018-02-18 Thread Warner Losh
On Sun, Feb 18, 2018 at 4:12 PM, Ian FREISLICH <
ian.freisl...@capeaugusta.com> wrote:

> On 02/18/18 15:09, Warner Losh wrote:
>
> On Sat, Feb 17, 2018 at 9:14 PM, Ian FREISLICH <
> ian.freisl...@capeaugusta.com> wrote:
>
>> On 02/17/18 22:48, Warner Losh wrote:
>>
>> On Feb 17, 2018 8:24 PM, "Ian FREISLICH" 
>> wrote:
>>
>> Hi
>>
>> Since devmatch some of my USB devices no longer get their drivers
>> loaded.  It's not clear from UPDATING whether I needed to do anything
>> beyond building and installing kernel and world as well as updating
>> /etc.  There was reference to removing /etc/devd/usb.conf in another
>> thread but its presence or lack thereof makes no difference.
>>
>>
>> I assume you've fully updated including /etc.
>>
>>
>> In as much as 'mergemaster -Ui' fully updates /etc
>>
>> If you can uncomment the devd lines in syslog.conf, touch
>> /var/log/devd.log and reboot. Once you are up again, please send me
>> /var/log/devd.conf.
>>
>>
>> Assuming you mean these lines:
>>
>> !devd
>> *.>=notice  /var/log/devd.log
>>
>> devd produced zero logs on reboot and restart.
>>
>
> There should be a lot of output... one line per device that's attached...
> Did you create /var/log/devd.log before reboot? Is your /dev/log persistent
> across boots?
>
>
> Lots of output after I changed the priority from 'notice' to 'debug' in
> syslogd.conf.  Might want to fix that in src/etc/syslogd.conf.
>
> 1. Startup:
>
> Feb 18 17:43:44 zen devd: Pushing table
> Feb 18 17:43:44 zen devd: Parsing /etc/devd.conf
> Feb 18 17:43:44 zen devd: Parsing files in /etc/devd
> Feb 18 17:43:44 zen devd: Parsing /etc/devd/devmatch.conf
> Feb 18 17:43:44 zen devd: Parsing /etc/devd/asus.conf
> Feb 18 17:43:44 zen devd: Parsing /etc/devd/hyperv.conf
> Feb 18 17:43:44 zen devd: Parsing /etc/devd/uath.conf
> Feb 18 17:43:44 zen devd: Parsing /etc/devd/ulpt.conf
> Feb 18 17:43:44 zen devd: Parsing /etc/devd/usb.conf
> Feb 18 17:43:44 zen devd: Parsing /etc/devd/zfs.conf
> Feb 18 17:43:44 zen devd: Parsing files in /usr/local/etc/devd
> Feb 18 17:43:44 zen devd: Parsing /usr/local/etc/devd/cups.conf
> Feb 18 17:43:44 zen devd: Parsing /usr/local/etc/devd/webcamd.conf
> Feb 18 17:43:44 zen devd: Calling daemon
>
>
> 2. Inserting the USB-C NIC:
>
> Feb 18 18:05:53 zen devd: Processing event '!system=DEVFS subsystem=CDEV
> type=CREATE cdev=usb/0.6.0'
> Feb 18 18:05:53 zen devd: Pushing table
> Feb 18 18:05:53 zen devd: Processing notify event
> Feb 18 18:05:53 zen devd: Popping table
> Feb 18 18:05:53 zen devd: Processing event '!system=DEVFS subsystem=CDEV
> type=CREATE cdev=ugen0.6'
> Feb 18 18:05:53 zen devd: Pushing table
> Feb 18 18:05:53 zen devd: Processing notify event
> Feb 18 18:05:53 zen devd: Popping table
> Feb 18 18:05:53 zen devd: Processing event '!system=DEVFS subsystem=CDEV
> type=CREATE cdev=usb/0.6.1'
> Feb 18 18:05:53 zen devd: Pushing table
> Feb 18 18:05:53 zen devd: Processing notify event
> Feb 18 18:05:53 zen devd: Popping table
> Feb 18 18:05:53 zen devd: Processing event '!system=DEVFS subsystem=CDEV
> type=CREATE cdev=usb/0.6.2'
> Feb 18 18:05:53 zen devd: Pushing table
> Feb 18 18:05:53 zen devd: Processing notify event
> Feb 18 18:05:53 zen devd: Popping table
> Feb 18 18:05:53 zen devd: Processing event '!system=DEVFS subsystem=CDEV
> type=CREATE cdev=usb/0.6.3'
> Feb 18 18:05:53 zen devd: Pushing table
> Feb 18 18:05:53 zen devd: Processing notify event
> Feb 18 18:05:53 zen devd: Popping table
> Feb 18 18:05:53 zen devd: Processing event '!system=USB subsystem=DEVICE
> type=ATTACH ugen=ugen0.6 cdev=ugen0.6 vendor=0x0bda product=0x8153
> devclass=0x00 devsubclass=0x00 sernum="01" release=0x3000 mode=host
> port=13 parent=ugen0.1'
> Feb 18 18:05:53 zen devd: Pushing table
> Feb 18 18:05:53 zen devd: Processing notify event
> Feb 18 18:05:53 zen devd: Popping table
> Feb 18 18:05:53 zen devd: Processing event '!system=USB
> subsystem=INTERFACE type=ATTACH ugen=ugen0.6 cdev=ugen0.6 vendor=0x0bda
> product=0x8153 devclass=0x00 devsubclass=0x00 sernum="01"
> release=0x3000 mode=host interface=0 endpoints=3 intclass=0xff
> intsubclass=0xff intprotocol=0x00'
> Feb 18 18:05:53 zen devd: Pushing table
> Feb 18 18:05:53 zen devd: Processing notify event
> Feb 18 18:05:53 zen devd: Executing '/usr/local/etc/rc.d/webcamd start
> ugen0.6'
> Feb 18 18:05:53 zen devd: Popping table
> Feb 18 18:05:53 zen devd: Processing event '? at bus=0 hubaddr=1 port=13
> devaddr=6 interface=0 ugen=ugen0.6 vendor=0x0bda product=0x8153
> devclass=0x00 devsubclass=0x00 devproto=0x00 sernum="01" release=0x3000
> mode=host intclass=0xff intsubclass=0xff intprotocol=0x00 on uhub0'
> Feb 18 18:05:53 zen devd: Pushing table
> Feb 18 18:05:53 zen devd: Processing nomatch event
> Feb 18 18:05:53 zen devd: Executing '/etc/rc.d/devmatch start '? at bus=0
> hubaddr=1 port=13 devaddr=6 interface=0 ugen=ugen0.6 vendor=0x0bda
> product=0x8153 devclass=0x00 devsubclass=0x00 

Re: r329501 devd doesn't find USB devices

2018-02-18 Thread Ian FREISLICH
On 02/18/18 18:01, Ian FREISLICH wrote:
> On 02/18/18 14:59, Warner Losh wrote:
>> On Sun, Feb 18, 2018 at 6:32 AM, Ian FREISLICH
>> > > wrote:
>>
>> On 02/18/18 02:23, Hans Petter Selasky wrote:
>> > On 02/18/18 05:14, Ian FREISLICH wrote:
>> >> On 02/17/18 22:48, Warner Losh wrote:
>> >>> On Feb 17, 2018 8:24 PM, "Ian FREISLICH"
>> >>> > 
>> > >>
>> >>> wrote:
>> >>>
>> >>>  Hi
>> >>>
>> >>>  Since devmatch some of my USB devices no longer get
>> their drivers
>> >>>  loaded.  It's not clear from UPDATING whether I needed to do
>> >>> anything
>> >>>  beyond building and installing kernel and world as well as
>> >>> updating
>> >>>  /etc.  There was reference to removing /etc/devd/usb.conf in
>> >>> another
>> >>>  thread but its presence or lack thereof makes no difference.
>> >>>
>> >>>
>> >>> I assume you've fully updated including /etc.
>> >>
>> >> In as much as 'mergemaster -Ui' fully updates /etc
>> >>
>> >>> If you can uncomment the devd lines in syslog.conf, touch
>> >>> /var/log/devd.log and reboot. Once you are up again, please
>> send me
>> >>> /var/log/devd.conf.
>> >>
>> >> Assuming you mean these lines:
>> >>
>> >> !devd
>> >> *.>=notice  /var/log/devd.log
>> >>
>> >> devd produced zero logs on reboot and restart.
>> >
>> > Can you run:
>> >
>> > usbconfig show_ifdrv
>> >
>> > Maybe the wrong driver captured your device?
>>
>> ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER
>> (5.0Gbps) pwr=SAVE (0mA)
>> ugen0.1.0: uhub0: <0x8086 XHCI root HUB, class 9/0, rev
>> 3.00/1.00, addr 1>
>> ugen0.2:  at usbus0, cfg=0 md=HOST
>> spd=HIGH (480Mbps) pwr=ON (500mA)
>> ugen0.3:  at usbus0, cfg=0 md=HOST
>> spd=FULL (12Mbps) pwr=ON (100mA)
>> ugen0.3.0: ubt0: > 2.00/0.10, addr 2>
>> ugen0.4:  at usbus0, cfg=0 md=HOST spd=FULL
>> (12Mbps) pwr=ON (100mA)
>> ugen0.5:  at usbus0, cfg=0 md=HOST
>> spd=FULL (12Mbps) pwr=ON (100mA)
>> ugen0.6:  at usbus0, cfg=0 md=HOST spd=SUPER
>> (5.0Gbps) pwr=ON (72mA)
>>
>> After loading ums and ukbd:
>>
>> ugen0.5:  at usbus0, cfg=0 md=HOST
>> spd=FULL (12Mbps) pwr=ON (100mA)
>> ugen0.5.0: ukbd0: > 1.10/10.01, addr 5>
>> ugen0.5.1: ums0: > 1.10/10.01, addr 5>
>>
>>
>> So what happens if you build these drivers into the kernel vs loading
>> them?

It just works, which is the fix I'm using for now.

Ian

-- 

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


Re: r329501 devd doesn't find USB devices

2018-02-18 Thread Ian FREISLICH
On 02/18/18 15:09, Warner Losh wrote:
> On Sat, Feb 17, 2018 at 9:14 PM, Ian FREISLICH
> >
> wrote:
>
> On 02/17/18 22:48, Warner Losh wrote:
>> On Feb 17, 2018 8:24 PM, "Ian FREISLICH"
>> > > wrote:
>>
>> Hi
>>
>> Since devmatch some of my USB devices no longer get their drivers
>> loaded.  It's not clear from UPDATING whether I needed to do
>> anything
>> beyond building and installing kernel and world as well as
>> updating
>> /etc.  There was reference to removing /etc/devd/usb.conf in
>> another
>> thread but its presence or lack thereof makes no difference.
>>
>>
>> I assume you've fully updated including /etc.
>
> In as much as 'mergemaster -Ui' fully updates /etc
>
>> If you can uncomment the devd lines in syslog.conf, touch
>> /var/log/devd.log and reboot. Once you are up again, please send
>> me /var/log/devd.conf.
>
> Assuming you mean these lines:
>
> !devd
> *.>=notice  /var/log/devd.log
>
> devd produced zero logs on reboot and restart.
>
>
> There should be a lot of output... one line per device that's
> attached...  Did you create /var/log/devd.log before reboot? Is your
> /dev/log persistent across boots?

Lots of output after I changed the priority from 'notice' to 'debug' in
syslogd.conf.  Might want to fix that in src/etc/syslogd.conf.

1. Startup:

Feb 18 17:43:44 zen devd: Pushing table
Feb 18 17:43:44 zen devd: Parsing /etc/devd.conf
Feb 18 17:43:44 zen devd: Parsing files in /etc/devd
Feb 18 17:43:44 zen devd: Parsing /etc/devd/devmatch.conf
Feb 18 17:43:44 zen devd: Parsing /etc/devd/asus.conf
Feb 18 17:43:44 zen devd: Parsing /etc/devd/hyperv.conf
Feb 18 17:43:44 zen devd: Parsing /etc/devd/uath.conf
Feb 18 17:43:44 zen devd: Parsing /etc/devd/ulpt.conf
Feb 18 17:43:44 zen devd: Parsing /etc/devd/usb.conf
Feb 18 17:43:44 zen devd: Parsing /etc/devd/zfs.conf
Feb 18 17:43:44 zen devd: Parsing files in /usr/local/etc/devd
Feb 18 17:43:44 zen devd: Parsing /usr/local/etc/devd/cups.conf
Feb 18 17:43:44 zen devd: Parsing /usr/local/etc/devd/webcamd.conf
Feb 18 17:43:44 zen devd: Calling daemon


2. Inserting the USB-C NIC:

Feb 18 18:05:53 zen devd: Processing event '!system=DEVFS subsystem=CDEV
type=CREATE cdev=usb/0.6.0'
Feb 18 18:05:53 zen devd: Pushing table
Feb 18 18:05:53 zen devd: Processing notify event
Feb 18 18:05:53 zen devd: Popping table
Feb 18 18:05:53 zen devd: Processing event '!system=DEVFS subsystem=CDEV
type=CREATE cdev=ugen0.6'
Feb 18 18:05:53 zen devd: Pushing table
Feb 18 18:05:53 zen devd: Processing notify event
Feb 18 18:05:53 zen devd: Popping table
Feb 18 18:05:53 zen devd: Processing event '!system=DEVFS subsystem=CDEV
type=CREATE cdev=usb/0.6.1'
Feb 18 18:05:53 zen devd: Pushing table
Feb 18 18:05:53 zen devd: Processing notify event
Feb 18 18:05:53 zen devd: Popping table
Feb 18 18:05:53 zen devd: Processing event '!system=DEVFS subsystem=CDEV
type=CREATE cdev=usb/0.6.2'
Feb 18 18:05:53 zen devd: Pushing table
Feb 18 18:05:53 zen devd: Processing notify event
Feb 18 18:05:53 zen devd: Popping table
Feb 18 18:05:53 zen devd: Processing event '!system=DEVFS subsystem=CDEV
type=CREATE cdev=usb/0.6.3'
Feb 18 18:05:53 zen devd: Pushing table
Feb 18 18:05:53 zen devd: Processing notify event
Feb 18 18:05:53 zen devd: Popping table
Feb 18 18:05:53 zen devd: Processing event '!system=USB subsystem=DEVICE
type=ATTACH ugen=ugen0.6 cdev=ugen0.6 vendor=0x0bda product=0x8153
devclass=0x00 devsubclass=0x00 sernum="01" release=0x3000 mode=host
port=13 parent=ugen0.1'
Feb 18 18:05:53 zen devd: Pushing table
Feb 18 18:05:53 zen devd: Processing notify event
Feb 18 18:05:53 zen devd: Popping table
Feb 18 18:05:53 zen devd: Processing event '!system=USB
subsystem=INTERFACE type=ATTACH ugen=ugen0.6 cdev=ugen0.6 vendor=0x0bda
product=0x8153 devclass=0x00 devsubclass=0x00 sernum="01"
release=0x3000 mode=host interface=0 endpoints=3 intclass=0xff
intsubclass=0xff intprotocol=0x00'
Feb 18 18:05:53 zen devd: Pushing table
Feb 18 18:05:53 zen devd: Processing notify event
Feb 18 18:05:53 zen devd: Executing '/usr/local/etc/rc.d/webcamd start
ugen0.6'
Feb 18 18:05:53 zen devd: Popping table
Feb 18 18:05:53 zen devd: Processing event '? at bus=0 hubaddr=1 port=13
devaddr=6 interface=0 ugen=ugen0.6 vendor=0x0bda product=0x8153
devclass=0x00 devsubclass=0x00 devproto=0x00 sernum="01"
release=0x3000 mode=host intclass=0xff intsubclass=0xff intprotocol=0x00
on uhub0'
Feb 18 18:05:53 zen devd: Pushing table
Feb 18 18:05:53 zen devd: Processing nomatch event
Feb 18 18:05:53 zen devd: Executing '/etc/rc.d/devmatch start '? at
bus=0 hubaddr=1 port=13 devaddr=6 interface=0 ugen=ugen0.6 vendor=0x0bda
product=0x8153 devclass=0x00 devsubclass=0x00 devproto=0x00
sernum="01" 

Re: r329501 devd doesn't find USB devices

2018-02-18 Thread Warner Losh
On Sat, Feb 17, 2018 at 9:14 PM, Ian FREISLICH <
ian.freisl...@capeaugusta.com> wrote:

> On 02/17/18 22:48, Warner Losh wrote:
>
> On Feb 17, 2018 8:24 PM, "Ian FREISLICH" 
> wrote:
>
> Hi
>
> Since devmatch some of my USB devices no longer get their drivers
> loaded.  It's not clear from UPDATING whether I needed to do anything
> beyond building and installing kernel and world as well as updating
> /etc.  There was reference to removing /etc/devd/usb.conf in another
> thread but its presence or lack thereof makes no difference.
>
>
> I assume you've fully updated including /etc.
>
>
> In as much as 'mergemaster -Ui' fully updates /etc
>
> If you can uncomment the devd lines in syslog.conf, touch
> /var/log/devd.log and reboot. Once you are up again, please send me
> /var/log/devd.conf.
>
>
> Assuming you mean these lines:
>
> !devd
> *.>=notice  /var/log/devd.log
>
> devd produced zero logs on reboot and restart.
>

There should be a lot of output... one line per device that's attached...
Did you create /var/log/devd.log before reboot? Is your /dev/log persistent
across boots?

Warner


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


Re: r329501 devd doesn't find USB devices

2018-02-18 Thread Warner Losh
On Sun, Feb 18, 2018 at 6:32 AM, Ian FREISLICH <
ian.freisl...@capeaugusta.com> wrote:

> On 02/18/18 02:23, Hans Petter Selasky wrote:
> > On 02/18/18 05:14, Ian FREISLICH wrote:
> >> On 02/17/18 22:48, Warner Losh wrote:
> >>> On Feb 17, 2018 8:24 PM, "Ian FREISLICH"
> >>> >
> >>> wrote:
> >>>
> >>>  Hi
> >>>
> >>>  Since devmatch some of my USB devices no longer get their drivers
> >>>  loaded.  It's not clear from UPDATING whether I needed to do
> >>> anything
> >>>  beyond building and installing kernel and world as well as
> >>> updating
> >>>  /etc.  There was reference to removing /etc/devd/usb.conf in
> >>> another
> >>>  thread but its presence or lack thereof makes no difference.
> >>>
> >>>
> >>> I assume you've fully updated including /etc.
> >>
> >> In as much as 'mergemaster -Ui' fully updates /etc
> >>
> >>> If you can uncomment the devd lines in syslog.conf, touch
> >>> /var/log/devd.log and reboot. Once you are up again, please send me
> >>> /var/log/devd.conf.
> >>
> >> Assuming you mean these lines:
> >>
> >> !devd
> >> *.>=notice  /var/log/devd.log
> >>
> >> devd produced zero logs on reboot and restart.
> >
> > Can you run:
> >
> > usbconfig show_ifdrv
> >
> > Maybe the wrong driver captured your device?
>
> ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER
> (5.0Gbps) pwr=SAVE (0mA)
> ugen0.1.0: uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1>
> ugen0.2:  at usbus0, cfg=0 md=HOST
> spd=HIGH (480Mbps) pwr=ON (500mA)
> ugen0.3:  at usbus0, cfg=0 md=HOST
> spd=FULL (12Mbps) pwr=ON (100mA)
> ugen0.3.0: ubt0:  2.00/0.10, addr 2>
> ugen0.4:  at usbus0, cfg=0 md=HOST spd=FULL
> (12Mbps) pwr=ON (100mA)
> ugen0.5:  at usbus0, cfg=0 md=HOST
> spd=FULL (12Mbps) pwr=ON (100mA)
> ugen0.6:  at usbus0, cfg=0 md=HOST spd=SUPER
> (5.0Gbps) pwr=ON (72mA)
>
> After loading ums and ukbd:
>
> ugen0.5:  at usbus0, cfg=0 md=HOST
> spd=FULL (12Mbps) pwr=ON (100mA)
> ugen0.5.0: ukbd0:  1.10/10.01, addr 5>
> ugen0.5.1: ums0:  1.10/10.01, addr 5>
>

So what happens if you build these drivers into the kernel vs loading them?

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


Re: r329501 devd doesn't find USB devices

2018-02-18 Thread Ian FREISLICH
On 02/18/18 02:23, Hans Petter Selasky wrote:
> On 02/18/18 05:14, Ian FREISLICH wrote:
>> On 02/17/18 22:48, Warner Losh wrote:
>>> On Feb 17, 2018 8:24 PM, "Ian FREISLICH"
>>> >
>>> wrote:
>>>
>>>  Hi
>>>
>>>  Since devmatch some of my USB devices no longer get their drivers
>>>  loaded.  It's not clear from UPDATING whether I needed to do
>>> anything
>>>  beyond building and installing kernel and world as well as
>>> updating
>>>  /etc.  There was reference to removing /etc/devd/usb.conf in
>>> another
>>>  thread but its presence or lack thereof makes no difference.
>>>
>>>
>>> I assume you've fully updated including /etc.
>>
>> In as much as 'mergemaster -Ui' fully updates /etc
>>
>>> If you can uncomment the devd lines in syslog.conf, touch
>>> /var/log/devd.log and reboot. Once you are up again, please send me
>>> /var/log/devd.conf.
>>
>> Assuming you mean these lines:
>>
>> !devd
>> *.>=notice  /var/log/devd.log
>>
>> devd produced zero logs on reboot and restart.
>
> Can you run:
>
> usbconfig show_ifdrv
>
> Maybe the wrong driver captured your device?

ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER
(5.0Gbps) pwr=SAVE (0mA)
ugen0.1.0: uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1>
ugen0.2:  at usbus0, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=ON (500mA)
ugen0.3:  at usbus0, cfg=0 md=HOST
spd=FULL (12Mbps) pwr=ON (100mA)
ugen0.3.0: ubt0: 
ugen0.4:  at usbus0, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=ON (100mA)
ugen0.5:  at usbus0, cfg=0 md=HOST
spd=FULL (12Mbps) pwr=ON (100mA)
ugen0.6:  at usbus0, cfg=0 md=HOST spd=SUPER
(5.0Gbps) pwr=ON (72mA)

After loading ums and ukbd:

ugen0.5:  at usbus0, cfg=0 md=HOST
spd=FULL (12Mbps) pwr=ON (100mA)
ugen0.5.0: ukbd0: 
ugen0.5.1: ums0: 

> Try running:
>
> usbconfig -d X.Y reset

This produces no kernel messages, no difference to drivers.


-- 

ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) 
pwr=SAVE (0mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0300 
  bDeviceClass = 0x0009  
  bDeviceSubClass = 0x 
  bDeviceProtocol = 0x0003 
  bMaxPacketSize0 = 0x0009 
  idVendor = 0x 
  idProduct = 0x 
  bcdDevice = 0x0100 
  iManufacturer = 0x0001  <0x8086>
  iProduct = 0x0002  
  iSerialNumber = 0x  
  bNumConfigurations = 0x0001 

ugen0.2:  at usbus0, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=ON (500mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x00ef  
  bDeviceSubClass = 0x0002 
  bDeviceProtocol = 0x0001 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x13d3 
  idProduct = 0x5755 
  bcdDevice = 0x1612 
  iManufacturer = 0x0003  
  iProduct = 0x0001  
  iSerialNumber = 0x0002  <0001>
  bNumConfigurations = 0x0001 

ugen0.3:  at usbus0, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON (100mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x00e0  
  bDeviceSubClass = 0x0001 
  bDeviceProtocol = 0x0001 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x8087 
  idProduct = 0x0a2b 
  bcdDevice = 0x0010 
  iManufacturer = 0x  
  iProduct = 0x  
  iSerialNumber = 0x  
  bNumConfigurations = 0x0001 

ugen0.4:  at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) 
pwr=ON (100mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x  
  bDeviceSubClass = 0x 
  bDeviceProtocol = 0x 
  bMaxPacketSize0 = 0x0008 
  idVendor = 0x04f3 
  idProduct = 0x0903 
  bcdDevice = 0x0135 
  iManufacturer = 0x0001  
  iProduct = 0x0002  
  iSerialNumber = 0x  
  bNumConfigurations = 0x0001 

ugen0.5:  at usbus0, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON (100mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0110 
  bDeviceClass = 0x  
  bDeviceSubClass = 0x 
  bDeviceProtocol = 0x 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x24ae 
  idProduct = 0x2000 
  bcdDevice = 0x1001 
  iManufacturer = 0x0001  
  iProduct = 0x0002  
  iSerialNumber = 0x  
  bNumConfigurations = 0x0001 

ugen0.6:  at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) 
pwr=ON (72mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0300 
  bDeviceClass = 0x  
  bDeviceSubClass = 0x 
  bDeviceProtocol = 0x 
  bMaxPacketSize0 = 0x0009 
  idVendor = 0x0bda 
  idProduct = 0x8153 
  bcdDevice = 0x3000 
  iManufacturer = 0x0001  
  iProduct = 0x0002  
  iSerialNumber = 0x0006  <01>
  bNumConfigurations = 0x0002 

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


Re: r329501 devd doesn't find USB devices

2018-02-17 Thread Hans Petter Selasky

On 02/18/18 05:14, Ian FREISLICH wrote:

On 02/17/18 22:48, Warner Losh wrote:

On Feb 17, 2018 8:24 PM, "Ian FREISLICH"
>
wrote:

 Hi

 Since devmatch some of my USB devices no longer get their drivers
 loaded.  It's not clear from UPDATING whether I needed to do anything
 beyond building and installing kernel and world as well as updating
 /etc.  There was reference to removing /etc/devd/usb.conf in another
 thread but its presence or lack thereof makes no difference.


I assume you've fully updated including /etc.


In as much as 'mergemaster -Ui' fully updates /etc


If you can uncomment the devd lines in syslog.conf, touch
/var/log/devd.log and reboot. Once you are up again, please send me
/var/log/devd.conf.


Assuming you mean these lines:

!devd
*.>=notice  /var/log/devd.log

devd produced zero logs on reboot and restart.


Can you run:

usbconfig show_ifdrv

Maybe the wrong driver captured your device?

Try running:

usbconfig -d X.Y reset

--HPS

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


Re: r329501 devd doesn't find USB devices

2018-02-17 Thread Ian FREISLICH
On 02/17/18 22:48, Warner Losh wrote:
> On Feb 17, 2018 8:24 PM, "Ian FREISLICH"
> >
> wrote:
>
> Hi
>
> Since devmatch some of my USB devices no longer get their drivers
> loaded.  It's not clear from UPDATING whether I needed to do anything
> beyond building and installing kernel and world as well as updating
> /etc.  There was reference to removing /etc/devd/usb.conf in another
> thread but its presence or lack thereof makes no difference.
>
>
> I assume you've fully updated including /etc.

In as much as 'mergemaster -Ui' fully updates /etc

> If you can uncomment the devd lines in syslog.conf, touch
> /var/log/devd.log and reboot. Once you are up again, please send me
> /var/log/devd.conf.

Assuming you mean these lines:

!devd
*.>=notice  /var/log/devd.log

devd produced zero logs on reboot and restart.

Ian


-- 

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


Re: r329501 devd doesn't find USB devices

2018-02-17 Thread Warner Losh
On Feb 17, 2018 8:24 PM, "Ian FREISLICH" 
wrote:

Hi

Since devmatch some of my USB devices no longer get their drivers
loaded.  It's not clear from UPDATING whether I needed to do anything
beyond building and installing kernel and world as well as updating
/etc.  There was reference to removing /etc/devd/usb.conf in another
thread but its presence or lack thereof makes no difference.


I assume you've fully updated including /etc.

if_ure:
ugen0.6:  at usbus0, cfg=0 md=HOST spd=SUPER
(5.0Gbps) pwr=ON (72mA)

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0300
  bDeviceClass = 0x  
  bDeviceSubClass = 0x
  bDeviceProtocol = 0x
  bMaxPacketSize0 = 0x0009
  idVendor = 0x0bda
  idProduct = 0x8153
  bcdDevice = 0x3000
  iManufacturer = 0x0001  
  iProduct = 0x0002  
  iSerialNumber = 0x0006  <01>
  bNumConfigurations = 0x0002

ums, ukbd:
ugen0.2:  at usbus0, cfg=0 md=HOST
spd=FULL (12Mbps) pwr=ON (100mA)

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0110
  bDeviceClass = 0x  
  bDeviceSubClass = 0x
  bDeviceProtocol = 0x
  bMaxPacketSize0 = 0x0040
  idVendor = 0x24ae
  idProduct = 0x2000
  bcdDevice = 0x1001
  iManufacturer = 0x0001  
  iProduct = 0x0002  
  iSerialNumber = 0x  
  bNumConfigurations = 0x0001


If you can uncomment the devd lines in syslog.conf, touch /var/log/devd.log
and reboot. Once you are up again, please send me /var/log/devd.conf.

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


r329501 devd doesn't find USB devices

2018-02-17 Thread Ian FREISLICH
Hi

Since devmatch some of my USB devices no longer get their drivers
loaded.  It's not clear from UPDATING whether I needed to do anything
beyond building and installing kernel and world as well as updating
/etc.  There was reference to removing /etc/devd/usb.conf in another
thread but its presence or lack thereof makes no difference.

if_ure:
ugen0.6:  at usbus0, cfg=0 md=HOST spd=SUPER
(5.0Gbps) pwr=ON (72mA)

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0300
  bDeviceClass = 0x  
  bDeviceSubClass = 0x
  bDeviceProtocol = 0x
  bMaxPacketSize0 = 0x0009
  idVendor = 0x0bda
  idProduct = 0x8153
  bcdDevice = 0x3000
  iManufacturer = 0x0001  
  iProduct = 0x0002  
  iSerialNumber = 0x0006  <01>
  bNumConfigurations = 0x0002

ums, ukbd:
ugen0.2:  at usbus0, cfg=0 md=HOST
spd=FULL (12Mbps) pwr=ON (100mA)

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0110
  bDeviceClass = 0x  
  bDeviceSubClass = 0x
  bDeviceProtocol = 0x
  bMaxPacketSize0 = 0x0040
  idVendor = 0x24ae
  idProduct = 0x2000
  bcdDevice = 0x1001
  iManufacturer = 0x0001  
  iProduct = 0x0002  
  iSerialNumber = 0x  
  bNumConfigurations = 0x0001

Ian

-- 
Ian Freislich


-- 

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