Coder Social home page Coder Social logo

Comments (16)

trentasis avatar trentasis commented on June 8, 2024 1

Hi @Doncuppjr

After some tests I have found:

It seems that in /etc/udev/rules.d/99-udev.rules related with printers are not applied
KERNEL=="lp[0-9]*", SYMLINK=="printers/%n", OWNER="root", GROUP="lp", MODE="0666"

and if you replace by
KERNEL=="lp[0-9]*", GROUP="lp", MODE="0666"

then works, but I'm not sure why SYMLINK was defined because without this /dev/usb/lp0 persist and seems correct... It could be for multiple printers or works without?
@Doncuppjr do you know why exist this rule and what do you think about my suggestion?

I have found this rule debugging with default rules that really are applied from
/lib/udev/rules.d/50-udev-default.rules

@Doncuppjr What do you think?

Thanks

from thinstation.

Thinstation avatar Thinstation commented on June 8, 2024

Might be an udev rule issue.

from thinstation.

trentasis avatar trentasis commented on June 8, 2024

Where I can check this and comapre with 2.2 version?

from thinstation.

Thinstation avatar Thinstation commented on June 8, 2024

2.2 did not use udev for hardware detection. It's hard to make this comparison. I'll try and take a look at this over the holidays.

from thinstation.

trentasis avatar trentasis commented on June 8, 2024

I have tried to replace in /ts/build/packages/automount/etc/udev/rules.d/99-udev.rules

KERNEL=="lp[0-9]*", SYMLINK=="printers/%n"

by

KERNEL=="lp[0-9]*", SYMLINK=="printers/%n", MODE="0666"

But permissions are the same 660...

Where could be the problem?

Thanks

from thinstation.

shweew avatar shweew commented on June 8, 2024

I don't know, just works for me, problems weren't.

2016-04-08 13:13 GMT+04:00 trentasis [email protected]:

I have tried to replace in
/ts/build/packages/automount/etc/udev/rules.d/99-udev.rules

KERNEL=="lp[0-9]*", SYMLINK=="printers/%n"

by

KERNEL=="lp[0-9]*", SYMLINK=="printers/%n", MODE="0666"

But permissions are the same 660...

Where could be the problem?

Thanks


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#101 (comment)

from thinstation.

trentasis avatar trentasis commented on June 8, 2024

can you show ls -lisah /dev/usb/lp0 after disconnect and reconnect without reboot thinstation?

Thanks

from thinstation.

shweew avatar shweew commented on June 8, 2024

Now Thinstation is unavailable.

2016-04-08 15:12 GMT+04:00 trentasis [email protected]:

can you show ls -lisah /dev/usb/lp0 after disconnect and reconnect without
reboot thinstation?

Thanks


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#101 (comment)

from thinstation.

trentasis avatar trentasis commented on June 8, 2024

hi,

can you show ls -lisah /dev/usb/lp0 output after boot thinstation and same command after disconnect and connect usb printer? I like to compare both results.

thanks

from thinstation.

Doncuppjr avatar Doncuppjr commented on June 8, 2024

Shouldn't be to hard. Boot TS, run the command. Disconnect and Reconnect printer, run command again. Did I miss part of the challenge?

On Saturday, April 9, 2016 6:27 AM, trentasis <[email protected]> wrote:

hi,can you show ls -lisah /dev/usb/lp0 output after boot thinstation and same command after disconnect and connect usb printer? I like to compare both results.thanks—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

A lightning fast message from Yahoo Mail. Get it now On Saturday, April 9, 2016 6:27 AM, trentasis [email protected] wrote:

hi,can you show ls -lisah /dev/usb/lp0 output after boot thinstation and same command after disconnect and connect usb printer? I like to compare both results.thanks—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

from thinstation.

trentasis avatar trentasis commented on June 8, 2024

Correct Don, I hope that shweew can show this commands otuputs, for me fails after disconnect, but for shweew works...

from thinstation.

trentasis avatar trentasis commented on June 8, 2024

solved with
#219
#220

from thinstation.

trentasis avatar trentasis commented on June 8, 2024

Hi @Doncuppjr ,

I have detected that seems that udev is not applying this changes, also tried with script like is used in floppy devices, but udev rules cahnge is not working but if you execute the commands manually works. Do you know if we need any other modification in thinstation to refredh this change to udev rules?

Thanks

from thinstation.

Doncuppjr avatar Doncuppjr commented on June 8, 2024

from thinstation.

trentasis avatar trentasis commented on June 8, 2024

solved in
#229
#230

from thinstation.

trentasis avatar trentasis commented on June 8, 2024

Solved

from thinstation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.