1

I'm trying get data from an USB to my application. My device is a Power Frequency Inverter that have a Type B USB as output, in the another side have an USB type A plugged in the my computer.

When I use lsusb the device is present as the figure bellow:

$ lsusb

Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter  
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub  

When plugged I have the answer for below:
$ lsusb

Bus 001 Device 004: ID 19c7:0400  
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter  
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub  

My device is the #004, in the first lsusb the /dev/tty* doesn't show my device as connected, after the device is plugged, but drive isn't update in dev folder. I found in http://www.linux-usb.org/usb.ids the presente Vid and Pid isn't cataloged. I would like some idea how to get data from this device or what i need do to this work in right way.

I also used dmesg -hw to get information about the device, the answer when I plugded and unplugged

 [  +0.100958] usb 1-1.2: New USB device found, idVendor=19c7, idProduct=0400
 [  +0.000018] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
 [  +0.000011] usb 1-1.2: Product: CFW-700
 [  +0.000010] usb 1-1.2: Manufacturer: WEG Equipamentos Elétricos S.A. - Automação
 [  +0.000009] usb 1-1.2: SerialNumber: FFFFFFFF
 [ +13.017634] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
 [  +0.001318] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
 [Feb12 15:20] smsc95xx 1-1.1:1.0 eth0: link down
 [ +24.490891] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
 [Feb12 15:21] usb 1-1.2: USB disconnect, device number 4
 [  +2.536916] usb 1-1.2: new full-speed USB device number 5 using dwc_otg
 [  +0.102449] usb 1-1.2: New USB device found, idVendor=19c7, idProduct=0400
 [  +0.000016] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
 [  +0.000009] usb 1-1.2: Product: CFW-700
 [  +0.000010] usb 1-1.2: Manufacturer: WEG Equipamentos Elétricos S.A. - Automação
 [  +0.000009] usb 1-1.2: SerialNumber: FFFFFFFF

The info about the usb: lsusb -d 19c7:0400 -v

To simplifique:

 bDeviceClass          255 Vendor Specific Class  
 bDeviceSubClass         0  
 bInterfaceClass       255 Vendor Specific Class
 bInterfaceSubClass      0
  • Hello and welcome to the U&L stack exchange site! Please review the Help Center to get information on how to best post to this site. To get to your question, you should avoid posting pictures of text. Pictures can be hard to read. Text is easier to read in different screen formats, can be copied and pasted, as well as is search engine addressable, making it easier for people to reach this post who may have a similar issue. Could you please edit your post to be text instead? Thank you! – kemotep Feb 13 at 20:03
  • Yeah, but I'm far way from device. So when I have near her edit the post, ok? – Elias Elnatã Feb 13 at 20:16
  • To get some useful information about the interface provided by this device, you should use sudo lsusb -d 19c7:0400 -v > inverter-usb-info.txt. The output will be captured into the inverter-usb-info.txt file, which you hopefully can then edit into your question or perhaps into a pastebin if it's very long. In particular, any bDeviceClass, bDeviceSubClass, bInterfaceClass, BInterfaceSubClass lines in the output might give some clues on how this device should be accessed over USB. – telcoM Feb 13 at 20:27
  • Guys, thx for pacience. The post was edited. – Elias Elnatã Feb 14 at 2:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.