cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
812
Views
1
Helpful
1
Replies

CGM-SRV上のUbuntuにてUSBデバイスを認識させる方法

zznminegishi1
Level 1
Level 1

CGR1120のCGM-SRVに搭載されているUbuntuにUSBのデジタル加速度計を接続してデータを取得しようとしております。

しかし、CGM-SRVのUBSPortにデジタル加速度計を接続しても認識されていない状況です。

接続しようとしているUSBの加速度計については、他のUbuntuですと以下のように認識されます。

syslog

=======

May 11 18:18:25 ubunote kernel: [ 125.714933] usb 2-6: new full-speed USB device number 4 using xhci_hcd

May 11 18:18:25 ubunote kernel: [ 125.848466] usb 2-6: New USB device found, idVendor=29da, idProduct=0007

May 11 18:18:25 ubunote kernel: [ 125.848471] usb 2-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3

May 11 18:18:25 ubunote kernel: [ 125.848473] usb 2-6: Product: 333D01 10598743782373726161108

May 11 18:18:25 ubunote kernel: [ 125.848475] usb 2-6: Manufacturer: Digiducer.com

May 11 18:18:25 ubunote kernel: [ 125.848476] usb 2-6: SerialNumber: 059874 10598743782373726161108

kern.log

========

May 11 18:16:57 ubunote kernel: [ 37.467584] usbcore: registered new interface driver snd-usb-audio

May 11 18:18:08 ubunote kernel: [ 108.926006] usb 2-6: USB disconnect, device number 3

May 11 18:18:25 ubunote kernel: [ 125.714933] usb 2-6: new full-speed USB device number 4 using xhci_hcd

May 11 18:18:25 ubunote kernel: [ 125.848466] usb 2-6: New USB device found, idVendor=29da, idProduct=0007

May 11 18:18:25 ubunote kernel: [ 125.848471] usb 2-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3

May 11 18:18:25 ubunote kernel: [ 125.848473] usb 2-6: Product: 333D01 10598743782373726161108

May 11 18:18:25 ubunote kernel: [ 125.848475] usb 2-6: Manufacturer: Digiducer.com

May 11 18:18:25 ubunote kernel: [ 125.848476] usb 2-6: SerialNumber: 059874 10598743782373726161108

lsusb -v

========

Bus 002 Device 004: ID 29da:0007

