Re: usb/140883: [axe] [usb8] USB gigabit ethernet hangs after short period of traffic

2010-10-26 Thread Nicolas Blais
The following reply was made to PR usb/140883; it has been noted by GNATS.

From: Nicolas Blais 
To: bug-follo...@freebsd.org, sub.m...@gmail.com
Cc:  
Subject: Re: usb/140883: [axe] [usb8] USB gigabit ethernet hangs after short
 period of traffic
Date: Tue, 26 Oct 2010 12:51:49 +0430

 I'm having the same problem here with vendor 0x05ac, product 0x1402,
 rev 2.00/0.01 (Apple Ethernet USB Adapter).
 
 It freezes after a while.  I am running a transparent squid server and
 the freezes also affects my bridge interface.  Until I get a new PCI
 NIC, I have a script running from crontab every 15 minutes to reset
 the interface and bring the bridge back up.
 
 ##
 #!/bin/sh
 usbconfig -u 7 -a 2 reset
 sleep 3
 ifconfig bridge0 addm ue0 up
 ##
 
 Nick.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Can't use JMTek usbdrive

2006-10-31 Thread Nicolas Blais
When I plug my JMTek 1GB usb drive 
(http://www.jmtek.com/products/usbdrivesm.html) I get the following messages 
on my console:

umass0:  on uhub4
umass0: SCSI over Bulk-Only; quirks = 0x
umass0:7:0:-1: Attached to scbus7
da0 at umass-sim0 bus 0 target 0 lun 0
da0:  Removable Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: Attempt to query device size failed: UNIT ATTENTION, Not ready to ready 
change,
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
(da0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed
(da0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
(da0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed
(da0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
(da0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed
(da0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
(da0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed
(da0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
(da0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed
(da0:umass-sim0:0:0:0): Retries Exhausted


and usbdevs -v:

Controller /dev/usb4:
addr 1: high speed, self powered, config 1, EHCI root hub(0x), 
VIA(0x), rev 1.00

 port 6 addr 2: high speed, power 200 mA, config 1, USBDrive2.0(0x2168), 
JMTek(0x3606), rev 2.00

With that, there are no slices to mount. My other usb drives work fine in 
FreeBSD, only this one isn't working. Any suggestions? 

Nicolas.

-- 
FreeBSD 7.0-CURRENT #9: Tue Oct 31 15:44:23 EST 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A 
PGP? : http://www.clkroot.net/security/nb_root.asc


pgpCbHlmDlDNX.pgp
Description: PGP signature


Support for Linksys USB3GIG ethernet adapter

2015-08-29 Thread Nicolas Blais
Has anyone had any luck getting the Linksys USB3GIGv1 USB/Ethernet adapter
to work in FreeBSD? I have no issues in Linux, but it seems currently
unsupported on -CURRENT.  I posted on the forums in Network but was
forwarded here.

On FreeBSD 11-CURRENT (armv6-RPI2):
ugen0.4:  at usbus0

root@rpi2:~ #  lsusb -d 13b1: -v
Bus /dev/usb Device /dev/ugen0.4: ID 13b1:0041 Linksys
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   2.10
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize064
  idVendor   0x13b1 Linksys
  idProduct  0x0041
  bcdDevice   30.00
  iManufacturer   1 Linksys
  iProduct2 Linksys USB3GIGV1


On Linux 3.19.8:
usb 4-4: new SuperSpeed USB device number 12 using xhci_hcd
usb 4-4: New USB device found, idVendor=13b1, idProduct=0041
usb 4-4: New USB device strings: Mfr=1, Product=2, SerialNumber=6
usb 4-4: Product: Linksys USB3GIGV1
usb 4-4: Manufacturer: Linksys
cdc_ether 4-4:2.0 eth0: register 'cdc_ether' at usb-:00:14.0-4, CDC
Ethernet Device

Cheers!
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: Support for Linksys USB3GIG ethernet adapter

2015-08-30 Thread Nicolas Blais
Yep, that worked!  The cdce driver is pretty plain option-wise but at least
it's functional.  Also tested on the BeagleBone Black and it worked fine
(and was actually faster than on the RPI2)

Other than manually running usbconfig or adding a rc.d script at boot, can
we get the Linksys USB3GIGv1 adapter to be added to the list of supported
devices by cdce?

Here's a few outputs if interested:

root@rpi2:~ # usbconfig -d 0.5 set_config 1
root@rpi2:~ # cdce0:  on usbus0
ue1:  on cdce0
ue1: Ethernet address: 94:10:3e:b7:ad:f2

root@rpi2:~ # dhclient ue1
DHCPREQUEST on ue1 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.140 -- renewal in 43200 seconds.
root@rpi2:~ # ping 4.2.2.1
PING 4.2.2.1 (4.2.2.1): 56 data bytes
64 bytes from 4.2.2.1: icmp_seq=0 ttl=53 time=23.512 ms
64 bytes from 4.2.2.1: icmp_seq=1 ttl=53 time=22.493 ms

root@rpi2:~ # speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Distributel Communications (X.X.X.X)...
Selecting best server based on latency...
Hosted by Belair Technologies (Pointe-Claire, QC) [120.16 km]: 68.545 ms
Testing download speed
Download: 2.66 Mbit/s
Testing upload speed..
Upload: 1.11 Mbit/s

root@beaglebone:~ # speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Distributel Communications (X.X.X.X)...
Selecting best server based on latency...
Hosted by Belair Technologies (Pointe-Claire, QC) [120.16 km]: 62.09 ms
Testing download speed
Download: 6.67 Mbit/s
Testing upload speed..
Upload: 1.92 Mbit/s

Thanks!



On Sun, Aug 30, 2015 at 2:50 AM, Hans Petter Selasky 
wrote:

> On 08/30/15 00:56, Nicolas Blais wrote:
>
>> Has anyone had any luck getting the Linksys USB3GIGv1 USB/Ethernet adapter
>> to work in FreeBSD? I have no issues in Linux, but it seems currently
>> unsupported on -CURRENT.  I posted on the forums in Network but was
>> forwarded here.
>>
>> On FreeBSD 11-CURRENT (armv6-RPI2):
>> ugen0.4:  at usbus0
>>
>> root@rpi2:~ #  lsusb -d 13b1: -v
>> Bus /dev/usb Device /dev/ugen0.4: ID 13b1:0041 Linksys
>> Device Descriptor:
>>bLength18
>>bDescriptorType 1
>>bcdUSB   2.10
>>bDeviceClass0 (Defined at Interface level)
>>bDeviceSubClass 0
>>bDeviceProtocol 0
>>bMaxPacketSize064
>>idVendor   0x13b1 Linksys
>>idProduct  0x0041
>>bcdDevice   30.00
>>iManufacturer   1 Linksys
>>iProduct2 Linksys USB3GIGV1
>> 
>>
>> On Linux 3.19.8:
>> usb 4-4: new SuperSpeed USB device number 12 using xhci_hcd
>> usb 4-4: New USB device found, idVendor=13b1, idProduct=0041
>> usb 4-4: New USB device strings: Mfr=1, Product=2, SerialNumber=6
>> usb 4-4: Product: Linksys USB3GIGV1
>> usb 4-4: Manufacturer: Linksys
>> cdc_ether 4-4:2.0 eth0: register 'cdc_ether' at usb-:00:14.0-4, CDC
>> Ethernet Device
>>
>>
> Try:
>
> usbconfig -d X.Y set_config 1
>
> --HPS
>
>
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: Support for Linksys USB3GIG ethernet adapter

2015-08-30 Thread Nicolas Blais
Thanks Hans,

I made a PR (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202783) with
2 patches for usb_quirk.c and usbdevs.

Thanks again for all your help!

On Sun, Aug 30, 2015 at 4:42 PM, Hans Petter Selasky 
wrote:

> On 08/30/15 16:19, Nicolas Blais wrote:
>
>> Yep, that worked!  The cdce driver is pretty plain option-wise but at
>> least
>> it's functional.  Also tested on the BeagleBone Black and it worked fine
>> (and was actually faster than on the RPI2)
>>
>> Other than manually running usbconfig or adding a rc.d script at boot, can
>> we get the Linksys USB3GIGv1 adapter to be added to the list of supported
>> devices by cdce?
>>
>> Here's a few outputs if interested:
>>
>>
> FYI:
>
> You can add a quirk to "sys/dev/usb/quirk/usb_quirk.c" to do that
> automatically when the device is plugged.
>
> --HPS
>
>
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"