jak zainstalować programator w ubuntu ?!?!

Tutaj można zadać pytanie, jeśli Linuksa widzi się pierwszy raz w życiu ;)
roxman
Piegowaty Guziec
Piegowaty Guziec
Posty: 16
Rejestracja: 14 mar 2010, 20:19
Płeć: Mężczyzna
Wersja Ubuntu: 9.10
Środowisko graficzne: GNOME
Architektura: x86

jak zainstalować programator w ubuntu ?!?!

Post autor: roxman »

Witam staram się przesiąść z windy na ubuntu jest to moje już 3 podejście niestety za dużo niewiadomych a mało informacji dostępnych od ręki trzeba posiłkowąć się forum a tutaj na odpowiedź czasem trzeba sobie poczekać albo i nie doczekać wcale. No ale spróbujmy potrzebuję zainstalować programator na usb z ponizszego adresu http://www.artysat.pl/ jest to drugi od góry programator podobno usb montuje się sam. Ale zaczynają się tutaj schody jak sprawdzić czy jest zainstalowany i jaka jest nazwa urządzenia z palaca nie umiem tego wystukać a system sam z siebie nie pokazuje niczego
polecenie lsusb pokazuje coś takiego
Bus 009 Device 003: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
czyli system coś z tym robi ale czy jest możliwość dowiedzieć się jak to urządzenie zostało przypisane np. tty1 czy cos w ten deseń
pioruns
Przebojowy Jelonek
Przebojowy Jelonek
Posty: 1172
Rejestracja: 19 lis 2006, 21:28
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: Inne
Architektura: x86_64

Re: jak zainstalować programator w ubuntu ?!?!

Post autor: pioruns »

Kod: Zaznacz cały

lspci -k
Pokaże wtedy sterownik załadowany dla tego urządzenia.
Registered Linux user #454644 ---> https://linuxcounter.net/
roxman
Piegowaty Guziec
Piegowaty Guziec
Posty: 16
Rejestracja: 14 mar 2010, 20:19
Płeć: Mężczyzna
Wersja Ubuntu: 9.10
Środowisko graficzne: GNOME
Architektura: x86

Re: jak zainstalować programator w ubuntu ?!?!

Post autor: roxman »

niewiele mi to daje w dalszym ciągu nie wiem pod jaką nazwą to urządzenie zostało zamontowane
pioruns
Przebojowy Jelonek
Przebojowy Jelonek
Posty: 1172
Rejestracja: 19 lis 2006, 21:28
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: Inne
Architektura: x86_64

Re: jak zainstalować programator w ubuntu ?!?!

Post autor: pioruns »

Pokaż wynik tej komendy wklej tutaj na forum w tagi
Registered Linux user #454644 ---> https://linuxcounter.net/
kasjo
Serdeczny Borsuk
Serdeczny Borsuk
Posty: 175
Rejestracja: 31 paź 2007, 16:38
Płeć: Mężczyzna
Wersja Ubuntu: 11.10
Środowisko graficzne: KDE Plasma
Architektura: x86

Re: jak zainstalować programator w ubuntu ?!?!

Post autor: kasjo »

Najprawdopodobniej jest widziane jako urządzenie /dev/ttyUSB0
roxman
Piegowaty Guziec
Piegowaty Guziec
Posty: 16
Rejestracja: 14 mar 2010, 20:19
Płeć: Mężczyzna
Wersja Ubuntu: 9.10
Środowisko graficzne: GNOME
Architektura: x86

Re: jak zainstalować programator w ubuntu ?!?!

Post autor: roxman »

Kod: Zaznacz cały

00:00.0 Host bridge: Intel Corporation Core Processor DMI (rev 11)
	Subsystem: Giga-byte Technology Device 5000
