various hardware under FreeBSD
Various hardware under FreeBSD.
Just for documenting purposes.
back to operating systems page.
History
2021-08-26: I re-created this page on my self-hosted web server.
2020-03-22: I have a Logitech K400 keyboard with built in touchpad, it has a Logitech Unifying receiver. If I ever need to pair devices with the Unifying receiver, Solaar under Linux might help. Plugging the Unifying receiver into my FreeBSD workstation gives:
root@kg-core2# usbconfig -d ugen0.4 ugen0.4: <Logitech USB Receiver> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (98mA)
and from /var/log/messages:
Mar 22 20:33:04 kg-core2 kernel: ugen0.4: <Logitech USB Receiver> at usbus0 Mar 22 20:33:04 kg-core2 kernel: ukbd1 on uhub0 Mar 22 20:33:04 kg-core2 kernel: ukbd1: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 16> on usbus0 Mar 22 20:33:04 kg-core2 kernel: kbd3 at ukbd1 Mar 22 20:33:04 kg-core2 kernel: ums1 on uhub0 Mar 22 20:33:04 kg-core2 kernel: ums1: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 16> on usbus0 Mar 22 20:33:04 kg-core2 kernel: ums1: 16 buttons and [XYZT] coordinates ID=2 Mar 22 20:33:04 kg-core2 kernel: uhid0 on uhub0 Mar 22 20:33:04 kg-core2 kernel: uhid0: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 16> on usbus0
powering on the keyboard doesn't change anything in /var/log/messages - but the keyboard and touchpad works :-)
2017-09-12: sometime ago, I bought a "USB Multi-function LAN Adapter" ("for MacBook") on eBay. Today I plugged it into my FreeBSD workstation
tingo@kg-core1$ uname -a FreeBSD kg-core1.kg4.no 10.3-STABLE FreeBSD 10.3-STABLE #0 r310083: Wed Dec 14 21:00:13 CET 2016 root@kg-core1.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64
in /var/log/messages I see
Sep 12 19:59:12 kg-core1 kernel: ugen3.6: <GenesysLogic> at usbus3 Sep 12 19:59:12 kg-core1 kernel: uhub10: <GenesysLogic USB2.0 Hub, class 9/0, rev 2.00/92.24, addr 6> on usbus3 Sep 12 19:59:12 kg-core1 kernel: uhub10: MTT enabled Sep 12 19:59:13 kg-core1 kernel: uhub10: 4 ports with 1 removable, self powered Sep 12 19:59:13 kg-core1 kernel: ugen3.7: <Realtek> at usbus3 Sep 12 19:59:13 kg-core1 devd: Executing 'kldload -n if_ure'
there isn't a if_ure.ko in /boot/kernel, so nothing gets loaded. usbconfig shows these two devices
ugen3.6: <USB2.0 Hub GenesysLogic> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA) ugen3.7: <USB 10100 LAN Realtek> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (100mA)
and device descriptors
root@kg-core1# usbconfig -d ugen3.6 dump_device_desc ugen3.6: <USB2.0 Hub GenesysLogic> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0009 <HUB> bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0002 bMaxPacketSize0 = 0x0040 idVendor = 0x05e3 idProduct = 0x0610 bcdDevice = 0x9224 iManufacturer = 0x0001 <GenesysLogic> iProduct = 0x0002 <USB2.0 Hub> iSerialNumber = 0x0000 <no string> bNumConfigurations = 0x0001 root@kg-core1# usbconfig -d ugen3.7 dump_device_desc ugen3.7: <USB 10100 LAN Realtek> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (100mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0210 bDeviceClass = 0x0000 <Probed by interface class> bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x0bda idProduct = 0x8152 bcdDevice = 0x2000 iManufacturer = 0x0001 <Realtek> iProduct = 0x0002 <USB 10/100 LAN> iSerialNumber = 0x0003 <00E04C3608F8> bNumConfigurations = 0x0002
config descriptors
root@kg-core1# usbconfig -d ugen3.6 dump_curr_config_desc ugen3.6: <USB2.0 Hub GenesysLogic> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA) Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0029 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x00e0 bMaxPower = 0x0032 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x0009 <HUB> bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0001 iInterface = 0x0000 <no string> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0003 <INTERRUPT> wMaxPacketSize = 0x0001 bInterval = 0x000c bRefresh = 0x0000 bSynchAddress = 0x0000 Interface 0 Alt 1 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0001 bNumEndpoints = 0x0001 bInterfaceClass = 0x0009 <HUB> bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0002 iInterface = 0x0000 <no string> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0003 <INTERRUPT> wMaxPacketSize = 0x0001 bInterval = 0x000c bRefresh = 0x0000 bSynchAddress = 0x0000 root@kg-core1# usbconfig -d ugen3.7 dump_curr_config_desc ugen3.7: <USB 10100 LAN Realtek> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (100mA) Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0027 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x00a0 bMaxPower = 0x0032 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0003 bInterfaceClass = 0x00ff <Vendor specific> bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x0000 iInterface = 0x0000 <no string> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0002 <OUT> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 2 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0083 <IN> bmAttributes = 0x0003 <INTERRUPT> wMaxPacketSize = 0x0002 bInterval = 0x0008 bRefresh = 0x0000 bSynchAddress = 0x0000
ok. The usb ports on the hub appears to work - usb memory sticks are detected when inserted.
2016-01-22: At Clas Ohlson I bought 2 x 38-6255 Seagate Backup Plus 2 TB for NOK 998.- each. I have one already.
2014-12-17: in yesterday's "raid" at Digital Impuls I also got a BestConnection 7.1 channel USB 2.0 sound box (127607) for NOK 100.- I connect it to my Xubuntu laptop:
tingo@kg-u35jc:~$ uname -a Linux kg-u35jc 3.2.0-74-generic #109-Ubuntu SMP Tue Dec 9 16:45:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux tingo@kg-u35jc:~$ lsb_release -a LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:cxx-3.0-amd64:cxx-3.0-noarch:cxx-3.1-amd64:cxx-3.1-noarch:cxx-3.2-amd64:cxx-3.2-noarch:cxx-4.0-amd64:cxx-4.0-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-3.2-amd64:printing-3.2-noarch:printing-4.0-amd64:printing-4.0-noarch:qt4-3.1-amd64:qt4-3.1-noarch Distributor ID: Ubuntu Description: Ubuntu 12.04.5 LTS Release: 12.04 Codename: precise
and it shows up like this in /var/log/messages:
Dec 17 21:13:18 kg-u35jc kernel: [164279.694383] usb 2-1.3: new full-speed USB device number 9 using ehci_hcd Dec 17 21:13:18 kg-u35jc mtp-probe: checking bus 2, device 9: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3" Dec 17 21:13:18 kg-u35jc kernel: [164279.794806] usb_audio: Warning! Unlikely big volume range (=8065), cval->res is probably wrong. Dec 17 21:13:18 kg-u35jc kernel: [164279.794818] usb_audio: [9] FU [Mic Playback Volume] ch = 2, val = -6144/1921/1 Dec 17 21:13:18 kg-u35jc kernel: [164279.796049] usb_audio: Warning! Unlikely big volume range (=8065), cval->res is probably wrong. Dec 17 21:13:18 kg-u35jc kernel: [164279.796059] usb_audio: [11] FU [Line Playback Volume] ch = 2, val = -6144/1921/1 Dec 17 21:13:18 kg-u35jc kernel: [164279.801581] usb_audio: Warning! Unlikely big volume range (=6928), cval->res is probably wrong. Dec 17 21:13:18 kg-u35jc kernel: [164279.801588] usb_audio: [8] FU [Mic Capture Volume] ch = 2, val = -4096/2832/1 Dec 17 21:13:18 kg-u35jc kernel: [164279.802812] usb_audio: Warning! Unlikely big volume range (=6928), cval->res is probably wrong. Dec 17 21:13:18 kg-u35jc kernel: [164279.802820] usb_audio: [15] FU [Line Capture Volume] ch = 2, val = -4096/2832/1 Dec 17 21:13:18 kg-u35jc kernel: [164279.804054] usb_audio: Warning! Unlikely big volume range (=6928), cval->res is probably wrong. Dec 17 21:13:18 kg-u35jc kernel: [164279.804065] usb_audio: [2] FU [PCM Capture Volume] ch = 2, val = -4096/2832/1 Dec 17 21:13:18 kg-u35jc kernel: [164279.805920] input: USB Sound Device as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.3/input/input14 Dec 17 21:13:18 kg-u35jc mtp-probe: bus: 2, device: 9 was not an MTP device Dec 17 21:13:18 kg-u35jc kernel: [164279.806706] generic-usb 0003:0D8C:0102.0003: input,hidraw1: USB HID v1.00 Device [USB Sound Device ] on usb-0000:00:1d.0-1.3/input3 Dec 17 21:13:18 kg-u35jc pulseaudio[2224]: [pulseaudio] alsa-mixer.c: Volume element Speaker has 8 channels. That's too much! I can't handle that!
not perfect.
2014-12-16: I bought a SDM OEM usb 2.0 Multifunction dock (126683) from Digital Impuls for NOK 30.- it has usb 2.0 ports (9 ports), sound (mono mic, stereo headphone, line out), Ethernet (10/100 Mbps). When connected to my xubuntu laptop:
tingo@kg-u35jc:~$ uname -a Linux kg-u35jc 3.2.0-74-generic #109-Ubuntu SMP Tue Dec 9 16:45:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux tingo@kg-u35jc:~$ lsb_release -a LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:cxx-3.0-amd64:cxx-3.0-noarch:cxx-3.1-amd64:cxx-3.1-noarch:cxx-3.2-amd64:cxx-3.2-noarch:cxx-4.0-amd64:cxx-4.0-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-3.2-amd64:printing-3.2-noarch:printing-4.0-amd64:printing-4.0-noarch:qt4-3.1-amd64:qt4-3.1-noarch Distributor ID: Ubuntu Description: Ubuntu 12.04.5 LTS Release: 12.04 Codename: precise
it shows up like this in /var/log/messages:
Dec 16 21:09:43 kg-u35jc kernel: [77715.996985] usb 2-1.3: new high-speed USB device number 4 using ehci_hcd Dec 16 21:09:43 kg-u35jc kernel: [77716.089866] hub 2-1.3:1.0: USB hub found Dec 16 21:09:43 kg-u35jc kernel: [77716.089924] hub 2-1.3:1.0: 7 ports detected Dec 16 21:09:43 kg-u35jc kernel: [77716.360769] usb 2-1.3.4: new high-speed USB device number 5 using ehci_hcd Dec 16 21:09:43 kg-u35jc mtp-probe: checking bus 2, device 5: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3.4" Dec 16 21:09:43 kg-u35jc mtp-probe: bus: 2, device: 5 was not an MTP device Dec 16 21:09:43 kg-u35jc kernel: [77716.528693] usb 2-1.3.5: new full-speed USB device number 6 using ehci_hcd Dec 16 21:09:43 kg-u35jc mtp-probe: checking bus 2, device 6: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3.5" Dec 16 21:09:43 kg-u35jc kernel: [77716.622557] input: C-Media USB Audio Device as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3.5/2-1.3.5:1.3/input/input13 Dec 16 21:09:43 kg-u35jc kernel: [77716.622698] generic-usb 0003:0D8C:000C.0002: input,hidraw1: USB HID v1.00 Device [C-Media USB Audio Device ] on usb-0000:00:1d.0-1.3.5/input3 Dec 16 21:09:43 kg-u35jc mtp-probe: bus: 2, device: 6 was not an MTP device Dec 16 21:09:43 kg-u35jc kernel: [77716.679182] usbcore: registered new interface driver snd-usb-audio Dec 16 21:09:43 kg-u35jc kernel: [77716.692586] usb 2-1.3.7: new high-speed USB device number 7 using ehci_hcd Dec 16 21:09:43 kg-u35jc kernel: [77716.785554] hub 2-1.3.7:1.0: USB hub found Dec 16 21:09:43 kg-u35jc kernel: [77716.785645] hub 2-1.3.7:1.0: 7 ports detected Dec 16 21:09:44 kg-u35jc kernel: [77717.795986] usb 2-1.3.7.7: new high-speed USB device number 8 using ehci_hcd Dec 16 21:09:44 kg-u35jc mtp-probe: checking bus 2, device 8: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3.7/2-1.3.7.7" Dec 16 21:09:44 kg-u35jc mtp-probe: bus: 2, device: 8 was not an MTP device Dec 16 21:09:44 kg-u35jc kernel: [77717.920289] Initializing USB Mass Storage driver... Dec 16 21:09:44 kg-u35jc kernel: [77717.920466] scsi4 : usb-storage 2-1.3.7.7:1.0 Dec 16 21:09:44 kg-u35jc kernel: [77717.920550] usbcore: registered new interface driver usb-storage Dec 16 21:09:44 kg-u35jc kernel: [77717.920551] USB Mass Storage support registered. Dec 16 21:09:45 kg-u35jc kernel: [77718.593113] MOSCHIP usb-ethernet driver 2-1.3.4:1.0: eth1: register 'MOSCHIP usb-ethernet driver' at usb-0000:00:1d.0-1.3.4, MOSCHIP 7830/7832/7730 usb-NET adapter, 00:13:3b:00:04:19 Dec 16 21:09:45 kg-u35jc kernel: [77718.593190] usbcore: registered new interface driver MOSCHIP usb-ethernet driver Dec 16 21:09:45 kg-u35jc kernel: [77718.819933] udevd[747]: renamed network interface eth1 to eth2 Dec 16 21:09:45 kg-u35jc kernel: [77718.924180] scsi 4:0:0:0: Direct-Access SPIF301 USB2SATA Bridge 0108 PQ: 0 ANSI: 2 Dec 16 21:09:45 kg-u35jc kernel: [77718.925646] sd 4:0:0:0: Attached scsi generic sg1 type 0 Dec 16 21:09:45 kg-u35jc kernel: [77718.929889] sd 4:0:0:0: [sdb] Attached SCSI removable disk
wow, that's a lot.
2013-12-06: from FastTech, I bought a Fast Ethernet 10/100Mbps LAN USB Network Adapter (SKU 1064403) for only USD 3.99. The only text on the white dongle is "JP1081B" and "NO:9700". It claims Linux support. How about FreeBSD?
tingo@kg-core1$ uname -a FreeBSD kg-core1.kg4.no 8.4-STABLE FreeBSD 8.4-STABLE #0 r253646: Thu Jul 25 10:12:31 UTC 2013 root@kg-core1.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64
from /var/log/messages:
Dec 6 19:37:54 kg-core1 kernel: ugen2.4: <vendor 0x0fe6> at usbus2 Dec 6 19:37:54 kg-core1 kernel: udav0: <vendor 0x0fe6 USB 2.0 10100M Ethernet Adaptor, class 0/0, rev 1.10/1.01, addr 4> on usbus2 Dec 6 19:37:54 kg-core1 kernel: ue0: <USB Ethernet> on udav0 Dec 6 19:37:54 kg-core1 kernel: ue0: Ethernet address: 00:e0:4c:53:44:58
Nice! usbconfig output:
root@kg-core1# usbconfig -d ugen2.4 ugen2.4: <USB 2.0 10100M Ethernet Adaptor vendor 0x0fe6> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
device description:
root@kg-core1# usbconfig -d ugen2.4 dump_device_desc ugen2.4: <USB 2.0 10100M Ethernet Adaptor vendor 0x0fe6> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0110 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x0fe6 idProduct = 0x9700 bcdDevice = 0x0101 iManufacturer = 0x0000 <no string> iProduct = 0x0002 <USB 2.0 10/100M Ethernet Adaptor> iSerialNumber = 0x0000 <no string> bNumConfigurations = 0x0001
current config:
root@kg-core1# usbconfig -d ugen2.4 dump_curr_config_desc ugen2.4: <USB 2.0 10100M Ethernet Adaptor vendor 0x0fe6> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0027 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x00a0 bMaxPower = 0x003c Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0003 bInterfaceClass = 0x0000 bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0000 iInterface = 0x0000 <no string> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0040 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0002 <OUT> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0040 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 2 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0083 <IN> bmAttributes = 0x0003 <INTERRUPT> wMaxPacketSize = 0x0008 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000
This one is supported. ifconfig says:
root@kg-core1# ifconfig ue0 ue0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 00:e0:4c:53:44:58
funnily, so does 'ifconfig -m':
root@kg-core1# ifconfig -m ue0 ue0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 00:e0:4c:53:44:58
I wonder why.
2013-07-29: sometime ago, I bought a Deltaco WS-NWU220G USB-RJ45 Ethernet Gigabit adapter (it seems to be a Winstars product). The packaging claims it even work with Linux. Connected to a few of my FreeBSD machines:
root@kg-core1# uname -a FreeBSD kg-core1.kg4.no 8.4-STABLE FreeBSD 8.4-STABLE #0 r253646: Thu Jul 25 10:12:31 UTC 2013 root@kg-core1.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 root@kg-core1# usbconfig -d ugen2.2 ugen2.2: <USB Gigabit LAN WS> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
device description
root@kg-core1# usbconfig -d ugen2.2 dump_device_desc ugen2.2: <USB Gigabit LAN WS> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x00ff bDeviceSubClass = 0x0000 bDeviceProtocol = 0x00ff bMaxPacketSize0 = 0x0040 idVendor = 0x0424 idProduct = 0x7500 bcdDevice = 0x0100 iManufacturer = 0x0001 <WS> iProduct = 0x0002 <USB Gigabit LAN> iSerialNumber = 0x0003 <000000004a> bNumConfigurations = 0x0001
current config
root@kg-core1# usbconfig -d ugen2.2 dump_curr_config_desc ugen2.2: <USB Gigabit LAN WS> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0027 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0004 <Cfg> bmAttributes = 0x00c0 bMaxPower = 0x0032 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0003 bInterfaceClass = 0x00ff bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x00ff iInterface = 0x0005 <i/f> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0002 <OUT> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 2 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0083 <IN> bmAttributes = 0x0003 <INTERRUPT> wMaxPacketSize = 0x0010 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000
from dmesg:
Jul 29 20:49:18 kg-core1 root: Unknown USB device: vendor 0x0424 product 0x7500 bus uhub2 Jul 29 20:49:18 kg-core1 kernel: ugen2.2: <WS> at usbus2
another machine:
root@kg-v7# uname -a FreeBSD kg-v7.kg4.no 9.1-STABLE FreeBSD 9.1-STABLE #0: Sun Jan 6 20:09:55 CET 2013 root@kg-v7.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64
from dmesg
Jul 29 23:02:57 kg-v7 root: Unknown USB device: vendor 0x0424 product 0x7500 bus uhub1 Jul 29 23:02:57 kg-v7 kernel: ugen1.3: <WS> at usbus1
usbconfig
root@kg-v7# usbconfig -d ugen1.3 ugen1.3: <USB Gigabit LAN WS> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
device description
root@kg-v7# usbconfig -d ugen1.3 dump_device_desc ugen1.3: <USB Gigabit LAN WS> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x00ff bDeviceSubClass = 0x0000 bDeviceProtocol = 0x00ff bMaxPacketSize0 = 0x0040 idVendor = 0x0424 idProduct = 0x7500 bcdDevice = 0x0100 iManufacturer = 0x0001 <WS> iProduct = 0x0002 <USB Gigabit LAN> iSerialNumber = 0x0003 <000000004a> bNumConfigurations = 0x0001
current config
root@kg-v7# usbconfig -d ugen1.3 dump_curr_config_desc ugen1.3: <USB Gigabit LAN WS> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0027 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0004 <Cfg> bmAttributes = 0x00c0 bMaxPower = 0x0032 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0003 bInterfaceClass = 0x00ff bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x00ff iInterface = 0x0005 <i/f> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0002 <OUT> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 2 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0083 <IN> bmAttributes = 0x0003 <INTERRUPT> wMaxPacketSize = 0x0010 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000
So it doesn't look like it is supported.
2013-04-14: just testing a Deltaco SATA-61 usb to IDE/SATA adapter. On my workstation:
tingo@kg-v2$ uname -a FreeBSD kg-v2.kg4.no 8.3-STABLE FreeBSD 8.3-STABLE #6: Fri Apr 27 23:50:55 CEST 2012 root@kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64
it shows up like this in /var/log/messages:
Apr 14 17:26:12 kg-v2 kernel: ugen0.3: <JMicron> at usbus0 Apr 14 17:26:12 kg-v2 kernel: umass0: <MSC Bulk-Only Transfer> on usbus0 Apr 14 17:26:12 kg-v2 kernel: umass0: SCSI over Bulk-Only; quirks = 0x4000 Apr 14 17:26:12 kg-v2 kernel: umass0:0:0:-1: Attached to scbus0 Apr 14 17:26:12 kg-v2 kernel: da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 Apr 14 17:26:12 kg-v2 kernel: da0: <WDC WD16 00AVJB-63J5A0 > Fixed Direct Access SCSI-2 device Apr 14 17:26:12 kg-v2 kernel: da0: 40.000MB/s transfers Apr 14 17:26:12 kg-v2 kernel: da0: 152627MB (312581808 512 byte sectors: 255H 63S/T 19457C)
(I used a hard drive connected to the IDE port to test it) usbconfig info:
root@kg-v2# usbconfig -d ugen0.3 ugen0.3: <USB to ATAATAPI bridge JMicron> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON root@kg-v2# usbconfig -d ugen0.3 dump_device_desc ugen0.3: <USB to ATAATAPI bridge JMicron> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x152d idProduct = 0x2338 bcdDevice = 0x0100 iManufacturer = 0x0001 <JMicron> iProduct = 0x0002 <USB to ATA/ATAPI bridge> iSerialNumber = 0x0005 <7D1600A64B56> bNumConfigurations = 0x0001 root@kg-v2# usbconfig -d ugen0.3 dump_curr_config_desc ugen0.3: <USB to ATAATAPI bridge JMicron> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0020 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0004 <USB Mass Storage> bmAttributes = 0x00c0 bMaxPower = 0x0001 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x0008 bInterfaceSubClass = 0x0006 bInterfaceProtocol = 0x0050 iInterface = 0x0006 <MSC Bulk-Only Transfer> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0002 <OUT> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000
that's it.
2013-03-03: I connected the USB Data Transfer Cable (38-2433) to my Linux laptop:
tingo@kg-u35jc:~$ lsb_release -a LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:cxx-3.0-amd64:cxx-3.0-noarch:cxx-3.1-amd64:cxx-3.1-noarch:cxx-3.2-amd64:cxx-3.2-noarch:cxx-4.0-amd64:cxx-4.0-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-3.2-amd64:printing-3.2-noarch:printing-4.0-amd64:printing-4.0-noarch:qt4-3.1-amd64:qt4-3.1-noarch Distributor ID: Ubuntu Description: Ubuntu 12.04.2 LTS Release: 12.04 Codename: precise tingo@kg-u35jc:~$ uname -a Linux kg-u35jc 3.2.0-38-generic #61-Ubuntu SMP Tue Feb 19 12:18:21 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
from /var/log/messages:
Mar 3 19:44:06 kg-u35jc kernel: [675110.437684] usb 2-1.3: new high-speed USB device number 4 using ehci_hcd Mar 3 19:44:06 kg-u35jc mtp-probe: checking bus 2, device 4: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3" Mar 3 19:44:06 kg-u35jc mtp-probe: bus: 2, device: 4 was not an MTP device Mar 3 19:44:07 kg-u35jc kernel: [675111.158934] Initializing USB Mass Storage driver... Mar 3 19:44:07 kg-u35jc kernel: [675111.159069] scsi4 : usb-storage 2-1.3:1.0 Mar 3 19:44:07 kg-u35jc kernel: [675111.159176] usbcore: registered new interface driver usb-storage Mar 3 19:44:07 kg-u35jc kernel: [675111.159179] USB Mass Storage support registered. Mar 3 19:44:08 kg-u35jc kernel: [675112.158324] scsi 4:0:0:0: CD-ROM Jargy Data Link 2.00 PQ: 0 ANSI: 0 Mar 3 19:44:08 kg-u35jc kernel: [675112.161440] sr0: scsi3-mmc drive: 11x/0x writer cd/rw xa/form2 tray Mar 3 19:44:08 kg-u35jc kernel: [675112.161446] cdrom: Uniform CD-ROM driver Revision: 3.20 Mar 3 19:44:08 kg-u35jc kernel: [675112.162540] sr 4:0:0:0: Attached scsi generic sg1 type 5
Also, a volume called EasySuite was mounted automatically:
tingo@kg-u35jc:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda5 202G 109G 83G 57% / udev 3.8G 4.0K 3.8G 1% /dev tmpfs 1.6G 932K 1.6G 1% /run none 5.0M 0 5.0M 0% /run/lock none 3.8G 104K 3.8G 1% /run/shm /dev/sr0 442K 442K 0 100% /media/EasySuite
from the mount command:
tingo@kg-u35jc:~$ mount /dev/sda5 on / type ext4 (rw,errors=remount-ro) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) none on /sys/fs/fuse/connections type fusectl (rw) none on /sys/kernel/debug type debugfs (rw) none on /sys/kernel/security type securityfs (rw) udev on /dev type devtmpfs (rw,mode=0755) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620) tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755) none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880) none on /run/shm type tmpfs (rw,nosuid,nodev) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev) gvfs-fuse-daemon on /home/tingo/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=tingo) /dev/sr0 on /media/EasySuite type iso9660 (ro,nosuid,nodev,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500,uhelper=udisks)
I can't do much with the contents of the EasySuite volume:
tingo@kg-u35jc:~$ ls -la /media/EasySuite total 396 dr-x------ 1 tingo tingo 2048 Aug 23 2010 . drwxr-xr-x 3 root root 4096 Mar 3 19:44 .. -r-------- 1 tingo tingo 49 Dec 12 2009 autorun.inf -r-------- 1 tingo tingo 398672 Aug 23 2010 EasySuite.exe
some usb commands:
tingo@kg-u35jc:~$ lsusb -s 2:4 Bus 002 Device 004: ID 247d:0239 tingo@kg-u35jc:~$ lsusb -v -s 2:4 Bus 002 Device 004: ID 247d:0239 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x247d idProduct 0x0239 bcdDevice 1.00 iManufacturer 1 Jargy iProduct 2 Data Link iSerial 3 44D94FD5E0C200E0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 200mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk-Only 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 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 bNumConfigurations 1 Device Status: 0x0000 (Bus Powered)
Doesn't look like I can do much with it.
2013-03-03: I bought a USB Data Transfer Cable (38-2433) just to see if it works at all with non-Windows machines. Today I connected it to my FreeBSD workstation:
tingo@kg-v2$ uname -a FreeBSD kg-v2.kg4.no 8.3-STABLE FreeBSD 8.3-STABLE #6: Fri Apr 27 23:50:55 CEST 2012 root@kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64
I get this in /var/log/messages:
Mar 3 19:03:13 kg-v2 kernel: ugen1.3: <Jargy> at usbus1 Mar 3 19:03:13 kg-v2 kernel: umass1: <Jargy Data Link, class 0/0, rev 2.00/1.00, addr 3> on usbus1 Mar 3 19:03:13 kg-v2 kernel: umass1: SCSI over Bulk-Only; quirks = 0x0100 Mar 3 19:03:13 kg-v2 kernel: umass1:1:1:-1: Attached to scbus1 Mar 3 19:03:14 kg-v2 kernel: (probe0:umass-sim1:1:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 Mar 3 19:03:14 kg-v2 kernel: (probe0:umass-sim1:1:0:0): CAM status: SCSI Status Error Mar 3 19:03:14 kg-v2 kernel: (probe0:umass-sim1:1:0:0): SCSI status: Check Condition Mar 3 19:03:14 kg-v2 kernel: (probe0:umass-sim1:1:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) Mar 3 19:03:14 kg-v2 kernel: cd0 at umass-sim1 bus 1 scbus1 target 0 lun 0 Mar 3 19:03:14 kg-v2 kernel: cd0: <Jargy Data Link 2.00> Removable CD-ROM SCSI-0 device Mar 3 19:03:14 kg-v2 kernel: cd0: 40.000MB/s transfers Mar 3 19:03:14 kg-v2 kernel: cd0: Attempt to query device size failed: NOT READY, Medium not present
and this from usbconfig:
root@kg-v2# usbconfig -u 1 -a 3 ugen1.3: <Data Link Jargy> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
device description
root@kg-v2# usbconfig -u 1 -a 3 dump_device_desc ugen1.3: <Data Link Jargy> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x247d idProduct = 0x0239 bcdDevice = 0x0100 iManufacturer = 0x0001 <Jargy > iProduct = 0x0002 <Data Link > iSerialNumber = 0x0003 <44D94FD5E0C200E0> bNumConfigurations = 0x0001
current config
root@kg-v2# usbconfig -u 1 -a 3 dump_curr_config_desc ugen1.3: <Data Link Jargy> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0020 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x0080 bMaxPower = 0x0064 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x0008 bInterfaceSubClass = 0x0006 bInterfaceProtocol = 0x0050 iInterface = 0x0000 <no string> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0002 <OUT> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000
I then plugged the other end into another machine. The leds on the "big end" blinked a bit, but nothing more happened on this machine. On the other machine:
root@kg-v7# uname -a FreeBSD kg-v7.kg4.no 9.1-STABLE FreeBSD 9.1-STABLE #0: Sun Jan 6 20:09:55 CET 2013 root@kg-v7.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64
things look about the same. From /var/log/messages:
Mar 3 19:12:43 kg-v7 kernel: ugen0.3: <Jargy> at usbus0 Mar 3 19:12:43 kg-v7 kernel: umass0: <Jargy Data Link, class 0/0, rev 2.00/1.00, addr 3> on usbus0 Mar 3 19:12:43 kg-v7 kernel: umass0: SCSI over Bulk-Only; quirks = 0x0100 Mar 3 19:12:43 kg-v7 kernel: umass0:7:0:-1: Attached to scbus7 Mar 3 19:12:43 kg-v7 kernel: cd0 at umass-sim0 bus 0 scbus7 target 0 lun 0 Mar 3 19:12:43 kg-v7 kernel: cd0: <Jargy Data Link 2.00> Removable CD-ROM SCSI-0 device Mar 3 19:12:43 kg-v7 kernel: cd0: 40.000MB/s transfers Mar 3 19:12:43 kg-v7 kernel: cd0: Attempt to query device size failed: NOT READY, Medium not present
usbconfig
root@kg-v7# usbconfig -u 0 -a 3 ugen0.3: <Data Link Jargy> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
device description
root@kg-v7# usbconfig -u 0 -a 3 dump_device_desc ugen0.3: <Data Link Jargy> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x247d idProduct = 0x0239 bcdDevice = 0x0100 iManufacturer = 0x0001 <Jargy > iProduct = 0x0002 <Data Link > iSerialNumber = 0x0003 <44D94FD5E0C200E1> bNumConfigurations = 0x0001
current config
root@kg-v7# usbconfig -u 0 -a 3 dump_curr_config_desc ugen0.3: <Data Link Jargy> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0020 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x0080 bMaxPower = 0x0064 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x0008 bInterfaceSubClass = 0x0006 bInterfaceProtocol = 0x0050 iInterface = 0x0000 <no string> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0002 <OUT> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0200 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000
That's all for now.
2011-04-20: silly me, the Tape to Digital converter works on FreeBSD 8.1-stable too, I just must remember to kldload the snd_uaudio module first:
root@kg-v2# kldload snd_uaudio root@kg-v2# uname -a FreeBSD kg-v2.kg4.no 8.1-STABLE FreeBSD 8.1-STABLE #3: Thu Sep 16 22:18:48 CEST 2010 root@kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 root@kg-v2# tail -7 /var/log/messages Apr 20 13:56:12 kg-v2 kernel: ugen2.3: <vendor 0x0c76> at usbus2 Apr 20 13:56:12 kg-v2 kernel: uaudio0: <vendor 0x0c76 USB PnP Audio Device, class 0/0, rev 1.10/1.00, addr 3> on usbus2 Apr 20 13:56:12 kg-v2 kernel: uaudio0: Play: 48000 Hz, 2 ch, 16-bit S-LE PCM format Apr 20 13:56:12 kg-v2 kernel: uaudio0: Record: 48000 Hz, 2 ch, 16-bit S-LE PCM format Apr 20 13:56:12 kg-v2 kernel: uaudio0: No midi sequencer Apr 20 13:56:12 kg-v2 kernel: pcm3: <USB audio> on uaudio0 Apr 20 13:56:12 kg-v2 kernel: uhid0: <vendor 0x0c76 USB PnP Audio Device, class 0/0, rev 1.10/1.00, addr 3> on usbus2
Output from /dev/sndstat confirms that there is a usb audio device in the machine:
root@kg-v2# cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0: <HDA VIA VT1708B_1 PCM #0 Analog> (play/rec) default pcm1: <HDA VIA VT1708B_1 PCM #1 Digital> (play) pcm2: <HDA NVidia MCP78 HDMI PCM #0 Digital> (play) pcm3: <USB audio> (play/rec)
Now, let's see what audacity thinks.
2011-04-20: Ok, I definitely need to upgrade my main workstation. Connecting the Tape to Digital converter to a machine running FreeBSD 8.2-stable gives this result:
root@kg-v7# uname -a FreeBSD kg-v7.kg4.no 8.2-STABLE FreeBSD 8.2-STABLE #5: Sat Feb 26 20:05:14 CET 2011 root@kg-v7.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 root@kg-v7# tail -10 /var/log/messages Apr 20 13:35:30 kg-v7 kernel: ugen0.3: <vendor 0x0c76> at usbus0 Apr 20 13:35:30 kg-v7 kernel: uaudio0: <vendor 0x0c76 USB PnP Audio Device, class 0/0, rev 1.10/1.00, addr 3> on usbus0 Apr 20 13:35:30 kg-v7 root: Unknown USB device: vendor 0x0c76 product 0x1600 bus uhub3 Apr 20 13:35:30 kg-v7 kernel: uaudio0: Play: 48000 Hz, 2 ch, 16-bit S-LE PCM format Apr 20 13:35:30 kg-v7 kernel: uaudio0: Record: 48000 Hz, 2 ch, 16-bit S-LE PCM format Apr 20 13:35:30 kg-v7 kernel: uaudio0: No midi sequencer Apr 20 13:35:30 kg-v7 kernel: pcm6: <USB audio> on uaudio0 Apr 20 13:35:30 kg-v7 root: Unknown USB device: vendor 0x0c76 product 0x1600 bus uhub3 Apr 20 13:35:30 kg-v7 kernel: uhid0: <vendor 0x0c76 USB PnP Audio Device, class 0/0, rev 1.10/1.00, addr 3> on usbus0 Apr 20 13:35:47 kg-v7 su: tingo to root on /dev/pts/2
So, there is a sound device after all.
2011-04-20: I bought a Tape to Digital converter (model RC-2765, the label on the device itself says "Cassette to MP3 Converter"), which can transfer your old music tapes on cassette to mp3 files. Amazon has a version, too: Clarity CRC2765 USB Cassette Recorder. When connected to a FreeBSD machine it shows up like this:
root@kg-v2# uname -a FreeBSD kg-v2.kg4.no 8.1-STABLE FreeBSD 8.1-STABLE #3: Thu Sep 16 22:18:48 CEST 2010 root@kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 root@kg-v2# tail -2 /var/log/messages Apr 20 12:35:15 kg-v2 kernel: ugen2.3: <vendor 0x0c76> at usbus2 Apr 20 12:35:15 kg-v2 kernel: uhid0: <vendor 0x0c76 USB PnP Audio Device, class 0/0, rev 1.10/1.00, addr 3> on usbus2
usbconfig shows this:
root@kg-v2# usbconfig -u 2 -a 3 dump_device_desc ugen2.3: <USB PnP Audio Device vendor 0x0c76> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0110 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x0c76 idProduct = 0x1600 bcdDevice = 0x0100 iManufacturer = 0x0000 <no string> iProduct = 0x0001 <USB PnP Audio Device> iSerialNumber = 0x0000 <no string> bNumConfigurations = 0x0001
and this
root@kg-v2# usbconfig -u 2 -a 3 dump_curr_config_desc ugen2.3: <USB PnP Audio Device vendor 0x0c76> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x00f9 bNumInterfaces = 0x0004 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x0080 bMaxPower = 0x00fa Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0000 bInterfaceClass = 0x0001 bInterfaceSubClass = 0x0001 bInterfaceProtocol = 0x0000 iInterface = 0x0000 <no string> Additional Descriptor bLength = 0x0a bDescriptorType = 0x24 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x0a, 0x24, 0x01, 0x00, 0x01, 0x66, 0x00, 0x02, 0x08 | 0x01, 0x02 Additional Descriptor bLength = 0x0c bDescriptorType = 0x24 bDescriptorSubType = 0x02 RAW dump: 0x00 | 0x0c, 0x24, 0x02, 0x01, 0x01, 0x01, 0x00, 0x02, 0x08 | 0x03, 0x00, 0x00, 0x00 Additional Descriptor bLength = 0x0c bDescriptorType = 0x24 bDescriptorSubType = 0x02 RAW dump: 0x00 | 0x0c, 0x24, 0x02, 0x02, 0x05, 0x02, 0x00, 0x02, 0x08 | 0x03, 0x00, 0x00, 0x00 Additional Descriptor bLength = 0x09 bDescriptorType = 0x24 bDescriptorSubType = 0x03 RAW dump: 0x00 | 0x09, 0x24, 0x03, 0x11, 0x01, 0x03, 0x00, 0x31, 0x08 | 0x00 Additional Descriptor bLength = 0x09 bDescriptorType = 0x24 bDescriptorSubType = 0x03 RAW dump: 0x00 | 0x09, 0x24, 0x03, 0x12, 0x01, 0x01, 0x02, 0x21, 0x08 | 0x00 Additional Descriptor bLength = 0x07 bDescriptorType = 0x24 bDescriptorSubType = 0x05 RAW dump: 0x00 | 0x07, 0x24, 0x05, 0x21, 0x01, 0x32, 0x00 Additional Descriptor bLength = 0x0a bDescriptorType = 0x24 bDescriptorSubType = 0x06 RAW dump: 0x00 | 0x0a, 0x24, 0x06, 0x31, 0x41, 0x01, 0x01, 0x02, 0x08 | 0x02, 0x00 Additional Descriptor bLength = 0x0a bDescriptorType = 0x24 bDescriptorSubType = 0x06 RAW dump: 0x00 | 0x0a, 0x24, 0x06, 0x32, 0x02, 0x01, 0x43, 0x00, 0x08 | 0x00, 0x00 Additional Descriptor bLength = 0x0a bDescriptorType = 0x24 bDescriptorSubType = 0x06 RAW dump: 0x00 | 0x0a, 0x24, 0x06, 0x33, 0x02, 0x01, 0x03, 0x00, 0x08 | 0x00, 0x00 Additional Descriptor bLength = 0x0d bDescriptorType = 0x24 bDescriptorSubType = 0x04 RAW dump: 0x00 | 0x0d, 0x24, 0x04, 0x41, 0x02, 0x01, 0x33, 0x02, 0x08 | 0x03, 0x00, 0x00, 0x00, 0x00 Interface 1 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0001 bAlternateSetting = 0x0000 bNumEndpoints = 0x0000 bInterfaceClass = 0x0001 bInterfaceSubClass = 0x0002 bInterfaceProtocol = 0x0000 iInterface = 0x0000 <no string> Interface 1 Alt 1 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0001 bAlternateSetting = 0x0001 bNumEndpoints = 0x0001 bInterfaceClass = 0x0001 bInterfaceSubClass = 0x0002 bInterfaceProtocol = 0x0000 iInterface = 0x0000 <no string> Additional Descriptor bLength = 0x07 bDescriptorType = 0x24 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x07, 0x24, 0x01, 0x01, 0x01, 0x01, 0x00 Additional Descriptor bLength = 0x0b bDescriptorType = 0x24 bDescriptorSubType = 0x02 RAW dump: 0x00 | 0x0b, 0x24, 0x02, 0x01, 0x02, 0x02, 0x10, 0x01, 0x08 | 0x80, 0xbb, 0x00 Endpoint 0 bLength = 0x0009 bDescriptorType = 0x0005 bEndpointAddress = 0x0001 <OUT> bmAttributes = 0x0009 <ADAPT-ISOCHRONOUS> wMaxPacketSize = 0x00c8 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Additional Descriptor bLength = 0x07 bDescriptorType = 0x25 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x07, 0x25, 0x01, 0x00, 0x01, 0x01, 0x00 Interface 2 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0002 bAlternateSetting = 0x0000 bNumEndpoints = 0x0000 bInterfaceClass = 0x0001 bInterfaceSubClass = 0x0002 bInterfaceProtocol = 0x0000 iInterface = 0x0000 <no string> Interface 2 Alt 1 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0002 bAlternateSetting = 0x0001 bNumEndpoints = 0x0001 bInterfaceClass = 0x0001 bInterfaceSubClass = 0x0002 bInterfaceProtocol = 0x0000 iInterface = 0x0000 <no string> Additional Descriptor bLength = 0x07 bDescriptorType = 0x24 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x07, 0x24, 0x01, 0x12, 0x01, 0x01, 0x00 Additional Descriptor bLength = 0x0b bDescriptorType = 0x24 bDescriptorSubType = 0x02 RAW dump: 0x00 | 0x0b, 0x24, 0x02, 0x01, 0x02, 0x02, 0x10, 0x01, 0x08 | 0x80, 0xbb, 0x00 Endpoint 0 bLength = 0x0009 bDescriptorType = 0x0005 bEndpointAddress = 0x0082 <IN> bmAttributes = 0x0005 <ASYNC-ISOCHRONOUS> wMaxPacketSize = 0x00c8 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000 Additional Descriptor bLength = 0x07 bDescriptorType = 0x25 bDescriptorSubType = 0x01 RAW dump: 0x00 | 0x07, 0x25, 0x01, 0x00, 0x00, 0x00, 0x00 Interface 3 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0003 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x0003 bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0000 iInterface = 0x0000 <no string> Additional Descriptor bLength = 0x09 bDescriptorType = 0x21 bDescriptorSubType = 0x00 RAW dump: 0x00 | 0x09, 0x21, 0x00, 0x01, 0x00, 0x01, 0x22, 0x32, 0x08 | 0x00 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0083 <IN> bmAttributes = 0x0003 <INTERRUPT> wMaxPacketSize = 0x0004 bInterval = 0x0020 bRefresh = 0x0000 bSynchAddress = 0x0000
Here is output from usbhidctl:
root@kg-v2# usbhidctl -f uhid0 -r Report descriptor: Collection page=Consumer usage=Consumer_Control Input size=1 count=1 page=Consumer usage=Volume_Increment, logical range 0..1 Input size=1 count=1 page=Consumer usage=Volume_Decrement, logical range 0..1 Input size=1 count=1 page=Consumer usage=Mute, logical range 0..1 Input size=1 count=1 page=Consumer usage=Unassigned, logical range 0..1 Input size=1 count=1 page=Consumer usage=Unassigned, logical range 0..1 Input size=1 count=1 page=Consumer usage=Unassigned, logical range 0..1 Input size=1 count=1 page=Consumer usage=Unassigned, logical range 0..1 Input size=1 count=1 page=Consumer usage=Unassigned, logical range 0..1 Input size=8 count=1 page=Consumer usage=Unassigned, logical range 0..255 Input size=8 count=1 page=Consumer usage=Unassigned, logical range 0..255 Input size=8 count=1 page=Consumer usage=Unassigned, logical range 0..255 Output size=8 count=1 page=Consumer usage=Unassigned, logical range 0..255 Output size=8 count=1 page=Consumer usage=Unassigned, logical range 0..255 Output size=8 count=1 page=Consumer usage=Unassigned, logical range 0..255 Output size=8 count=1 page=Consumer usage=Unassigned, logical range 0..255 End collection Total input size 4 bytes Total output size 4 bytes Total feature size 0 bytes
Hmm, interesting.
2011-03-27: I connected the Skycity Nano USB wireless 802.11N adapter (sku.54193) to a machine running Linux:
tingo@kg-u35jc:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 10.10 Release: 10.10 Codename: maverick tingo@kg-u35jc:~$ uname -a Linux kg-u35jc 2.6.35-28-generic #49-Ubuntu SMP Tue Mar 1 14:39:03 UTC 2011 x86_64 GNU/Linux and this is what lsusb has to say: tingo@kg-u35jc:~$ sudo lsusb -v -s 2:4 Bus 002 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x0bda Realtek Semiconductor Corp. idProduct 0x8176 bcdDevice 2.00 iManufacturer 1 Realtek iProduct 2 802.11n WLAN Adapter iSerial 3 00e04c000001 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 46 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 500mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 4 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol 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 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 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 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x84 EP 4 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 1 Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 bNumConfigurations 1 Device Status: 0x0000 (Bus Powered)
Hmm, no drivers there too. Boring. Ok, following this thread: NET-WL-UMD-606N and Linux, I get a driver for the wireless adapter. It sees a couple of networks, but not mine. My wireless network is 11b/g only; perhaps that is a problem?
2011-03-06: Useless usb gadget of the day: the Dream Cheeky USB RC Car, found at the local flea market. When connected to a Linux machine, this is what shows up in /var/log/messages:
Mar 6 20:16:16 kg-u35jc kernel: [271940.176116] usb 2-1.3: new low speed USB device using ehci_hcd and address 5 Mar 6 20:16:16 kg-u35jc kernel: [271940.304314] generic-usb 0003:0A81:0702.0002: hiddev97,hidraw1: USB HID v1.00 Device [Rocket Baby Rocket Baby] on usb-0000:00:1d.0-1.3/input0
I don't know if there exists software to run it under Linux. Works nicely in OS X with this program. I connected it to a machine running FreeBSD 8.1-stable, and this is what I got:
tingo@kg-v2$ uname -a FreeBSD kg-v2.kg4.no 8.1-STABLE FreeBSD 8.1-STABLE #3: Thu Sep 16 22:18:48 CEST 2010 root@kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64
From /var/log/messages:
Mar 6 21:49:04 kg-v2 kernel: ugen2.3: <Rocket Baby> at usbus2 Mar 6 21:49:04 kg-v2 kernel: uhid0: <Rocket Baby Rocket Baby, class 0/0, rev 1.10/0.01, addr 3> on usbus2
Trying usbhidctl:
root@kg-v2# usbhidctl -f uhid0 -a usbhidctl: USB_SET_IMMED: Device not configured root@kg-v2# usbhidctl -f uhid0 -r Report descriptor: Collection page=0xffa0 usage=0x0001 Collection page=0xffa0 usage=0x0002 Input size=8 count=1 page=0xffa1 usage=0x0003, logical range -128..127, physical range 0..-1 Output size=8 count=1 page=0xffa1 usage=0x0005, logical range -128..127, physical range 0..-1 End collection End collection Total input size 1 bytes Total output size 1 bytes Total feature size 0 bytes
and that's it.
2011-02-25: I got a Skycity Nano USB wireless 802.11N adapter in the mail today, from DX (sku.54193). Plugged it into a machine running 8.2-prerelease. From /var/log/messages:
Feb 25 19:31:57 kg-v7 kernel: usb_alloc_device: set address 3 failed (USB_ERR_STALLED, ignored) Feb 25 19:31:57 kg-v7 kernel: usbd_setup_device_desc: getting device descriptor at addr 3 failed, USB_ERR_STALLED Feb 25 19:31:57 kg-v7 root: Unknown USB device: vendor 0x0bda product 0x8176 bus uhub3 Feb 25 19:31:57 kg-v7 kernel: ugen0.3: <vendor 0x0bda> at usbus0
and
root@kg-v7# usbconfig -u 0 -a 3 ugen0.3: <product 0x8176 vendor 0x0bda> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON root@kg-v7# usbconfig -u 0 -a 3 dump_device_desc ugen0.3: <product 0x8176 vendor 0x0bda> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x0bda idProduct = 0x8176 bcdDevice = 0x0200 iManufacturer = 0x0001 <retrieving string failed> iProduct = 0x0002 <retrieving string failed> iSerialNumber = 0x0003 <retrieving string failed> bNumConfigurations = 0x0001
It seems to be a RealTek RTL8188 chip / chipset inside. OpenBSD have the urtwn driver which might support this device. Current configuration:
root@kg-v7# usbconfig -u 0 -a 3 dump_curr_config_desc ugen0.3: <product 0x8176 vendor 0x0bda> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x002e bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x0080 bMaxPower = 0x00fa Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0004 bInterfaceClass = 0x00ff bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x00ff iInterface = 0x0000 <no string> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0040 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0002 <OUT> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0040 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 2 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0003 <OUT> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0040 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 3 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0084 <IN> bmAttributes = 0x0003 <INTERRUPT> wMaxPacketSize = 0x0040 bInterval = 0x0001 bRefresh = 0x0000 bSynchAddress = 0x0000
That's it.
2011-02-22: ST Lab U-400 usb-to-4xRS232, connected to a machine running FreeBSD 8.1-stable / amd64. From /var/log/messages:
Feb 22 23:53:25 kg-v2 kernel: ugen3.2: <vendor 0x9710> at usbus3
Ok, so it isn't supported by ucom(4), uplcom(4). More info:
root@kg-v2# usbconfig -u 3 -a 2 ugen3.2: <product 0x7840 vendor 0x9710> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
device descriptor:
root@kg-v2# usbconfig -u 3 -a 2 dump_device_desc ugen3.2: <product 0x7840 vendor 0x9710> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x00ff bDeviceSubClass = 0x0000 bDeviceProtocol = 0x00ff bMaxPacketSize0 = 0x0040 idVendor = 0x9710 idProduct = 0x7840 bcdDevice = 0x0001 iManufacturer = 0x0000 <no string> iProduct = 0x0000 <no string> iSerialNumber = 0x0000 <no string> bNumConfigurations = 0x0001
current config:
root@kg-v2# usbconfig -u 3 -a 2 dump_curr_config_desc ugen3.2: <product 0x7840 vendor 0x9710> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0051 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x00a0 bMaxPower = 0x0032 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0009 bInterfaceClass = 0x00ff bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x00ff iInterface = 0x0000 <no string> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0200 bInterval = 0x00ff bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0002 <OUT> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0200 bInterval = 0x00ff bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 2 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0083 <IN> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0200 bInterval = 0x00ff bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 3 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0004 <OUT> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0200 bInterval = 0x00ff bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 4 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0085 <IN> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0200 bInterval = 0x00ff bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 5 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0006 <OUT> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0200 bInterval = 0x00ff bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 6 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0087 <IN> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0200 bInterval = 0x00ff bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 7 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0008 <OUT> bmAttributes = 0x0002 <BULK> wMaxPacketSize = 0x0200 bInterval = 0x00ff bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 8 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0089 <IN> bmAttributes = 0x0003 <INTERRUPT> wMaxPacketSize = 0x0010 bInterval = 0x0005 bRefresh = 0x0000 bSynchAddress = 0x0000
That's it. Let's try a FreeBSD 8.2-prerelease machine, too:
root@kg-v7# uname -a FreeBSD kg-v7.kg4.no 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #4: Sun Feb 20 03:18:04 CET 2011 root@kg-v7.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 root@kg-v7# usbconfig -u 0 -a 3 dump_device_desc ugen0.3: <product 0x7840 vendor 0x9710> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x00ff bDeviceSubClass = 0x0000 bDeviceProtocol = 0x00ff bMaxPacketSize0 = 0x0040 idVendor = 0x9710 idProduct = 0x7840 bcdDevice = 0x0001 iManufacturer = 0x0000 <no string> iProduct = 0x0000 <no string> iSerialNumber = 0x0000 <no string> bNumConfigurations = 0x0001
Ok, no improvements there. Aha, it seems that the port umcs7840 supports it. Install the port, then:
root@kg-v7# kldload umcs7840 root@kg-v7# ls -l /dev/ttyU* crw------- 1 root wheel 0, 112 Feb 23 00:24 /dev/ttyU0.0 crw------- 1 root wheel 0, 113 Feb 23 00:24 /dev/ttyU0.0.init crw------- 1 root wheel 0, 114 Feb 23 00:24 /dev/ttyU0.0.lock crw------- 1 root wheel 0, 118 Feb 23 00:24 /dev/ttyU0.1 crw------- 1 root wheel 0, 119 Feb 23 00:24 /dev/ttyU0.1.init crw------- 1 root wheel 0, 120 Feb 23 00:24 /dev/ttyU0.1.lock crw------- 1 root wheel 0, 124 Feb 23 00:24 /dev/ttyU0.2 crw------- 1 root wheel 0, 125 Feb 23 00:24 /dev/ttyU0.2.init crw------- 1 root wheel 0, 126 Feb 23 00:24 /dev/ttyU0.2.lock crw------- 1 root wheel 0, 130 Feb 23 00:24 /dev/ttyU0.3 crw------- 1 root wheel 0, 131 Feb 23 00:24 /dev/ttyU0.3.init crw------- 1 root wheel 0, 132 Feb 23 00:24 /dev/ttyU0.3.lock
and four new serial ports. Nice! Back to the FreeBSD 8.1-stable machine, install the umcs7840-kmod port, kldload it, and check /var/log/messages:
Feb 23 00:29:13 kg-v2 kernel: ugen2.3: <vendor 0x9710> at usbus2 Feb 23 00:29:13 kg-v2 kernel: umcs78400: <vendor 0x9710 product 0x7840, rev 2.00/0.01, addr 3> on usbus2 Feb 23 00:29:13 kg-v2 kernel: umcs78400: Chip mcs7840, found 4 active ports Feb 23 00:29:13 kg-v2 kernel: umcs78400: On-die confguration: RST: active low, HRD: yes, PLL: avail, POR: avail, Ports: 4, EEPROM write disabled, IrDA is not available
Cool!
2011-01-02: A WD elements 2 TB external usb disk drive, connected to a machine running FreeBSD 7.3-stable / amd64. From /var/log/messages:
Jan 2 21:44:17 kg-quiet kernel: umass4: <Western Digital Ext HDD 1021, class 0/0, rev 2.00/20.02, addr 6> on uhub2 Jan 2 21:44:17 kg-quiet root: Unknown USB device: vendor 0x1058 product 0x1021 bus uhub2 Jan 2 21:44:17 kg-quiet kernel: da5 at umass-sim4 bus 4 target 0 lun 0 Jan 2 21:44:17 kg-quiet kernel: da5: <WD Ext HDD 1021 2002> Fixed Direct Access SCSI-4 device Jan 2 21:44:17 kg-quiet kernel: da5: 40.000MB/s transfers Jan 2 21:44:17 kg-quiet kernel: da5: 1907727MB (3907024896 512 byte sectors: 255H 63S/T 243201C)
and output from usbdevs -v:
port 6 addr 6: high speed, self powered, config 1, Ext HDD 1021(0x1021), Western Digital(0x1058), rev 20.02
Some info from disktype before I reformat this drive:
root@kg-quiet# disktype /dev/da5 --- /dev/da5 Character device, size 1.819 TiB (2000396746752 bytes) DOS/MBR partition map Partition 1: 1.819 TiB (2000395698176 bytes, 3907022848 sectors from 2048) Type 0x07 (HPFS/NTFS) NTFS file system Volume size 1.819 TiB (2000395697664 bytes, 3907022847 sectors) root@kg-quiet# disktype /dev/da5s1 --- /dev/da5s1 Character device, size 1.819 TiB (2000395698176 bytes) NTFS file system Volume size 1.819 TiB (2000395697664 bytes, 3907022847 sectors)
That's it. fdisk says it has only one partition, which is fine by me:
root@kg-quiet# fdisk /dev/da5 ******* Working on device /dev/da5 ******* parameters extracted from in-core disklabel are: cylinders=243201 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=243201 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX) start 2048, size 3907022848 (1907726 Meg), flag 0 beg: cyl 0/ head 32/ sector 33; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: <UNUSED> The data for partition 3 is: <UNUSED> The data for partition 4 is: <UNUSED>
I'll just run newfs on it. Or rather, sysinstall's fdisk and label / newfs.
2009-12-20: the SMC "EZ Connect N" (aka SMCWCB-N) wireless CardBus adapter is dtected like this in FreeBSD 8.0-stable:
root@testhost-1# pciconf -lv | grep -A 3 ath0 ath0@pci0:22:0:0: class=0x028000 card=0xee061113 chip=0x0023168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = '802.11a/b/g/n Wireless PCI Adapter (AR5416)' class = network
from /var/log/messages:
Dec 20 22:41:28 testhost-1 kernel: ath0: <Atheros 5416> mem 0x88000000-0x8800ffff irq 16 at device 0.0 on cardbus0 Dec 20 22:41:28 testhost-1 kernel: ath0: [ITHREAD] Dec 20 22:41:28 testhost-1 kernel: ath0: AR5416 mac 13.10 RF2133 phy 8.1
2009-04-08: I got myself a Silicon Image 4-port SATA card (SATA150 - Sil3114).
2009-04-08: I got myself a TEMPer, an usb thermometer. More info here, and here. There is a FreeBSD driver for the serial chip: uchcom, but it is not in RELENG_7 yet. I got a version out of the attic (of the src repository), it compiled and loaded ok. But the program TEMPer.c (modified) didn't work. From /var/log/messages:
Apr 8 19:27:08 kg-work2 kernel: ucom0: <vendor 0x4348 USB-SER!, class 255/0, rev 1.10/2.50, addr 2> on uhub1 Apr 8 19:27:08 kg-work2 kernel: ucom0: CH340 detected
2009-02-06: I bought a ST Lab CardBus 10/100 Ethernet Adapter It is made by Sunsway, the model number is CB-LAN100 (no model number on the card itself, but the packaging says C-141). This is a RealTek 8139 card, supported by the rl(4) driver:
tingo@kg-i82$ pciconf -lv | grep rl0 -A 4 rl0@pci0:5:0:0: class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter' class = network subclass = ethernet tingo@kg-i82$ ifconfig -m rl0 rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=8<VLAN_MTU> capabilities=8<VLAN_MTU> ether 00:0a:cd:16:b4:4f inet 10.1.150.14 netmask 0xffff0000 broadcast 10.1.255.255 media: Ethernet autoselect (100baseTX <full-duplex>) status: active supported media: media autoselect media 100baseTX mediaopt full-duplex media 100baseTX media 10baseT/UTP mediaopt full-duplex media 10baseT/UTP media 100baseTX mediaopt hw-loopback
Works with both FreeBSD 7.1-stable and 6.4-stable.
2008-11-08: I tested the SMCWUSBT-G2 usb nic again, with FreeBSD 7.1-prerelease this time:
root@kg-i82# uname -a FreeBSD kg-i82.kg4.no 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #6: Sat Nov 8 17:52:23 CET 2008 root@kg-i82.kg4.no:/usr/obj/usr/src/sys/I81K i386 From /var/log/messages: Nov 8 18:57:41 kg-i82 root: Unknown USB device: vendor 0x083a product 0x4507 bus uhub0 Nov 8 18:57:41 kg-i82 kernel: ugen0: <Atheros Communications Inc AR5523, class 255/0, rev 2.00/0.01, addr 2> on uhub0 root@kg-i82# usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 addr 2: full speed, power 500 mA, config 1, AR5523(0x4507), Atheros Communications Inc(0x083a), rev 0.01 port 2 powered
2008-08-31: connecting my Fujiifilm FinePix F40d camera to my main workstation (which runs FreeBSD 6.3-stable) gives the following in /var/log/messages:
Aug 31 18:46:40 kg-work kernel: ugen1: vendor 0x04cb USB PTP Camera, rev 2.00/1.10, addr 3
and usbdevs -v shows:
.... Controller /dev/usb2: addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), SiS(0x0000), rev 1.00 port 1 addr 2: full speed, self powered, config 1, Snapscan1212u_2(0x2061), AGFA(0x06bd), rev 1.32 port 2 addr 3: full speed, self powered, config 1, USB PTP Camera(0x01c5), vendor 0x04cb(0x04cb), rev 1.10 ....
(ignore the one on port 1, thats just my scanner) So now I need to find out how to support a ptp camera.
2008-05-30: A SMC SMCWUSBT-G2 usb network adapter is detected as follows on FreeBSD 7.0-stable: in /var/log/messages:
May 30 22:50:20 kg-i82 kernel: ugen0: <Atheros Communications Inc AR5523, class 255/0, rev 2.00/0.01, addr 2> on uhub0 May 30 22:50:20 kg-i82 root: Unknown USB device: vendor 0x083a product 0x4507 bus uhub0
usbdevs -v output:
root@kg-i82# usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 addr 2: full speed, power 500 mA, config 1, AR5523(0x4507), Atheros Communications Inc(0x083a), rev 0.01 port 2 powered
There doesn't seem to be a FreeBSD driver for this adapter yet.
2008-05-28: an old pci ISDN card I use under FreeBSD 5.4, using the isdn4bsd driver by hps:
root@kg-web2# uname -a FreeBSD kg-web2.kg4.no 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0: Sat Apr 16 08:36:01 CEST 2005 root@t4.kg4.no:/usr/obj/usr/src/sys/T4ISDN i386 root@kg-web2# pciconf -lv | grep ihfc -A 3 ihfc0@pci0:15:0: class=0x028000 card=0x2bd01397 chip=0x2bd01397 rev=0x02 hdr=0x00 vendor = 'Cologne Chip Designs GmbH' device = 'HFC-S PCI A ISDN 2BDS0 ISDN HDLC FIFO Controller' class = network
I have to upgrade the machine soon.
2008-05-28: I bought a SMC "EZ Connect N" (aka SMCWCB-N) wireless CardBus adapter. This has a Atheros AR5008 chipset, according to pciconf -lv:
none2@pci0:5:0:0: class=0x028000 card=0xee061113 chip=0x0023168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR5008 Wireless Network Adapter' class = network
Not supported out of the box with the ath_hal included with FreeBSD 7.0-stable. Update: with the updated ath_hal from Sam's page, the network card is detected at least: 'pciconf -lv:
ath0@pci0:5:0:0: class=0x028000 card=0xee061113 chip=0x0023168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR5008 Wireless Network Adapter' class = network
output from ifconfig -m ath0:
root@kg-i82# ifconfig -m ath0 ath0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 00:13:f7:6f:2f:45 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier supported media: media OFDM/54Mbps mode autoselect mediaopt monitor media OFDM/54Mbps mode autoselect mediaopt flag0 mediaopt adhoc media OFDM/54Mbps mode autoselect mediaopt hostap media OFDM/54Mbps mode autoselect mediaopt adhoc media OFDM/54Mbps mode autoselect media OFDM/48Mbps mode autoselect mediaopt monitor media OFDM/48Mbps mode autoselect mediaopt flag0 mediaopt adhoc media OFDM/48Mbps mode autoselect mediaopt hostap media OFDM/48Mbps mode autoselect mediaopt adhoc media OFDM/48Mbps mode autoselect media OFDM/36Mbps mode autoselect mediaopt monitor media OFDM/36Mbps mode autoselect mediaopt flag0 mediaopt adhoc media OFDM/36Mbps mode autoselect mediaopt hostap media OFDM/36Mbps mode autoselect mediaopt adhoc media OFDM/36Mbps mode autoselect media OFDM/24Mbps mode autoselect mediaopt monitor media OFDM/24Mbps mode autoselect mediaopt flag0 mediaopt adhoc media OFDM/24Mbps mode autoselect mediaopt hostap media OFDM/24Mbps mode autoselect mediaopt adhoc media OFDM/24Mbps mode autoselect media OFDM/18Mbps mode autoselect mediaopt monitor media OFDM/18Mbps mode autoselect mediaopt flag0 mediaopt adhoc media OFDM/18Mbps mode autoselect mediaopt hostap media OFDM/18Mbps mode autoselect mediaopt adhoc media OFDM/18Mbps mode autoselect media OFDM/12Mbps mode autoselect mediaopt monitor media OFDM/12Mbps mode autoselect mediaopt flag0 mediaopt adhoc media OFDM/12Mbps mode autoselect mediaopt hostap media OFDM/12Mbps mode autoselect mediaopt adhoc media OFDM/12Mbps mode autoselect media OFDM/9Mbps mode autoselect mediaopt monitor media OFDM/9Mbps mode autoselect mediaopt flag0 mediaopt adhoc media OFDM/9Mbps mode autoselect mediaopt hostap media OFDM/9Mbps mode autoselect mediaopt adhoc media OFDM/9Mbps mode autoselect media OFDM/6Mbps mode autoselect mediaopt monitor media OFDM/6Mbps mode autoselect mediaopt flag0 mediaopt adhoc media OFDM/6Mbps mode autoselect mediaopt hostap media OFDM/6Mbps mode autoselect mediaopt adhoc media OFDM/6Mbps mode autoselect media DS/11Mbps mode autoselect mediaopt monitor media DS/11Mbps mode autoselect mediaopt flag0 mediaopt adhoc media DS/11Mbps mode autoselect mediaopt hostap media DS/11Mbps mode autoselect mediaopt adhoc media DS/11Mbps mode autoselect media DS/5.5Mbps mode autoselect mediaopt monitor media DS/5.5Mbps mode autoselect mediaopt flag0 mediaopt adhoc media DS/5.5Mbps mode autoselect mediaopt hostap media DS/5.5Mbps mode autoselect mediaopt adhoc media DS/5.5Mbps mode autoselect media DS/2Mbps mode autoselect mediaopt monitor media DS/2Mbps mode autoselect mediaopt flag0 mediaopt adhoc media DS/2Mbps mode autoselect mediaopt hostap media DS/2Mbps mode autoselect mediaopt adhoc media DS/2Mbps mode autoselect media DS/1Mbps mode autoselect mediaopt monitor media DS/1Mbps mode autoselect mediaopt flag0 mediaopt adhoc media DS/1Mbps mode autoselect mediaopt hostap media DS/1Mbps mode autoselect mediaopt adhoc media DS/1Mbps mode autoselect media OFDM/54Mbps mode 11g mediaopt monitor media OFDM/54Mbps mode 11g mediaopt flag0 mediaopt adhoc media OFDM/54Mbps mode 11g mediaopt hostap media OFDM/54Mbps mode 11g mediaopt adhoc media OFDM/54Mbps mode 11g media OFDM/48Mbps mode 11g mediaopt monitor media OFDM/48Mbps mode 11g mediaopt flag0 mediaopt adhoc media OFDM/48Mbps mode 11g mediaopt hostap media OFDM/48Mbps mode 11g mediaopt adhoc media OFDM/48Mbps mode 11g media OFDM/36Mbps mode 11g mediaopt monitor media OFDM/36Mbps mode 11g mediaopt flag0 mediaopt adhoc media OFDM/36Mbps mode 11g mediaopt hostap media OFDM/36Mbps mode 11g mediaopt adhoc media OFDM/36Mbps mode 11g media OFDM/24Mbps mode 11g mediaopt monitor media OFDM/24Mbps mode 11g mediaopt flag0 mediaopt adhoc media OFDM/24Mbps mode 11g mediaopt hostap media OFDM/24Mbps mode 11g mediaopt adhoc media OFDM/24Mbps mode 11g media OFDM/18Mbps mode 11g mediaopt monitor media OFDM/18Mbps mode 11g mediaopt flag0 mediaopt adhoc media OFDM/18Mbps mode 11g mediaopt hostap media OFDM/18Mbps mode 11g mediaopt adhoc media OFDM/18Mbps mode 11g media OFDM/12Mbps mode 11g mediaopt monitor media OFDM/12Mbps mode 11g mediaopt flag0 mediaopt adhoc media OFDM/12Mbps mode 11g mediaopt hostap media OFDM/12Mbps mode 11g mediaopt adhoc media OFDM/12Mbps mode 11g media OFDM/9Mbps mode 11g mediaopt monitor media OFDM/9Mbps mode 11g mediaopt flag0 mediaopt adhoc media OFDM/9Mbps mode 11g mediaopt hostap media OFDM/9Mbps mode 11g mediaopt adhoc media OFDM/9Mbps mode 11g media OFDM/6Mbps mode 11g mediaopt monitor media OFDM/6Mbps mode 11g mediaopt flag0 mediaopt adhoc media OFDM/6Mbps mode 11g mediaopt hostap media OFDM/6Mbps mode 11g mediaopt adhoc media OFDM/6Mbps mode 11g media DS/11Mbps mode 11g mediaopt monitor media DS/11Mbps mode 11g mediaopt flag0 mediaopt adhoc media DS/11Mbps mode 11g mediaopt hostap media DS/11Mbps mode 11g mediaopt adhoc media DS/11Mbps mode 11g media DS/5.5Mbps mode 11g mediaopt monitor media DS/5.5Mbps mode 11g mediaopt flag0 mediaopt adhoc media DS/5.5Mbps mode 11g mediaopt hostap media DS/5.5Mbps mode 11g mediaopt adhoc media DS/5.5Mbps mode 11g media DS/2Mbps mode 11g mediaopt monitor media DS/2Mbps mode 11g mediaopt flag0 mediaopt adhoc media DS/2Mbps mode 11g mediaopt hostap media DS/2Mbps mode 11g mediaopt adhoc media DS/2Mbps mode 11g media DS/1Mbps mode 11g mediaopt monitor media DS/1Mbps mode 11g mediaopt flag0 mediaopt adhoc media DS/1Mbps mode 11g mediaopt hostap media DS/1Mbps mode 11g mediaopt adhoc media DS/1Mbps mode 11g media autoselect mode 11g mediaopt monitor media autoselect mode 11g mediaopt flag0 mediaopt adhoc media autoselect mode 11g mediaopt hostap media autoselect mode 11g mediaopt adhoc media autoselect mode 11g media DS/11Mbps mode 11b mediaopt monitor media DS/11Mbps mode 11b mediaopt flag0 mediaopt adhoc media DS/11Mbps mode 11b mediaopt hostap media DS/11Mbps mode 11b mediaopt adhoc media DS/11Mbps mode 11b media DS/5.5Mbps mode 11b mediaopt monitor media DS/5.5Mbps mode 11b mediaopt flag0 mediaopt adhoc media DS/5.5Mbps mode 11b mediaopt hostap media DS/5.5Mbps mode 11b mediaopt adhoc media DS/5.5Mbps mode 11b media DS/2Mbps mode 11b mediaopt monitor media DS/2Mbps mode 11b mediaopt flag0 mediaopt adhoc media DS/2Mbps mode 11b mediaopt hostap media DS/2Mbps mode 11b mediaopt adhoc media DS/2Mbps mode 11b media DS/1Mbps mode 11b mediaopt monitor media DS/1Mbps mode 11b mediaopt flag0 mediaopt adhoc media DS/1Mbps mode 11b mediaopt hostap media DS/1Mbps mode 11b mediaopt adhoc media DS/1Mbps mode 11b media autoselect mode 11b mediaopt monitor media autoselect mode 11b mediaopt flag0 mediaopt adhoc media autoselect mode 11b mediaopt hostap media autoselect mode 11b mediaopt adhoc media autoselect mode 11b media autoselect mode autoselect mediaopt monitor media autoselect mode autoselect mediaopt flag0 mediaopt adhoc media autoselect mode autoselect mediaopt hostap media autoselect mode autoselect mediaopt adhoc media autoselect mode autoselect ssid "" channel 1 (2412 Mhz 11b) authmode OPEN privacy OFF txpower 50 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11b 7 roam:rate11b 1 burst bintval 0
2008-05-19: I bought a Plextor PX-608CU external DVD writer. It has a usb interface, and draws power from another usb connector or from an external psu. On a machine running FreeBSD 7.0-stable, I get this in /var/log/messages:
root@sx270# uname -a FreeBSD sx270.kg4.no 7.0-STABLE FreeBSD 7.0-STABLE #0: Wed May 14 00:05:33 CEST 2008 root@sx270.kg4.no:/usr/obj/usr/src/sys/GENERIC i386 root@sx270# tvlm May 20 00:03:39 sx270 kernel: umass0: <PLEXTOR PLEXTOR USB Storage Adapter, class 0/0, rev 2.00/1.01, addr 2> on uhub3 May 20 00:03:39 sx270 root: Unknown USB device: vendor 0x093b product 0x0023 bus uhub3 May 20 00:03:40 sx270 kernel: cd0 at umass-sim0 bus 0 target 0 lun 0 May 20 00:03:40 sx270 kernel: cd0: <PLEXTOR DVDR PX-608CU 1.00> Removable CD-ROM SCSI-0 device May 20 00:03:40 sx270 kernel: cd0: 40.000MB/s transfers May 20 00:03:40 sx270 kernel: cd0: Attempt to query device size failed: NOT READY, Medium not present root@sx270#
from 'usbdevs -v':
port 6 addr 2: high speed, self powered, config 1, PLEXTOR USB Storage Adapter(0x0023), PLEXTOR(0x093b), rev 1.01
2008-04-27: ok, to set up a bluetooth keyboard, you require hcsecd and bthidd running. Do this: in /etc/rc.conf:
hcsecd_enable="YES" bthidd_enable="YES"
in /etc/bluetooth/hcsecd.conf you need a section for your device, like this:
device { bdaddr 00:1e:52:f9:35:da; name "tingos keyboard"; key nokey; pin "1234"; }
Obviously, you must use your bdaddr, and select your own pin. You need to add the output from bthidcontrol -a 00:1e:52:f9:35:da Query
to
/etc/bluetooth/bthidd.conf. Start hcsecd with the startup script: /etc/rc.d/hcsecd start
. After that you will want to start
bthidd: /etc/rc.d/bthidd start
. If your keyboard isn't powered up already, turn it on now. Wait a couple of seconds, enter then PIN on the keyboard and
press enter. I had to try a couple of times before it worked. You will see messages like these in /var/log/messages when it works:
Apr 27 21:16:19 kg-vm bthidd[1740]: Opening outbound session for 00:1e:52:f9:35:da (new_device=1, reconnect_initiate=1) Apr 27 21:16:20 kg-vm kernel: kbd2 at vkbd7
That wasn't too bad.
2008-04-27: Ok, I will try the bluetooth dongle on FreeBSD 7.0-stable again. Without anything loaded:
Apr 27 19:55:38 kg-vm kernel: ugen0: <vendor 0x0a12 product 0x0001, class 224/1, rev 1.10/11.20, addr 2> on uhub2 root@kg-vm# lsusb Bus /dev/usb2 Device /dev/ugen0: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Then I remove the dongle, kldload ng_ubt
and reinsert the dongle:
Apr 27 20:02:25 kg-vm root: Unknown USB device: vendor 0x0a12 product 0x0001 bus uhub2 Apr 27 20:02:25 kg-vm kernel: ubt0: <vendor 0x0a12 product 0x0001, class 224/1, rev 1.10/11.20, addr 2> on uhub2 Apr 27 20:02:25 kg-vm kernel: ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 Apr 27 20:02:25 kg-vm kernel: ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=49; nframes=6, buffer size=294 Apr 27 20:02:25 kg-vm kernel: WARNING: attempt to net_add_domain(bluetooth) after domainfinalize() Apr 27 20:02:25 kg-vm kernel: WARNING: attempt to net_add_domain(netgraph) after domainfinalize()
Try some commands:
root@kg-vm# ngctl status ubt0: Status for "ubt0:": Hook: hook Flags: 0x30 Debug: 3 CMD queue: [have:0,max:12] ACL queue: [have:0,max:12] SCO queue: [have:0,max:12] root@kg-vm# ngctl status ubt0hci: Status for "ubt0hci:": bdaddr 0:10:60:a6:c3:b8 Hooks drv acl raw State 0x3 Queue cmd:0 Buffer cmd:1,acl:8,8,192,sco:8,8,64
Looks ok. Now try n inquiry:
root@kg-vm# hccontrol -n ubt0hci inquiry Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: 00:14:a4:d6:04:ad Page Scan Rep. Mode: 0x2 Page Scan Period Mode: 0x2 Page Scan Mode: 00 Class: 08:01:00 Clock offset: 0x4463 Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: 00:13:70:df:fe:f3 Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 00 Page Scan Mode: 00 Class: 52:02:04 Clock offset: 0x541 Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: 00:0d:93:1b:89:75 Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 0x2 Page Scan Mode: 00 Class: 10:21:04 Clock offset: 0x3eee Inquiry complete. Status: No error [00]
That also works. Now, see if we can get any names:
root@kg-vm# hccontrol -n ubt0hci remote_name_request 00:14:a4:d6:04:ad 0 0 0 BD_ADDR: 00:14:a4:d6:04:ad Name: kg-home-0 root@kg-vm# hccontrol -n ubt0hci remote_name_request 00:13:70:df:fe:f3 0 0 0 Status: Page timeout [0x4] root@kg-vm# hccontrol -n ubt0hci remote_name_request 00:0d:93:1b:89:75 0 0 0 BD_ADDR: 00:0d:93:1b:89:75 Name: Torfinn Ingolfsen’s Mac mini root@kg-vm# hccontrol -n ubt0hci remote_name_request 00:13:70:df:fe:f3 0 0 0 BD_ADDR: 00:13:70:df:fe:f3 Name: Traktor
Ok, so everything works? And here is my Apple Wireless Keyboard:
root@kg-vm# hccontrol -n ubt0hci remote_name_request 00:1e:52:f9:35:da 0 0 0 BD_ADDR: 00:1e:52:f9:35:da Name: tingo’s keyboard
2008-04-27: I added a Bluetooth dongle (usb) to a machine running FreeBSD 7.0-stable. Without loading any specific modules, it looks like this in /var/log/messages:
Apr 27 18:42:25 kg-vm root: Unknown USB device: vendor 0x0a12 product 0x0001 bus uhub2 Apr 27 18:42:25 kg-vm kernel: ugen0: <vendor 0x0a12 product 0x0001, class 224/1, rev 1.10/11.20, addr 2> on uhub2
With the ng_ubt module loaded ('kldload ng_ubt') I get this in /var/log/messages:
Apr 27 18:59:49 kg-vm root: Unknown USB device: vendor 0x0a12 product 0x0001 bus uhub2 Apr 27 18:59:49 kg-vm kernel: ubt0: <vendor 0x0a12 product 0x0001, class 224/1, rev 1.10/11.20, addr 2> on uhub2 Apr 27 18:59:49 kg-vm kernel: ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 Apr 27 18:59:49 kg-vm kernel: ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=49; nframes=6, buffer size=294 Apr 27 18:59:50 kg-vm kernel: WARNING: attempt to net_add_domain(bluetooth) after domainfinalize() Apr 27 18:59:50 kg-vm kernel: WARNING: attempt to net_add_domain(netgraph) after domainfinalize()
I don't know what the warning messages are about - not yet anyway. But something is not working - there is no /dev/ubt0, even if ngct list gives this:
root@kg-vm# ngctl list There are 7 total nodes: Name: btsock_l2c_raw Type: btsock_l2c_raw ID: 00000003 Num hooks: 1 Name: ngctl74727 Type: socket ID: 00000014 Num hooks: 0 Name: ubt0hci Type: hci ID: 00000006 Num hooks: 3 Name: btsock_hci_raw Type: btsock_hci_raw ID: 00000002 Num hooks: 1 Name: ubt0l2cap Type: l2cap ID: 0000000a Num hooks: 3 Name: btsock_l2c Type: btsock_l2c ID: 00000004 Num hooks: 1 Name: ubt0 Type: ubt ID: 00000001 Num hooks: 1
and /etc/rc.d/bluetooth start doesn't work either:
root@kg-vm#/etc/rc.d/bluetooth start /etc/rc.d/bluetooth: ERROR: Unsupported device:
2008-04-27: On a machine running FreeBSD 6.3-stable, the Bluetooth dongle is detected as follows with no modules loaded:
Apr 27 19:23:10 kg-work kernel: ugen0: vendor 0x0a12 product 0x0001, rev 1.10/11.20, addr 3 root@kg-work# lsusb Bus /dev/usb2 Device /dev/ugen0: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
With ng_ubt loaded, I get this in /var/log/messages:
Apr 27 19:27:39 kg-work kernel: ubt0: vendor 0x0a12 product 0x0001, rev 1.10/11.20, addr 3 Apr 27 19:27:39 kg-work kernel: ubt0: vendor 0x0a12 product 0x0001, rev 1.10/11.20, addr 3 Apr 27 19:27:39 kg-work kernel: ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 Apr 27 19:27:40 kg-work kernel: ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=49; nframes=6, buffer size=294
But still no /dev/ubt0, and /etc/rc.d/bluetooth start still doesn't work. Various debugging commands:
root@kg-work# /etc/rc.d/bluetooth start /etc/rc.d/bluetooth: ERROR: Unsupported device: root@kg-work# ngctl types There are 7 total types: Type name Number of living nodes --------- ---------------------- socket 1 btsock_l2c 1 btsock_l2c_raw 1 btsock_hci_raw 1 l2cap 1 hci 1 ubt 1 root@kg-work# ngctl list There are 7 total nodes: Name: ngctl31218 Type: socket ID: 00000011 Num hooks: 0 Name: ubt0l2cap Type: l2cap ID: 0000000a Num hooks: 3 Name: ubt0hci Type: hci ID: 00000006 Num hooks: 3 Name: btsock_l2c Type: btsock_l2c ID: 00000004 Num hooks: 1 Name: btsock_l2c_raw Type: btsock_l2c_raw ID: 00000003 Num hooks: 1 Name: btsock_hci_raw Type: btsock_hci_raw ID: 00000002 Num hooks: 1 Name: ubt0 Type: ubt ID: 00000001 Num hooks: 1 root@kg-work# ngctl status ubt0: Status for "ubt0:": Hook: hook Flags: 0x30 Debug: 3 CMD queue: [have:0,max:12] ACL queue: [have:0,max:12] SCO queue: [have:0,max:12] root@kg-work# ngctl status ubt0hci: Status for "ubt0hci:": bdaddr 0:10:60:a6:c3:b8 Hooks drv acl raw State 0x3 Queue cmd:0 Buffer cmd:1,acl:8,8,192,sco:8,8,64 root@kg-work# ll /dev/ubt* ls: /dev/ubt*: No such file or directory
I really don't know why this isn't working. Update: it is working, see below:
root@kg-work# hccontrol -n ubt0hci inquiry Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: 00:0d:93:1b:89:75 Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 0x2 Page Scan Mode: 00 Class: 10:21:04 Clock offset: 0x281a Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: 00:14:a4:d6:04:ad Page Scan Rep. Mode: 0x2 Page Scan Period Mode: 0x2 Page Scan Mode: 00 Class: 08:01:00 Clock offset: 0x2dc2 Inquiry complete. Status: No error [00] root@kg-work# hccontrol -n ubt0hci remote_name_request 00:0d:93:1b:89:75 0 0 0 BD_ADDR: 00:0d:93:1b:89:75 Name: Torfinn Ingolfsenâs Mac mini root@kg-work# hccontrol -n ubt0hci remote_name_request 00:14:a4:d6:04:ad 0 0 0 BD_ADDR: 00:14:a4:d6:04:ad Name: kg-home-0
2008-03-30: I connected a ZippyRF-620 keyboard / mouse combo to a machine running FreeBSD 7.0-stable From /var/log/messages:
Mar 30 19:42:15 kg-vm kernel: ukbd0: <Zippy 2.4G RF Keyboard/Mouse, class 0/0, rev 1.10/2.20, addr 2> on uhub2 Mar 30 19:42:15 kg-vm kernel: kbd2 at ukbd0 Mar 30 19:42:15 kg-vm root: Unknown USB device: vendor 0x099a product 0x6200 bus uhub2 Mar 30 19:42:15 kg-vm kernel: ums0: <Zippy 2.4G RF Keyboard/Mouse, class 0/0, rev 1.10/2.20, addr 2> on uhub2 Mar 30 19:42:15 kg-vm kernel: ums0: 3 buttons and Z dir.
The silver buttons on the top row didn't work, and didn't give any codes when using xev.
2008-03-27: I bought a HDD Stage Rack (sata disks, usb interface only), model SI-7908US. This neat little gadget requires the use of an external power supply (included). I attached it to a machine running FreeBSD 7.0-stable. When I powered it up without a disk in, nothing happened. Quite nice. Here is the dmesg output with a 2.5 inch disk (model 5K120, 60GB) in the dock:
Mar 27 19:10:36 kg-vm ntpd[936]: kernel time sync enabled 2001 Mar 27 22:28:39 kg-vm kernel: umass0: <Generic External, class 0/0, rev 2.00/1.04, addr 2> on uhub5 Mar 27 22:28:39 kg-vm root: Unknown USB device: vendor 0x13fd product 0x1240 bus uhub5 Mar 27 22:28:39 kg-vm kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Mar 27 22:28:39 kg-vm kernel: da0: <Generic External 1.04> Fixed Direct Access SCSI-4 device Mar 27 22:28:39 kg-vm kernel: da0: 40.000MB/s transfers Mar 27 22:28:39 kg-vm kernel: da0: 57231MB (117210240 512 byte sectors: 255H 63S/T 7296C)
and usbdevs -v output:
port 6 addr 2: high speed, self powered, config 1, External(0x1240), Generic(0x13fd), rev 1.04
2008-03-23: I connected a Dymo LabelManager PC label printer to a machine running FreeBSD 7.0-stable. As expected, it didn't work. Here is the output from /var/log/messages:
Mar 23 18:46:45 kg-i82 kernel: uhub0: port 2, set config at addr 2 failed Mar 23 18:46:45 kg-i82 kernel: uhub0: device problem (INVAL), disabling port 2 Mar 23 18:46:45 kg-i82 root: Unknown USB device: vendor 0x0922 product 0x0011 bus uhub0 Mar 23 18:46:47 kg-i82 kernel: uhub0: port 2, set config at addr 2 failed Mar 23 18:46:47 kg-i82 kernel: uhub0: device problem (SHORT_XFER), disabling port 2 Mar 23 18:46:47 kg-i82 root: Unknown USB device: vendor 0x0922 product 0x0011 bus uhub0 Mar 23 18:46:48 kg-i82 kernel: uhub0: port 2, set config at addr 2 failed Mar 23 18:46:48 kg-i82 kernel: uhub0: device problem (INVAL), disabling port 2
It looks like the device (the printer) repeatedly disconnects / reconnects. Not good. It doesn't seem like this printer is supported under Linux either
2008-03-15: connected an Evolution eKeys MIDI keyboard to a machine running FreeBSD 7.0-stable. From /var/log/messages:
Mar 15 19:38:23 kg-i82 kernel: ugen0: <Evolution Electronics Ltd. USB MIDI keyboard, class 0/0, rev 1.00/2.52, addr 2> on uhub0 Mar 15 19:38:24 kg-i82 root: Unknown USB device: vendor 0x0a4d product 0x00d2 bus uhub0
and 'lsusb' output:
root@kg-i82# lsusb Bus /dev/usb0 Device /dev/ugen0: ID 0a4d:00d2 Evolution Electronics, Ltd
2008-03-11: connected an Edirol SD-20 (from Roland) to a machine running FreeBSD 7.0-stable. From /var/log/messages:
Mar 11 20:22:21 kg-i82 kernel: ugen0: <Roland EDIROL SD-20, class 255/0, rev 1.10/1.00, addr 2> on uhub0 Mar 11 20:22:21 kg-i82 root: Unknown USB device: vendor 0x0582 product 0x0027 bus uhub0
and lsusb output:
root@kg-i82# lsusb Bus /dev/usb0 Device /dev/ugen0: ID 0582:0027 Roland Corp.
2008-03-01: upgraded to FreeBSD 7.0-release and tested ral(4) with the HWC54G card again The problem is the same - network connctions die, and there are no messages anywhere. Details:
root@kg-i82# uname -a FreeBSD kg-i82.kg4.no 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 root@kg-i82# pciconf -lv | grep -A 4 ral0 ral0@pci0:3:0:0: class=0x028000 card=0x0c541432 chip=0x02011814 rev=0x01 hdr=0x00 vendor = 'Ralink Technology, Corp' device = '0x03011814 Zonet ZEW1601 (Ralink Chipset) 802.11b/g WLAN Card' class = network
2008-02-26: I also tested the Hawking HWC54G card again. It has the same problem as the Gigabyte card; after a while, traffic stops, ssh connections to the machine dies, and so on. I also tested this card in the other PCCard slot - that did not solve the problem. I must find out how to debug the ral(4) driver. netstat -ni doesn't show any errors (Ierrs / Oerrs) when the problem shows itself. Testing done with FreeBSD 6.3.
2008-02-23: The Gigabyte airCruiser G (GN-WMKG) adapter or the ral(4) driver has a problem. After a while, traffic stops. For example, I can ssh to the laptop with the ral(4) card, and leave this shell open. A few hours later, or the next day, the ssh session does not respond, and closes connection after a while. If I try to ping the laptop, it doesn't respond. If I go over to the laptop, everything looks fine, I can connect to the world. No error messages, not even with ifconfig ral0 debug. I don't know what to do next.
2008-02-16: I bought a Gigabyte AirCruiser G PCCard NIC. Model number: GN-WMKG. Works with the ral(4) driver in FreeBSD 6.3. From dmesg:
Feb 16 21:21:20 kg-i82 kernel: ral0: <Ralink Technology RT2560> mem 0xf4002000-0xf4003fff irq 10 at device 0.0 on cardbus1 Feb 16 21:21:20 kg-i82 kernel: ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525 Feb 16 21:21:20 kg-i82 kernel: ral0: Ethernet address: 00:1d:7d:3e:f9:be
2007-12-22: I built my first quad core machine, using an Asus M2A-VM HDMI motherboard.
2007-05-27: the Sandberg USB to Serial Link is supported by the ulpcom driver (you will also need the ucom driver).
unknown: MSI Wireless Stick (usb NIC), Model US54G / MS-6861. Works with the ural(4) driver in FreeBSD. dmesg output:
Feb 16 22:07:33 kg-i82 kernel: ural0: Ralink 802.11g WLAN + Pen Drive, rev 2.00/0.01, addr 2 Feb 16 22:07:33 kg-i82 kernel: ural0: MAC/BBP RT2570 (rev 0x05), RF RT2526 Feb 16 22:07:33 kg-i82 kernel: ural0: Ethernet address: 00:13:d3:7a:b8:c1 Feb 16 22:07:33 kg-i82 kernel: ural0: if_start running deferred for Giant
Problem: after running traffic for some minutes (5 - 10) traffic stops. The adapter feels hot, but I don't know if the heat is the problem
unknown: Hawking model HWC54G PCCard NIC. Works with the ral(4) driver in FreeBSD 6.3:
Feb 16 21:58:00 kg-i82 kernel: ral0: <Ralink Technology RT2560> mem 0xf4002000-0xf4003fff irq 10 at device 0.0 on cardbus1 Feb 16 21:58:00 kg-i82 kernel: ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525 Feb 16 21:58:00 kg-i82 kernel: ral0: Ethernet address: 00:0e:3b:06:2d:23