Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Using Windows driver in Linux
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
rlowehk
n00b
n00b


Joined: 25 May 2003
Posts: 3

PostPosted: Sun May 25, 2003 6:20 am    Post subject: Using Windows driver in Linux Reply with quote

I have an MP3 player does not work in Linux. The supplier just provide a Windows driver. Similar cases happen with millions of devices.

As I can see there is Wine that lets Windows applications run in Linux, I think it should be possible to have a 'wrapper' that let Windows driver be used in Linux. Does anyone know if this kind of 'wrapper' exists?
Back to top
View user's profile Send private message
zhenlin
Veteran
Veteran


Joined: 09 Nov 2002
Posts: 1361

PostPosted: Sun May 25, 2003 6:42 am    Post subject: Reply with quote

No. That would allow a user program to interface directly with the hardware and kernel, something that is relatively unacceptable.

Are you sure the MP3 player in question is not just another USB Mass Storage device?
Back to top
View user's profile Send private message
rlowehk
n00b
n00b


Joined: 25 May 2003
Posts: 3

PostPosted: Sun May 25, 2003 7:17 am    Post subject: Reply with quote

The MP3 player is a Sigmatel 3410 based device. I have seen many folks asking about this kind of devices but seems no one have found a solution. I know it cannot run in Linux but I brought it because it is really cheap at about half of any other equivalent devices :oops:

I have tried to patch the unusual device header file of the kernel source to add in this device, yet I found that the class of it is of type ff instead of type 09 for mass storage. So, there is no luck to let it work.

I've tried to install VMware and Windows ME. Yet whenever I plug in the device, VMware either hang or close itself adruptly though the device work fine in a real Windows.

It seems very unfortunately I have to leave one PC running Windows until I have found a solution for this. I am planning to buy a palm and a hand set yet I also found that most of them just provide a Windows driver. :x

It seems to me that only expensive device support Linux. :cry:
Back to top
View user's profile Send private message
zhenlin
Veteran
Veteran


Joined: 09 Nov 2002
Posts: 1361

PostPosted: Sun May 25, 2003 3:35 pm    Post subject: Reply with quote

Nonono, it's more like this:

The cheap ones invent their own protocols and drivers because the engineers couldn't be bothered to read the standards.

The expensive ones use the standardized protocol so that they can put a few extra badges onto their box for eyecandy.
Back to top
View user's profile Send private message
rlowehk
n00b
n00b


Joined: 25 May 2003
Posts: 3

PostPosted: Sun May 25, 2003 4:17 pm    Post subject: Reply with quote

Can you explain a little bit more why it is impossible to have a 'wrapper' for Windows driver to work in Linux. I don't quite understand why it need direct interface with the hardware and kernel for such kind of wrapper? The wrapper could be a bridge between the kernel and the Windows driver. Only the Windows driver directly interface with the hardware and user application still going through the kernel.
Back to top
View user's profile Send private message
syadnom
Guru
Guru


Joined: 09 May 2002
Posts: 531

PostPosted: Mon May 26, 2003 6:13 pm    Post subject: dirvers and the kernel Reply with quote

drivers are either a part of the kernel or a plugin to the kernel(modules). So they are in fact in controll of the system beyond the root user, anything a driver wants to do, it can.

So consider making a wrapper that plugs a windows driver into the linux kernel........now consider it again....you getting it?

giving a WINDOWS DRIVER the power to do what it likes, where it likes!, and then come to the relization that its not made for the linux kernel to other incidental sideeffects could be rather severe, like you plug in your USB mp3 player and then this driver de-partitions your harddrive and writes the contents of the mp3 device directly to the drive without thought of filesystem..MBR..even partitions....
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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