00:03.0 PCI bridge: Intel Corporation Core Processor PCI Express Root Port 1 (rev 11)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:08.0 System peripheral: Intel Corporation Core Processor System Management Registers (rev 11)
00:08.1 System peripheral: Intel Corporation Core Processor Semaphore and Scratchpad Registers (rev 11)
00:08.2 System peripheral: Intel Corporation Core Processor System Control and Status Registers (rev 11)
00:08.3 System peripheral: Intel Corporation Core Processor Miscellaneous Registers (rev 11)
00:10.0 System peripheral: Intel Corporation Core Processor QPI Link (rev 11)
00:10.1 System peripheral: Intel Corporation Core Processor QPI Routing and Protocol Registers (rev 11)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 05)
	Subsystem: Giga-byte Technology Device 5004
	Kernel driver in use: uhci_hcd
00:1a.1 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 05)
	Subsystem: Giga-byte Technology Device 5004
	Kernel driver in use: uhci_hcd
00:1a.2 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 05)
	Subsystem: Giga-byte Technology Device 5004
	Kernel driver in use: uhci_hcd
00:1a.7 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
	Subsystem: Giga-byte Technology Device 5006
	Kernel driver in use: ehci_hcd
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
	Subsystem: Giga-byte Technology Device a102
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 05)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 05)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.6 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 7 (rev 05)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 05)
	Subsystem: Giga-byte Technology Device 5004
	Kernel driver in use: uhci_hcd
00:1d.1 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 05)
	Subsystem: Giga-byte Technology Device 5004
	Kernel driver in use: uhci_hcd
00:1d.2 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 05)
	Subsystem: Giga-byte Technology Device 5004
	Kernel driver in use: uhci_hcd
00:1d.3 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 05)
	Subsystem: Giga-byte Technology Device 5004
	Kernel driver in use: uhci_hcd
00:1d.7 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
	Subsystem: Giga-byte Technology Device 5006
	Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation 5 Series Chipset LPC Interface Controller (rev 05)
	Subsystem: Giga-byte Technology Device 5001
	Kernel modules: iTCO_wdt
00:1f.2 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA IDE Controller (rev 05)
	Subsystem: Giga-byte Technology Device b002
	Kernel driver in use: ata_piix
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
	Subsystem: Giga-byte Technology Device 5001
	Kernel modules: i2c-i801
00:1f.5 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 2 port SATA IDE Controller (rev 05)
	Subsystem: Giga-byte Technology Device b002
	Kernel driver in use: ata_piix
01:00.0 VGA compatible controller: ATI Technologies Inc Juniper [Radeon HD 5750 Series]
	Subsystem: Hightech Information System Ltd. Device 2287
	Kernel modules: radeon
01:00.1 Audio device: ATI Technologies Inc Juniper HDMI Audio [Radeon HD 5700 Series]
	Subsystem: Hightech Information System Ltd. Device aa58
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
	Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
	Kernel driver in use: r8169
	Kernel modules: r8169
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
	Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
	Kernel driver in use: r8169
	Kernel modules: r8169
04:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03)
	Subsystem: Giga-byte Technology Device 5007
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci-hcd
05:00.0 IDE interface: Marvell Technology Group Ltd. Device 91a3 (rev 11)
	Subsystem: Giga-byte Technology Device b000
	Kernel driver in use: ahci
	Kernel modules: ahci
06:00.0 SATA controller: JMicron Technology Corp. JMB362/JMB363 Serial ATA Controller (rev 03)
	Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
	Kernel driver in use: ahci
	Kernel modules: ahci
06:00.1 IDE interface: JMicron Technology Corp. JMB362/JMB363 Serial ATA Controller (rev 03)
	Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
	Kernel driver in use: pata_jmicron
	Kernel modules: pata_jmicron
07:02.0 FireWire (IEEE 1394): Agere Systems FW322/323 (rev 04)
	Subsystem: Agere Systems FW322/323
	Kernel driver in use: firewire_ohci
	Kernel modules: firewire-ohci
07:06.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)
	Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
	Kernel driver in use: firewire_ohci
	Kernel modules: firewire-ohci
