LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 03-01-2005, 02:01 AM   #1
pyenos
Member
 
Registered: Mar 2005
Location: australia
Distribution: kernel 2.6.10[default]; kernel 2.4.22-10mdk; mandrake 9.2[default]
Posts: 65

Rep: Reputation: 15
i need help with TWINMOS G240 WLAN USB STICK


twimmos g240 is an usb wlan adapter of 11bps speed. i am guessing but not certain that this is on 802.11G system. i am aware of some pci and pcmicia versions have drivers that require firmware and i have visited intersil firmware site and tried downloading relevant arm file, although my prism2_usb driver did not use it.

because my mandrake 9.2 distro did not include a kernel src and also because my pentium1 machine only has 1.7G of hd, i installed rpm version of linux-wlan-ng. when this did not initiate wlan0 interface, i rebuilt src rpm (kernel 2.4.22-10mdk) that took two full days on my slow machine. also, my options became apparently greatly lmited regarding possible kernel upgrade since 100% of 1.1G / partition was filled by the time kernel source was compiled. nontheless i succeeded in compiling the prism2_usb driver that i downloaded from vendos website (http://www.twinmos.com and under download->wlan products->g240->linux driver). but unfortunately this did not initiate wlan0 interface upon boot.

it must be noted that, although i am a relative newbie, i did search extensive amounts of web docs through google under my own effort but failed thus far. by this method i have gained few knowledge and tried few new steps to remedy the situation but with no avail. in particular, i found rpm and src versions of my prism2_usb driver that came with linux-wlan-ng from vendors website and also thorough rpm are under surface identical and installs sames things, eg on /etc/wlan or /etc/sysconfig/network-scripts/... etc and so on. so i guess rpm versions does the same thing for my situation but no solution.

i also noted that all troubles had same phenomenon that always hanged around upon boot. since my kernel is <2.6 i dont have ehci_hcd and so on but i do have /proc/bus/usb/devices and when i look in it i only see usbcore module loaded and not twinmos g240. upon boot i get familiar CAN NOT ACCEPT ADDRESS by usb-uhci.c or usb.c and whole heap of intterupt frame signals when i plug the device. on my kernel the error message says PRSIM2_USB WLAN0 DEVICE DOES NOT SEEM TO BE PRESENT DELAYING INITIALIZATION (OF WLAN0). this is ran by one of network scripts installed by either wirelesstools package of linux-wlan-ng. specifically it is likely to be ifupcfg-wlan0 in /etc/sysconfig/network-scripts/.

interestingly, both prism2_usb and usbcore, usb-uhci, etc are successfully loaded, but interestingly, prism2_usb and usb-uhci is unused. and also, relevant hardware module of twinmos g240 is not present. thereis a module named p28....blahblah(i cant recall) that is associated with prism2_usb, thogh. i cant type all the outputs here since my problematic computer does not have network connection, nor internet connection. btw by usb controller version is 1.1.

so, my problem is that wlan0 interface is not initialized no matter what software tweaks and pluggin/unplugging and rebooting i try to my small knowledge on this subject. i recognize that the source of the problem is the twinmos g240 module not present in /proc/bus/usb/devices althogh all drivers that are needed are already present in /proc/bus/usb/drivers. i admit i dont have enough accumulated knowledge nor experience at this moment to tackle this problem on my own power anymore. please help me!
 
Old 03-01-2005, 02:15 AM   #2
pyenos
Member
 
Registered: Mar 2005
Location: australia
Distribution: kernel 2.6.10[default]; kernel 2.4.22-10mdk; mandrake 9.2[default]
Posts: 65

Original Poster
Rep: Reputation: 15
pls also refer to
http://www.linuxquestions.org/questi...hreadid=296140
 
Old 03-01-2005, 02:21 AM   #3
pyenos
Member
 
Registered: Mar 2005
Location: australia
Distribution: kernel 2.6.10[default]; kernel 2.4.22-10mdk; mandrake 9.2[default]
Posts: 65

Original Poster
Rep: Reputation: 15
i had this idea instead of ifup (or was it ifcfg i cant remember) someone used dhcpcd in one of initializing scripts. since my router dhcp=on i wish to try this but i have no prior knowledge to realize what difference would this make. could anyone comment on this inadequate babble? maybe there is negative consequence if i somehow retain static configuration settings when in fact i should be using dhcp? my wlan script dos have dhcp enabled but it has no mention of dhcpcd.
 
Old 03-01-2005, 02:33 AM   #4
pyenos
Member
 
Registered: Mar 2005
Location: australia
Distribution: kernel 2.6.10[default]; kernel 2.4.22-10mdk; mandrake 9.2[default]
Posts: 65

Original Poster
Rep: Reputation: 15
the most paramount general distinction i am unclear of is that whether my problem lies in usb usermap not recognizing my device correctly or with prism2_usb device not recognizing my hardware correctly or with some other module within 2.4.22mdk kernel. accordingly i wish to make a transition regarding solution action protocol to either concentrate on solving (possibly manually) usb usermap to recognize my device or concentrate on making prism2_usb driver to work correctly (i doubt this is the issue here), or to seek new ways to solve the problem. one option is to abandon all other plans and seek adopting windows inf drivers to use in linux but this would not work if there is problem inherenet in usb controller so i cant take that action without some assurance. i dont know what to do as yet.
 
Old 03-01-2005, 03:10 AM   #5
pyenos
Member
 
Registered: Mar 2005
Location: australia
Distribution: kernel 2.6.10[default]; kernel 2.4.22-10mdk; mandrake 9.2[default]
Posts: 65

Original Poster
Rep: Reputation: 15
you probably require more info. pls request more info or give idea or info. thx.
 
Old 03-01-2005, 04:55 AM   #6
pyenos
Member
 
Registered: Mar 2005
Location: australia
Distribution: kernel 2.6.10[default]; kernel 2.4.22-10mdk; mandrake 9.2[default]
Posts: 65

Original Poster
Rep: Reputation: 15
it ocurs that dhcpcd is in use when ndiswrapper is used to install windows inf drivers.

i installed zd1021u using inf file and ndiswrapper. however, when i ndiswrapper -l it reports that hardware NOT present, which confirms my suspicion about invalid usb controller driver for 2.4.22-10mdk kernel.

any ideas????
 
Old 03-01-2005, 05:23 AM   #7
pyenos
Member
 
Registered: Mar 2005
Location: australia
Distribution: kernel 2.6.10[default]; kernel 2.4.22-10mdk; mandrake 9.2[default]
Posts: 65

Original Poster
Rep: Reputation: 15
userful link i found not sure but if more than one brain reads it then maybe more effective thx
http://www.linuxelectrons.com/phpBB2/viewtopic.php?t=31
 
Old 03-01-2005, 06:35 AM   #8
pyenos
Member
 
Registered: Mar 2005
Location: australia
Distribution: kernel 2.6.10[default]; kernel 2.4.22-10mdk; mandrake 9.2[default]
Posts: 65

Original Poster
Rep: Reputation: 15
wrote a small script to pipe outputs to file so i can post here hehehe newbie power

Code:
this output is generated by fetch (@version 0.01;@author pyenos)...
/usr/bin/lspci
00:00.0 Host bridge: Intel Corp. 430VX - 82437VX TVX [Triton VX] (rev 02)
00:07.0 ISA bridge: Intel Corp. 82371SB PIIX3 ISA [Natoma/Triton II] (rev 01)
00:07.1 IDE interface: Intel Corp. 82371SB PIIX3 IDE [Natoma/Triton II]
00:07.2 USB Controller: Intel Corp. 82371SB PIIX3 USB [Natoma/Triton II] (rev 01)
00:14.0 VGA compatible controller: S3 Inc. 86c775/86c785 [Trio 64V2/DX or /GX] (rev 14)

/usr/sbin/lsusb
Bus 001 Device 001: ID 0000:0000
any thoughts????
 
Old 03-01-2005, 06:53 AM   #9
pyenos
Member
 
Registered: Mar 2005
Location: australia
Distribution: kernel 2.6.10[default]; kernel 2.4.22-10mdk; mandrake 9.2[default]
Posts: 65

Original Poster
Rep: Reputation: 15
Code:
this output is generated by fetch (@version 0.01;@author pyenos)...
/sbin/lsmod
Module                  Size  Used by    Not tainted
nls_iso8859-1           3484   1  (autoclean)
nls_cp850               4284   1  (autoclean)
vfat                   11820   1  (autoclean)
fat                    38040   0  (autoclean) [vfat]
sg                     35068   0  (autoclean) (unused)
st                     30680   0  (autoclean) (unused)
sr_mod                 19384   0  (autoclean) (unused)
sd_mod                 13804   0  (autoclean) (unused)
scsi_mod              106176   4  (autoclean) [sg st sr_mod sd_mod]
usb-uhci               25136   0  (unused)
parport_pc             25544   1  (autoclean)
lp                      8160   0  (autoclean)
parport                34472   1  (autoclean) [parport_pc lp]
nfsd                   75280   0  (autoclean)
af_packet              14856   0  (autoclean)
ide-floppy             16128   0  (autoclean)
ide-tape               48816   0  (autoclean)
ide-cd                 33956   0  (autoclean)
cdrom                  32608   0  (autoclean) [sr_mod ide-cd]
floppy                 55932   2 
supermount             84032   4  (autoclean)
usbcore                74988   1  [usb-uhci]
rtc                     9004   0  (autoclean)
ext3                   60048   2 
jbd                    39264   2  [ext3]

/sbin/ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:560 (560.0 b)  TX bytes:560 (560.0 b)
here are few more... pls comment or request more info. thx
 
Old 03-01-2005, 06:58 AM   #10
pyenos
Member
 
Registered: Mar 2005
Location: australia
Distribution: kernel 2.6.10[default]; kernel 2.4.22-10mdk; mandrake 9.2[default]
Posts: 65

Original Poster
Rep: Reputation: 15
note that prism2_usb module disappeared after i added alias of windows inf driver using ndiswrapper -m. however wlan0 interface failed to initialize in both cases.
 
  


Reply



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
im having trouble init wlan0 for twinmos g240 usb stick wlan card pyenos Linux - Hardware 5 03-01-2005 02:44 PM
need help with TWINMOS G240 USB STICK WLAN CARD pyenos Linux - Hardware 3 03-01-2005 01:55 AM
Problem with Twinmos B series WLAN cards in Linux mukaddim Red Hat 0 08-01-2004 10:31 PM
TwinMOS USB MMC card reader juan18 Linux - Hardware 0 06-13-2004 02:45 AM
TwinMOS USB Key Scratchit Linux - Hardware 3 04-25-2004 02:14 AM

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

All times are GMT -5. The time now is 06:27 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