Device Descriptor:

  bLength 18

  bDescriptorType 1

  bcdUSB 2.00

  bDeviceClass 0 (Defined at Interface level)

  bDeviceSubClass 0

  bDeviceProtocol 0

  bMaxPacketSize0 8

  idVendor 0x29da

  idProduct 0x0007

  bcdDevice 1.00

  iManufacturer 1

  iProduct 2

  iSerial 3

  bNumConfigurations 1

  Configuration Descriptor:

  bLength 9

  bDescriptorType 2

  wTotalLength 189

  bNumInterfaces 2

  bConfigurationValue 1

  iConfiguration 0

  bmAttributes 0x80

  (Bus Powered)

  MaxPower 40mA

  Interface Descriptor:

  bLength 9

  bDescriptorType 4

  bInterfaceNumber 0

  bAlternateSetting 0

  bNumEndpoints 0

  bInterfaceClass 1 Audio

  bInterfaceSubClass 1 Control Device

  bInterfaceProtocol 0

  iInterface 0

  AudioControl Interface Descriptor:

  bLength 9

  bDescriptorType 36

  bDescriptorSubtype 1 (HEADER)

  bcdADC 1.00

  wTotalLength 40

  bInCollection 1

  baInterfaceNr( 0) 1

  AudioControl Interface Descriptor:

  bLength 12

  bDescriptorType 36

  bDescriptorSubtype 2 (INPUT_TERMINAL)

  bTerminalID 1

  wTerminalType 0x0201 Microphone

  bAssocTerminal 2

  bNrChannels 2

  wChannelConfig 0x0003

  Left Front (L)

  Right Front (R)

  iChannelNames 0

  iTerminal 0

  AudioControl Interface Descriptor:

  bLength 9

  bDescriptorType 36

  bDescriptorSubtype 3 (OUTPUT_TERMINAL)

  bTerminalID 2

  wTerminalType 0x0101 USB Streaming

  bAssocTerminal 1

  bSourceID 3

  iTerminal 0

  AudioControl Interface Descriptor:

  bLength 10

  bDescriptorType 36

  bDescriptorSubtype 6 (FEATURE_UNIT)

  bUnitID 3

  bSourceID 1

  bControlSize 1

  bmaControls( 0) 0x01

  Mute Control

  bmaControls( 1) 0x02

  Volume Control

  bmaControls( 2) 0x02

  Volume Control

  iFeature 0

  Interface Descriptor:

  bLength 9

  bDescriptorType 4

  bInterfaceNumber 1

  bAlternateSetting 0

  bNumEndpoints 0

  bInterfaceClass 1 Audio

  bInterfaceSubClass 2 Streaming

  bInterfaceProtocol 0

  iInterface 0

  Interface Descriptor:

  bLength 9

  bDescriptorType 4

  bInterfaceNumber 1

  bAlternateSetting 1

  bNumEndpoints 1

  bInterfaceClass 1 Audio

  bInterfaceSubClass 2 Streaming

  bInterfaceProtocol 0

  iInterface 0

  AudioStreaming Interface Descriptor:

  bLength 7

  bDescriptorType 36

  bDescriptorSubtype 1 (AS_GENERAL)

  bTerminalLink 2

  bDelay 1 frames

  wFormatTag 1 PCM

  AudioStreaming Interface Descriptor:

  bLength 29

  bDescriptorType 36

  bDescriptorSubtype 2 (FORMAT_TYPE)

  bFormatType 1 (FORMAT_TYPE_I)

  bNrChannels 2

  bSubframeSize 2

  bBitResolution 16

  bSamFreqType 7 Discrete

  tSamFreq[ 0] 8000

  tSamFreq[ 1] 11025

  tSamFreq[ 2] 16000

  tSamFreq[ 3] 22050

  tSamFreq[ 4] 32000

  tSamFreq[ 5] 44100

  tSamFreq[ 6] 48000

  Endpoint Descriptor:

  bLength 9

  bDescriptorType 5

  bEndpointAddress 0x81 EP 1 IN

  bmAttributes 13

  Transfer Type Isochronous

  Synch Type Synchronous

  Usage Type Data

  wMaxPacketSize 0x00c0 1x 192 bytes

  bInterval 1

  bRefresh 0

  bSynchAddress 0

  AudioControl Endpoint Descriptor:

  bLength 7

  bDescriptorType 37

  bDescriptorSubtype 1 (EP_GENERAL)

  bmAttributes 0x01

  Sampling Frequency

  bLockDelayUnits 0 Undefined

  wLockDelay 0 Undefined

  Interface Descriptor:

  bLength 9

  bDescriptorType 4

  bInterfaceNumber 1

  bAlternateSetting 2

  bNumEndpoints 1

  bInterfaceClass 1 Audio

  bInterfaceSubClass 2 Streaming

  bInterfaceProtocol 0

  iInterface 0

  AudioStreaming Interface Descriptor:

  bLength 7

  bDescriptorType 36

  bDescriptorSubtype 1 (AS_GENERAL)

  bTerminalLink 2

  bDelay 1 frames

  wFormatTag 1 PCM

  AudioStreaming Interface Descriptor:

  bLength 29

  bDescriptorType 36

  bDescriptorSubtype 2 (FORMAT_TYPE)

  bFormatType 1 (FORMAT_TYPE_I)

  bNrChannels 2

  bSubframeSize 3

  bBitResolution 24

  bSamFreqType 7 Discrete

  tSamFreq[ 0] 8000

  tSamFreq[ 1] 11025

  tSamFreq[ 2] 16000

  tSamFreq[ 3] 22050

  tSamFreq[ 4] 32000

  tSamFreq[ 5] 44100

  tSamFreq[ 6] 48000

  Endpoint Descriptor:

  bLength 9

  bDescriptorType 5

  bEndpointAddress 0x81 EP 1 IN

  bmAttributes 13

  Transfer Type Isochronous

  Synch Type Synchronous

  Usage Type Data

  wMaxPacketSize 0x0120 1x 288 bytes

  bInterval 1

  bRefresh 0

  bSynchAddress 0

  AudioControl Endpoint Descriptor:

  bLength 7

  bDescriptorType 37

  bDescriptorSubtype 1 (EP_GENERAL)

  bmAttributes 0x01

  Sampling Frequency

  bLockDelayUnits 0 Undefined

  wLockDelay 0 Undefined

Hypervisorにログインしてlsusbを確認すると認識されていましたので、恐らくHypervisorからGuestOSにUSBデバイスをマウントできればCGM-SRV上のUbuntuから認識できるのでは無いかと考えておりますが、その認識で間違いございませんでしょうか?

また、もしHypervisor上からマウントさせるとなると、その方法についてもご教授いただけませんでしょうか?

1 Reply 1

Steve Zhang
Cisco Employee
Cisco Employee