devd in r329188M don't start

classic Classic list List threaded Threaded
24 messages Options
12
Reply | Threaded
Open this post in threaded view
|

devd in r329188M don't start

Alex V. Petrov
after update, devd don't starting with:
devd: Cannot parse /etc/devd/devmatch.conf at line 13

(file default!)

If I disable it, don't work mouse in xorg.

--
-----
Alex.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: devd in r329188M don't start

Hans Petter Selasky-6
On 02/13/18 09:02, Alex V. Petrov wrote:
> after update, devd don't starting with:
> devd: Cannot parse /etc/devd/devmatch.conf at line 13
>
> (file default!)
>
> If I disable it, don't work mouse in xorg.
>

I think there is a missing ";" at the end of line 13. Try adding one.

--HPS
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: devd in r329188M don't start

Hans Petter Selasky-6
In reply to this post by Alex V. Petrov
On 02/13/18 09:02, Alex V. Petrov wrote:
> after update, devd don't starting with:
> devd: Cannot parse /etc/devd/devmatch.conf at line 13
>
> (file default!)
>
> If I disable it, don't work mouse in xorg.
>

https://svnweb.freebsd.org/changeset/base/329194

--HPS
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: devd in r329188M don't start

Alex V. Petrov
In /var/log/messages:
devd: line 13: }: syntax error

File /etc/devd/devmatch.conf (11-13 lines):
nomatch 100 {
        action "service devmatch start"
};

13.02.2018 15:08, Hans Petter Selasky пишет:

> On 02/13/18 09:02, Alex V. Petrov wrote:
>> after update, devd don't starting with:
>> devd: Cannot parse /etc/devd/devmatch.conf at line 13
>>
>> (file default!)
>>
>> If I disable it, don't work mouse in xorg.
>>
>
> https://svnweb.freebsd.org/changeset/base/329194
>
> --HPS
>

--
-----
Alex.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: devd in r329188M don't start

Alex V. Petrov
In reply to this post by Hans Petter Selasky-6
Mouse start work only after handly:
kldload ums

usb.conf is not found anywhere in the system. This is normal?


13.02.2018 15:08, Hans Petter Selasky пишет:

> On 02/13/18 09:02, Alex V. Petrov wrote:
>> after update, devd don't starting with:
>> devd: Cannot parse /etc/devd/devmatch.conf at line 13
>>
>> (file default!)
>>
>> If I disable it, don't work mouse in xorg.
>>
>
> https://svnweb.freebsd.org/changeset/base/329194
>
> --HPS
>

--
-----
Alex.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: devd in r329188M don't start

Hans Petter Selasky-6
On 02/13/18 10:20, Alex V. Petrov wrote:
> usb.conf is not found anywhere in the system. This is normal?

devmatch is supposed to replace usb.conf . The contents of usb.conf is
now part of the linker hints, /boot/kernel/linker.hints .

--HPS
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: devd in r329188M don't start

Alex V. Petrov
Why is not the driver loaded when the mouse is connected?

13.02.2018 16:19, Hans Petter Selasky пишет:
> On 02/13/18 10:20, Alex V. Petrov wrote:
>> usb.conf is not found anywhere in the system. This is normal?
>
> devmatch is supposed to replace usb.conf . The contents of usb.conf is
> now part of the linker hints, /boot/kernel/linker.hints .
>
> --HPS
>

--
-----
Alex.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: devd in r329188M don't start

Jakob Alvermark-2
+1

My USB mouse was working fine before the switch to devmatch. Now I have
to 'kldload ums' manually.

Same for USB audio, snd_uaudio.ko was loaded by devd before.


Jakob


On 02/13/18 10:34, Alex V. Petrov wrote:

> Why is not the driver loaded when the mouse is connected?
>
> 13.02.2018 16:19, Hans Petter Selasky пишет:
>> On 02/13/18 10:20, Alex V. Petrov wrote:
>>> usb.conf is not found anywhere in the system. This is normal?
>> devmatch is supposed to replace usb.conf . The contents of usb.conf is
>> now part of the linker hints, /boot/kernel/linker.hints .
>>
>> --HPS
>>

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: devd in r329188M don't start

Hans Petter Selasky-6
On 02/13/18 10:47, Jakob Alvermark wrote:
> +1
>
> My USB mouse was working fine before the switch to devmatch. Now I have
> to 'kldload ums' manually.
>
> Same for USB audio, snd_uaudio.ko was loaded by devd before.
>

