ubuntu Seri port görmüyor

Başlatan 91011, 12 Mart 2014 - 15:36:01

« önceki - sonraki »

0 Üyeler ve 1 Ziyaretçi konuyu incelemekte.

91011

Merhana arkadaşlar,

projemiz için seri porttan gelen veriyi okuyan bir program hazırlıyorum sanal makinede windows üzerinden.

Cihazda seriportu USB çevirici ile bilgisayarın usb girişlerinden birine taktığımda bilgisayarda hiçbir tepki yok görmüyor ?
Tanrı konuşmaz, şeytan fısıldar...

cagriemer

Ubuntu konak, Windows misafir isletim sistemi mi? USB girisi yaptiginizda konak makine mi gormuyor yoksa misafir mi? Ayrica dmesg ne diyor baglanti kurdugunuzda?

91011

ubuntu konak misafir görüyor aygıtı taktığımda ubuntuda hiçbir tepki olmuyor
Tanrı konuşmaz, şeytan fısıldar...

cagriemer

Sanallastirmayi nasil yapiyorsunuz? Hangi yazilim? Ayrica dmesg'da bir hareketlilik oluyor mu demistim ama gozden kacti herhalde.

confickerbelasi

virtual box ise usb eklentisini kurman gerek ve o windows ne?

91011

#confickerbelasi,
  Sanal makinem windows7 32 bit ya programı yazdığımda virtualboxtan aktif ettiğim com1 (yetkilendirmeleride 777 yaptım konak sistemden) listeleniyor programda ancak ubuntu görmüyor.
#cagriemer
enerjisini verip aygıtı takıyorum ama konsoldan şu komutu  yazdığımda şonuç şöyle :

makine@makine-SVE1513Y1ESI:~$ dmesg | grep tty
[ 3707.931679] usb 3-3: FTDI USB Serial Device converter now attached to ttyUSB0
[ 3904.512565] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[ 4666.886068] usb 3-3: FTDI USB Serial Device converter now attached to ttyUSB0
[ 5565.314231] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[ 5670.026935] usb 3-3: FTDI USB Serial Device converter now attached to ttyUSB0
[ 5761.243516] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[ 5766.045724] usb 3-4: FTDI USB Serial Device converter now attached to ttyUSB0
[ 5806.911185] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[ 5816.854106] usb 3-2: FTDI USB Serial Device converter now attached to ttyUSB0
[ 5859.066641] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[10615.397535] usb 3-3: FTDI USB Serial Device converter now attached to ttyUSB0
[10652.351278] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[10886.922619] usb 3-3: FTDI USB Serial Device converter now attached to ttyUSB0


Tanrı konuşmaz, şeytan fısıldar...

confickerbelasi

bilgisayarında com1 çalışıyor mu? xp bazı anakartların seri portlarını görmezdi vista,7 ve 8 de öyle olmalı seri portla çalışan bir şey kalmadı niye seri port istiyon?

pars bilisim

olmaz olur mu hocam örneğin birçok uydu alıcısı (özellikle linux tabanlı işletim sistemi olanlar) şiddetle ihtiyaç vardır şahset enigma cihazların kurtarma yazılımları bu porttan atılıyor henüz seri portu tarihin derinliklerine gömmek için erken.Hocam projenizin için hdd bir alan ayırıp oraya Wİndows kurarak sorunu en garanti yoldan çözersiniz.

91011

aygıtım böyle bunu shell eco marathon için kullanıcaz arabanın parçası
http://i.hizliresim.com/w1A3P1.jpg

Bİlemiyorum işte ubuntuda bunu nasıl göreceğim
Tanrı konuşmaz, şeytan fısıldar...

if

@91011, yazım kurallarına uyarsanız memnun olurum.

ls -al /dev/ttyUSB0
dmesg | egrep "usb|ftdi"
ne diyor?

91011

ilki:
root@makine-SVE1513Y1ESI:/home/makine# ls -al /dev/ttyUSB0
ls: cannot access /dev/ttyUSB0: No such file or directory


ikincisi:

root@makine-SVE1513Y1ESI:/home/makine# dmesg | egrep "usb|ftdi"
[    1.031547] ACPI: bus type usb registered
[    1.031559] usbcore: registered new interface driver usbfs
[    1.031567] usbcore: registered new interface driver hub
[    1.031582] usbcore: registered new device driver usb
[    1.392121] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.392123] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.392125] usb usb1: Product: EHCI Host Controller
[    1.392126] usb usb1: Manufacturer: Linux 3.8.0-35-generic ehci_hcd
[    1.392128] usb usb1: SerialNumber: 0000:00:1a.0
[    1.408096] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.408098] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.408100] usb usb2: Product: EHCI Host Controller
[    1.408102] usb usb2: Manufacturer: Linux 3.8.0-35-generic ehci_hcd
[    1.408103] usb usb2: SerialNumber: 0000:00:1d.0
[    1.408513] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    1.408515] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.408517] usb usb3: Product: xHCI Host Controller
[    1.408518] usb usb3: Manufacturer: Linux 3.8.0-35-generic xhci_hcd
[    1.408520] usb usb3: SerialNumber: 0000:00:14.0
[    1.408863] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[    1.408865] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.408867] usb usb4: Product: xHCI Host Controller
[    1.408868] usb usb4: Manufacturer: Linux 3.8.0-35-generic xhci_hcd
[    1.408870] usb usb4: SerialNumber: 0000:00:14.0
[    1.703758] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    1.836075] usb 1-1: New USB device found, idVendor=8087, idProduct=0024
[    1.836082] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.947499] usb 2-1: new high-speed USB device number 2 using ehci-pci
[    2.079807] usb 2-1: New USB device found, idVendor=8087, idProduct=0024
[    2.079815] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.247241] usb 3-2: new low-speed USB device number 2 using xhci_hcd
[    2.322140] usb 3-2: New USB device found, idVendor=040b, idProduct=2013
[    2.322144] usb 3-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.322146] usb 3-2: Product: 2.4G Wireless Keyboard&Mouse
[    2.322284] usb 3-2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[    2.322290] usb 3-2: ep 0x82 - rounding interval to 64 microframes, ep desc says 80 microframes
[    2.341915] usbcore: registered new interface driver usbhid
[    2.341918] usbhid: USB HID core driver
[    2.344227] input: 2.4G Wireless Keyboard&Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/input/input4
[    2.344298] hid-generic 0003:040B:2013.0001: input,hidraw0: USB HID v1.10 Keyboard [2.4G Wireless Keyboard&Mouse] on usb-0000:00:14.0-2/input0
[    2.344466] input: 2.4G Wireless Keyboard&Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.1/input/input5
[    2.344565] hid-generic 0003:040B:2013.0002: input,hiddev0,hidraw1: USB HID v1.10 Mouse [2.4G Wireless Keyboard&Mouse] on usb-0000:00:14.0-2/input1
[    2.395044] usb 1-1.2: new full-speed USB device number 3 using ehci-pci
[    2.488807] usb 1-1.2: New USB device found, idVendor=0489, idProduct=e036
[    2.488813] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.488817] usb 1-1.2: Product: Bluetooth USB Host Controller
[    2.488820] usb 1-1.2: Manufacturer: Atheros Communications
[    2.488823] usb 1-1.2: SerialNumber: Alaska Day 2006
[    2.558861] usb 1-1.3: new high-speed USB device number 4 using ehci-pci
[    2.657324] usb 1-1.3: New USB device found, idVendor=05ca, idProduct=18c3
[    2.657332] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.657336] usb 1-1.3: Product: USB2.0 Camera
[    2.657339] usb 1-1.3: Manufacturer: LOEA11P2BF13833U16657
[   14.589781] usbcore: registered new interface driver btusb
[   14.729754] input: USB2.0 Camera as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/input/input12
[   14.729806] usbcore: registered new interface driver uvcvideo
[   14.759929] usbcore: registered new interface driver ath3k
[   14.937416] usb 1-1.2: USB disconnect, device number 3
[   15.137128] usb 1-1.2: new full-speed USB device number 5 using ehci-pci
[   20.225324] usb 1-1.2: New USB device found, idVendor=0489, idProduct=e036
[   20.225327] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   20.225330] usb 1-1.2: Product: Bluetooth USB Host Controller
[   20.225331] usb 1-1.2: Manufacturer: Atheros Communications
[   20.225333] usb 1-1.2: SerialNumber: Alaska Day 2006
Tanrı konuşmaz, şeytan fısıldar...

if

Aygıt bağlıyken aldınız değil mi bu çıktıları? ls -al /dev/ttyUSB olarak verelim komutu.

91011

#12
Şimdi sonuçları paylaşabilirim aygıt takılı iken

İlk komut:
root@makine-SVE1513Y1ESI:/home/makine# ls -al /dev/ttyUSB0
crwxrwxrwx 1 root dialout 188, 0 Mar 17 12:36 /dev/ttyUSB0


