Re: [Ftdi-usb-sio-devel] Linux thin client -> usb badge reader
Brought to you by:
bryder
From: Thys M. <st...@gm...> - 2009-01-19 07:11:54
|
you can un-compres the squashfs image, add the module (compiled for your kernel version) and recompres. As long as you have a reasonably close dev environment on another machine you should be able to pull it off. In short, I would: - get a precompiled debian kernel of the same version than your image, - extract the ftdi module from it - copy the image from the SD card to disk - uncompress - add the module - fiddle with /etc/bashrc or similar in the image to load the module with the VendorID/ProductID as previously noted - squash - copy the image back to the card - test On Mon, Jan 19, 2009 at 12:04 AM, Roeland Moors <ro...@mo...> wrote: > It seems the module ftdi_sio is not on the system. > The HP thin client uses a 64MB flash card with a debian live based > image. > It uses squashfs. /lib is read-only and no compile tools installed. > Won't be easy to add it I'm afraid. > > The reader works fine on a normal (and newer) debian live image. > > On 17 Jan 2009, at 06:33, Thys Meintjes wrote: > >> I think your kernel may be to old for the following to work: >> echo 0403 6001 > /sys/bus/usb-serial/drivers/ftdi_sio/new_id, if so, >> get the ftdi_serial driver code, add the VendorID:Product id pair to >> the header file, >> recompile and modprobe as usual. >> >> Use lsusb -v, >> udevmonitor (udevadm monitor --env) >> udevinfo, etc. to investigate >> >> On Sat, Jan 17, 2009 at 1:11 AM, Roeland Moors <ro...@mo...> >> wrote: >>> I have a linux thin client where I would like to attach an usb badge >>> reader. >>> This badge reader should be available as a normal serial port. >>> >>> I have this in /proc/bus/usb/devices: >>> >>> T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 >>> D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 >>> P: Vendor=0403 ProdID=6001 Rev= 4.00 >>> S: Manufacturer=FTDI >>> S: Product=USB <-> Serial >>> C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 90mA >>> I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) >>> E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms >>> E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms >>> >>> "Driver=(none)" >>> Is there a kernel (2.6.15.7) module I need to load first? >>> >>> When removing and attaching the device I get this in dmesg >>> usb 3-1: USB disconnect, address 3 >>> usb 3-1: new full speed USB device using uhci_hcd and address 4 >>> >>> How to proceed? Any tips are welcome. >>> >>> Thanks, >>> >>> Roeland >>> >>> >>> ------------------------------------------------------------------------------ >>> This SF.net email is sponsored by: >>> SourcForge Community >>> SourceForge wants to tell your story. >>> http://p.sf.net/sfu/sf-spreadtheword >>> _______________________________________________ >>> Ftdi-usb-sio-devel mailing list >>> Ftd...@li... >>> https://lists.sourceforge.net/lists/listinfo/ftdi-usb-sio-devel >>> >> >> >> >> -- >> Thys Meintjes > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Ftdi-usb-sio-devel mailing list > Ftd...@li... > https://lists.sourceforge.net/lists/listinfo/ftdi-usb-sio-devel > -- Thys Meintjes |