<div dir="ltr">Hallo.<div><br></div><div><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif">>Der Lesekopf wird richtig erkannt und auch die Schnittstelle via udev Regel erstellt.</span> </div><div><br></div><div>Die Fehlermeldung würde aber sagen das eben der Kopf nicht gefunden wird. Hast du denn geprüft ob die udev Rule auch wirklich einen Link erstellt?</div><div><br></div><div>Grüße<br><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">Hendrik Kirsch <<a href="mailto:Hendrik.Kirsch@t-online.de">Hendrik.Kirsch@t-online.de</a>> schrieb am Di., 25. Okt. 2016 um 08:42 Uhr:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000" class="gmail_msg">
<br class="gmail_msg">
<div class="m_-5089111820253756826moz-forward-container gmail_msg">
Hallo zusammen,<br class="gmail_msg">
<br class="gmail_msg">
ich habe ein Problem seit einem Update von meinem Raspberry Pi mit
den Lesekopf von Udo.<br class="gmail_msg">
Udo hat mir empfohlen mich an die Mailingliste zu posten, da er
sich nicht sehr gut mit Linux aus kennt.<br class="gmail_msg">
<br class="gmail_msg">
Das System ist ca 2 Jahre jetzt gelaufen. Nach einem update auf
folgende Pakete :<br class="gmail_msg">
<br class="gmail_msg">
<blockquote class="gmail_msg">
<blockquote class="gmail_msg">Linux raspberrypi 4.4.13+ #894 Mon Jun 13 124326 BST
2016 armv6l GNULinux<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
php5-gd:armhf (5.6.24+dfsg-0+deb8u1, 5.6.26+dfsg-0+deb8u1)<br class="gmail_msg">
libirs-export91:armhf (9.9.5.dfsg-9+deb8u6,
9.9.5.dfsg-9+deb8u7)<br class="gmail_msg">
raspberrypi-sys-mods:armhf (20160916, 20161018+3)<br class="gmail_msg">
libdns-export100:armhf (9.9.5.dfsg-9+deb8u6,
9.9.5.dfsg-9+deb8u7)<br class="gmail_msg">
libraspberrypi-doc:armhf (1.20160620-1, 1.20160921-1)<br class="gmail_msg">
libapache2-mod-php5:armhf (5.6.24+dfsg-0+deb8u1,
5.6.26+dfsg-0+deb8u1)<br class="gmail_msg">
libssl-dev:armhf (1.0.1t-1+deb8u3, 1.0.1t-1+deb8u5)<br class="gmail_msg">
libgd3:armhf (2.1.0-5+deb8u6, 2.1.0-5+deb8u7)<br class="gmail_msg">
libarchive13:armhf (3.1.2-11+deb8u2, 3.1.2-11+deb8u3)<br class="gmail_msg">
raspberrypi-kernel:armhf (1.20160620-1, 1.20160921-1)<br class="gmail_msg">
libisccc90:armhf (9.9.5.dfsg-9+deb8u6, 9.9.5.dfsg-9+deb8u7)<br class="gmail_msg">
php5-readline:armhf (5.6.24+dfsg-0+deb8u1,
5.6.26+dfsg-0+deb8u1)<br class="gmail_msg">
libisc-export95:armhf (9.9.5.dfsg-9+deb8u6,
9.9.5.dfsg-9+deb8u7)<br class="gmail_msg">
libssl-doc:armhf (1.0.1t-1+deb8u3, 1.0.1t-1+deb8u5)<br class="gmail_msg">
libraspberrypi-bin:armhf (1.20160620-1, 1.20160921-1)<br class="gmail_msg">
libisc95:armhf (9.9.5.dfsg-9+deb8u6, 9.9.5.dfsg-9+deb8u7)<br class="gmail_msg">
libdbd-mysql-perl:armhf (4.028-2+deb8u1, 4.028-2+deb8u2)<br class="gmail_msg">
libbind9-90:armhf (9.9.5.dfsg-9+deb8u6, 9.9.5.dfsg-9+deb8u7)<br class="gmail_msg">
libdns100:armhf (9.9.5.dfsg-9+deb8u6, 9.9.5.dfsg-9+deb8u7)<br class="gmail_msg">
liblwres90:armhf (9.9.5.dfsg-9+deb8u6, 9.9.5.dfsg-9+deb8u7)<br class="gmail_msg">
openssl:armhf (1.0.1t-1+deb8u3, 1.0.1t-1+deb8u5)<br class="gmail_msg">
raspi-config:armhf (20160527, 20161013)<br class="gmail_msg">
raspberrypi-bootloader:armhf (1.20160620-1, 1.20160921-1)<br class="gmail_msg">
libisccfg90:armhf (9.9.5.dfsg-9+deb8u6, 9.9.5.dfsg-9+deb8u7)<br class="gmail_msg">
libraspberrypi0:armhf (1.20160620-1, 1.20160921-1)<br class="gmail_msg">
bind9-host:armhf (9.9.5.dfsg-9+deb8u6, 9.9.5.dfsg-9+deb8u7)<br class="gmail_msg">
php5-mysql:armhf (5.6.24+dfsg-0+deb8u1, 5.6.26+dfsg-0+deb8u1)<br class="gmail_msg">
libisccfg-export90:armhf (9.9.5.dfsg-9+deb8u6,
9.9.5.dfsg-9+deb8u7)<br class="gmail_msg">
php5-common:armhf (5.6.24+dfsg-0+deb8u1, 5.6.26+dfsg-0+deb8u1)<br class="gmail_msg">
php5-cli:armhf (5.6.24+dfsg-0+deb8u1, 5.6.26+dfsg-0+deb8u1)<br class="gmail_msg">
libraspberrypi-dev:armhf (1.20160620-1, 1.20160921-1)<br class="gmail_msg">
php5-mcrypt:armhf (5.6.24+dfsg-0+deb8u1, 5.6.26+dfsg-0+deb8u1)<br class="gmail_msg">
libssl1.0.0:armhf (1.0.1t-1+deb8u3, 1.0.1t-1+deb8u5)<br class="gmail_msg">
<br class="gmail_msg">
</blockquote>
</blockquote>
<br class="gmail_msg">
habe ich nun die Fehler Meldung von meinem Script bekommen: <br class="gmail_msg">
Das auslesen mache ich mit einem Perl Script über socat<br class="gmail_msg">
<br class="gmail_msg">
<blockquote class="gmail_msg">
<blockquote class="gmail_msg">echo '\x2f\x3f\x21\x0d\x0a' | socat -T 1 -
/dev/lesekopf0,raw,echo=0,b300,parenb=1,parodd=0,cs7,cstopb=0<br class="gmail_msg">
<br class="gmail_msg">
2016/10/24 16:11:46 socat[3312] E tcgetattr(5, 0xbe9dc0a0):
Inappropriate ioctl for device<br class="gmail_msg">
2016/10/24 16:11:46 socat[3313] E tcgetattr(5, 0xbeb860a0):
Inappropriate ioctl for device<br class="gmail_msg">
2016/10/24 16:11:46 socat[3316] E tcgetattr(5, 0xbe8870a0):
Inappropriate ioctl for device<br class="gmail_msg">
2016/10/24 16:11:46 socat[3317] E tcgetattr(5, 0xbea200a0):
Inappropriate ioctl for device<br class="gmail_msg">
</blockquote>
</blockquote>
Der Lesekopf wird richtig erkannt und auch die Schnittstelle via
udev Regel erstellt.<br class="gmail_msg">
<br class="gmail_msg">
<blockquote class="gmail_msg">
<blockquote class="gmail_msg">SUBSYSTEM=="tty", ATTRS{product}=="CP2104 USB to
UART Bridge Controller", ATTRS{serial}=="0079E47A",
NAME="lesekopf0"<br class="gmail_msg">
</blockquote>
</blockquote>
dmesg sagt (nur USB-teil):<br class="gmail_msg">
<br class="gmail_msg">
<blockquote class="gmail_msg">
<blockquote class="gmail_msg">[ 0.249562] usbcore: registered new interface
driver usbfs<br class="gmail_msg">
[ 0.249697] usbcore: registered new interface driver hub<br class="gmail_msg">
[ 0.249900] usbcore: registered new device driver usb<br class="gmail_msg">
[ 1.240814] usbcore: registered new interface driver
smsc95xx<br class="gmail_msg">
[ 1.<a href="tel:643180" value="+43643180" class="gmail_msg" target="_blank">643180</a>] dwc_otg 20980000.usb: DWC OTG Controller<br class="gmail_msg">
[ 1.<a href="tel:643254" value="+43643254" class="gmail_msg" target="_blank">643254</a>] dwc_otg 20980000.usb: new USB bus registered,
assigned bus
number
1<br class="gmail_msg">
[ 1.<a href="tel:643331" value="+43643331" class="gmail_msg" target="_blank">643331</a>] dwc_otg 20980000.usb: irq 56, io mem 0x00000000<br class="gmail_msg">
[ 1.<a href="tel:643802" value="+43643802" class="gmail_msg" target="_blank">643802</a>] usb usb1: New USB device found, idVendor=1d6b,
idProduct=0002<br class="gmail_msg">
[ 1.<a href="tel:643830" value="+43643830" class="gmail_msg" target="_blank">643830</a>] usb usb1: New USB device strings: Mfr=3,
Product=2,
SerialNumber=
1<br class="gmail_msg">
[ 1.<a href="tel:643849" value="+43643849" class="gmail_msg" target="_blank">643849</a>] usb usb1: Product: DWC OTG Controller<br class="gmail_msg">
[ 1.<a href="tel:643866" value="+43643866" class="gmail_msg" target="_blank">643866</a>] usb usb1: Manufacturer: Linux 4.4.13+
dwc_otg_hcd<br class="gmail_msg">
[ 1.<a href="tel:643882" value="+43643882" class="gmail_msg" target="_blank">643882</a>] usb usb1: SerialNumber: 20980000.usb<br class="gmail_msg">
[ 1.<a href="tel:646680" value="+43646680" class="gmail_msg" target="_blank">646680</a>] usbcore: registered new interface driver
usb-storage<br class="gmail_msg">
[ 1.<a href="tel:725220" value="+43725220" class="gmail_msg" target="_blank">725220</a>] usbcore: registered new interface driver usbhid<br class="gmail_msg">
[ 1.<a href="tel:725240" value="+43725240" class="gmail_msg" target="_blank">725240</a>] usbhid: USB HID core driver<br class="gmail_msg">
[ 2.023165] usb 1-1: new high-speed USB device number 2
using dwc_otg<br class="gmail_msg">
[ 2.<a href="tel:223593" value="+43223593" class="gmail_msg" target="_blank">223593</a>] usb 1-1: New USB device found, idVendor=0424,
idProduct=9514<br class="gmail_msg">
[ 2.<a href="tel:223642" value="+43223642" class="gmail_msg" target="_blank">223642</a>] usb 1-1: New USB device strings: Mfr=0,
Product=0, SerialNumber=0<br class="gmail_msg">
[ 2.503174] usb 1-1.1: new high-speed USB device number 3
using dwc_otg<br class="gmail_msg">
[ 2.603573] usb 1-1.1: New USB device found, idVendor=0424,
idProduct=ec00<br class="gmail_msg">
[ 2.603604] usb 1-1.1: New USB device strings: Mfr=0,
Product=0,
SerialNumber
=0<br class="gmail_msg">
[ 2.668133] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at
usb-20980000.usb-
1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:56:36:70<br class="gmail_msg">
[ 2.763180] usb 1-1.3: new high-speed USB device number 4
using dwc_otg<br class="gmail_msg">
[ 7.843254] usb 1-1.3: device descriptor read/64, error
-110<br class="gmail_msg">
[ 11.<a href="tel:277689" value="+43277689" class="gmail_msg" target="_blank">277689</a>] usb 1-1.3: New USB device found, idVendor=090c,
idProduct=1000<br class="gmail_msg">
[ 11.<a href="tel:277722" value="+43277722" class="gmail_msg" target="_blank">277722</a>] usb 1-1.3: New USB device strings: Mfr=1,
Product=2,
SerialNumber
=3<br class="gmail_msg">
[ 11.<a href="tel:277742" value="+43277742" class="gmail_msg" target="_blank">277742</a>] usb 1-1.3: SerialNumber: AA04012700020281<br class="gmail_msg">
[ 11.279349] usb-storage 1-1.3:1.0: USB Mass Storage device
detected<br class="gmail_msg">
[ 11.280174] scsi host0: usb-storage 1-1.3:1.0<br class="gmail_msg">
[ 11.373172] usb 1-1.5: new full-speed USB device number 5
using dwc_otg<br class="gmail_msg">
[ 11.480825] usb 1-1.5: New USB device found, idVendor=10c4,
idProduct=ea60<br class="gmail_msg">
[ 11.480859] usb 1-1.5: New USB device strings: Mfr=1,
Product=2,
SerialNumber
=3<br class="gmail_msg">
[ 11.480878] usb 1-1.5: Product: CP2104 USB to UART Bridge
Controller<br class="gmail_msg">
[ 11.480895] usb 1-1.5: Manufacturer: Silicon Labs<br class="gmail_msg">
[ 11.480912] usb 1-1.5: SerialNumber: 0079E47A<br class="gmail_msg">
<br class="gmail_msg">
</blockquote>
</blockquote>
Kann mir einer helfen den Lesekopf wieder ins laufen zu bringen?<br class="gmail_msg">
<br class="gmail_msg">
MFG</div></div><div bgcolor="#FFFFFF" text="#000000" class="gmail_msg"><div class="m_-5089111820253756826moz-forward-container gmail_msg"><br class="gmail_msg">
Hendrik Kirsch<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
</div></div></blockquote></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><p dir="ltr">Von meinem Smartphone versendet</p>
</div>