Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel 2.6.3 e scanner USB
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Elianto
n00b
n00b


Joined: 07 Apr 2003
Posts: 70
Location: San Benedetto del Tronto

PostPosted: Sun Feb 22, 2004 4:33 pm    Post subject: Kernel 2.6.3 e scanner USB Reply with quote

Nel Kernel 2.6.3 hanno totalmente rimosso il modulo per lo scanner nella sezione USB. Dopo essermi letto un po' di documentazione sono riuscito a farlo andare attraverso le "libusb", ed ora è correttamente riconosciuto da sane. Rimane solo un problema ... funziona solo da root. Per farlo funzionare come utente devo cambiare i permessi a "/proc/bus/usb" ...

Oltre a mettere i comandi di chmod in local.start, c'è un modo più "pulito" per farlo?

Grazie
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Sun Feb 22, 2004 4:56 pm    Post subject: Reply with quote

Prova a dare un'occhiata qui:

https://forums.gentoo.org/viewtopic.php?t=138862
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
Elianto
n00b
n00b


Joined: 07 Apr 2003
Posts: 70
Location: San Benedetto del Tronto

PostPosted: Sun Feb 22, 2004 5:27 pm    Post subject: Reply with quote

Quote:

Prova a dare un'occhiata qui:

https://forums.gentoo.org/viewtopic.php?t=138862


Infatti è stato il primo post che ho visto :o
Il mio problema è che per far vedere all'utente lo scanner (ad esempio con scanimage o (meglio)kooka) devo dare un bel
Code:

chmod 770 /proc/bus/usb/ -R

Volevo sapere se si potevano cambiare i permessi del filesystem proc direttamente al boot ... ho cercato fra le pagine man di mount e fstab, ma non ho trovato granchè.

Grazie
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Sun Feb 22, 2004 5:32 pm    Post subject: Reply with quote

Mi riferivo in particolare a questo post:

https://forums.gentoo.org/viewtopic.php?t=138862#884976

dove si spiega come farlo con hotplug.
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
Elianto
n00b
n00b


Joined: 07 Apr 2003
Posts: 70
Location: San Benedetto del Tronto

PostPosted: Sun Feb 22, 2004 5:40 pm    Post subject: Reply with quote

Quote:

dove si spiega come farlo con hotplug.

:roll: E' che non sono un fanatico di hotplug :wink:
L'ho provato in passato e mi creava un po' di casini al boot ... visto che ho solo lo scanner usb, il modulo del kernel mi calzava a pennello :cry:

Comunque provo con hotplug, magari ora riesco a farlo funzionare meglio. (altrimenti cambio i permessi attraverso local.start )

Grazie mille !!!
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Sun Feb 22, 2004 6:25 pm    Post subject: Reply with quote

In effetti qui si dice che una soluzione particolarmente brutta sarebbe quella di montare o ri-montare usbfs world-writable (quindi eventualmente anche con un'apposita entry in /etc/fstab). Mi sfugge come, anche perchè trovare le mount options per usbfs sembra un'impresa... :-?

La stessa pagina ti potrebbe comunque servire come guida se decidi di provare con hotplug.
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum