Re: bug#36498: modem["ttyUSB0"]: error starting PPP: Could not find "pppd" binary

2019-07-05 Thread Adam Mazurkiewicz
sob., 6 lip 2019 o 04:01 Adam Mazurkiewicz  napisał(a):
>
> pt., 5 lip 2019 o 03:24 pelzflorian (Florian Pelz)
>  napisał(a):
> >
> > On Thu, Jul 04, 2019 at 06:08:55PM +0200, pelzflorian (Florian Pelz) wrote:
> > > On Thu, Jul 04, 2019 at 04:46:32PM +0200, pelzflorian (Florian Pelz) 
> > > wrote:
> > > > (git
> > > reset --hard master, then git am this-new-patch and reconfigure.)
> > >
> >
> > Sorry, I meant to write `git reset --hard master^` with a ^ to get rid
> > of the previous patch.
> >
> > I would be much obliged if you could test, because my modem works
> > without NetworkManager needing to find pppd.
> >
> > Regards,
> > Florian
>
> Thanks for your replies, Florian. I used the patch from your first
> reply. Then the ability to choose the modem disappeared from nm. Then
> I typed out the git reset command you mentioned in your third reply
> and it still was a lack of the modem option in nm. Log messages are
> these now:
>
> s@s /root/debianek/home/s/mirrors/work-tree/guix$ cat
> /var/log/messages |grep -i modem |grep 'Jul  6 05:41'
> Jul  6 05:41:40 localhost dbus-daemon[316]: [system] Activating
> service name='org.freedesktop.ModemManager1' requested by ':1.3'
> (uid=0 pid=319 comm="/gnu/store/97as7cp13ivsi97ia58gh18m3q6fc5hi-networ")
> (using servicehelper)
> Jul  6 05:41:40 localhost ModemManager[407]:   ModemManager
> (version 1.4.14) starting in system bus...
> Jul  6 05:41:40 localhost dbus-daemon[316]: [system] Successfully
> activated service 'org.freedesktop.ModemManager1'
> Jul  6 05:41:40 localhost NetworkManager[319]: 
> [1562384500.1841] modem-manager: ModemManager not available
> Jul  6 05:41:40 localhost NetworkManager[319]: 
> [1562384500.1937] modem-manager: ModemManager now available
> Jul  6 05:41:42 localhost ModemManager[407]:   Couldn't find
> support for device at
> '/sys/devices/pci:00/:00:1c.2/:02:00.0': not supported by
> any plugin
> s@s /root/debianek/home/s/mirrors/work-tree/guix$
>
> Regards,
> Adam

And I used the patch you add in your second reply. So the log messages
are after the git reset command and using the second patch.
Regards,
Adam



Re: bug#36498: modem["ttyUSB0"]: error starting PPP: Could not find "pppd" binary

2019-07-05 Thread Adam Mazurkiewicz
pt., 5 lip 2019 o 03:24 pelzflorian (Florian Pelz)
 napisał(a):
>
> On Thu, Jul 04, 2019 at 06:08:55PM +0200, pelzflorian (Florian Pelz) wrote:
> > On Thu, Jul 04, 2019 at 04:46:32PM +0200, pelzflorian (Florian Pelz) wrote:
> > > (git
> > reset --hard master, then git am this-new-patch and reconfigure.)
> >
>
> Sorry, I meant to write `git reset --hard master^` with a ^ to get rid
> of the previous patch.
>
> I would be much obliged if you could test, because my modem works
> without NetworkManager needing to find pppd.
>
> Regards,
> Florian

Thanks for your replies, Florian. I used the patch from your first
reply. Then the ability to choose the modem disappeared from nm. Then
I typed out the git reset command you mentioned in your third reply
and it still was a lack of the modem option in nm. Log messages are
these now:

s@s /root/debianek/home/s/mirrors/work-tree/guix$ cat
/var/log/messages |grep -i modem |grep 'Jul  6 05:41'
Jul  6 05:41:40 localhost dbus-daemon[316]: [system] Activating
service name='org.freedesktop.ModemManager1' requested by ':1.3'
(uid=0 pid=319 comm="/gnu/store/97as7cp13ivsi97ia58gh18m3q6fc5hi-networ")
(using servicehelper)
Jul  6 05:41:40 localhost ModemManager[407]:   ModemManager
(version 1.4.14) starting in system bus...
Jul  6 05:41:40 localhost dbus-daemon[316]: [system] Successfully
activated service 'org.freedesktop.ModemManager1'
Jul  6 05:41:40 localhost NetworkManager[319]: 
[1562384500.1841] modem-manager: ModemManager not available
Jul  6 05:41:40 localhost NetworkManager[319]: 
[1562384500.1937] modem-manager: ModemManager now available
Jul  6 05:41:42 localhost ModemManager[407]:   Couldn't find
support for device at
'/sys/devices/pci:00/:00:1c.2/:02:00.0': not supported by
any plugin
s@s /root/debianek/home/s/mirrors/work-tree/guix$

Regards,
Adam



Re: Adding NitoKey Rules to U-Dev Rules

2019-07-05 Thread Mike Gerwitz
On Fri, Jul 05, 2019 at 15:56:26 -0400, Raghav Gururajan wrote:
> I have NitroKey (https://nitrokey.com). To make it work, it appears
> nitrokey rules (https://raw.githubusercontent.com/Nitrokey/libnitrokey/
> master/data/41-nitrokey.rules) has to be added to udev rules
> (/etc/udev/rules.d/). Not sure how to do this in guix way. Any ideas?

Is it not working for you today?

I have a Nitrokey Pro that I purchased at least a couple years back that
I use every day on a Guix system, including to sign this email.  Here's
my dmesg output:

--8<---cut here---start->8---
[12763.938755] usb 6-2: new full-speed USB device number 9 using uhci_hcd
[12764.125823] usb 6-2: New USB device found, idVendor=20a0, idProduct=4108, 
bcdDevice= 1.00
[12764.125827] usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[12764.125830] usb 6-2: Product: Nitrokey Pro
[12764.125832] usb 6-2: Manufacturer: Nitrokey
[12764.125835] usb 6-2: SerialNumber: 
[12764.134361] input: Nitrokey Nitrokey Pro as 
/devices/pci:00/:00:1d.0/usb6/6-2/6-2:1.0/0003:20A0:4108.0008/input/input20
[12764.191376] hid-generic 0003:20A0:4108.0008: input,hidraw0: USB HID v1.10 
Keyboard [Nitrokey Nitrokey Pro] on usb-:00:1d.0-2/input0
--8<---cut here---end--->8---

Maybe there's trouble with newer versions or different types of keys,
though.

With regards to udev rules---I haven't done so myself, but see
`udev-rule' in the Guix manual under `Base Services'.

-- 
Mike Gerwitz
Free Software Hacker+Activist | GNU Maintainer & Volunteer
GPG: D6E9 B930 028A 6C38 F43B  2388 FEF6 3574 5E6F 6D05
https://mikegerwitz.com


signature.asc
Description: PGP signature


Adding NitoKey Rules to U-Dev Rules

2019-07-05 Thread Raghav Gururajan
Hello Guix!

I have NitroKey (https://nitrokey.com). To make it work, it appears
nitrokey rules (https://raw.githubusercontent.com/Nitrokey/libnitrokey/
master/data/41-nitrokey.rules) has to be added to udev rules
(/etc/udev/rules.d/). Not sure how to do this in guix way. Any ideas?

Thank you!

Regards,
RG.