LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-07-2004, 07:43 PM   #31
polopolo
LQ Newbie
 
Registered: Feb 2004
Posts: 18

Original Poster
Rep: Reputation: 0

Quote:
[i]Can you post the results from lsmod? [/B]
It says:

pegasus 17300 (autoclean) (unused)


I have been looking up to the internet and it seems that the adapter do not have drivers but i found a patch for pegasus but i dont know what can i do with it. Here it is:


-----------------------------------------------------------------------------


ChangeSet 1.1273, 2003/12/11 11:37:20-08:00, petkan@nucleusys.com

[PATCH] USB: pegasus driver update

This is a patch for pegasus driver. Nothing exciting, just 2 more devices
and a small fix.

correct handling of external PHYs;
better output to ethtool and suchlike;
two new vendors. one of them Microsoft


drivers/usb/pegasus.c | 5 +++--
drivers/usb/pegasus.h | 8 +++++++-
2 files changed, 10 insertions(+), 3 deletions(-)


diff -Nru a/drivers/usb/pegasus.c b/drivers/usb/pegasus.c
--- a/drivers/usb/pegasus.c Fri Dec 12 15:07:50 2003
+++ b/drivers/usb/pegasus.c Fri Dec 12 15:07:50 2003
@@ -54,7 +54,7 @@
BMSR_100FULL | BMSR_ANEGCAPABLE)

static int loopback = 0;
-static int mii_mode = 1;
+static int mii_mode = 0;
static int multicast_filter_limit = 32;

static struct usb_eth_dev usb_dev_id[] = {
@@ -486,7 +486,7 @@
if (linkpart & (ADVERTISE_100FULL | ADVERTISE_100HALF))
data[1] |= 0x10; /* set 100 Mbps */
if (mii_mode)
- data[1] = 0;
+ data[1] |= 1;
data[2] = (loopback & 1) ? 0x09 : 0x01;
memcpy(pegasus->eth_regs, data, sizeof(data));
set_registers(pegasus, EthCtrl0, 3, data);
@@ -900,6 +900,7 @@
info.cmd = ETHTOOL_GDRVINFO;
strncpy(info.driver, driver_name,
sizeof (info.driver) - 1);
+ strncpy(info.driver, DRIVER_DESC, ETHTOOL_BUSINFO_LEN);
strncpy(info.version, DRIVER_VERSION,
sizeof (info.version) - 1);
usb_make_path(pegasus->usb, info.bus_info,
diff -Nru a/drivers/usb/pegasus.h b/drivers/usb/pegasus.h
--- a/drivers/usb/pegasus.h Fri Dec 12 15:07:50 2003
+++ b/drivers/usb/pegasus.h Fri Dec 12 15:07:50 2003
@@ -133,8 +133,10 @@
#define VENDOR_LANEED 0x056e
#define VENDOR_LINKSYS 0x066b
#define VENDOR_MELCO 0x0411
+#define VENDOR_MICROSOFT 0x045e
#define VENDOR_MOBILITY 0x1342
#define VENDOR_NETGEAR 0x0846
+#define VENDOR_OCT 0x0b39
#define VENDOR_SMARTBRIDGES 0x08d1
#define VENDOR_SMC 0x0707
#define VENDOR_SOHOWARE 0x15e8
@@ -170,7 +172,7 @@
DEFAULT_GPIO_RESET | PEGASUS_II )
PEGASUS_DEV( "ADMtek ADM8511 \"Pegasus II\" USB Ethernet",
VENDOR_ADMTEK, 0x8511,
- DEFAULT_GPIO_RESET | PEGASUS_II )
+ DEFAULT_GPIO_RESET | PEGASUS_II | HAS_HOME_PNA )
PEGASUS_DEV( "ADMtek ADM8513 \"Pegasus II\" USB Ethernet",
VENDOR_ADMTEK, 0x8513,
DEFAULT_GPIO_RESET | PEGASUS_II )
@@ -255,7 +257,11 @@
DEFAULT_GPIO_RESET )
PEGASUS_DEV( "MELCO/BUFFALO LUA2-TX", VENDOR_MELCO, 0x0009,
DEFAULT_GPIO_RESET | PEGASUS_II )
+PEGASUS_DEV( "Microsoft MN-110", VENDOR_MICROSOFT, 0x007a,
+ DEFAULT_GPIO_RESET | PEGASUS_II )
PEGASUS_DEV( "NETGEAR FA101", VENDOR_NETGEAR, 0x1020,
+ DEFAULT_GPIO_RESET | PEGASUS_II )
+PEGASUS_DEV( "OCT Inc.", VENDOR_OCT, 0x0109,
DEFAULT_GPIO_RESET | PEGASUS_II )
PEGASUS_DEV( "smartNIC 2 PnP Adapter", VENDOR_SMARTBRIDGES, 0x0003,
DEFAULT_GPIO_RESET | PEGASUS_II )



