Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: srekrap on June 26, 2013, 01:15:23 PM

Title: Can't find Linux Input driver for using serial USB devices
Post by: srekrap on June 26, 2013, 01:15:23 PM
Hello  -

   Doesn anyone know where I can find the linux serial usb driver "input"? When I plug a USB serial device, TC doesn't create the /dev/ttyUSB0 node like I'm looking for... (I've looked in input-joystick, haven't looked in input-tablet yet...but would think there'd be an input-serial in this case...)

  Thanks
         Sean

Title: Re: Can't find Linux Input driver for using serial USB devices
Post by: Rich on June 26, 2013, 03:21:51 PM
Hi srekrap
Maybe you are looking for  usbserial.ko  in  usb-serial-3.0.21-tinycore64.tcz?
Title: Re: Can't find Linux Input driver for using serial USB devices
Post by: srekrap on June 26, 2013, 04:54:28 PM
Yes Rich - I found it - I'm done getting things working, and ready to start documenting what the heck I did - I would've been back to update this at some point -

    I was confused - I thought the input driver was doing the serial stuff - I didn't realize usb-serial was already installed (in addition to input) on my RHEL box - it was doing the work all along...

    Just curious... Perhaps you or someone else knows the answer -

       On RHEL /proc/bus/usb/devices shows USB serial things, but on TC there is no /proc/bus/usb/devices, I have to look in (as root) /proc/tty/driver/usbserial for a mapping of tty# and usb bus location... (we have strange requirements and multiple like serial devices to use simultaneously) - does anyone know why /proc/bus/usb/devices doesn't show up?

    Thanks
    Sean
Title: Re: Can't find Linux Input driver for using serial USB devices
Post by: curaga on June 26, 2013, 05:16:10 PM
RH uses an old kernel. That was removed a while ago.
Title: Re: Can't find Linux Input driver for using serial USB devices
Post by: tinypoodle on June 26, 2013, 05:17:05 PM
Could you paste output of

Code: [Select]
uname -a

mount|grep sys
Title: Re: Can't find Linux Input driver for using serial USB devices
Post by: srekrap on June 26, 2013, 06:02:48 PM
@curaga -
 
  Oh - then that explains it... Thanks!

@tinypoodle -

  our RHEL is: 2.6.32-220.el6.x86_64, Nov 9 2011
  and of course tc is: 3.0.21, Feb 18 2012

Title: Re: Can't find Linux Input driver for using serial USB devices
Post by: tinypoodle on June 26, 2013, 06:10:44 PM
I haven't observed such a path with much older kernels - and you didn't provide output from second command.
Title: Re: Can't find Linux Input driver for using serial USB devices
Post by: curaga on June 27, 2013, 05:17:47 AM
Even on older kernels one needs to mount it manually. On newer it's not possible anymore.
Title: Re: Can't find Linux Input driver for using serial USB devices
Post by: tinypoodle on June 27, 2013, 06:35:29 AM
Ah yes, found that in the meantime myself, was "usbfs". I think most if not all of that info could nowadays be found under /sys.