cod3fr3ak
February 1st, 2006, 17:12
I have a Belkin F5D7050 USB wireless adapter that I am trying to use as an access point for my new network. The dmesg looks like this:


ugen0 at uhub0 port 1
ugen0: Belkin Belkin 54g USB Network Adapter, rev 2.00/0.01, addr 2


From what I understand I am supposed to be getting something about ural or ral0. Does anyone know whats going on? I am using OpenBSD 3.8 (cd).

Strog
February 1st, 2006, 18:19
I looked around at some dmesgs for 3.7/3.8 and they show ural0 with the same revision of wireless card. Hmmmm. Have you tried it in a different USB port.

cod3fr3ak
February 1st, 2006, 20:30
yeah strog i tried it in a different port. I am installing another test box, with obsd 3.8 to see if it is the system hardware itself. I should be done in an hour of so.

cod3fr3ak
February 1st, 2006, 21:09
No go on the new box. I plugged the usb wifi adapter into a windows machine and it started up fine. Do you think i need to change, or add some things to the kernel in order for it to correctly identify the device?

frisco
February 3rd, 2006, 16:57
full dmesg might be useful.

It's also possible that the chipset in the device has changed while the product number hasn't.

You shouldn't need to change or add anything to the kernel, GENERIC should see it.

cod3fr3ak
February 3rd, 2006, 18:43
okay here is a full dmesg


# dmesg
OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT 2005
deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) CPU 1.70GHz ("GenuineIntel" 686-class) 1.70 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MC A,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS, HTT,TM
real mem = 536387584 (523816K)
avail mem = 482533376 (471224K)
using 4278 buffers containing 26923008 bytes (26292K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(de) BIOS, date 07/19/03, BIOS32 rev. 0 @ 0xfb330
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdf84
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde90/240 (13 entries)
pcibios0: PCI Exclusive IRQs: 5 9 10 11
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371SB ISA" rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xc9000/0x1000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82845 Host" rev 0x04
ppb0 at pci0 dev 1 function 0 "Intel 82845 AGP" rev 0x04
pci1 at ppb0 bus 1
ppb1 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0x05
pci2 at ppb1 bus 2
twe0 at pci2 dev 0 function 0 "3ware Escalade IDE RAID" rev 0x01: irq 11
twe0: Escalade V1.3
scsibus0 at twe0: 16 targets
sd0 at scsibus0 targ 0 lun 0: <3WARE, Host drive #00, > SCSI2 0/direct fixed
sd0: 715422MB, 91203 cyl, 255 head, 63 sec, 512 bytes/sec, 1465185024 sec total
re0 at pci2 dev 4 function 0 "Realtek 8169" rev 0x10: irq 10, address 00:08:54:d1:54:69
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 0
fxp0 at pci2 dev 6 function 0 "Intel 82557" rev 0x08, i82559: irq 5, address 00:30:48:52:f2:a6
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
fxp1 at pci2 dev 7 function 0 "Intel 82557" rev 0x08, i82559: irq 10, address 00:30:48:52:f2:a7
inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
vga1 at pci2 dev 8 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ichpcib0 at pci0 dev 31 function 0 "Intel 82801BA LPC" rev 0x05
pciide0 at pci0 dev 31 function 1 "Intel 82801BA IDE" rev 0x05: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <WDC WD800BB-00HEA0>
wd0: 16-sector PIO, LBA, 76319MB, 156301488 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <SAMSUNG, CD-ROM SC-148F, PR01> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 31 function 2 "Intel 82801BA USB" rev 0x05: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"Intel 82801BA SMBus" rev 0x05 at pci0 dev 31 function 3 not configured
uhci1 at pci0 dev 31 function 4 "Intel 82801BA USB" rev 0x05: irq 9
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lm0 at isa0 port 0x290/8: W83627HF
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask eb45 netmask ef65 ttymask ffe7
pctr: user-level cycle counter enabled
ugen0 at uhub0 port 1
ugen0: Belkin Belkin 54g USB Network Adapter, rev 2.00/0.01, addr 2
dkcsum: sd0 matches BIOS drive 0x81
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302


the man pages say that ugen is the generic usb driver. i really don't know whats wrong with it. I tried it on several machine and still no joy. i am thinking of loading up debian or SuSE real quick to see if they properly identify it.

frisco
February 4th, 2006, 23:10
Looks like you have it plugged into a usb 1.0 port, possibly OpenBSD requires it to be in a usb2.0 port?

cod3fr3ak
February 5th, 2006, 13:44
Ah so. Let me try another machine and grab a dmesg off of it to be sure.

cod3fr3ak
February 7th, 2006, 21:01
I tried on another box with a 2.0 USB port and got the same response:


# dmesg
OpenBSD 3.8 (GENERIC) #138: Sat Sep 10 15:41:37 MDT 2005
deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) XP 2000+ ("AuthenticAMD" 686-class, 256KB L2 cache) 1.67 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MC A,CMOV,PAT,PSE36,MMX,FXSR,SSE
cpu0: AMD Powernow: FID
real mem = 267948032 (261668K)
avail mem = 237608960 (232040K)
using 3296 buffers containing 13500416 bytes (13184K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(af) BIOS, date 05/30/03, BIOS32 rev. 0 @ 0xfb3b0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdf74
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdec0/160 (8 entries)
pcibios0: PCI Exclusive IRQs: 5 7 10 11
pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT82C596A ISA" rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc0000/0xd000 0xd0000/0x2000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8366 PCI" rev 0x00
ppb0 at pci0 dev 1 function 0 "VIA VT8366 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Radeon 8500 BB" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci1 dev 0 function 1 vendor "ATI", unknown product 0x4243 rev 0x00
pci2 at ppb1 bus 2
"AT&T/Lucent FW322 1394" rev 0x04 at pci2 dev 0 function 0 not configured
nge0 at pci0 dev 8 function 0 "NS DP83820 10/100/1000" rev 0x00: irq 10: address: 00:04:5a:7c:44:00
nsgphy0 at nge0 phy 1: DP83861 10/100/1000 PHY, rev. 2
pciide0 at pci0 dev 10 function 0 "Promise PDC20267" rev 0x02: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using irq 11 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <Maxtor 6Y120P0>
wd0: 16-sector PIO, LBA, 117246MB, 240121728 sectors
wd1 at pciide0 channel 0 drive 1: <WDC WD1200JB-00DUA3>
wd1: 16-sector PIO, LBA48, 114473MB, 234441648 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5
pciide0: channel 1 disabled (no drives)
uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80: irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x80: irq 7
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80: irq 11
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB" rev 0x82: irq 5
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
pcib0 at pci0 dev 17 function 0 "VIA VT8235 ISA" rev 0x00
pciide1 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 configured to compatibility
pciide1: channel 0 disabled (no drives)
atapiscsi0 at pciide1 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <PLEXTOR, CD-R PX-W4824A, 1.03> SCSI0 5/cdrom removable
cd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 2
isa0 at pcib0
isadma0 at isa0
ast0: irq 5 already in use
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
le0: irq 15 already in use
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pccom2: irq 5 already in use
lms1: irq 5 already in use
biomask efe5 netmask efe5 ttymask ffe7
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
ugen0 at uhub3 port 2
ugen0: Belkin Belkin 54g USB Network Adapter, rev 2.00/0.01, addr 2
#


I am at a lose as to where to go from here. I originally intended on using the HostAP function to create a simple wifi router for my internal network.

cod3fr3ak
February 7th, 2006, 21:02
I am thinking something changed in the chipset and they never updated the documentation.

frisco
February 9th, 2006, 13:50
Just for kicks, try booting off a recent snapshot. If that doesn't work, then send the dmesg into misc@ along with a description of your problem. Right now it sounds like a changed chipset.

cod3fr3ak
February 10th, 2006, 12:11
I;ll do that this weekend. Thanks.