-
Notifications
You must be signed in to change notification settings - Fork 397
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
RFID is working only sometimes #1083
Comments
The reader seems to disconnect, see here:
Could you please check, if there's an issue with the hardware, e.g. loose cable, something broken, etc? |
I believe this one of our attempts to remove and reconnect the device. What we currently see is, that after booting it is not working (same as in 2.0) but when we disconnect and reconnect the reader it seems to work. I have an assumption that maybe the reader is initialized too early in the boot process, is this possible? One ting that's also strange: If we shutdown the RPI while music is playing and we start up again we first get the rfid beep, then the music starts and then - while the music plays - we get a startup sound melody. Maybe something in disorder? |
Are you experiencing this issue in combination with resume or shuffle? We released 2.2 a couple of days ago with fixes for both resume and shuffle, so you might want to check, if this fixes also your issue. |
It's working fine meanwhile |
Bug
This is a strange behaviour I could not track down.
When we start or restart the raspberry it seems as if everything is initialized correctly. The rfid is beeping, the leds are blinking and also the jukebox startup sound is playing.
But every now and then the rfid reader is not recognizing any cards. It's not beeping when holding a card to it while the other time when we switched the raspi on it worked flawlessly.
None of the logs show any errors or warnings which we could connect to the rfid reader.
What I did
sed -i -e 's/sudo poweroff/sudo shutdown -h 0/g' /home/pi/RPi-Jukebox-RFID/scripts/playout_controls.sh
What happened
unknown but even another RFID reader (same product type) is producing the same outcome
I expected this to happen
RFID Reader is working every time correctly
Further information that might help
Software
Base image and version
pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Branch / Release
pi@raspberrypi:~ $ cd /home/pi/RPi-Jukebox-RFID/ && git status | head -2
Auf Branch master
Ihr Branch ist auf demselben Stand wie 'origin/master'.
Installscript
cd; rm buster-install-*; wget https://raw.githubusercontent.com/MiczFlor/RPi-Jukebox-RFID/master/scripts/installscripts/buster-install-default.sh; chmod +x buster-install-default.sh; ./buster-install-default.sh
Hardware
RaspberryPi version
Raspberry Pi 3 Model B Rev 1.2
RFID Reader
Bus 001 Device 006: ID 413d:2107
idVendor 0x413d
idProduct 0x2107
Mitfahre card Reader M301
Soundcard
Bus 001 Device 004: ID 8086:0808 Intel Corp.
iManufacturer 1 C-Media Electronics Inc.
iProduct 2 USB PnP Sound Device
Other notable hardware
The text was updated successfully, but these errors were encountered: