-
Notifications
You must be signed in to change notification settings - Fork 442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to set alternate setting on USB interface (Connection timed out) #535
Comments
I have the same problem too. With debian stretch, libnfc and pkg-config installed for compilation from source : cat /etc/modprobe.d/blacklist-libnfc.conf not enough after rebbot, I have to manually run But it still does not work. Not any pcscd service on my system. I have not ideas, anybody ? |
i have exact same problem !
i have install rules --> no effect my config : Ubuntu Mate 18.04.2 LTS Amd64 and 4.15.0-45-generic |
But if I run the service pcscd so, the player work and biip on my nfc tags. |
same problem |
I have the same problem. Ubuntu 18.04 , and I tried debian 9.8.0 liveCD. There is a kernel message after calling nfc-scan-device -v : usbfs : process 3206 ( pcscd ) did not claim interface 0 before use Maybe a wrong version of library ? I can use any linux distrib, which version is easy to use acr122 ? |
Hello, I have the same problem too |
Hello, |
Commenting line 433 of acr122_usb.c, replacing it by "res = 0;" seems to fix the issue on my machine. |
Yes !, |
Hello, I'm a novice. |
Up Please, what is the steps to edit the line ? |
You need to clone the repo, edit the file aforementionned, recompile the lib. |
Edit : for me, the fix works in read but i can't write, I try it
with nfc-mfclassic.
I try another new acr122u device and i can read and write without fix !
Le lun. 20 mai 2019 13:54, Benjamin Lafois <notifications@github.com> a
écrit :
… Up Please, what is the steps to edit the line ?
You need to clone the repo, edit the file aforementionned, recompile the
lib.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#535?email_source=notifications&email_token=AE36BBAJ7JXMRSZJWIHRQCLPWKGPZA5CNFSM4HB5WOB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVYSO6A#issuecomment-493954936>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AE36BBHDL74HRKYXAUL4KNLPWKGPZANCNFSM4HB5WOBQ>
.
|
@sublimz entonces que camino hay que tomar? por mi parte he probado en distintas distribuciones, hasta con la version 1.7.0 de libnfc y mismo error, estoy sospechando que el problema sea el propio lector, a lo cual no le encuentro explicacion, alguna sugerencia o alternativa para poder darle paso de una vez por todas a mfcuk? |
Hi! Have tried to change the value in the file, now I still get the error, but it has changed: error libnfc.driver.acr122_usb Unable to set alternate setting on USB interface (Success) Any clues? |
I'm facing the same issue ...
|
I also have the same issue. I tried it on a Raspberry (Raspian) and on a PC (Debian) both with a 4.19 + kernel. my log from the pc: sudo LIBNFC_LOG_LEVEL=3 nfc-list during this log the pcscd service is stopped but I get the same result with the service started. |
Hi, |
I also have this issue, using a acr122u-a9, Ubuntu 18.04, tried the current libnfc and the previous release, I can get the pcsc driver to work, but following the instructions to recompile with acr122_usb, and blacklisting the modules, and stopping pcscd results in the connection time out error - is this a problem with just the A9 variant of the device, if so I will order an older version. Has anyone found a solution? |
Same problem with ACR122U-A9. |
The same here with Kali, no matter the version, with pn533_usb and pn533 blacklisted :( |
Same problem here |
I'm having the same issue, is there going to be fix for this? |
I got the same issue |
Quick and dirty fix for nfc-tools#535
A small update 6 months later :
|
Here is the fastest workaround I managed to do with a live USB key |
This workaround does actually work for me. Thanks a lot! |
For french readers, i wrote a blog post about the full "Unable to set alternate setting on USB interface" story with a solution to make this ACR122U to work on Kali latest version. For non-french readers, i guess you will be able to pick the right commands :) |
Thanks Alexandre, i read your post. Are you trying to write NFC device with
the fix? I can read but not write.
Le jeu. 3 oct. 2019 à 10:44, alexandredubois <notifications@github.com> a
écrit :
… For french readers, i wrote a blog post about the full "Unable to set
alternate setting on USB interface" story with a solution to make this
ACR122U to work on Kali latest version.
For non-french readers, i guess you will be able to pick the right
commands :)
https://www.latelierdugeek.fr/2019/09/30/acr122u-resoudre-lerreur-unable-to-set-alternate-setting-on-usb-interface/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#535?email_source=notifications&email_token=AE36BBGHE6R2MTTWOTACS4DQMWWGBA5CNFSM4HB5WOB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAHO52Y#issuecomment-537849579>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AE36BBGHWDHAZAHL66KPWU3QMWWGBANCNFSM4HB5WOBQ>
.
|
I wrote and read various tags with the fix. Can you share the error you
encountered?
…On Thu, Oct 3, 2019 at 1:03 PM sublimz ***@***.***> wrote:
Thanks Alexandre, i read your post. Are you trying to write NFC device with
the fix? I can read but not write.
Le jeu. 3 oct. 2019 à 10:44, alexandredubois ***@***.***> a
écrit :
> For french readers, i wrote a blog post about the full "Unable to set
> alternate setting on USB interface" story with a solution to make this
> ACR122U to work on Kali latest version.
>
> For non-french readers, i guess you will be able to pick the right
> commands :)
>
>
>
https://www.latelierdugeek.fr/2019/09/30/acr122u-resoudre-lerreur-unable-to-set-alternate-setting-on-usb-interface/
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <
#535?email_source=notifications&email_token=AE36BBGHE6R2MTTWOTACS4DQMWWGBA5CNFSM4HB5WOB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAHO52Y#issuecomment-537849579
>,
> or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/AE36BBGHWDHAZAHL66KPWU3QMWWGBANCNFSM4HB5WOBQ
>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#535?email_source=notifications&email_token=AAHBFWE3A54BIP55VJFMG53QMXGOLA5CNFSM4HB5WOB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAH2SFQ#issuecomment-537897238>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAHBFWBX2UDAZZHKM3DMUGTQMXGOLANCNFSM4HB5WOBQ>
.
--
Alexandre DUBOIS
|
Hi, if you haven't bothered to read the explanations in French.
|
building the drivers new without the alternative USB setting case wouldn't work for me... `root@kali:~# nfc-list ` |
Hi, are you using the compiled libraries? Perhaps old libraries are in the system. (type and ldd may help) Regards, |
I just experienced the issue on a Raspberry Pi with Raspbian (based on Debian 10 Buster) and libnfc 1.7.1. Tomorrow, this issue will be one year old. Is the fix by jpwidera here: jpwidera@a77a2a8 still the way to go? |
Hi, Since my apt repositories does not have the up-to-date version of libnfc (only 1.7.1), then I took the release 1.8.0 from github, extracted it, and Now |
Hi frends, i resolve this question !!!!
/*
Selected drivers:
/etc/modprobe.d/blacklist-libnfc.conf should be the following, add / change #blacklist nfc
modprobe nfc
|
It's actually a huge pain to compile from sources. After
After that the device worked but the LED and Sound where not generated while reading cards... |
Hello,
I get the following message using my ACR_122U
Is someone familiar with this problem ? Any idea of what i can look for to troubleshoot this ?
The text was updated successfully, but these errors were encountered: