Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
resolved: why is usb modem working in win but not linux?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
maxpayne
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2003
Posts: 122

PostPosted: Sat Jan 01, 2005 12:47 am    Post subject: resolved: why is usb modem working in win but not linux? Reply with quote

first of all, i do need to use the usb interface on the cable modem.

in windows the driver info says the following:

manufacturer = brand
model = 351000

anyone got an idea what i need to compile into the kernel to make the modem work in linux too? i'm using 269 gentoo kernel, i've selected all the usb network drivers - yet i still don't get anywhere when doing an net-setup eth1 (eth0 = realtek, works fine) - again, i need to use usb and not the cat5 one for internet.

many thanx in advance and HAPPY NEW YEAR!


Last edited by maxpayne on Sat Jan 01, 2005 7:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54821
Location: 56N 3W

PostPosted: Sat Jan 01, 2005 12:53 am    Post subject: Reply with quote

maxpayne,

We need the ProductID and VendorID that you will find in
Code:
/proc/bus/usb/devices
if you have a working USB subsystem. That gets it doen to a particular chip set, which is the way that linux drivers are organised.

If you don't have that file, you are missing a kernel module or two.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Sat Jan 01, 2005 10:15 am    Post subject: Reply with quote

could we help you with getting the ethernet connection working on your modem, this is a far more sensible way of connecting it up?
Back to top
View user's profile Send private message
maxpayne
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2003
Posts: 122

PostPosted: Sat Jan 01, 2005 3:40 pm    Post subject: Reply with quote

@ NeddySeagoon:

thanks for replying - here's the info:

Code:
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 5
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.9-gentoo-r9 ehci_hcd
S:  Product=NEC Corporation USB 2.0
S:  SerialNumber=0000:02:07.2
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms


i've got pretty much everything compiled into the kernel - all the usb networking stuff, plus usb modem stuff a bit further up in the usb section (where the stuff about usb audio and so on)


@ nobspangle: no, i said that in my org post
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54821
Location: 56N 3W

PostPosted: Sat Jan 01, 2005 4:15 pm    Post subject: Reply with quote

maxpayne,

Thats just your USB 2.0 root hub. Your modem is not there.
Have you compiled the USB 1.1 driver for your root hub?
Your modem is likely to be USB 1.1.

We are looking for these lines for your modem.
Code:
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.9-gentoo-r9 ehci_hcd
S:  Product=NEC Corporation USB 2.0

There is nothing useful on the web under the info you posted.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
maxpayne
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2003
Posts: 122

PostPosted: Sat Jan 01, 2005 8:05 pm    Post subject: Reply with quote

your guess with the missing usb hub support was right - i have now all three included and things work now.

thanks for the support - once that was working eth1 was up and ready. i don't really understand why some people prefer using the ethernet port of the modem instead of the usb one...!? perhaps those people also have their usb bridge not compiled into the kernel ;-)
Back to top
View user's profile Send private message
justanothergentoofanatic
Guru
Guru


Joined: 29 Feb 2004
Posts: 337

PostPosted: Sat Jan 01, 2005 10:55 pm    Post subject: Reply with quote

maxpayne wrote:
i don't really understand why some people prefer using the ethernet port of the modem instead of the usb one...!?


It probably has something to do with the fact that ethernet is a standard way to connect network devices while usb isn't.

-Mike
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54821
Location: 56N 3W

PostPosted: Sat Jan 01, 2005 11:07 pm    Post subject: Reply with quote

maxpayne,

Many USB modems are Softmodems or Winmodems. Many don't work with linux. Ethernet always Just Works.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
maxpayne
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2003
Posts: 122

PostPosted: Mon Jan 03, 2005 1:16 am    Post subject: Reply with quote

@ justanothergentoofanatic:

USB is just there 2 bridge the connection between the modem and the computer - that'd be same thing as saying "serial connection is just for mouse, can't be used for modem"...


@ NeddySeagoon:

Soft-/Winmodems has nothing 2 do w/ USB - there also exist many "serial" Soft-/Winmodems.

in any case, i'm not going to get into any discussions here, if you ppl think USB must not be used for connecting modems w/ computers, then whatever - it works for me and saves me money on a USB (or PCcard) NIC... cuz i need that precious built-in RJ45 for internet connection sharing ;-)

take it easy all and thanx again for the help!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54821
Location: 56N 3W

PostPosted: Mon Jan 03, 2005 11:51 am    Post subject: Reply with quote

maxpayne,

Nobody here was suggesting that you must not use USB for your modem connection but many of your readers will be pleasently surprised by both how easy it was for you and that its works at all, in contrast to Ethernet Just Works.

Code:
there also exist many "serial" Soft-/Winmodems
Thats not possible according to Nyquists sampling theorm., if we both mean modems connected to a PC RS-232 port.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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