LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools
Old 05-16-2008, 09:50 PM   #1
kscott121
Member
 
Registered: Jul 2003
Location: NC
Distribution: Fedora,Mepis,Debian
Posts: 83
Thanked: 0
pl2303 driver needed


[Log in to get rid of this advertisement]
I have a BenQ M32 wireless modem with USB-to-serial converter (supposedly from Prolific). When I plug it in I can load the pl2303 driver but it won't create /dev/ttyUSB0 as it should. I researched and the vendorroduct combination offered by lsusb (see below) doesn't show up in the pl2303.h list (so I presume that means it's not supported by this driver as is):
Bus 005 Device 003: ID 067b:0609 Prolific Technology, Inc.
Bus 004 Device 001: ID 0000:0000
It is a Debian Etch standard 2.6.18-5 kernel system.

2 questions:
1) How can I build a kernel module that has the proper vendrod #s (067b:0609) to see if that will allow it to work (or is there a better solution)?
and
2) Why wouldn't it work if I simply hex-editted the pl2303.ko binary and changed one of the named aliases from a vendrod pair that I don't care about to mine?

Thanks in advance
KScott
kscott121 is offline     Reply With Quote
Old 05-18-2008, 07:45 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Red Beach (NZ)
Distribution: Ubuntu 9.04
Posts: 8,185
Blog Entries: 3
Thanked: 97
2. If your device is not supported by the driver, then changing vendor IDs in the module will do nothing (at best).

1.
BenQ M32 is a GPM/GPRS wireless unit put out in 03.

What makes you think this is supposed to work with the pl232 driver?

Quote:
with USB-to-serial converter
You mean the BenQ has a serial interface and you are using it through usb?
Simon Bridge is offline     Reply With Quote
Old 06-20-2008, 06:56 PM   #3
kscott121
Member
 
Registered: Jul 2003
Location: NC
Distribution: Fedora,Mepis,Debian
Posts: 83
Thanked: 0

Original Poster
Sorry for the delay. The device has an internal Prolific USB -to-serial-converter and the Prolific website has
a RH 9 (kernel 2.4.x) driver which works fine (after I recompiled it with the proper vendor#/product# combination) in an actual redhat9 test system. The vendor provided driver has the same name (pl2303) as the prolific pl2303 usb-to-serial driver found in recent 2.6 kernels but they two seem quite different (and the stock driver certainly lacks the needed vend/prod #s). I can't tell if the other differences are only from the fact that one is an RH9 driver for a 2.4.x kernel and other is for a 2.6.x kernel or if they are truly "different" in substantive ways.
I therefore am trying to figure out how to change the vend/prod numbers in the stock 2.6.x pl2303 driver but I can't figure out the kbuild stuff. etc.
kscott121 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
pl2303 attached to ttyUSB0 but driver attached to device is "serial" sheeluh Linux - Software 4 03-12-2007 05:27 AM
driver needed for R Driver II USB to IDE cable for Ent . Linux 4.0 byju_das Linux - Hardware 1 12-01-2006 02:48 PM
pl2303 does not recognize my USB-Serial Controller sheeluh Linux - Hardware 1 06-05-2006 05:21 AM
how to install pl2303 (usb to serial) on fedora core 3? lusiano Linux - Software 1 10-19-2005 06:36 AM
ttyUSB0 an pl2303 H2O-linux Slackware 3 12-08-2004 06:30 PM


All times are GMT -5. The time now is 09:21 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration