Hab ich probiert aber hat leider keine Veränderung gebracht.
[~] # lsusb
Bus 001 Device 002: ID 059f:1005 LaCie, Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 010: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
[~] # dmesg
...
[268147.716338] usb 2-2: new full-speed USB device number 10 using etxhci_hcd_140522
[268149.812484] usbcore: registered new interface driver usbserial
[268149.812495] usbserial: USB Serial Driver core
[268149.854215] usbcore: registered new interface driver ftdi_sio
[268149.860485] USB Serial support registered for FTDI USB Serial Device
[268149.860643] ftdi_sio 2-2:1.0: FTDI USB Serial Device converter detected
[268149.876418] usb 2-2: Detected FT232RL
[268149.876430] usb 2-2: Number of endpoints 2
[268149.876436] usb 2-2: Endpoint 1 MaxPacketSize 64
[268149.876442] usb 2-2: Endpoint 2 MaxPacketSize 64
[268149.876447] usb 2-2: Setting MaxPacketSize 64
[268149.896546] usb 2-2: FTDI USB Serial Device converter now attached to ttyUSB0
[268149.896572] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
[~] # lsmod
Module Size Used by Tainted: P
ftdi_sio 30155 1 - Live 0xbfab8000
usbserial 25848 3 ftdi_sio, Live 0xbfaab000
fbdisk 23304 0 - Live 0xbf7fb000 (O)
l2tp_ppp 16093 0 - Live 0xbf7f3000
l2tp_eth 3235 0 - Live 0xbf7ef000
l2tp_netlink 7501 2 l2tp_ppp,l2tp_eth, Live 0xbf7ea000
l2tp_ip 6155 0 - Live 0xbf7e5000
l2tp_core 16271 4 l2tp_ppp,l2tp_eth,l2tp_netlink,l2tp_ip, Live 0xbf7dd000
pppoe 10581 0 - Live 0xbf7c3000
pppox 1492 2 l2tp_ppp,pppoe, Live 0xbf7bf000
xfrm6_mode_transport 1063 0 - Live 0xbf786000
xfrm6_mode_tunnel 1419 0 - Live 0xbf782000
xfrm6_mode_beet 1591 0 - Live 0xbf77e000
ipcomp6 1710 0 - Live 0xbf77a000
xfrm6_tunnel 3460 1 ipcomp6, Live 0xbf776000
esp6 6167 0 - Live 0xbf771000
ah6 4904 0 - Live 0xbf76c000
tunnel6 1912 1 xfrm6_tunnel, Live 0xbf768000
ipv6 256292 89 xfrm6_mode_tunnel,xfrm6_mode_beet,ipcomp6,xfrm6_tunnel,esp6,ah6,tunnel6, Live 0xbf715000
xfrm4_tunnel 1438 0 - Live 0xbf711000
ipcomp 1686 0 - Live 0xbf70d000
esp4 6455 0 - Live 0xbf708000
ah4 4900 0 - Live 0xbf703000
xfrm4_mode_transport 1031 0 - Live 0xbf6ff000
xfrm4_mode_tunnel 1568 0 - Live 0xbf6fb000
xfrm4_mode_beet 1845 0 - Live 0xbf6f7000
tunnel4 2147 1 xfrm4_tunnel, Live 0xbf6f3000
af_key 32906 0 - Live 0xbf6e5000
xfrm_ipcomp 3225 2 ipcomp6,ipcomp, Live 0xbf6e1000
xfrm_user 21090 2 - Live 0xbf6d7000
authencesn 7049 0 - Live 0xbf6ce000
authenc 6426 0 - Live 0xbf6c9000
iscsi_tcp 7751 0 - Live 0xbf6b7000 (O)
libiscsi_tcp 11925 1 iscsi_tcp, Live 0xbf6b0000 (O)
libiscsi 30707 2 iscsi_tcp,libiscsi_tcp, Live 0xbf6a2000 (O)
ipt_REDIRECT 910 0 - Live 0xbf69e000
ipt_MASQUERADE 1352 1 - Live 0xbf69a000
iptable_filter 907 0 - Live 0xbf696000
scsi_transport_iscsi 23860 3 iscsi_tcp,libiscsi, Live 0xbf68a000 (O)
ppp_deflate 3882 0 - Live 0xbf686000
iptable_nat 3414 1 - Live 0xbf682000
ip_tables 9912 2 iptable_filter,iptable_nat, Live 0xbf67c000
bsd_comp 5223 0 - Live 0xbf677000
nf_nat 12283 3 ipt_REDIRECT,ipt_MASQUERADE,iptable_nat, Live 0xbf670000
ppp_mppe 5838 0 - Live 0xbf66b000
nf_conntrack_ipv4 5277 3 iptable_nat,nf_nat, Live 0xbf665000
ppp_async 6949 0 - Live 0xbf660000
nf_defrag_ipv4 947 1 nf_conntrack_ipv4, Live 0xbf65c000
xt_tcpudp 2096 0 - Live 0xbf658000
ppp_generic 18404 7 l2tp_ppp,pppoe,pppox,ppp_deflate,bsd_comp,ppp_mppe,ppp_async, Live 0xbf64f000
nf_conntrack 43144 4 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4, Live 0xbf63c000
crc_ccitt 1053 1 ppp_async, Live 0xbf638000
x_tables 12032 6 ipt_REDIRECT,ipt_MASQUERADE,iptable_filter,iptable_nat,ip_tables,xt_tcpudp, Live 0xbf631000
slhc 4777 1 ppp_generic, Live 0xbf62c000
arc4 1011 0 - Live 0xbf628000
tun 13366 0 - Live 0xbf620000
btusb 9582 0 - Live 0xbf605000
bluetooth 189546 7 btusb, Live 0xbf5ca000
uvcvideo 63848 0 - Live 0xbf5b4000
videobuf2_vmalloc 2108 1 uvcvideo, Live 0xbf5b0000
videobuf2_memops 1573 1 videobuf2_vmalloc, Live 0xbf5ac000
videobuf2_core 19097 1 uvcvideo, Live 0xbf5a3000
v4l2_common 5732 0 - Live 0xbf59d000
videodev 81981 2 uvcvideo,v4l2_common, Live 0xbf581000
v4l2_int_device 1978 0 - Live 0xbf57d000
snd_usb_caiaq 30667 0 - Live 0xbf571000
snd_usb_audio 80686 0 - Live 0xbf551000
hid_logitech 8548 0 - Live 0xbf54b000
snd_usbmidi_lib 16712 1 snd_usb_audio, Live 0xbf542000
snd_hwdep 5005 1 snd_usb_audio, Live 0xbf53d000
snd_pcm_oss 37893 0 - Live 0xbf52e000
snd_mixer_oss 13566 1 snd_pcm_oss, Live 0xbf526000
snd_pcm 61047 3 snd_usb_caiaq,snd_usb_audio,snd_pcm_oss, Live 0xbf50f000
snd_seq_oss 26319 0 - Live 0xbf503000
snd_seq_midi 4038 0 - Live 0xbf4ff000
snd_seq_midi_event 4719 2 snd_seq_oss,snd_seq_midi, Live 0xbf4fa000
snd_seq 44731 5 snd_seq_oss,snd_seq_midi,snd_seq_midi_event, Live 0xbf4e8000
snd_rawmidi 16391 3 snd_usb_caiaq,snd_usbmidi_lib,snd_seq_midi, Live 0xbf4df000
snd_page_alloc 4782 1 snd_pcm, Live 0xbf4da000
snd_seq_device 4885 4 snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi, Live 0xbf4d5000
snd_timer 16550 2 snd_pcm,snd_seq, Live 0xbf4cc000
snd 41192 12 snd_usb_caiaq,snd_usb_audio,snd_usbmidi_lib,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_seq,snd_rawmidi,snd_seq_device,snd_timer, Live 0xbf4ba000
soundcore 4879 1 snd, Live 0xbf4b5000
md4 3514 0 - Live 0xbf4b1000
ecb 1703 0 - Live 0xbf4ad000
hmac 2505 0 - Live 0xbf4a9000
mac80211 202896 0 - Live 0xbf469000
cfg80211 163115 1 mac80211, Live 0xbf434000
lib80211 3365 0 - Live 0xbf430000
fnotify 28598 2 - Live 0xbf425000 (PO)
etxhci_hcd 78285 0 - Live 0xbf40b000
xhci_hcd 73203 0 - Live 0xbf3f3000
cifs 273237 0 - Live 0xbf396000
nfsd 231704 12 fnotify, Live 0xbf34d000
exportfs 2885 1 nfsd, Live 0xbf349000
nfs 251372 0 - Live 0xbf2f6000
auth_rpcgss 30572 2 nfsd,nfs, Live 0xbf2e8000
lockd 59814 2 nfsd,nfs, Live 0xbf2d1000
sunrpc 167759 16 nfsd,nfs,auth_rpcgss,lockd, Live 0xbf295000
udf 90066 0 - Live 0xbf279000
isofs 33467 0 - Live 0xbf26c000
ufsd 541855 1 - Live 0xbf1d6000 (PO)
jnl 36016 1 ufsd, Live 0xbf1c8000 (O)
ext4 307895 1 - Live 0xbf16b000
jbd2 55059 1 ext4, Live 0xbf155000
sysinfo 752 0 - Live 0xbf151000 (O)
usblp 12827 0 - Live 0xbf149000
usbhid 25146 0 - Live 0xbf13d000
cryptodev 17838 0 - Live 0xbf134000 (O)
mv_cesa 9748 0 - Live 0xbf12e000
sha512_generic 9139 0 - Live 0xbf128000
sha256_generic 10793 0 - Live 0xbf122000
sha1_generic 1736 0 - Live 0xbf11e000
aes_generic 34432 1 mv_cesa, Live 0xbf112000
dm_crypt 15749 0 - Live 0xbf10a000
dm_mod 70289 1 dm_crypt, Live 0xbf0ef000
raid456 66162 0 - Live 0xbf0d9000
async_raid6_recov 5356 1 raid456, Live 0xbf0d4000
async_pq 4126 2 raid456,async_raid6_recov, Live 0xbf0cf000
async_xor 2825 3 raid456,async_raid6_recov,async_pq, Live 0xbf0cb000
async_memcpy 1000 2 raid456,async_raid6_recov, Live 0xbf0c7000
async_tx 1952 5 raid456,async_raid6_recov,async_pq,async_xor,async_memcpy, Live 0xbf0c3000
raid6_pq 84018 2 async_raid6_recov,async_pq, Live 0xbf0ab000
xor 4684 1 async_xor, Live 0xbf0a6000
raid0 7863 0 - Live 0xbf0a1000
linear 3896 0 - Live 0xbf09d000
nls_utf8 993 0 - Live 0xbf099000
nls_iso8859_2 3627 0 - Live 0xbf095000
nls_cp850 3875 0 - Live 0xbf091000
nls_cp437 4643 0 - Live 0xbf08c000
vfat 9437 0 - Live 0xbf086000
fat 48811 1 vfat, Live 0xbf074000
appletalk 25550 0 - Live 0xbf068000
psnap 1565 1 appletalk, Live 0xbf064000
llc 3229 1 psnap, Live 0xbf060000
hal_netlink 2189 0 - Live 0xbf05c000 (O)
hid 49612 2 hid_logitech,usbhid, Live 0xbf04a000
ehci_hcd 37390 0 - Live 0xbf03b000
ext3 125990 2 - Live 0xbf013000
jbd 46392 1 ext3, Live 0xbf000000
[~] # stty -F /dev/ttyUSB0
speed 2400 baud; line = 220;
intr = J; quit = M-W; erase = M->; kill = M- ; eof = J; eol = M-^D; eol2 = M-^K;
swtch = M-L; start = d; stop = M-}; susp = M-6; rprnt = ^]; werase = M-6;
lnext = @; flush = M-}; min = 1; time = 0;
-brkint -icrnl -imaxbel
-opost -onlcr
-isig -icanon -iexten -echo -echoe -echok -echoctl -echoke
[~] # ls -al /dev/ttyUSB0
crwxrwxrwx 1 admin administ 188, 0 Jan 23 19:51 /dev/ttyUSB0
[~] # cat /proc/devices | grep -i "ttyUSB"
188 ttyUSB
[~] # cat /proc/tty/driver/usbserial
usbserinfo:1.0 driver:2.0
0: module:ftdi_sio name:"FTDI USB Serial Device" vendor:0403 product:6001 num_ports:1 port:1 path:usb-0000:01:01.0-2
Alles anzeigen
Wenn ich in p4d.conf einen falschen mysql Server eintrage, funktioniert es natürlich nicht. Aber auch dann kommt es zu einem Segmentation fault. Ein grundsätzliches Problem unabhängig von der seriellen Verbindung scheint da zu bestehen, oder? Hier der Trace dazu: