OpenVZ Forum


Home » International » Russian » проброс порта USB и PCI (проброс usb (apc) и pci(openvox))
проброс порта USB и PCI [message #49581] Sat, 18 May 2013 17:44 Go to next message
rvizor is currently offline  rvizor
Messages: 7
Registered: May 2013
Location: Russia
Junior Member
From: *evolife.su
Добрый день.

Извините если тема обсуждалась, находил поиском различные ветки но у всех по разному или ссылаются на различные написание скриптов но если вас не затруднит расскажите или дайте ссылки с хорошими описаниями проброса.

Интересует проброс USB порта с подключены APC.
И плату PCI OpenVOX (dahdi) как сие продукт ведет себя в контейнере и стоит ли пробрасывать не будет ли глюков (может есть подробное описание или опыт, поделитесь плиз)

Спасибо за понимание.
Re: проброс порта USB и PCI [message #49589 is a reply to message #49581] Mon, 20 May 2013 07:32 Go to previous messageGo to next message
FreeDemon is currently offline  FreeDemon
Messages: 8
Registered: May 2013
Location: Kiev
Junior Member

From: *ukma.kiev.ua
Добавляется примерно так:
# vzctl set 101 --devices b:8:16:rw --devices b:8:17:rw --devices
b:8:18:rw --save 


66я страница в руководстве. Razz
ftp.openvz.org/doc/OpenVZ-Users-Guide.pdf
Re: проброс порта USB и PCI [message #49590 is a reply to message #49581] Mon, 20 May 2013 09:07 Go to previous messageGo to next message
rvizor is currently offline  rvizor
Messages: 7
Registered: May 2013
Location: Russia
Junior Member
From: *uln.ru
модель:
Quote:
051d American Power Conversion
0001 UPS
0002 Uninterruptible Power Supply
0003 UPS


Quote:
#lsusb
Bus 002 Device 004: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0557:2221 ATEN International Co., Ltd
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


пробую:

vzctl set 105 --devices b:051d:0002:rw --save
Bad parameter for --devices: b:051d:0002:rw

vzctl set 105 --devices b:0002:rw --save
Bad parameter for --devices: b:0002:rw

vzctl set 105 --devices b:051d:rw --save
Bad parameter for --devices: b:051d:rw

vzctl set 105 --devices b:051d:all:rw --save
Bad parameter for --devices: b:051d:all:rw

Не получается. Что делаю не так ?



Re: проброс порта USB и PCI [message #49591 is a reply to message #49590] Mon, 20 May 2013 09:19 Go to previous messageGo to next message
FreeDemon is currently offline  FreeDemon
Messages: 8
Registered: May 2013
Location: Kiev
Junior Member

From: *ukma.kiev.ua
# ls -l /dev/ 

Что говорил? IDшники правильно указал?
Re: проброс порта USB и PCI [message #49592 is a reply to message #49591] Mon, 20 May 2013 09:38 Go to previous messageGo to next message
rvizor is currently offline  rvizor
Messages: 7
Registered: May 2013
Location: Russia
Junior Member
From: *uln.ru
FreeDemon wrote on Mon, 20 May 2013 05:19
# ls -l /dev/ 

Что говорил? IDшники правильно указал?


это директория usb

Quote:
/dev/usb# ls -l
total 0
crw------- 1 root root 180, 96 May 17 12:26 hiddev0


а если просто dev то очень много устройств. какое имеено надо ?

Quote:
#dmesg | grep -i usb
usb 2-1.1: USB disconnect, device number 3
usb 2-1.3: new low speed USB device number 4 using ehci_hcd
usb 2-1.3: New USB device found, idVendor=051d, idProduct=0002
usb 2-1.3: New USB device strings: Mfr=3, Product=1, SerialNumber=2
usb 2-1.3: Product: Smart-UPS 1000 RM FW:616.3.I USB FW:8.1
usb 2-1.3: Manufacturer: American Power Conversion
usb 2-1.3: SerialNumber: AS1111132392
usb 2-1.3: configuration #1 chosen from 1 choice
generic-usb 0003:051D:0002.0005: hiddev96,hidraw2: USB HID v1.10 Device [American Power Conversion Smart-UPS 1000 RM FW:616.3.I USB FW:8.1] on usb-0000:00:1d.0-1.3/input0
Re: проброс порта USB и PCI [message #49593 is a reply to message #49592] Mon, 20 May 2013 09:49 Go to previous messageGo to next message
FreeDemon is currently offline  FreeDemon
Messages: 8
Registered: May 2013
Location: Kiev
Junior Member

From: *ukma.kiev.ua
скопипать вывод
# ls -l /dev/ 

на pastebin чтоле
Re: проброс порта USB и PCI [message #49594 is a reply to message #49593] Mon, 20 May 2013 09:55 Go to previous messageGo to next message
rvizor is currently offline  rvizor
Messages: 7
Registered: May 2013
Location: Russia
Junior Member
From: *uln.ru
total 0
drwxr-xr-x  2 root root         780 May 19 18:10 block
drwxr-xr-x  2 root root         140 Apr 26 12:17 bsg
drwxr-xr-x  3 root root          60 Apr 15 20:29 bus
drwxr-xr-x  2 root root        5740 May 17 12:26 char
crw-------  1 root root      5,   1 Apr 15 20:33 console
lrwxrwxrwx  1 root root          11 Apr 15 20:29 core -> /proc/kcore
drwxr-xr-x 10 root root         200 Apr 15 20:29 cpu
crw-------  1 root root     10,  60 Apr 15 20:29 cpu_dma_latency
crw-------  1 root root     10,  62 Apr 15 20:29 crash
drwxr-xr-x  5 root root         100 Apr 15 20:29 disk
brw-rw----  1 root disk    253,   0 Apr 15 20:29 dm-0
brw-rw----  1 root disk    253,   1 Apr 26 12:43 dm-1
brw-rw----  1 root disk    253,   2 May 19 18:10 dm-2
lrwxrwxrwx  1 root root          13 Apr 15 20:29 fd -> /proc/self/fd
crw-rw-rw-  1 root root      1,   7 Apr 15 20:29 full
crw-rw----  1 root fuse     10, 229 Apr 15 20:33 fuse
crw-------  1 root root    250,   0 Apr 15 20:29 hidraw0
crw-------  1 root root    250,   1 Apr 15 20:29 hidraw1
crw-------  1 root root    250,   2 May 17 12:26 hidraw2
crw-------  1 root root     10, 228 Apr 15 20:29 hpet
prw-------  1 root root           0 Apr 15 20:29 initctl
drwxr-xr-x  4 root root         260 Apr 29 09:58 input
crw-------  1 root root      1,  11 Apr 15 20:29 kmsg
crw-------  1 root root     10, 232 Apr 15 20:33 kvm
srw-rw-rw-  1 root root           0 Apr 15 20:33 log
brw-rw----  1 root disk      7,   0 Apr 15 20:29 loop0
brw-rw----  1 root disk      7,   1 Apr 15 20:29 loop1
brw-rw----  1 root disk      7,   2 Apr 15 20:29 loop2
brw-rw----  1 root disk      7,   3 Apr 15 20:29 loop3
brw-rw----  1 root disk      7,   4 Apr 15 20:29 loop4
brw-rw----  1 root disk      7,   5 Apr 15 20:29 loop5
brw-rw----  1 root disk      7,   6 Apr 15 20:29 loop6
brw-rw----  1 root disk      7,   7 Apr 15 20:29 loop7
lrwxrwxrwx  1 root root           9 Apr 15 20:29 MAKEDEV -> /bin/true
drwxr-xr-x  2 root root         120 May 19 18:10 mapper
crw-------  1 root root     10, 227 Apr 15 20:29 mcelog
drwxr-xr-x  2 root root          40 Apr 15 20:29 md
brw-rw----  1 root disk      9,   0 Apr 15 20:33 md0
brw-rw----  1 root disk      9,   1 May 19 18:10 md1
crw-r-----  1 root kmem      1,   1 Apr 15 20:29 mem
drwxr-xr-x  2 root root          60 Apr 15 20:29 net
crw-------  1 root root     10,  59 Apr 15 20:29 network_latency
crw-------  1 root root     10,  58 Apr 15 20:29 network_throughput
crw-rw-rw-  1 root root      1,   3 Apr 15 20:29 null
crw-r-----  1 root kmem     10, 144 Apr 15 20:29 nvram
crw-------  1 root root      1,  12 Apr 15 20:29 oldmem
crw-r-----  1 root kmem      1,   4 Apr 15 20:29 port
crw-------  1 root root    108,   0 Apr 15 20:29 ppp
crw-rw-rw-  1 root root      5,   2 May 20 13:31 ptmx
drwxr-xr-x  2 root root           0 Apr 15 20:29 pts
crw-rw-rw-  1 root tty       2,   0 Apr 15 20:29 ptyp0
crw-rw-rw-  1 root tty       2,   1 Apr 15 20:29 ptyp1
crw-rw-rw-  1 root tty       2,   2 Apr 15 20:29 ptyp2
crw-rw-rw-  1 root tty       2,   3 Apr 15 20:29 ptyp3
crw-rw-rw-  1 root tty       2,   4 Apr 15 20:29 ptyp4
crw-rw-rw-  1 root tty       2,   5 Apr 15 20:29 ptyp5
crw-rw-rw-  1 root tty       2,   6 Apr 15 20:29 ptyp6
crw-rw-rw-  1 root tty       2,   7 Apr 15 20:29 ptyp7
crw-rw-rw-  1 root tty       2,   8 Apr 15 20:29 ptyp8
crw-rw-rw-  1 root tty       2,   9 Apr 15 20:29 ptyp9
crw-rw-rw-  1 root tty       2,  10 Apr 15 20:29 ptypa
crw-rw-rw-  1 root tty       2,  11 Apr 15 20:29 ptypb
crw-rw-rw-  1 root tty       2,  12 Apr 15 20:29 ptypc
crw-rw-rw-  1 root tty       2,  13 Apr 15 20:29 ptypd
crw-rw-rw-  1 root tty       2,  14 Apr 15 20:29 ptype
crw-rw-rw-  1 root tty       2,  15 Apr 15 20:29 ptypf
crw-rw-rw-  1 root tty       2,  16 Apr 15 20:29 ptyq0
crw-rw-rw-  1 root tty       2,  17 Apr 15 20:29 ptyq1
crw-rw-rw-  1 root tty       2,  18 Apr 15 20:29 ptyq2
crw-rw-rw-  1 root tty       2,  19 Apr 15 20:29 ptyq3
crw-rw-rw-  1 root tty       2,  20 Apr 15 20:29 ptyq4
crw-rw-rw-  1 root tty       2,  21 Apr 15 20:29 ptyq5
crw-rw-rw-  1 root tty       2,  22 Apr 15 20:29 ptyq6
crw-rw-rw-  1 root tty       2,  23 Apr 15 20:29 ptyq7
crw-rw-rw-  1 root tty       2,  24 Apr 15 20:29 ptyq8
crw-rw-rw-  1 root tty       2,  25 Apr 15 20:29 ptyq9
crw-rw-rw-  1 root tty       2,  26 Apr 15 20:29 ptyqa
crw-rw-rw-  1 root tty       2,  27 Apr 15 20:29 ptyqb
crw-rw-rw-  1 root tty       2,  28 Apr 15 20:29 ptyqc
crw-rw-rw-  1 root tty       2,  29 Apr 15 20:29 ptyqd
crw-rw-rw-  1 root tty       2,  30 Apr 15 20:29 ptyqe
crw-rw-rw-  1 root tty       2,  31 Apr 15 20:29 ptyqf
crw-rw-rw-  1 root tty       2,  32 Apr 15 20:29 ptyr0
crw-rw-rw-  1 root tty       2,  33 Apr 15 20:29 ptyr1
crw-rw-rw-  1 root tty       2,  34 Apr 15 20:29 ptyr2
crw-rw-rw-  1 root tty       2,  35 Apr 15 20:29 ptyr3
crw-rw-rw-  1 root tty       2,  36 Apr 15 20:29 ptyr4
crw-rw-rw-  1 root tty       2,  37 Apr 15 20:29 ptyr5
crw-rw-rw-  1 root tty       2,  38 Apr 15 20:29 ptyr6
crw-rw-rw-  1 root tty       2,  39 Apr 15 20:29 ptyr7
crw-rw-rw-  1 root tty       2,  40 Apr 15 20:29 ptyr8
crw-rw-rw-  1 root tty       2,  41 Apr 15 20:29 ptyr9
crw-rw-rw-  1 root tty       2,  42 Apr 15 20:29 ptyra
crw-rw-rw-  1 root tty       2,  43 Apr 15 20:29 ptyrb
crw-rw-rw-  1 root tty       2,  44 Apr 15 20:29 ptyrc
crw-rw-rw-  1 root tty       2,  45 Apr 15 20:29 ptyrd
crw-rw-rw-  1 root tty       2,  46 Apr 15 20:29 ptyre
crw-rw-rw-  1 root tty       2,  47 Apr 15 20:29 ptyrf
crw-rw-rw-  1 root tty       2,  48 Apr 15 20:29 ptys0
crw-rw-rw-  1 root tty       2,  49 Apr 15 20:29 ptys1
crw-rw-rw-  1 root tty       2,  50 Apr 15 20:29 ptys2
crw-rw-rw-  1 root tty       2,  51 Apr 15 20:29 ptys3
crw-rw-rw-  1 root tty       2,  52 Apr 15 20:29 ptys4
crw-rw-rw-  1 root tty       2,  53 Apr 15 20:29 ptys5
crw-rw-rw-  1 root tty       2,  54 Apr 15 20:29 ptys6
crw-rw-rw-  1 root tty       2,  55 Apr 15 20:29 ptys7
crw-rw-rw-  1 root tty       2,  56 Apr 15 20:29 ptys8
crw-rw-rw-  1 root tty       2,  57 Apr 15 20:29 ptys9
crw-rw-rw-  1 root tty       2,  58 Apr 15 20:29 ptysa
crw-rw-rw-  1 root tty       2,  59 Apr 15 20:29 ptysb
crw-rw-rw-  1 root tty       2,  60 Apr 15 20:29 ptysc
crw-rw-rw-  1 root tty       2,  61 Apr 15 20:29 ptysd
crw-rw-rw-  1 root tty       2,  62 Apr 15 20:29 ptyse
crw-rw-rw-  1 root tty       2,  63 Apr 15 20:29 ptysf
drwxr-xr-x  2 root root         100 May 19 18:10 pve
brw-rw----  1 root disk      1,   0 Apr 15 20:29 ram0
brw-rw----  1 root disk      1,   1 Apr 15 20:29 ram1
brw-rw----  1 root disk      1,  10 Apr 15 20:29 ram10
brw-rw----  1 root disk      1,  11 Apr 15 20:29 ram11
brw-rw----  1 root disk      1,  12 Apr 15 20:29 ram12
brw-rw----  1 root disk      1,  13 Apr 15 20:29 ram13
brw-rw----  1 root disk      1,  14 Apr 15 20:29 ram14
brw-rw----  1 root disk      1,  15 Apr 15 20:29 ram15
brw-rw----  1 root disk      1,   2 Apr 15 20:29 ram2
brw-rw----  1 root disk      1,   3 Apr 15 20:29 ram3
brw-rw----  1 root disk      1,   4 Apr 15 20:29 ram4
brw-rw----  1 root disk      1,   5 Apr 15 20:29 ram5
brw-rw----  1 root disk      1,   6 Apr 15 20:29 ram6
brw-rw----  1 root disk      1,   7 Apr 15 20:29 ram7
brw-rw----  1 root disk      1,   8 Apr 15 20:29 ram8
brw-rw----  1 root disk      1,   9 Apr 15 20:29 ram9
crw-rw-rw-  1 root root      1,   8 Apr 15 20:29 random
drwxr-xr-x  2 root root          60 Apr 15 20:29 raw
lrwxrwxrwx  1 root root           4 Apr 15 20:29 root -> dm-0
lrwxrwxrwx  1 root root           4 Apr 15 20:29 rtc -> rtc0
crw-------  1 root root    254,   0 Apr 15 20:29 rtc0
brw-rw----  1 root disk      8,   0 May 17 15:18 sda
brw-rw----  1 root disk      8,   1 Apr 15 20:29 sda1
brw-rw----  1 root disk      8,   2 Apr 15 20:29 sda2
brw-rw----  1 root disk      8,  16 May 17 15:18 sdb
brw-rw----  1 root disk      8,  17 Apr 15 20:29 sdb1
brw-rw----  1 root disk      8,  18 Apr 15 20:29 sdb2
brw-rw----  1 root disk      8,  32 May 17 15:18 sdc
brw-rw----  1 root disk      8,  34 Apr 26 13:00 sdc2
drwxrwxrwt  3 root root         660 May 20 13:31 shm
crw-------  1 root root     10, 231 Apr 15 20:29 snapshot
drwxr-xr-x  3 root root         120 Apr 15 20:29 snd
lrwxrwxrwx  1 root root          24 Apr 15 20:29 sndstat -> /proc/asound/oss/sndstat
lrwxrwxrwx  1 root root          15 Apr 15 20:29 stderr -> /proc/self/fd/2
lrwxrwxrwx  1 root root          15 Apr 15 20:29 stdin -> /proc/self/fd/0
lrwxrwxrwx  1 root root          15 Apr 15 20:29 stdout -> /proc/self/fd/1
crw-rw-rw-  1 root root      5,   0 May 17 15:47 tty
crw-------  1 root root      4,   0 Apr 15 20:29 tty0
crw-------  1 root root      4,   1 Apr 15 20:33 tty1
crw-------  1 root root      4,  10 Apr 15 20:29 tty10
crw-------  1 root root      4,  11 Apr 15 20:29 tty11
crw-------  1 root root      4,  12 Apr 15 20:29 tty12
crw-------  1 root root      4,  13 Apr 15 20:29 tty13
crw-------  1 root root      4,  14 Apr 15 20:29 tty14
crw-------  1 root root      4,  15 Apr 15 20:29 tty15
crw-------  1 root root      4,  16 Apr 15 20:29 tty16
crw-------  1 root root      4,  17 Apr 15 20:29 tty17
crw-------  1 root root      4,  18 Apr 15 20:29 tty18
crw-------  1 root root      4,  19 Apr 15 20:29 tty19
crw-------  1 root root      4,   2 Apr 15 20:33 tty2
crw-------  1 root root      4,  20 Apr 15 20:29 tty20
crw-------  1 root root      4,  21 Apr 15 20:29 tty21
crw-------  1 root root      4,  22 Apr 15 20:29 tty22
crw-------  1 root root      4,  23 Apr 15 20:29 tty23
crw-------  1 root root      4,  24 Apr 15 20:29 tty24
crw-------  1 root root      4,  25 Apr 15 20:29 tty25
crw-------  1 root root      4,  26 Apr 15 20:29 tty26
crw-------  1 root root      4,  27 Apr 15 20:29 tty27
crw-------  1 root root      4,  28 Apr 15 20:29 tty28
crw-------  1 root root      4,  29 Apr 15 20:29 tty29
crw-------  1 root root      4,   3 Apr 15 20:33 tty3
crw-------  1 root root      4,  30 Apr 15 20:29 tty30
crw-------  1 root root      4,  31 Apr 15 20:29 tty31
crw-------  1 root root      4,  32 Apr 15 20:29 tty32
crw-------  1 root root      4,  33 Apr 15 20:29 tty33
crw-------  1 root root      4,  34 Apr 15 20:29 tty34
crw-------  1 root root      4,  35 Apr 15 20:29 tty35
crw-------  1 root root      4,  36 Apr 15 20:29 tty36
crw-------  1 root root      4,  37 Apr 15 20:29 tty37
crw-------  1 root root      4,  38 Apr 15 20:29 tty38
crw-------  1 root root      4,  39 Apr 15 20:29 tty39
crw-------  1 root root      4,   4 Apr 15 20:33 tty4
crw-------  1 root root      4,  40 Apr 15 20:29 tty40
crw-------  1 root root      4,  41 Apr 15 20:29 tty41
crw-------  1 root root      4,  42 Apr 15 20:29 tty42
crw-------  1 root root      4,  43 Apr 15 20:29 tty43
crw-------  1 root root      4,  44 Apr 15 20:29 tty44
crw-------  1 root root      4,  45 Apr 15 20:29 tty45
crw-------  1 root root      4,  46 Apr 15 20:29 tty46
crw-------  1 root root      4,  47 Apr 15 20:29 tty47
crw-------  1 root root      4,  48 Apr 15 20:29 tty48
crw-------  1 root root      4,  49 Apr 15 20:29 tty49
crw-------  1 root root      4,   5 Apr 15 20:33 tty5
crw-------  1 root root      4,  50 Apr 15 20:29 tty50
crw-------  1 root root      4,  51 Apr 15 20:29 tty51
crw-------  1 root root      4,  52 Apr 15 20:29 tty52
crw-------  1 root root      4,  53 Apr 15 20:29 tty53
crw-------  1 root root      4,  54 Apr 15 20:29 tty54
crw-------  1 root root      4,  55 Apr 15 20:29 tty55
crw-------  1 root root      4,  56 Apr 15 20:29 tty56
crw-------  1 root root      4,  57 Apr 15 20:29 tty57
crw-------  1 root root      4,  58 Apr 15 20:29 tty58
crw-------  1 root root      4,  59 Apr 15 20:29 tty59
crw-------  1 root root      4,   6 Apr 15 20:33 tty6
crw-------  1 root root      4,  60 Apr 15 20:29 tty60
crw-------  1 root root      4,  61 Apr 15 20:29 tty61
crw-------  1 root root      4,  62 Apr 15 20:29 tty62
crw-------  1 root root      4,  63 Apr 15 20:29 tty63
crw-------  1 root root      4,   7 Apr 15 20:29 tty7
crw-------  1 root root      4,   8 Apr 15 20:29 tty8
crw-------  1 root root      4,   9 Apr 15 20:29 tty9
crw-rw----  1 root dialout   3,   0 Apr 15 20:29 ttyp0
crw-rw----  1 root dialout   3,   1 Apr 15 20:29 ttyp1
crw-rw----  1 root dialout   3,   2 Apr 15 20:29 ttyp2
crw-rw----  1 root dialout   3,   3 Apr 15 20:29 ttyp3
crw-rw----  1 root dialout   3,   4 Apr 15 20:29 ttyp4
crw-rw----  1 root dialout   3,   5 Apr 15 20:29 ttyp5
crw-rw----  1 root dialout   3,   6 Apr 15 20:29 ttyp6
crw-rw----  1 root dialout   3,   7 Apr 15 20:29 ttyp7
crw-rw----  1 root dialout   3,   8 Apr 15 20:29 ttyp8
crw-rw----  1 root dialout   3,   9 Apr 15 20:29 ttyp9
crw-rw----  1 root dialout   3,  10 Apr 15 20:29 ttypa
crw-rw----  1 root dialout   3,  11 Apr 15 20:29 ttypb
crw-rw----  1 root dialout   3,  12 Apr 15 20:29 ttypc
crw-rw----  1 root dialout   3,  13 Apr 15 20:29 ttypd
crw-rw----  1 root dialout   3,  14 Apr 15 20:29 ttype
crw-rw----  1 root dialout   3,  15 Apr 15 20:29 ttypf
crw-rw----  1 root dialout   3,  16 Apr 15 20:29 ttyq0
crw-rw----  1 root dialout   3,  17 Apr 15 20:29 ttyq1
crw-rw----  1 root dialout   3,  18 Apr 15 20:29 ttyq2
crw-rw----  1 root dialout   3,  19 Apr 15 20:29 ttyq3
crw-rw----  1 root dialout   3,  20 Apr 15 20:29 ttyq4
crw-rw----  1 root dialout   3,  21 Apr 15 20:29 ttyq5
crw-rw----  1 root dialout   3,  22 Apr 15 20:29 ttyq6
crw-rw----  1 root dialout   3,  23 Apr 15 20:29 ttyq7
crw-rw----  1 root dialout   3,  24 Apr 15 20:29 ttyq8
crw-rw----  1 root dialout   3,  25 Apr 15 20:29 ttyq9
crw-rw----  1 root dialout   3,  26 Apr 15 20:29 ttyqa
crw-rw----  1 root dialout   3,  27 Apr 15 20:29 ttyqb
crw-rw----  1 root dialout   3,  28 Apr 15 20:29 ttyqc
crw-rw----  1 root dialout   3,  29 Apr 15 20:29 ttyqd
crw-rw----  1 root dialout   3,  30 Apr 15 20:29 ttyqe
crw-rw----  1 root dialout   3,  31 Apr 15 20:29 ttyqf
crw-rw----  1 root dialout   3,  32 Apr 15 20:29 ttyr0
crw-rw----  1 root dialout   3,  33 Apr 15 20:29 ttyr1
crw-rw----  1 root dialout   3,  34 Apr 15 20:29 ttyr2
crw-rw----  1 root dialout   3,  35 Apr 15 20:29 ttyr3
crw-rw----  1 root dialout   3,  36 Apr 15 20:29 ttyr4
crw-rw----  1 root dialout   3,  37 Apr 15 20:29 ttyr5
crw-rw----  1 root dialout   3,  38 Apr 15 20:29 ttyr6
crw-rw----  1 root dialout   3,  39 Apr 15 20:29 ttyr7
crw-rw----  1 root dialout   3,  40 Apr 15 20:29 ttyr8
crw-rw----  1 root dialout   3,  41 Apr 15 20:29 ttyr9
crw-rw----  1 root dialout   3,  42 Apr 15 20:29 ttyra
crw-rw----  1 root dialout   3,  43 Apr 15 20:29 ttyrb
crw-rw----  1 root dialout   3,  44 Apr 15 20:29 ttyrc
crw-rw----  1 root dialout   3,  45 Apr 15 20:29 ttyrd
crw-rw----  1 root dialout   3,  46 Apr 15 20:29 ttyre
crw-rw----  1 root dialout   3,  47 Apr 15 20:29 ttyrf
crw-rw----  1 root dialout   3,  48 Apr 15 20:29 ttys0
crw-rw----  1 root dialout   4,  64 Apr 15 20:29 ttyS0
crw-rw----  1 root dialout   3,  49 Apr 15 20:29 ttys1
crw-rw----  1 root dialout   4,  65 Apr 15 20:29 ttyS1
crw-rw----  1 root dialout   3,  50 Apr 15 20:29 ttys2
crw-rw----  1 root dialout   4,  66 Apr 15 20:29 ttyS2
crw-rw----  1 root dialout   3,  51 Apr 15 20:29 ttys3
crw-rw----  1 root dialout   4,  67 Apr 15 20:29 ttyS3
crw-rw----  1 root dialout   3,  52 Apr 15 20:29 ttys4
crw-rw----  1 root dialout   3,  53 Apr 15 20:29 ttys5
crw-rw----  1 root dialout   3,  54 Apr 15 20:29 ttys6
crw-rw----  1 root dialout   3,  55 Apr 15 20:29 ttys7
crw-rw----  1 root dialout   3,  56 Apr 15 20:29 ttys8
crw-rw----  1 root dialout   3,  57 Apr 15 20:29 ttys9
crw-rw----  1 root dialout   3,  58 Apr 15 20:29 ttysa
crw-rw----  1 root dialout   3,  59 Apr 15 20:29 ttysb
crw-rw----  1 root dialout   3,  60 Apr 15 20:29 ttysc
crw-rw----  1 root dialout   3,  61 Apr 15 20:29 ttysd
crw-rw----  1 root dialout   3,  62 Apr 15 20:29 ttyse
crw-rw----  1 root dialout   3,  63 Apr 15 20:29 ttysf
crw-rw-rw-  1 root root      1,   9 Apr 15 20:29 urandom
drwxr-xr-x  2 root root          60 May 17 12:26 usb
crw-------  1 root root    251,   0 Apr 15 20:29 usbmon0
crw-------  1 root root    251,   1 Apr 15 20:29 usbmon1
crw-------  1 root root    251,   2 Apr 15 20:29 usbmon2
crw-------  1 root root      7,   0 Apr 15 20:29 vcs
crw-------  1 root root      7,   1 Apr 15 20:29 vcs1
crw-------  1 root root      7,   2 Apr 15 20:33 vcs2
crw-------  1 root root      7,   3 Apr 15 20:33 vcs3
crw-------  1 root root      7,   4 Apr 15 20:33 vcs4
crw-------  1 root root      7,   5 Apr 15 20:33 vcs5
crw-------  1 root root      7,   6 Apr 15 20:33 vcs6
crw-------  1 root root      7, 128 Apr 15 20:29 vcsa
crw-------  1 root root      7, 129 Apr 15 20:29 vcsa1
crw-------  1 root root      7, 130 Apr 15 20:33 vcsa2
crw-------  1 root root      7, 131 Apr 15 20:33 vcsa3
crw-------  1 root root      7, 132 Apr 15 20:33 vcsa4
crw-------  1 root root      7, 133 Apr 15 20:33 vcsa5
crw-------  1 root root      7, 134 Apr 15 20:33 vcsa6
crw-------  1 root root     10,  63 Apr 15 20:29 vga_arbiter
crw-------  1 root root     10,  57 Apr 15 20:33 vhost-net
crw-------  1 root root    126,   0 Apr 15 20:33 vzctl
prw-r-----  1 root adm            0 May 20 11:33 xconsole
crw-rw-rw-  1 root root      1,   5 Apr 15 20:29 zero


Re: проброс порта USB и PCI [message #49596 is a reply to message #49594] Mon, 20 May 2013 10:08 Go to previous messageGo to next message
FreeDemon is currently offline  FreeDemon
Messages: 8
Registered: May 2013
Location: Kiev
Junior Member

From: *ukma.kiev.ua
ну дык, выполняй
# vzctl set 101 --devices b:251:0:rw --save

Re: проброс порта USB и PCI [message #49597 is a reply to message #49596] Mon, 20 May 2013 12:31 Go to previous messageGo to next message
rvizor is currently offline  rvizor
Messages: 7
Registered: May 2013
Location: Russia
Junior Member
From: *uln.ru
FreeDemon wrote on Mon, 20 May 2013 06:08
ну дык, выполняй
# vzctl set 101 --devices b:251:0:rw --save




Если не сложно можешь обяснить имеено почему 251.

crw------- 1 root root 251, 0 Apr 15 20:29 usbmon0
crw------- 1 root root 251, 1 Apr 15 20:29 usbmon1
crw------- 1 root root 251, 2 Apr 15 20:29 usbmon2
Re: проброс порта USB и PCI [message #49598 is a reply to message #49597] Mon, 20 May 2013 12:37 Go to previous messageGo to next message
rvizor is currently offline  rvizor
Messages: 7
Registered: May 2013
Location: Russia
Junior Member
From: *uln.ru
Делаю
~# vzctl set 105 --devices b:251:0:rw --save
Setting devices
CT configuration saved to /etc/pve/openvz/105.conf

reboot машины 105

далее.

с ПК 105

lsusb
lsusb -v

Пусто =(
Re: проброс порта USB и PCI [message #49599 is a reply to message #49598] Mon, 20 May 2013 12:48 Go to previous messageGo to next message
rvizor is currently offline  rvizor
Messages: 7
Registered: May 2013
Location: Russia
Junior Member
From: *uln.ru
105 ПК

Это CentOS 5.
Linux s44local 2.6.32-18-pve #1 SMP Mon Jan 21 12:09:05 CET 2013 i686 i686 i386 GNU/Linux
Re: проброс порта USB и PCI [message #49600 is a reply to message #49599] Mon, 20 May 2013 13:39 Go to previous message
FreeDemon is currently offline  FreeDemon
Messages: 8
Registered: May 2013
Location: Kiev
Junior Member

From: *ukma.kiev.ua
251, 0 Apr 15 20:29 usbmon0
Это оснавная шина и все устройства подвязаные к ней.
Хотя я могу и ошибатся.
Попробуй таким же чудом usbmon1 (251:1), usbmon2 (251:2) подключить.

Пробуй, эксперементируй.
Previous Topic: Проблема с переносом контейнеров
Next Topic: размер контейнеров и фс
Goto Forum:
  


Current Time: Sun Jun 24 16:40:48 GMT 2018