Hi,

This is a known issue.

Can you try the attached patch?

Rebuild devmatch(8) and reinstall /etc/devd/devmatch.conf and
/etc/rc.d/devmatch only.

--HPS

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"

devmatch.diff (9K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: devd in r329188M don't start

Alex V. Petrov
Yes, for me it works.
Thank you.

13.02.2018 19:50, Hans Petter Selasky пишет:

> On 02/13/18 10:47, Jakob Alvermark wrote:
>> +1
>>
>> My USB mouse was working fine before the switch to devmatch. Now I
>> have to 'kldload ums' manually.
>>
>> Same for USB audio, snd_uaudio.ko was loaded by devd before.
>>
>
> Hi,
>
> This is a known issue.
>
> Can you try the attached patch?
>
> Rebuild devmatch(8) and reinstall /etc/devd/devmatch.conf and
> /etc/rc.d/devmatch only.
>
> --HPS
>
>
> _______________________________________________
> [hidden email] mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "[hidden email]"
>

--
-----
Alex.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: devd in r329188M don't start

Jakob Alvermark-2
In reply to this post by Hans Petter Selasky-6
Yes, it seems to be working. Thanks!


Jakob


On 02/13/18 13:50, Hans Petter Selasky wrote:

> On 02/13/18 10:47, Jakob Alvermark wrote:
>> +1
>>
>> My USB mouse was working fine before the switch to devmatch. Now I
>> have to 'kldload ums' manually.
>>
>> Same for USB audio, snd_uaudio.ko was loaded by devd before.
>>
>
> Hi,
>
> This is a known issue.
>
> Can you try the attached patch?
>
> Rebuild devmatch(8) and reinstall /etc/devd/devmatch.conf and
> /etc/rc.d/devmatch only.
>
> --HPS

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: devd in r329188M don't start

Lawrence Stewart-3
In reply to this post by Hans Petter Selasky-6
On 13/02/2018 23:50, Hans Petter Selasky wrote:

> On 02/13/18 10:47, Jakob Alvermark wrote:
>> +1
>>
>> My USB mouse was working fine before the switch to devmatch. Now I
>> have to 'kldload ums' manually.
>>
>> Same for USB audio, snd_uaudio.ko was loaded by devd before.
>>
>
> Hi,
>
> This is a known issue.
>
> Can you try the attached patch?
>
> Rebuild devmatch(8) and reinstall /etc/devd/devmatch.conf and
> /etc/rc.d/devmatch only.

+1 for ums mouse breakage on recent upgrade from head 20180201 (Git
9e57d147a97) to head 20180215 (Git 81891e10182). Will build and test
patch on the weekend, but given the 2 success reports already, I presume
it will fix things for me too. I won't follow up to this thread again
unless the patch doesn't work for me. Thanks Hans.

Cheers,
Lawrence
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: devd in r329188M don't start

Rainer Hurling
In reply to this post by Hans Petter Selasky-6
Am 13.02.2018 um 13:50 schrieb Hans Petter Selasky:

> On 02/13/18 10:47, Jakob Alvermark wrote:
>> +1
>>
>> My USB mouse was working fine before the switch to devmatch. Now I
>> have to 'kldload ums' manually.
>>
>> Same for USB audio, snd_uaudio.ko was loaded by devd before.
>>
>
> Hi,
>
> This is a known issue.
>
> Can you try the attached patch?
>
> Rebuild devmatch(8) and reinstall /etc/devd/devmatch.conf and
> /etc/rc.d/devmatch only.
>
> --HPS


Is there any chance to get this committed into base in the near future?

Thanks for any answer,
Rainer Hurling
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: devd in r329188M don't start

Warner Losh
On Thu, Feb 15, 2018 at 11:12 PM, Rainer Hurling <[hidden email]> wrote:

> Am 13.02.2018 um 13:50 schrieb Hans Petter Selasky:
>
>> On 02/13/18 10:47, Jakob Alvermark wrote:
>>
>>> +1
>>>
>>> My USB mouse was working fine before the switch to devmatch. Now I have
>>> to 'kldload ums' manually.
>>>
>>> Same for USB audio, snd_uaudio.ko was loaded by devd before.
>>>
>>>
>> Hi,
>>
>> This is a known issue.
>>
>> Can you try the attached patch?
>>
>> Rebuild devmatch(8) and reinstall /etc/devd/devmatch.conf and
>> /etc/rc.d/devmatch only.
>>
>> --HPS
>>
>
>
> Is there any chance to get this committed into base in the near future?
>

Yes.

Warner
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: devd in r329188M don't start

Rainer Hurling
Am 16.02.2018 um 07:17 schrieb Warner Losh:

>
>
> On Thu, Feb 15, 2018 at 11:12 PM, Rainer Hurling <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Am 13.02.2018 um 13:50 schrieb Hans Petter Selasky:
>
>         On 02/13/18 10:47, Jakob Alvermark wrote:
>
>             +1
>
>             My USB mouse was working fine before the switch to devmatch.
>             Now I have to 'kldload ums' manually.
>
>             Same for USB audio, snd_uaudio.ko was loaded by devd before.
>
>
>         Hi,
>
>         This is a known issue.
>
>         Can you try the attached patch?
>
>         Rebuild devmatch(8) and reinstall /etc/devd/devmatch.conf and
>         /etc/rc.d/devmatch only.
>
>         --HPS
>
>
>
>     Is there any chance to get this committed into base in the near future?
>
>
> Yes.
>
> Warner

Nice, thanks :)
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: devd in r329188M don't start

