ADMtek USB To LAN Converter

2009-02-10 Thread Nenhum_de_Nos

hail,

I have two of these and cant make them ping. module loads ok, ifconfig
sees ok, but cant send any data. tcpdump can get info though.


aue0: ADMtek USB To LAN Converter, class 255/0, rev 1.10/2.01, addr 2 on
uhub1
miibus3: MII bus on aue0
ukphy1: Generic IEEE 802.3u media interface PHY 1 on miibus3
ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
aue0: Ethernet address: 00:60:6e:00:05:d2
aue0: link state changed to DOWN
aue0: link state changed to UP
aue0: usb error on rx: IOERROR

FreeBSD xxx 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #2: Tue Dec 30 00:41:39
BRT 2008 r...@xxx:/usr/obj/usr/src/sys/xxx  i386

if anyone has any clues,

thanks,

matheus

-- 
We will call you cygnus,
The God of balance you shall be




-- 
We will call you cygnus,
The God of balance you shall be

___
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


RE: ADMtek USB To LAN Converter

2009-02-10 Thread Nenhum_de_Nos
hail,

first of all I apologize for two messages, but I'm not receiving usb@ msgs.

but to the point, this adapter:

aue0: ADMtek USB To LAN Converter, class 255/0, rev 1.10/2.01, addr 2 on
uhub1
miibus3: MII bus on aue0
ukphy1: Generic IEEE 802.3u media interface PHY 1 on miibus3
ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
aue0: Ethernet address: 00:60:6e:00:05:d2
aue0: link state changed to DOWN
aue0: link state changed to UP
aue0: usb error on rx: IOERROR

in current using usb1 never got to send a byte on the wire. So I tested USB2:

ugen0.2: ADMtek at usbus0
aue0: ADMtek USB To LAN Converter, rev 1.10/2.01, addr 2 on usbus0
miibus1: MII bus on aue0
ukphy0: Generic IEEE 802.3u media interface PHY 1 on miibus1
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ue0: USB Ethernet on aue0
ue0: Ethernet address: 00:60:6e:00:05:d2
ue0: link state changed to DOWN

and after a ifconfig ue0 $ip, it did work :)
as I have no clue why this, I'm here asking. I'd like to have this nic in
a router and planned to run STABLE or any RELEASE, nor CURRENT. so is this
possible ?

and at last but not least, thanks for usb2 code :)

matheus

-- 
We will call you cygnus,
The God of balance you shall be

___
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


Re: ADMtek USB To LAN Converter

2009-02-10 Thread Hans Petter Selasky
On Tuesday 10 February 2009, Nenhum_de_Nos wrote:

 first of all I apologize for two messages, but I'm not receiving usb@ msgs.

 but to the point, this adapter:


Hi,

 aue0: usb error on rx: IOERROR 

Probably the old USB aue0 driver does not handle the clear-stall correctly.

 So is this possible ?

It will require some work. What is the target version of FreeBSD where you 
want to backport the aue0 driver?


 and at last but not least, thanks for usb2 code :)

Great to hear it's working!

--HPS
___
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


Re: ADMtek USB To LAN Converter

2009-02-10 Thread Nenhum_de_Nos

On Tue, February 10, 2009 13:01, Hans Petter Selasky wrote:
 On Tuesday 10 February 2009, Nenhum_de_Nos wrote:

 first of all I apologize for two messages, but I'm not receiving usb@
 msgs.

 but to the point, this adapter:


 Hi,

 aue0: usb error on rx: IOERROR

 Probably the old USB aue0 driver does not handle the clear-stall
 correctly.

this error appeared just once, but I tried for quite long time (some hours
yesterday), and using 7.1R/STABLE/CURRENT

 So is this possible ?

 It will require some work. What is the target version of FreeBSD where you
 want to backport the aue0 driver?

well, STABLE would be much of enough :) as it'll be in future releases :)


 and at last but not least, thanks for usb2 code :)

 Great to hear it's working!

yep, and is ok. just noticed u3g stopped working :)
I was about to send nick a message about this, or is all about you ? ;)

thanks again,

matheus


 --HPS



-- 
We will call you cygnus,
The God of balance you shall be

___
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


Re: ADMtek USB To LAN Converter

