[vz-users] Probleme mit dem USB Lesekopf und Linux Raspberry Pi

Udo1 udo1 at gmx.net
Tue Oct 25 11:56:22 CEST 2016


Am 25.10.2016 um 11:05 schrieb Marc Haber:
> hast Du ein/lib/udev/rules.d/*serial*  
Nein. Nur diese:
pi at raspberrypi:/lib/udev/rules.d $ ls
10-local-rpi.rules                   64-btrfs.rules
40-usb_modeswitch.rules              70-power-switch.rules
42-usb-hid-pm.rules                  70-uaccess.rules
50-bluetooth-hci-auto-poweron.rules  71-seat.rules
50-firmware.rules                    73-idrac.rules
50-udev-default.rules                73-seat-late.rules
55-dm.rules                          75-net-description.rules
60-cdrom_id.rules 75-persistent-net-generator.rules
60-crda.rules                        75-probe_mtd.rules
60-drm.rules                         75-tty-description.rules
60-gnupg.rules                       78-sound-card.rules
60-keyboard.rules                    80-drivers.rules
60-persistent-alsa.rules             80-net-setup-link.rules
60-persistent-input.rules            80-networking.rules
60-persistent-serial.rules           85-hwclock.rules
60-persistent-storage-dm.rules       85-regulatory.rules
60-persistent-storage.rules          90-alsa-restore.rules
60-persistent-storage-tape.rules     95-udev-late.rules
60-persistent-v4l.rules              97-hid2hci.rules
60-triggerhappy.rules                99-systemd.rules
61-accelerometer.rules

Der Inhalt von 75-tty-description.rules ist:
pi at raspberrypi:/lib/udev/rules.d $ cat 75-tty-description.rules
# do not edit this file, it will be overwritten on update

ACTION=="remove", GOTO="tty_end"
SUBSYSTEM!="tty", GOTO="tty_end"

SUBSYSTEMS=="usb", IMPORT{builtin}="usb_id", IMPORT{builtin}="hwdb 
--subsystem=usb"
SUBSYSTEMS=="usb", GOTO="tty_end"

SUBSYSTEMS=="pci", ENV{ID_BUS}="pci", ENV{ID_VENDOR_ID}="$attr{vendor}", 
ENV{ID_MODEL_ID}="$attr{device}"
SUBSYSTEMS=="pci", IMPORT{builtin}="hwdb --subsystem=pci"

LABEL="tty_end"


Gruß
Udo


More information about the volkszaehler-users mailing list