WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Can't find Linux Input driver for using serial USB devices  (Read 2249 times)

Offline srekrap

  • Newbie
  • *
  • Posts: 20
Can't find Linux Input driver for using serial USB devices
« 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


Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11584
Re: Can't find Linux Input driver for using serial USB devices
« Reply #1 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?

Offline srekrap

  • Newbie
  • *
  • Posts: 20
Re: Can't find Linux Input driver for using serial USB devices
« Reply #2 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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Can't find Linux Input driver for using serial USB devices
« Reply #3 on: June 26, 2013, 05:16:10 PM »
RH uses an old kernel. That was removed a while ago.
The only barriers that can stop you are the ones you create yourself.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Can't find Linux Input driver for using serial USB devices
« Reply #4 on: June 26, 2013, 05:17:05 PM »
Could you paste output of

Code: [Select]
uname -a

mount|grep sys
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline srekrap

  • Newbie
  • *
  • Posts: 20
Re: Can't find Linux Input driver for using serial USB devices
« Reply #5 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


Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Can't find Linux Input driver for using serial USB devices
« Reply #6 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.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Can't find Linux Input driver for using serial USB devices
« Reply #7 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.
The only barriers that can stop you are the ones you create yourself.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Can't find Linux Input driver for using serial USB devices
« Reply #8 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.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)