07:07.0 IDE interface: Integrated Technology Express, Inc. IT8213 IDE Controller
	Subsystem: Giga-byte Technology Device b000
	Kernel driver in use: pata_it8213
	Kernel modules: pata_it8213
3f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-Core Registers (rev 04)
	Subsystem: Giga-byte Technology Device 5000
3f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 04)
	Subsystem: Giga-byte Technology Device 5000
3f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 04)
	Subsystem: Giga-byte Technology Device 5000
	Kernel driver in use: i7core_edac
	Kernel modules: i7core_edac
3f:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 04)
	Subsystem: Giga-byte Technology Device 5000
3f:03.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller (rev 04)
	Subsystem: Giga-byte Technology Device 5000
3f:03.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Target Address Decoder (rev 04)
	Subsystem: Giga-byte Technology Device 5000
3f:03.4 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Test Registers (rev 04)
	Subsystem: Giga-byte Technology Device 5000
3f:04.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Control Registers (rev 04)
	Subsystem: Giga-byte Technology Device 5000
3f:04.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Address Registers (rev 04)
	Subsystem: Giga-byte Technology Device 5000
3f:04.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Rank Registers (rev 04)
	Subsystem: Giga-byte Technology Device 5000
3f:04.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Thermal Control Registers (rev 04)
	Subsystem: Giga-byte Technology Device 5000
3f:05.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Control Registers (rev 04)
	Subsystem: Giga-byte Technology Device 5000
3f:05.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Address Registers (rev 04)
	Subsystem: Giga-byte Technology Device 5000
3f:05.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Rank Registers (rev 04)
	Subsystem: Giga-byte Technology Device 5000
3f:05.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Thermal Control Registers (rev 04)
	Subsystem: Giga-byte Technology Device 5000
pioruns
Przebojowy Jelonek
Przebojowy Jelonek
Posty: 1172
Rejestracja: 19 lis 2006, 21:28
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: Inne
Architektura: x86_64

Re: jak zainstalować programator w ubuntu ?!?!

Post autor: pioruns »

Przepraszam, to nie lspci, miałem na myśli

Kod: Zaznacz cały

lsusb -k
Registered Linux user #454644 ---> https://linuxcounter.net/
roxman
Piegowaty Guziec
Piegowaty Guziec
Posty: 16
Rejestracja: 14 mar 2010, 20:19
Płeć: Mężczyzna
Wersja Ubuntu: 9.10
Środowisko graficzne: GNOME
Architektura: x86

Re: jak zainstalować programator w ubuntu ?!?!

Post autor: roxman »

lsusb: invalid option -- 'k'
Usage: lsusb [options]...
List USB devices
-v, --verbose
Increase verbosity (show descriptors)
-s [[bus]:][devnum]
Show only devices with specified device and/or
bus numbers (in decimal)
-d vendor:[product]
Show only devices with the specified vendor and
product ID numbers (in hexadecimal)
-D device
Selects which device lsusb will examine
-t
Dump the physical USB device hierarchy as a tree
-V, --version
Show version of program
pioruns
Przebojowy Jelonek
Przebojowy Jelonek
Posty: 1172
Rejestracja: 19 lis 2006, 21:28
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: Inne
Architektura: x86_64

Re: jak zainstalować programator w ubuntu ?!?!

Post autor: pioruns »

Kod: Zaznacz cały

lsusb -t
Registered Linux user #454644 ---> https://linuxcounter.net/
roxman
Piegowaty Guziec
Piegowaty Guziec
Posty: 16
Rejestracja: 14 mar 2010, 20:19
Płeć: Mężczyzna
Wersja Ubuntu: 9.10
Środowisko graficzne: GNOME
Architektura: x86

Re: jak zainstalować programator w ubuntu ?!?!

Post autor: roxman »