Alex V. Petrov
In reply to this post by Hans Petter Selasky-6
12.0-CURRENT #12 r329446M: Sat Feb 17 17:11:05 +07 2018:
on boot multilines:

devmatch: Malformed NOMATCH string: ''?''

mouse don't start


13.02.2018 19:50, Hans Petter Selasky пишет:

> On 02/13/18 10:47, Jakob Alvermark wrote:
>> +1
>>
>> My USB mouse was working fine before the switch to devmatch. Now I
>> have to 'kldload ums' manually.
>>
>> Same for USB audio, snd_uaudio.ko was loaded by devd before.
>>
>
> Hi,
>
> This is a known issue.
>
> Can you try the attached patch?
>
> Rebuild devmatch(8) and reinstall /etc/devd/devmatch.conf and
> /etc/rc.d/devmatch only.
>
> --HPS
>
>
> _______________________________________________
> [hidden email] mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "[hidden email]"
>

--
-----
Alex.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: devd in r329188M don't start

Hans Petter Selasky-6
On 02/17/18 11:38, Alex V. Petrov wrote:
> 12.0-CURRENT #12 r329446M: Sat Feb 17 17:11:05 +07 2018:
> on boot multilines:
>
> devmatch: Malformed NOMATCH string: ''?''
>

Can you try these two patches:

https://svnweb.freebsd.org/changeset/base/329455
https://svnweb.freebsd.org/changeset/base/329456

Obviously USB attaching was not tested before submitting.

--HPS

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: devd in r329188M don't start

Alex V. Petrov
devmatch: Malformed NOMATCH string: ''?'' persists


17.02.2018 20:31, Hans Petter Selasky пишет:

> On 02/17/18 11:38, Alex V. Petrov wrote:
>> 12.0-CURRENT #12 r329446M: Sat Feb 17 17:11:05 +07 2018:
>> on boot multilines:
>>
>> devmatch: Malformed NOMATCH string: ''?''
>>
>
> Can you try these two patches:
>
> https://svnweb.freebsd.org/changeset/base/329455
> https://svnweb.freebsd.org/changeset/base/329456
>
> Obviously USB attaching was not tested before submitting.
>
> --HPS
>
>

--
-----
Alex.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: devd in r329188M don't start

Hans Petter Selasky-6
On 02/17/18 14:51, Alex V. Petrov wrote:
> devmatch: Malformed NOMATCH string: ''?'' persists
>
>

Did you reinstall /etc ?

--HPS

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: devd in r329188M don't start

Alex V. Petrov
Sorry, prev msg this only afrer one patch.
Now is all OK.

17.02.2018 21:18, Hans Petter Selasky пишет:

> On 02/17/18 14:51, Alex V. Petrov wrote:
>> devmatch: Malformed NOMATCH string: ''?'' persists
>>
>>
>
> Did you reinstall /etc ?
>
> --HPS
>
>

--
-----
Alex.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
12