2009-02-10 Thread Hans Petter Selasky
On Tuesday 10 February 2009, Nenhum_de_Nos wrote:
 On Tue, February 10, 2009 13:01, Hans Petter Selasky wrote:
  On Tuesday 10 February 2009, Nenhum_de_Nos wrote:
  first of all I apologize for two messages, but I'm not receiving usb@
  msgs.
 
  but to the point, this adapter:
 
  Hi,
 
  aue0: usb error on rx: IOERROR
 
  Probably the old USB aue0 driver does not handle the clear-stall
  correctly.

 this error appeared just once, but I tried for quite long time (some hours
 yesterday), and using 7.1R/STABLE/CURRENT

  So is this possible ?
 
  It will require some work. What is the target version of FreeBSD where
  you want to backport the aue0 driver?

 well, STABLE would be much of enough :) as it'll be in future releases :)

  and at last but not least, thanks for usb2 code :)
 
  Great to hear it's working!

 yep, and is ok. just noticed u3g stopped working :)
 I was about to send nick a message about this, or is all about you ? ;)

Hi,

If you have some debug prints you can send them to me or Andrew Thompson. 
There has been some changes to u3g recently. Maybe something is broken?

kldload usb2_serial_3g

And dmesg output.

--HPS
___
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


Re: ADMtek USB To LAN Converter

2009-02-10 Thread Nenhum_de_Nos

On Tue, February 10, 2009 17:08, Hans Petter Selasky wrote:
 On Tuesday 10 February 2009, Nenhum_de_Nos wrote:
 On Tue, February 10, 2009 13:01, Hans Petter Selasky wrote:
  On Tuesday 10 February 2009, Nenhum_de_Nos wrote:
  first of all I apologize for two messages, but I'm not receiving usb@
  msgs.
 
  but to the point, this adapter:
 
  Hi,
 
  aue0: usb error on rx: IOERROR
 
  Probably the old USB aue0 driver does not handle the clear-stall
  correctly.

 this error appeared just once, but I tried for quite long time (some
 hours
 yesterday), and using 7.1R/STABLE/CURRENT

  So is this possible ?
 
  It will require some work. What is the target version of FreeBSD where
  you want to backport the aue0 driver?

 well, STABLE would be much of enough :) as it'll be in future releases
 :)

  and at last but not least, thanks for usb2 code :)
 
  Great to hear it's working!

 yep, and is ok. just noticed u3g stopped working :)
 I was about to send nick a message about this, or is all about you ? ;)

 Hi,

 If you have some debug prints you can send them to me or Andrew Thompson.
 There has been some changes to u3g recently. Maybe something is broken?

 kldload usb2_serial_3g

 And dmesg output.

 --HPS

well, sorry for my mistake. I did kldluad u3g and it loaded, but my Huawei
E226 got ugen for it.

I'll try this though.

thanks,

matheus

-- 
We will call you cygnus,
The God of balance you shall be

___
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


Recent Changes to Rum driver - seems to have..

2009-02-10 Thread Thomas Sparrevohn
Reintroduced panics when the device is used heavily - it also reports the
needs callback   in dmesg - Unless this is known I can post a dmesg 

___
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


usb/131576: ADMtek USB To LAN Converter can't send data

2009-02-10 Thread Matheus

Number: 131576
Category:   usb
Synopsis:   ADMtek USB To LAN Converter can't send data
Confidential:   no
Severity:   non-critical
Priority:   low
Responsible:freebsd-usb
State:  open
Quarter:
Keywords:   
Date-Required:
Class:  sw-bug
Submitter-Id:   current-users
Arrival-Date:   Wed Feb 11 01:20:00 UTC 2009
Closed-Date:
Last-Modified:
Originator: Matheus
Release:7.1-PRERELEASE
Organization:
Environment:
FreeBSD lamneth 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #2: Tue Dec 30 00:41:39 
BRT 2008 r...@lamneth:/usr/obj/usr/src/sys/Lamneth_7-3G  i386
Description:
I have an aue device that detects ok, but can't send data. tcpdump can read 
from wire though.

the dmesg:
aue0: ADMtek USB To LAN Converter, class 255/0, rev 1.10/2.01, addr 2 on uhub1
miibus3: MII bus on aue0
ukphy1: Generic IEEE 802.3u media interface PHY 1 on miibus3
ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
aue0: Ethernet address: 00:60:6e:00:05:d2
aue0: link state changed to DOWN
aue0: link state changed to UP
aue0: usb error on rx: IOERROR
aue0: at uhub1 port 1 (addr 2) disconnected
aue0: detached

usbdevs -v:
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), VIA(0x), 
rev 1.00
 port 1 powered
 port 2 addr 2: full speed, power 160 mA, config 1, USB To LAN 
Converter(0x8513), ADMtek(0x07a6), rev 2.01


I read from 4.9 days in mailing lists a problem quite close to this, but on 
ADM8511, this is ADM8513
How-To-Repeat:
Just plug the adapter.
Fix:
Use usb2 code.

Release-Note:
Audit-Trail:
Unformatted:
___
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


usb/131583: Failure when detaching umass Device