/: Bus 10.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 09.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
|__ Port 2: Dev 2, If 0, Class=vend., Driver=ftdi_sio, 12M
/: Bus 08.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
|__ Port 1: Dev 2, If 0, Class=HID, Driver=usbhid, 12M
|__ Port 1: Dev 2, If 1, Class=HID, Driver=usbhid, 12M
|__ Port 2: Dev 3, If 0, Class=HID, Driver=usbhid, 12M
|__ Port 2: Dev 3, If 1, Class=HID, Driver=usbhid, 12M
|__ Port 2: Dev 3, If 2, Class=HID, Driver=usbhid, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/8p, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/6p, 480M
namok
Przebojowy Jelonek
Przebojowy Jelonek
Posty: 1703
Rejestracja: 01 mar 2008, 12:21
Płeć: Mężczyzna
Wersja Ubuntu: 16.04
Środowisko graficzne: Unity
Architektura: x86_64
Kontakt:

Re: jak zainstalować programator w ubuntu ?!?!

Post autor: namok »

Z opisu na stronie wynika że urządzenie komunikuje się z komputerem za pomocą portu szeregowego(konwerter USB). Dla pewności poproszę o wynik polecenia:

Kod: Zaznacz cały

dmesg |grep tty
z podpiętym urządzeniem oczywiście.
roxman
Piegowaty Guziec
Piegowaty Guziec
Posty: 16
Rejestracja: 14 mar 2010, 20:19
Płeć: Mężczyzna
Wersja Ubuntu: 9.10
Środowisko graficzne: GNOME
Architektura: x86

Re: jak zainstalować programator w ubuntu ?!?!

Post autor: roxman »

[ 0.000000] console [tty0] enabled
[ 1.005992] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 1.006212] 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 1.328711] tty tty54: hash matches
[ 16.688959] usb 9-2: FTDI USB Serial Device converter now attached to ttyUSB0

hmm czy dobrze wnioskuję że to urządzenie zgłasza się jako ttyUSB0 ?
namok
Przebojowy Jelonek
Przebojowy Jelonek
Posty: 1703
Rejestracja: 01 mar 2008, 12:21
Płeć: Mężczyzna
Wersja Ubuntu: 16.04
Środowisko graficzne: Unity
Architektura: x86_64
Kontakt:

Re: jak zainstalować programator w ubuntu ?!?!

Post autor: namok »

Tak, zgłasza się jako ttyUSB0. Niestety może się też zgłosić jako inne np. ttyUSB1.
Aby port był widoczny w wine należy wydać następujące polecenie(zakładam że wine masz zainstalowane):

Kod: Zaznacz cały

cd ~/.wine/dosdevices
ln -s /dev/ttyS0 com1
Od tej pory w wine port szeregowy ttyUSB0 będzie widziany jako com1.
roxman
Piegowaty Guziec
Piegowaty Guziec
Posty: 16
Rejestracja: 14 mar 2010, 20:19
Płeć: Mężczyzna
Wersja Ubuntu: 9.10
Środowisko graficzne: GNOME
Architektura: x86

Re: jak zainstalować programator w ubuntu ?!?!

Post autor: roxman »

serdeczne dzieki za pomoc
namok
Przebojowy Jelonek
Przebojowy Jelonek
Posty: 1703
Rejestracja: 01 mar 2008, 12:21
Płeć: Mężczyzna
Wersja Ubuntu: 16.04
Środowisko graficzne: Unity
Architektura: x86_64
Kontakt:

Re: jak zainstalować programator w ubuntu ?!?!

Post autor: namok »

Daj chociaż znać czy działa. Innym może się to przydać
roxman
Piegowaty Guziec
Piegowaty Guziec
Posty: 16
Rejestracja: 14 mar 2010, 20:19
Płeć: Mężczyzna
Wersja Ubuntu: 9.10
Środowisko graficzne: GNOME
Architektura: x86

Re: jak zainstalować programator w ubuntu ?!?!

Post autor: roxman »

wszystko działa super dzięki
ODPOWIEDZ

Wróć do „Przedszkole Linuksa”

Kto jest online

Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 8 gości