ikinci komut çıktısı :
root@makine-SVE1513Y1ESI:/home/makine# dmesg | egrep "usb|ftdi"
[    1.031821] ACPI: bus type usb registered
[    1.031835] usbcore: registered new interface driver usbfs
[    1.031841] usbcore: registered new interface driver hub
[    1.031857] usbcore: registered new device driver usb
[    1.391393] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.391396] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.391399] usb usb1: Product: EHCI Host Controller
[    1.391401] usb usb1: Manufacturer: Linux 3.8.0-35-generic ehci_hcd
[    1.391403] usb usb1: SerialNumber: 0000:00:1a.0
[    1.407364] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.407366] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.407368] usb usb2: Product: EHCI Host Controller
[    1.407369] usb usb2: Manufacturer: Linux 3.8.0-35-generic ehci_hcd
[    1.407371] usb usb2: SerialNumber: 0000:00:1d.0
[    1.407763] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    1.407765] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.407766] usb usb3: Product: xHCI Host Controller
[    1.407768] usb usb3: Manufacturer: Linux 3.8.0-35-generic xhci_hcd
[    1.407769] usb usb3: SerialNumber: 0000:00:14.0
[    1.408127] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[    1.408129] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.408130] usb usb4: Product: xHCI Host Controller
[    1.408132] usb usb4: Manufacturer: Linux 3.8.0-35-generic xhci_hcd
[    1.408133] usb usb4: SerialNumber: 0000:00:14.0
[    1.703050] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    1.835311] usb 1-1: New USB device found, idVendor=8087, idProduct=0024
[    1.835319] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.946760] usb 2-1: new high-speed USB device number 2 using ehci-pci
[    2.079041] usb 2-1: New USB device found, idVendor=8087, idProduct=0024
[    2.079049] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.246457] usb 3-2: new low-speed USB device number 2 using xhci_hcd
[    2.322345] usb 3-2: New USB device found, idVendor=040b, idProduct=2013
[    2.322349] usb 3-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.322352] usb 3-2: Product: 2.4G Wireless Keyboard&Mouse
[    2.322481] usb 3-2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[    2.322495] usb 3-2: ep 0x82 - rounding interval to 64 microframes, ep desc says 80 microframes
[    2.342032] usbcore: registered new interface driver usbhid
[    2.342035] usbhid: USB HID core driver
[    2.343913] input: 2.4G Wireless Keyboard&Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/input/input4
[    2.343984] hid-generic 0003:040B:2013.0001: input,hidraw0: USB HID v1.10 Keyboard [2.4G Wireless Keyboard&Mouse] on usb-0000:00:14.0-2/input0
[    2.344158] input: 2.4G Wireless Keyboard&Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.1/input/input5
[    2.344246] hid-generic 0003:040B:2013.0002: input,hiddev0,hidraw1: USB HID v1.10 Mouse [2.4G Wireless Keyboard&Mouse] on usb-0000:00:14.0-2/input1
[    2.394402] usb 1-1.2: new full-speed USB device number 3 using ehci-pci
[    2.488171] usb 1-1.2: New USB device found, idVendor=0489, idProduct=e036
[    2.488179] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.488182] usb 1-1.2: Product: Bluetooth USB Host Controller
[    2.488185] usb 1-1.2: Manufacturer: Atheros Communications
[    2.488188] usb 1-1.2: SerialNumber: Alaska Day 2006
[    2.558224] usb 1-1.3: new high-speed USB device number 4 using ehci-pci
[    2.656739] usb 1-1.3: New USB device found, idVendor=05ca, idProduct=18c3
[    2.656747] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.656750] usb 1-1.3: Product: USB2.0 Camera
[    2.656753] usb 1-1.3: Manufacturer: LOEA11P2BF13833U16657
[   14.615107] usbcore: registered new interface driver btusb
[   14.731735] input: USB2.0 Camera as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/input/input12
[   14.731798] usbcore: registered new interface driver uvcvideo
[   14.760666] usbcore: registered new interface driver ath3k
[   14.937445] usb 1-1.2: USB disconnect, device number 3
[   15.136325] usb 1-1.2: new full-speed USB device number 5 using ehci-pci
[   20.224810] usb 1-1.2: New USB device found, idVendor=0489, idProduct=e036
[   20.224813] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   20.224815] usb 1-1.2: Product: Bluetooth USB Host Controller
[   20.224816] usb 1-1.2: Manufacturer: Atheros Communications
[   20.224817] usb 1-1.2: SerialNumber: Alaska Day 2006
[  191.541525] usb 3-3: new full-speed USB device number 3 using xhci_hcd
[  191.563791] usb 3-3: New USB device found, idVendor=0403, idProduct=6001
[  191.563794] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  191.563796] usb 3-3: Product: USB Serial Converter
[  191.563797] usb 3-3: Manufacturer: FTDI
[  191.563799] usb 3-3: SerialNumber: FTG639GV
[  191.707941] usbcore: registered new interface driver usbserial
[  191.707955] usbcore: registered new interface driver usbserial_generic
[  191.707966] usbserial: USB Serial support registered for generic
[  191.742021] usbcore: registered new interface driver ftdi_sio
[  191.742031] usbserial: USB Serial support registered for FTDI USB Serial Device
[  191.742098] ftdi_sio 3-3:1.0: FTDI USB Serial Device converter detected
[  191.742129] usb 3-3: Detected FT232RL
[  191.742132] usb 3-3: Number of endpoints 2
[  191.742133] usb 3-3: Endpoint 1 MaxPacketSize 64
[  191.742135] usb 3-3: Endpoint 2 MaxPacketSize 64
[  191.742136] usb 3-3: Setting MaxPacketSize 64
[  191.742279] usb 3-3: FTDI USB Serial Device converter now attached to ttyUSB0

Tanrı konuşmaz, şeytan fısıldar...