Install st121g driver vista 64 bit but not work and generate errors.

Bug #322748 reported by Vincenzo Mazzotta
4
Affects Status Importance Assigned to Milestone
ndiswrapper (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I tried to Install driver for ST121g VISTA 64bit/XP 64bit on ubuntu Ibex 64-bit and it's impossible!!! Is there a group that work to support 64-bit OS?

I downloaded Vista 64 bit driver for ST121G, I attach file zipped.

After connected usb key St121g, ubuntu recognize it like a Wireless Dongle

vmazzotta@blackhawk:~$ lsusb
Bus 005 Device 006: ID 06b9:0121 Alcatel Telecom SpeedTouch 121g Wireless Dongle
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 004: ID 04a9:1051 Canon, Inc. BJC-3000 Color Printer
Bus 003 Device 003: ID 046d:c016 Logitech, Inc. M-UV69a/HP M-UV96 Optical Wheel Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

After I load driver for XP 64 bit and Vista 64 bit by ndiswrapper 1.9:

vmazzotta@blackhawk:~$ sudo ndiswrapper -i "/windows/St121g Vista64/PRISMA02.inf"
installing prisma02 ...
vmazzotta@blackhawk:~$ sudo ndiswrapper -l
prisma02 : driver installed
 device (06B9:0121) present
vmazzotta@blackhawk:~$ sudo modprobe ndiswrapper
vmazzotta@blackhawk:~$ sudo dmesg | tail
[ 6812.740017] usb 5-3: new high speed USB device using ehci_hcd and address 6
[ 6812.903341] usb 5-3: configuration #1 chosen from 1 choice
[ 6834.941385] usbcore: deregistering interface driver ndiswrapper
[ 6834.941503] ndiswrapper (ntoskernel_exit:2671): object ffff8800678c1e30(2) was not freed, freeing it now
[ 6834.958786] ndiswrapper version 1.53 loaded (smp=yes, preempt=no)
[ 6835.090020] usb 5-3: reset high speed USB device using ehci_hcd and address 6
[ 6835.249091] ndiswrapper (check_nt_hdr:150): kernel is 64-bit, but Windows driver is not 64-bit;bad magic: 010B
[ 6835.249102] ndiswrapper (load_sys_files:206): couldn't prepare driver 'prisma02'
[ 6835.250855] ndiswrapper (load_wrap_driver:108): couldn't load driver prisma02; check system log for messages from 'loadndisdriver'
[ 6835.250892] usbcore: registered new interface driver ndiswrapper
vmazzotta@blackhawk:~$ sudo ifconfig wlan0 up
wlan0: ERROR while getting interface flags: No such device
vmazzotta@blackhawk:~$ sudo dmesg | tail
[ 6812.740017] usb 5-3: new high speed USB device using ehci_hcd and address 6
[ 6812.903341] usb 5-3: configuration #1 chosen from 1 choice
[ 6834.941385] usbcore: deregistering interface driver ndiswrapper
[ 6834.941503] ndiswrapper (ntoskernel_exit:2671): object ffff8800678c1e30(2) was not freed, freeing it now
[ 6834.958786] ndiswrapper version 1.53 loaded (smp=yes, preempt=no)
[ 6835.090020] usb 5-3: reset high speed USB device using ehci_hcd and address 6
[ 6835.249091] ndiswrapper (check_nt_hdr:150): kernel is 64-bit, but Windows driver is not 64-bit;bad magic: 010B
[ 6835.249102] ndiswrapper (load_sys_files:206): couldn't prepare driver 'prisma02'
[ 6835.250855] ndiswrapper (load_wrap_driver:108): couldn't load driver prisma02; check system log for messages from 'loadndisdriver'
[ 6835.250892] usbcore: registered new interface driver ndiswrapper
vmazzotta@blackhawk:~$

Revision history for this message
Vincenzo Mazzotta (vincenzo-mazzotta-it) wrote :
description: updated
Revision history for this message
Andreas Gnau (rondom) wrote :

You seem to have installed a 32bit-driver ("kernel is 64-bit, but Windows driver is not 64-bit;bad magic: 010B").
You have to use the 64-bit-XP-driver (i.e. not Vista and not 32-bit). NDISwrapper doesn't work with Vista-drivers, yet.

Changed in ndiswrapper:
status: New → Invalid
Revision history for this message
Vincenzo Mazzotta (vincenzo-mazzotta-it) wrote :

This driver I'm using on XP 64bit and Vista Ultimate 64bit and work fine without problems errors or issues.
Only detail is that I connect to wireless access point by Start->Settings->Control Panel->Administrative Tools->Computer Management then click on Devices and select PRISM 802.11 USB Adapter go in Properties and to connect choose Status Tab and click on Enable Radio.

This driver work fine for windows 64 bit platform.

I read same message on ndiswrapper, so I don't know how it's possible that on Windows 64 bit platform work fine and on ndiswrapper for Ubuntu 64 bit not work.

If you don't believe try to install on your pc with one of this windows platform and you will know truth.

Kind Regards
Vincenzo

Revision history for this message
Vincenzo Mazzotta (vincenzo-mazzotta-it) wrote :

I see that in Windows XP 64 bit this driver works in WOW64 modality (compatible 32-bit) using driver in root directory of file attache to first post. In Vista Ultimate 64bit this driver works in 64 bit using subdirectory Win64of file attache to first post.

I know that ndiswrapper support only 32 bit driver and not support 64bit driver for this reason ask to you if in ubuntu or other debian linux distribution exists an application that it can support one of this drivers.

It would be usefull a new project or will extend ndiswrapper project by Linux community to use hardware windows compatible XP 64bit and Vista 64 bit to support by ndiswrapper in Linux distribution.

Is it possible?

Kind Regards
Vincenzo

Revision history for this message
Nicolas Melay (7ami7o0fr1fn4j4) wrote :

This device is based on a Prism chipset, which has a native Linux driver.
The ST121g USB IDs were added to the driver one year ago, but maybe it has not made it to Ubuntu yet?

You should try loading the appropriate module with "modprobe p54usb".
You may also try "modinfo p54usb" and see whether the ST121g USB IDs (06b9:0121) show up.
Or else someone should add the following patch to the Ubuntu kernel:

http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.32.y.git;a=commitdiff;h=878e6a432f85690a2c0d88d96f177e54ff1d4a57

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.