-------------------------------------------------------------


Perhaps you could tell me what i should do because this patch haves the microsoft ethernet adapter i have MN-110 and so maybe is supported.

Thanks.
Polo
 
Old 04-07-2004, 10:16 PM   #32
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Since it did load, I wonder if the patch is necessary at all. Are you using RH8 on that machine as well? Maybe you have what is needed to get online then.

To get online, you need an ethernet card that works. A driver for it. A hostname, IP address (either given through DHCP or static), netmask, nameserver (DNS), and sometimes a gateway (your router) IP.

You can use the DNS server(s) from your ISP. Read man route and man ifconfig and see if you can get your networking to function (maybe try any pretty GUI tool first)
 
Old 04-08-2004, 06:08 AM   #33
polopolo
LQ Newbie
 
Registered: Feb 2004
Posts: 18

Original Poster
Rep: Reputation: 0
Hi Vector,

Iam now using Red hat 8.0 on a laptop Fujitsu celerom 500Mhz and the system seems to work fine. But i cant connect to the cable internet!!

To connect to the internet I need to use the Microsoft ethernet adapter MN-110, but nothing happens and when RH boots i see a FAILED when he tries to get the ETH0.

The way i try to connect to the cable internet is:

modem motorola surfboard ---> router Dlink 701 --> switch --> MN-110 usb thernet adapter --> laptop

It never works. I cant get internet on it. In the hardware list i cant find the microsoft MN-110 adapter (but it appears however under the section "system").

Could you explain me how could i do this from the beguinning please?
 
Old 05-16-2004, 12:08 AM   #34
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
I'm sorry for not getting back to you on this. I bet you have it solved by now. If not, try the basics first. Can you connect this machine more directly to test it (temporarily, of course). It'd be good if you could connect directly from the modem to the USB adaptor and then to the laptop. That would be ideal..........unless your ISP connects to a certain MAC address only. In that case,you'll have to have the router in the mix, but the switch can temporarily go. If you can get the adaptor to show up in the list, you'll likely get connected. Will it show up if you type
Code:
lsusb -v
?
 
Old 05-16-2004, 09:49 PM   #35
Jimbo99
Member
 
Registered: Nov 2003
Distribution: Ubuntu 7.04
Posts: 241

Rep: Reputation: 31
It really isn't a matter of Monitor mfg providing drivers. Most of the time the monitor is 100% transparent to the user and in Windows there's a generic PnP monitor profile that can be used. Normally even on a generic no name monitor windows knows how to deal with it. Linux seems to have a much greater difficulty dealing with monitors and is very restrictive when doing so--such as limiting the resolution, etc. One distro of redhat understood one of my monitors but the update didn't accept it. Yes, I did have to go to the XF86Config file and manually modify it to make it work properly at the resolution I needed. Linux would be much better an OS if the design of it allowed for more flexible manipulation in a more significantly controlled manner.

From reading the thread, up to the point someone advised this guy to tread more softly I never read into his writing that he was angry or unduly upset. I think I read more of the opposite where some responding were more sensitive than he was.

Anyway, having to modify files in such a manner for such a simple device as the monitor is well, sort of a nasty topic. The same with compiling anything under linux. No one should be required at any time for any reason (period) to recompile (as an end-user). We have computers for a reason and their jobs are to take care off all this repetitive and sequential stuff.

BTW, he did explain his situation and much of the reply was off target as if some weren't listening. Linux is a matter of persevering. The problem is that there are some areas where this just shouldn't be a factor. Sound and video in linux are problems of significantly larger proportion than in the Windows world. It would be great if we could get these areas locked down and working better than we find it in windows. Believe me, it is a significantly more difficult task to resolve video and sound issues in linux then in windows, significantly.

Aside from that Linux is a good OS. I really like it. I like the learning. I like that it opens up new areas for me to learn. I don't like spending days and days without learning and I so dislike the lack of completeness in responses I read in so many responses to questions in these forums.

In this case, I'd say the issue is a linux issue and not his monitor company. Since most monitor companies do NOT provide drivers it is up to the OS to handle it and Linux just isn't doing the job.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
monitor freq in red hat 9 prasaad Linux - Newbie 3 02-23-2005 02:37 PM
ViewSonic Monitor error on install of Red Hat 9 ( I can't read what I'm doing)..... Superman1180 Linux - Newbie 2 10-23-2003 01:38 PM
Red Hat not liking monitor StlthMd Linux - Hardware 22 08-04-2003 12:05 PM
Red Hat 9 install -strange- monitor problem tim167 Linux - Laptop and Netbook 3 06-13-2003 08:27 PM
New Red Hat 8.0 Install - Monitor Problems TrevorJay Linux - Hardware 1 06-11-2003 01:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration