Автор Тема: VeriFone VX820  (Прочитано 1066 раз)

Оффлайн sanal128

  • Начинающий
  • *
  • Сообщений: 7
VeriFone VX820
« : 28.07.2023 18:55:26 »
Добрый день, пробую подключить VeriFone VX 820 по USB (желательно) , на  ALT Workstation 10.1.
Как это сделать не пойму.  Нужны драйвер и помощь, как его установить, специалист из Сбербанка. сам не знает.

Оффлайн Антон Мидюков

  • alt linux team
  • ***
  • Сообщений: 5 183
  • antohami@
Re: VeriFone VX820
« Ответ #1 : 28.07.2023 20:32:49 »
/dev/ttyUSB0 или какого-то другого устройства в /dev/ не появляется при подключении?
Покажите вывод команды
dmesg

Оффлайн sanal128

  • Начинающий
  • *
  • Сообщений: 7
Re: VeriFone VX820
« Ответ #2 : 31.07.2023 08:10:57 »
# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 1c4f:0034 SiGma Micro XM102K Optical Wheel Mouse
Bus 001 Device 002: ID 2a7a:9a18 CASUE CASUE USB Keyboard
Bus 001 Device 018: ID 11ca:0219 VeriFone Inc Trident USB Device 1.1
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Оффлайн sanal128

  • Начинающий
  • *
  • Сообщений: 7
Re: VeriFone VX820
« Ответ #3 : 31.07.2023 08:44:33 »
/dev/ttyUSB0 или какого-то другого устройства в /dev/ не появляется при подключении?
Покажите вывод команды
dmesg


[    8.283965] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    8.284193] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    8.284587] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT1._GTF.DSSP], AE_NOT_FOUND (20200925/psargs-330)
[    8.284605] ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT1._GTF due to previous error (AE_NOT_FOUND) (20200925/psparse-529)
[    8.285247] ata2.00: ATA-8: ST1000DM010-2EP102, CC46, max UDMA/133
[    8.285253] ata2.00: 1953525168 sectors, multi 16: LBA48 NCQ (depth 32), AA
[    8.286035] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT1._GTF.DSSP], AE_NOT_FOUND (20200925/psargs-330)
[    8.286052] ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT1._GTF due to previous error (AE_NOT_FOUND) (20200925/psparse-529)
[    8.286630] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT0._GTF.DSSP], AE_NOT_FOUND (20200925/psargs-330)
[    8.286647] ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT0._GTF due to previous error (AE_NOT_FOUND) (20200925/psparse-529)
[    8.286669] ata1.00: ATAPI: TSSTcorp CDDVDW SH-224DB, SB00, max UDMA/100
[    8.287776] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT0._GTF.DSSP], AE_NOT_FOUND (20200925/psargs-330)
[    8.287792] ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT0._GTF due to previous error (AE_NOT_FOUND) (20200925/psparse-529)
[    8.287819] ata1.00: configured for UDMA/100
[    8.289378] scsi 0:0:0:0: CD-ROM            TSSTcorp CDDVDW SH-224DB  SB00 PQ: 0 ANSI: 5
[    8.291831] ata3: SATA link down (SStatus 4 SControl 300)
[    8.299924] ata4: SATA link down (SStatus 4 SControl 300)
[    8.299965] ata6: SATA link down (SStatus 4 SControl 300)
[    8.300004] ata5: SATA link down (SStatus 4 SControl 300)
[    8.304521] ata2.00: configured for UDMA/133
[    8.310217] scsi 1:0:0:0: Direct-Access     ATA      ST1000DM010-2EP1 CC46 PQ: 0 ANSI: 5
[    8.320003] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
[    8.320116] iTCO_wdt: Found a Intel PCH TCO device (Version=4, TCOBASE=0x0400)
[    8.320362] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[    8.349675] input: HDA Intel PCH Rear Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input11
[    8.349802] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1f.3/sound/card0/input12
[    8.349917] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input13
[    8.350024] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input14
[    8.350148] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input15
[    8.350256] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input16
[    8.350360] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input17
[    8.350471] input: HDA Intel PCH HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input18
[    8.357731] sd 1:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[    8.357738] sd 1:0:0:0: [sda] 4096-byte physical blocks
[    8.357757] sd 1:0:0:0: [sda] Write Protect is off
[    8.357761] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    8.357791] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    8.372677]  sda: sda1
[    8.377446] sd 1:0:0:0: [sda] Attached SCSI disk
[    8.410622] sr 0:0:0:0: [sr0] scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
[    8.410629] cdrom: Uniform CD-ROM driver Revision: 3.20
[    8.441244] sr 0:0:0:0: Attached scsi CD-ROM sr0
[    9.304231] NET: Registered protocol family 42
[    9.311904] RTL8211E Gigabit Ethernet r8169-0-200:00: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=r8169-0-200:00, irq=IGNORE)
[    9.546011] r8169 0000:02:00.0 enp2s0: Link is Down
[   11.142351] bpfilter: Loaded bpfilter_umh pid 2719
[   11.142740] Started bpfilter
[   11.148725] r8169 0000:02:00.0 enp2s0: Link is Up - 100Mbps/Full - flow control off
[   11.148732] IPv6: ADDRCONF(NETDEV_CHANGE): enp2s0: link becomes ready
[   11.261163] NET: Registered protocol family 17
[ 1403.163816] usb 1-1: new full-speed USB device number 4 using xhci_hcd
[ 1403.290620] usb 1-1: config 1 interface 0 altsetting 0 endpoint 0x85 has an invalid bInterval 0, changing to 10
[ 1403.419205] cdc_acm 1-1:1.0: ttyACM0: USB ACM device
[ 1403.419495] usbcore: registered new interface driver cdc_acm
[ 1403.419496] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 1622.934764] usb 1-1: USB disconnect, device number 4
[ 1910.536499] usb 1-1: new full-speed USB device number 5 using xhci_hcd
[ 1910.663339] usb 1-1: config 1 interface 0 altsetting 0 endpoint 0x85 has an invalid bInterval 0, changing to 10
[ 1910.665999] cdc_acm 1-1:1.0: ttyACM0: USB ACM device
[ 2559.670365] usb 1-1: USB disconnect, device number 5
[ 8109.226416] usb 1-2: new full-speed USB device number 6 using xhci_hcd
[ 8109.354037] usb 1-2: config 1 interface 0 altsetting 0 endpoint 0x85 has an invalid bInterval 0, changing to 10
[ 8109.356848] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
[ 8261.898828] usb 1-1: new high-speed USB device number 7 using xhci_hcd
[ 8262.072622] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 8262.073504] scsi host6: usb-storage 1-1:1.0
[ 8262.073775] usbcore: registered new interface driver usb-storage
[ 8262.083065] usbcore: registered new interface driver uas
[ 8263.078610] scsi 6:0:0:0: Direct-Access     SKYMEDI  USB Drive        1.00 PQ: 0 ANSI: 2
[ 8263.080894] sd 6:0:0:0: [sdb] 7825408 512-byte logical blocks: (4.01 GB/3.73 GiB)
[ 8263.084358] sd 6:0:0:0: [sdb] Write Protect is off
[ 8263.084359] sd 6:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 8263.084630] sd 6:0:0:0: [sdb] No Caching mode page found
[ 8263.084631] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 8264.164195]  sdb: sdb1
[ 8264.171916] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[ 8265.449064] FAT-fs (sdb1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[ 9303.868619] usb 1-1: USB disconnect, device number 7
[ 9463.859989] usb 1-2: USB disconnect, device number 6
[ 9466.771248] usb 1-2: new full-speed USB device number 8 using xhci_hcd
[ 9466.898775] usb 1-2: config 1 interface 0 altsetting 0 endpoint 0x85 has an invalid bInterval 0, changing to 10
[ 9466.901464] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
[ 9469.191680] usb 1-2: USB disconnect, device number 8
[ 9472.040466] usb 1-2: new full-speed USB device number 9 using xhci_hcd
[ 9472.167316] usb 1-2: config 1 interface 0 altsetting 0 endpoint 0x85 has an invalid bInterval 0, changing to 10
[ 9472.170550] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
[ 9777.069118] usb 1-2: USB disconnect, device number 9
[ 9779.906059] usb 1-2: new full-speed USB device number 10 using xhci_hcd
[ 9780.034555] usb 1-2: config 1 interface 0 altsetting 0 endpoint 0x85 has an invalid bInterval 0, changing to 10
[ 9780.037566] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
[ 9782.723584] usb 1-2: USB disconnect, device number 10
[ 9785.493305] usb 1-2: new full-speed USB device number 11 using xhci_hcd
[ 9785.619825] usb 1-2: config 1 interface 0 altsetting 0 endpoint 0x85 has an invalid bInterval 0, changing to 10
[ 9785.622696] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
[ 9821.689432] usb 1-2: USB disconnect, device number 11
[ 9824.599582] usb 1-2: new full-speed USB device number 12 using xhci_hcd
[ 9824.727194] usb 1-2: config 1 interface 0 altsetting 0 endpoint 0x85 has an invalid bInterval 0, changing to 10
[ 9824.729881] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
[ 9827.321163] usb 1-2: USB disconnect, device number 12
[ 9830.182793] usb 1-2: new full-speed USB device number 13 using xhci_hcd
[ 9830.310369] usb 1-2: config 1 interface 0 altsetting 0 endpoint 0x85 has an invalid bInterval 0, changing to 10
[ 9830.315958] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
[ 9904.224367] usb 1-2: USB disconnect, device number 13
[ 9907.127964] usb 1-2: new full-speed USB device number 14 using xhci_hcd
[ 9907.254520] usb 1-2: config 1 interface 0 altsetting 0 endpoint 0x85 has an invalid bInterval 0, changing to 10
[ 9907.257108] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
[ 9911.010494] usb 1-2: USB disconnect, device number 14
[10281.390248] usb 1-1: new full-speed USB device number 15 using xhci_hcd
[10281.517270] usb 1-1: config 1 interface 0 altsetting 0 endpoint 0x85 has an invalid bInterval 0, changing to 10
[10281.520001] cdc_acm 1-1:1.0: ttyACM0: USB ACM device
[10658.967325] EXT4-fs (sda1): recovery complete
[10658.997171] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: errors=remount-ro
[11736.305486] usb 1-1: USB disconnect, device number 15
[11738.232396] usb 1-2: new full-speed USB device number 16 using xhci_hcd
[11738.358936] usb 1-2: config 1 interface 0 altsetting 0 endpoint 0x85 has an invalid bInterval 0, changing to 10
[11738.361490] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
[12037.432120] usb 1-2: USB disconnect, device number 16
[12855.276458] systemd-sysv-generator[33831]: SysV service '/etc/rc.d/init.d/clock' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[12855.276483] systemd-sysv-generator[33831]: SysV service '/etc/rc.d/init.d/haspd' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[12855.277361] systemd-sysv-generator[33831]: SysV service '/etc/rc.d/init.d/haspd.outformat' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[12855.282303] systemd-sysv-generator[33831]: SysV service '/etc/rc.d/init.d/pppoe' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[12855.284646] systemd-sysv-generator[33831]: SysV service '/etc/rc.d/init.d/cryptdisks.functions' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[12855.285386] systemd-sysv-generator[33831]: SysV service '/etc/rc.d/init.d/klnagent64' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[22236.188623] perf: interrupt took too long (2505 > 2500), lowering kernel.perf_event_max_sample_rate to 79000
[50789.446982] perf: interrupt took too long (3142 > 3131), lowering kernel.perf_event_max_sample_rate to 63000
[118266.519800] perf: interrupt took too long (3934 > 3927), lowering kernel.perf_event_max_sample_rate to 50000
[237120.858408] usb 1-10: new full-speed USB device number 17 using xhci_hcd
[237120.984952] usb 1-10: config 1 interface 0 altsetting 0 endpoint 0x85 has an invalid bInterval 0, changing to 10
[237120.988039] cdc_acm 1-10:1.0: ttyACM0: USB ACM device
[237145.740771] usb 1-10: USB disconnect, device number 17
[237215.907392] usb 1-10: new full-speed USB device number 18 using xhci_hcd
[237216.034215] usb 1-10: config 1 interface 0 altsetting 0 endpoint 0x85 has an invalid bInterval 0, changing to 10
[237216.037181] cdc_acm 1-10:1.0: ttyACM0: USB ACM device
[237985.060847] usb 1-10: USB disconnect, device number 18
[239064.202600] usb 1-10: new full-speed USB device number 19 using xhci_hcd
[239064.328970] usb 1-10: config 1 interface 0 altsetting 0 endpoint 0x85 has an invalid bInterval 0, changing to 10
[239064.331766] cdc_acm 1-10:1.0: ttyACM0: USB ACM device

Оффлайн Антон Мидюков

  • alt linux team
  • ***
  • Сообщений: 5 183
  • antohami@
Re: VeriFone VX820
« Ответ #4 : 31.07.2023 09:35:39 »
Устройство /dev/ttyACM0 определяется, но отваливается:
usb 1-10: config 1 interface 0 altsetting 0 endpoint 0x85 has an invalid bInterval 0, changing to 10
cdc_acm 1-10:1.0: ttyACM0: USB ACM device
usb 1-10: USB disconnect, device number 17

Попробуйте в USB 2.0 переткнуть и файлик dmesg приложить ещё раз.
И покажите вывод команды:
lsusb -vd 11ca:0219

Оффлайн sanal128

  • Начинающий
  • *
  • Сообщений: 7
Re: VeriFone VX820
« Ответ #5 : 31.07.2023 13:35:26 »
Устройство /dev/ttyACM0 определяется, но отваливается:
usb 1-10: config 1 interface 0 altsetting 0 endpoint 0x85 has an invalid bInterval 0, changing to 10
cdc_acm 1-10:1.0: ttyACM0: USB ACM device
usb 1-10: USB disconnect, device number 17

Попробуйте в USB 2.0 переткнуть и файлик dmesg приложить ещё раз.
И покажите вывод команды:
lsusb -vd 11ca:0219


# lsusb -vd 11ca:0219

Bus 001 Device 020: ID 11ca:0219 VeriFone Inc Trident USB Device 1.1
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            2 Communications
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x11ca VeriFone Inc
  idProduct          0x0219
  bcdDevice            1.00
  iManufacturer           1 VeriFone Inc
  iProduct                2 Trident USB Device 1.1
  iSerial                 3 0123456789ABCD
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0043
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower               50mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         2 Communications
      bInterfaceSubClass      2 Abstract (modem)
      bInterfaceProtocol      1 AT-commands (v.25ter)
      iInterface              0
      CDC Header:
        bcdCDC               1.10
      CDC Call Management:
        bmCapabilities       0x03
          call management
          use DataInterface
        bDataInterface          1
      CDC ACM:
        bmCapabilities       0x06
          sends break
          line coding and serial state
      CDC Union:
        bMasterInterface        0
        bSlaveInterface         1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval               0
Device Status:     0x0001
  Self Powered

Оффлайн sanal128

  • Начинающий
  • *
  • Сообщений: 7
Re: VeriFone VX820
« Ответ #6 : 31.07.2023 13:46:36 »
 Из сбербанка дали такую папку. а остальное они не знают.

Оффлайн Антон Мидюков

  • alt linux team
  • ***
  • Сообщений: 5 183
  • antohami@
Re: VeriFone VX820
« Ответ #7 : 31.07.2023 16:02:57 »
 Из сбербанка дали такую папку. а остальное они не знают.

Статические бинари для i386. Без инструкции вряд ли что-то можно сделать.
В техподдержку Базальта не пробовали обращаться? Может уже сталкивались?

Оффлайн sanal128

  • Начинающий
  • *
  • Сообщений: 7
Re: VeriFone VX820
« Ответ #8 : 31.07.2023 17:21:04 »
Из сбербанка дали такую папку. а остальное они не знают.

Статические бинари для i386. Без инструкции вряд ли что-то можно сделать.
В техподдержку Базальта не пробовали обращаться? Может уже сталкивались?

Пока не пробовали.  Данную папку переносят к корневую  /  .  переименовывают (на Windows  в Pilot_NT).  и при запуске  sb_pilot происходит соединение с VeriFone 820 . прописывают команду для сверки итогов или еще какую (их 3)  и все.  Может попробуем . У нас  ALT  официально купят только в  следующем году.  В бюджет закладывают.

Оффлайн sanal128

  • Начинающий
  • *
  • Сообщений: 7
Re: VeriFone VX820
« Ответ #9 : 31.07.2023 17:38:09 »
Эквайринг у меня.
Может лучше его по COM  ,  эквайрин можно и так настроить .  Плата на системнике есть.
перенастроил на Com  (RSR232)  .

« Последнее редактирование: 31.07.2023 19:16:46 от sanal128 »