2009-02-10 Thread Gerhard Schmidt

Number: 131583
Category:   usb
Synopsis:   Failure when detaching umass Device
Confidential:   no
Severity:   serious
Priority:   medium
Responsible:freebsd-usb
State:  open
Quarter:
Keywords:   
Date-Required:
Class:  sw-bug
Submitter-Id:   current-users
Arrival-Date:   Wed Feb 11 07:30:02 UTC 2009
Closed-Date:
Last-Modified:
Originator: Gerhard Schmidt schm...@ze.tum.de
Release:FreeBSD 7.1-STABLE amd64
Organization:
Technische Universität München
Environment:
System: FreeBSD etustar.ze.tum.de 7.1-STABLE FreeBSD 7.1-STABLE #9: Mon Feb 9 
09:13:59 CET 2009 r...@etustar.ze.tum.de:/usr/src/sys/amd64/compile/ETUSTAR 
amd64



Description:
I've a Sandisk Sansa e280 MP3 Player. The Mplayer is charged via USB cable. To 
charge the player 
I've connected the Player to my FreeBSD Workstation. After charging the Player 
(ca 2h) I disconnected the Player
and get the following Message 

umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR

repeating every two secounds. The umass device has never been mounted during 
the charge time.  

The player is an MTP device and has an entry in my hal policies. 

  !-- SanDisk Sansa e200/e250/e260/e270/e280 --
  match key=usb.vendor_id int=0x0781
match key=usb.product_id int=0x7420
  match key=info.capabilities contains_not=portable_audio_player
append key=info.capabilities 
type=strlistportable_audio_player/append
  /match
  merge key=info.vendor type=stringSanDisk/merge
  merge key=info.product type=stringSansa 
e200/e250/e260/e270/e280/merge
  merge key=info.category type=stringportable_audio_player/merge
  merge key=portable_audio_player.access_method 
type=stringuser/merge
  match key=portable_audio_player.access_method.protocols 
contains_not=mtp
append key=portable_audio_player.access_method.protocols 
type=strlistmtp/append
  /match
  append key=portable_audio_player.access_method.drivers 
type=strlistlibmtp/append
  match key=portable_audio_player.output_formats 
contains_not=audio/mpeg
append key=portable_audio_player.output_formats 
type=strlistaudio/mpeg/append
  /match
  match key=portable_audio_player.output_formats 
contains_not=audio/x-ms-wma
append key=portable_audio_player.output_formats 
type=strlistaudio/x-ms-wma/append
  /match
  merge key=portable_audio_player.libmtp.protocol 
type=stringmtp/merge
/match
  /match
  !-- SanDisk Sansa e280 --
  match key=usb.vendor_id int=0x0781
match key=usb.product_id int=0x7421
  match key=info.capabilities contains_not=portable_audio_player
append key=info.capabilities 
type=strlistportable_audio_player/append
  /match
  merge key=info.vendor type=stringSanDisk/merge
  merge key=info.product type=stringSansa e280/merge
  merge key=info.category type=stringportable_audio_player/merge
  merge key=portable_audio_player.access_method 
type=stringuser/merge
  match key=portable_audio_player.access_method.protocols 
contains_not=mtp
append key=portable_audio_player.access_method.protocols 
type=strlistmtp/append
  /match
  append key=portable_audio_player.access_method.drivers 
type=strlistlibmtp/append
  match key=portable_audio_player.output_formats 
contains_not=audio/mpeg
append key=portable_audio_player.output_formats 
type=strlistaudio/mpeg/append
  /match
  match key=portable_audio_player.output_formats 
contains_not=audio/x-ms-wma
append key=portable_audio_player.output_formats 
type=strlistaudio/x-ms-wma/append
  /match
  merge key=portable_audio_player.libmtp.protocol 
type=stringmtp/merge
/match
  /match
  !-- SanDisk Sansa e280 v2 --
  match key=usb.vendor_id int=0x0781
match key=usb.product_id int=0x7422
  match key=info.capabilities contains_not=portable_audio_player
append key=info.capabilities 
type=strlistportable_audio_player/append
  /match
  merge key=info.vendor type=stringSanDisk/merge
  merge key=info.product type=stringSansa e280 v2/merge
  merge key=info.category type=stringportable_audio_player/merge
  merge key=portable_audio_player.access_method 
type=stringuser/merge
  match key=portable_audio_player.access_method.protocols 
contains_not=mtp
append key=portable_audio_player.access_method.protocols 
type=strlistmtp/append
  /match
  append key=portable_audio_player.access_method.drivers 
type=strlistlibmtp/append
  match key=portable_audio_player.output_formats 
contains_not=audio/mpeg
append key=portable_audio_player.output_formats