Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
usb network adapter
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
smite
Apprentice
Apprentice


Joined: 22 Feb 2003
Posts: 266
Location: /dev/hda4

PostPosted: Sat Oct 25, 2003 11:45 am    Post subject: usb network adapter Reply with quote

I'm installing gentoo on a friend's computer, and he is using a linksys etherfast usb100tx network adapter instead of a network card. Knoppix will detect and use it, but gentoo won't. Any ideas?
Back to top
View user's profile Send private message
joehni
Apprentice
Apprentice


Joined: 27 Jul 2003
Posts: 175

PostPosted: Sat Oct 25, 2003 12:07 pm    Post subject: Reply with quote

Although I do not have much experience with USB myself, you can at least check wether your kernel is basically able to support USB at all. Check dmesg output for any kind of ehci (USB 2.0) or OHCI (USB 1.1) output.

If you cannot detect anything, try to locate modules with this name in /lib/modules/<kernel-version> and try to load them with modprobe. Otherwise you must rebuild your kernel with USB support (note: there are two ohci modules; only one will work for your chipset). Additionally you will have to support the network USB adapter by a kernel module; see the kernel documentation which may work.

If your kernel supports USB, you should at least see entries in the kernel logs, when you plug in the USB device. Emerge usbutils and have a look at lsusb output.

Regards,
Jörg
Back to top
View user's profile Send private message
smite
Apprentice
Apprentice


Joined: 22 Feb 2003
Posts: 266
Location: /dev/hda4

PostPosted: Sat Oct 25, 2003 12:28 pm    Post subject: Reply with quote

Yes, thank you for the reply, but I need to have gentoo installed to recompile my kernel or emerge anything. :cry:
Back to top
View user's profile Send private message
joehni
Apprentice
Apprentice


Joined: 27 Jul 2003
Posts: 175

PostPosted: Sat Oct 25, 2003 12:50 pm    Post subject: Reply with quote

Ahh. Well.

First of all I have to correct myself: The USB 1.1 drivers are either uhci or ohci. Which of them works you'll only know it fou modprobe it.

For Gentoo installation: Just try to modprobe these modules after Gentoo has booted from the CD! Try

modprobe ehci-hcd
modprobe ohci-hcd
modprobe uhci-hcd

If one of the drivers could be loaded continue with the driver for the USB network card. Unfortunately I do not know which driver is used for this adapter. Can you have a look at lsusb and lsmod after booting Knoppix? The module must have be loaded there already.
Back to top
View user's profile Send private message
dub.wav
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2003
Posts: 149
Location: Norway

PostPosted: Sat Oct 25, 2003 1:17 pm    Post subject: Reply with quote

Code:

modprobe pegasus

According to drivers/usb/pegasus.h, that's the correct driver.
Code:

PEGASUS_DEV( "Linksys USB100TX", VENDOR_LINKSYS, 0x2203,
                LINKSYS_GPIO_RESET )
PEGASUS_DEV( "Linksys USB100TX", VENDOR_LINKSYS, 0x2204,
                LINKSYS_GPIO_RESET | HAS_HOME_PNA )
Back to top
View user's profile Send private message
joehni
Apprentice
Apprentice


Joined: 27 Jul 2003
Posts: 175

PostPosted: Sat Oct 25, 2003 2:51 pm    Post subject: Reply with quote

Again I have to correct myself:

The chipset USB driver's names are:

ehci-hcd (USB 2.0)
usb-ohci
usb-uhci
uhci

Last three ones are for USB 1.1 and you have to test for yourself whichone works in your situation. Only if you have those loaded (ehci-hcd for USB 2.0 or one of the others for USB 1.1), the pegasus driver can work.

I have a nforce2 chipset and I cannot compile my USB modules into the kernel (ehci-hcd and usb-ohci), since the kernel first initializes USB 2.0 and then USB 1.1. In my case this prevents any USB 2.0 device from working, since the USB 1.1 driver tries to handle it! So I have to load them as modules (in /etc/modules.autoload.d/<kernel>) in the proper sequence: first the usb-ohci and the the ehci-hcd. With this configuration I can connect two usb-storages (one is USB 1.1 and one is USB 2.0).

Worked this out in the last hour, therefore sorry for my misinformation above ...
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Sat Oct 25, 2003 3:26 pm    Post subject: Reply with quote

I do not know if the pegasus modules is on the livecd, find out by:
Code:
ls /lib/modules/`uname -r`/kernel/drivers/net/*

When listed do
Code:
modprobe pegasus
This should should get you up and running.
_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
smite
Apprentice
Apprentice


Joined: 22 Feb 2003
Posts: 266
Location: /dev/hda4

PostPosted: Sun Oct 26, 2003 12:33 pm    Post subject: Reply with quote

Thx, it works now! :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum